Lines Matching refs:new
73 pub fn new() -> FlashContext { in new() method
75 flash_map: HashMap::new(), in new()
76 flash_params: HashMap::new(), in new()
85 flash_map: HashMap::new(), in default()
86 flash_params: HashMap::new(), in default()
122 pub fn new() -> CSimContextPtr { in new() method
156 pub fn new() -> Self { in new() method
169 pub static THREAD_CTX: RefCell<FlashContext> = RefCell::new(FlashContext::new());
170 pub static SIM_CTX: RefCell<CSimContextPtr> = RefCell::new(CSimContextPtr::new());
171 pub static RAM_CTX: RefCell<BootsimRamInfo> = RefCell::new(BootsimRamInfo::default());
172 pub static NV_COUNTER_CTX: RefCell<NvCounterStorage> = RefCell::new(NvCounterStorage::new());