Home
last modified time | relevance | path

Searched defs:new (Results 1 – 25 of 177) sorted by relevance

12345678

/DragonOS-0.1.9/tools/debugging/logmonitor/src/
Dlogging.rs32 pub fn new(tui_receiver: Option<mpsc::Receiver<String>>) -> Self { in new() method
42 pub fn new(sender: mpsc::Sender<String>) -> Self { in new() method
Dapp.rs34 pub fn new(title: &'a str) -> Self { in new() method
113 pub fn new(titles: Vec<&'a str>) -> TabsState { in new() method
156 pub fn new(lower: u64, upper: u64) -> RandomSignal { in new() method
Dtui.rs26 pub fn new(terminal: Terminal<B>, events: EventHandler) -> Self { in new() method
/DragonOS-0.1.9/build-scripts/kernel_build/src/utils/
Dcargo_handler.rs14 fn new() -> Self { in new() method
77 pub fn new() -> Self { in new() method
/DragonOS-0.1.9/tools/debugging/logmonitor/src/backend/
Dloader.rs43 pub fn new(kernel: PathBuf) -> Self { in new() method
69 pub fn new() -> Self { in new() method
96 pub fn new(sym: Sym, name: String) -> Self { in new() method
Dmod.rs27 pub fn new(command_line_args: CommandLineArgs, sender: mpsc::Sender<Event>) -> Arc<Self> { in new() method
63 pub fn new() -> Self { in new() method
80 fn new( in new() method
Derror.rs16 pub fn new(kind: BackendErrorKind, message: Option<String>) -> Self { in new() method
/DragonOS-0.1.9/kernel/src/libs/lib_ui/font/
Dmod.rs24 pub const fn new( in new() method
62 pub const fn new(width: usize, height: usize) -> Self { in new() method
75 pub const fn new(data: &'static [u8], width: usize) -> Self { in new() method
/DragonOS-0.1.9/kernel/src/libs/
Dcasting.rs70 let new = unsafe { Arc::from_raw(p as *const T) }; in downcast_arc() localVariable
Dvolatile.rs76 pub fn new(value: T) -> Self { in new() method
94 pub fn new(value: T) -> Self { in new() method
Dnotifier.rs25 pub fn new() -> Self { in new() method
111 pub fn new() -> Self { in new() method
150 pub fn new() -> Self { in new() method
187 pub fn new() -> Self { in new() method
Dsemaphore.rs23 fn new(counter: i32) -> Result<Self, SystemError> { in new() method
/DragonOS-0.1.9/kernel/crates/klog_types/src/
Dlib.rs41 pub fn new( in new() method
135 pub fn new(layout: core::alloc::Layout, vaddr: Option<usize>, paddr: Option<usize>) -> Self { in new() method
172 pub const fn new() -> Self { in new() method
223 pub const fn new(capacity: usize) -> Self { in new() method
/DragonOS-0.1.9/kernel/src/arch/x86_64/include/asm/
Dcmpxchg.h80 #define arch_try_cmpxchg(ptr, old_ptr, new) \ argument
/DragonOS-0.1.9/kernel/src/mm/allocator/
Dpage_frame.rs20 pub fn new(paddr: PhysAddr) -> Self { in new() method
66 pub fn new(start: PhysPageFrame, end: PhysPageFrame) -> Self { in new() method
95 pub fn new(vaddr: VirtAddr) -> Self { in new() method
147 pub fn new(start: VirtPageFrame, end: VirtPageFrame) -> Self { in new() method
175 pub const fn new(count: usize) -> Self { in new() method
284 pub fn new(used: PageFrameCount, total: PageFrameCount) -> Self { in new() method
Dslab.rs17 pub unsafe fn new(start_addr: usize, slab_size: usize, block_size: usize) -> Slab { in new() method
66 unsafe fn new(start_addr: usize, block_size: usize, num_of_blocks: usize) -> FreeBlockList { in new() method
/DragonOS-0.1.9/kernel/src/sched/
Dcompletion.rs18 pub const fn new() -> Self { in new() method
148 pub const fn new() -> Self { in new() method
/DragonOS-0.1.9/kernel/src/driver/tty/
Dtty_port.rs47 pub fn new() -> Self { in new() method
108 pub fn new() -> Self { in new() method
/DragonOS-0.1.9/kernel/src/driver/base/device/
Ddevice_number.rs21 pub const fn new(x: u32) -> Self { in new() method
38 pub const fn new(major: Major, minor: u32) -> Self { in new() method
/DragonOS-0.1.9/tools/debugging/logmonitor/src/backend/monitor/
Dmm.rs33 pub(crate) fn new(shared_data: Arc<Mutex<BackendData>>) -> Arc<Self> { in new() method
146 pub fn new(mm_log_monitor: Weak<MMLogMonitor>, kmem_path: PathBuf) -> Self { in new() method
296 pub fn new(logs: Vec<ObjectWrapper<AllocatorLog>>) -> Self { in new() method
Dmod.rs15 pub fn new(buf: &[u8]) -> Option<Self> { in new() method
/DragonOS-0.1.9/kernel/src/time/
Dtimer.rs47 pub fn new(pcb: Arc<ProcessControlBlock>) -> Box<WakeUpHelper> { in new() method
72 pub fn new(timer_func: Box<dyn TimerFunction>, expire_jiffies: u64) -> Arc<Self> { in new() method
172 pub fn new() -> Self { in new() method
/DragonOS-0.1.9/kernel/src/exception/
Dmod.rs53 pub fn new(flags: usize) -> Self { in new() method
91 pub unsafe fn new(flags: IrqFlags) -> Self { in new() method
/DragonOS-0.1.9/kernel/src/libs/ida/src/
Dlib.rs20 pub const fn new(initial_id: usize, max_id: usize) -> Self { in new() method
/DragonOS-0.1.9/kernel/crates/crc/src/tables/
Dcrc64.rs10 pub const fn new(poly: u64, table: [u64; 256]) -> Self { in new() method

12345678