Searched refs:alloc (Results 1 – 8 of 8) sorted by relevance
/DragonOS-0.1.2/kernel/src/libs/ |
D | printk.rs | 4 use alloc::vec::Vec; 47 use alloc; 48 …$crate::libs::printk::PrintkWriter.__write_string_color($FRcolor, $BKcolor, alloc::fmt::format(for… 55 …$crate::libs::printk::PrintkWriter.__write_string((alloc::fmt::format(format_args!("[ DEBUG ] ({}:… 56 … alloc::fmt::format(format_args!($($arg)*)).as_str() + "\n").as_str()) 63 …$crate::libs::printk::PrintkWriter.__write_string((alloc::string::String::from("[ INFO ] ")+ alloc… 71 …$crate::libs::printk::PrintkWriter.__write_string((alloc::fmt::format(format_args!($($arg)*)) + "\… 79 …$crate::libs::printk::PrintkWriter.__write_string((alloc::fmt::format(format_args!("({}:{})\t", fi… 80 … alloc::fmt::format(format_args!($($arg)*)).as_str() + "\n").as_str()) 88 …$crate::libs::printk::PrintkWriter.__write_string((alloc::fmt::format(format_args!("({}:{})\t", fi… [all …]
|
/DragonOS-0.1.2/kernel/src/mm/ |
D | allocator.rs | 4 use core::alloc::{GlobalAlloc, Layout}; 38 unsafe fn alloc(&self, layout: Layout) -> *mut u8 { in alloc() method
|
/DragonOS-0.1.2/kernel/.cargo/ |
D | config.toml | 5 build-std = ["core", "compiler_builtins", "alloc"]
|
/DragonOS-0.1.2/user/libs/libc/.cargo/ |
D | config.toml | 5 build-std = ["core", "compiler_builtins", "alloc"]
|
/DragonOS-0.1.2/kernel/src/process/ |
D | initial_proc.rs | 3 use alloc::boxed::Box;
|
D | fork.rs | 3 use alloc::boxed::Box;
|
/DragonOS-0.1.2/kernel/src/ |
D | lib.rs | 28 extern crate alloc;
|
/DragonOS-0.1.2/kernel/src/ipc/ |
D | signal_types.rs | 7 use alloc::vec::Vec;
|