Searched refs:vec (Results 1 – 25 of 100) sorted by relevance
1234
/DragonOS-0.1.9/docs/kernel/libs/lib_ui/ |
D | textui.md | 6 …显示,往屏幕窗口中输出打印文本信息,往窗口显示文本分成两种情况:一种是当内存管理单元(mm)未被初始化时,不能进行动态内存分配,限制颇多(例如不能使用vec,mpsc等),所以直接往窗口的帧缓冲区… 30   textui_putchar()要处理两种情况:一种是当内存管理单元(mm)未被初始化时,不能进行动态内存分配,限制颇多(例如不能使用vec,mpsc等),所以直接往窗口的帧…
|
/DragonOS-0.1.9/kernel/src/init/ |
D | initial_kthread.rs | 64 let argv = vec![String::from("/bin/dragonreach")]; in switch_to_user() 65 let envp = vec![String::from("PATH=/")]; in switch_to_user()
|
/DragonOS-0.1.9/kernel/src/driver/base/map/ |
D | mod.rs | 8 use alloc::{collections::BTreeMap, sync::Arc, vec::Vec}; 49 Self(vec![BTreeMap::new(); KOBJMAP_HASH_SIZE]) in default() 145 DevsMap(vec![Vec::new(); DEV_MAJOR_HASH_SIZE as usize]) in default()
|
/DragonOS-0.1.9/kernel/src/net/socket/ |
D | sockets.rs | 1 use alloc::{boxed::Box, sync::Arc, vec::Vec}; 54 vec![raw::PacketMetadata::EMPTY; Self::DEFAULT_METADATA_BUF_SIZE], in new() 55 vec![0; Self::DEFAULT_RX_BUF_SIZE], in new() 58 vec![raw::PacketMetadata::EMPTY; Self::DEFAULT_METADATA_BUF_SIZE], in new() 59 vec![0; Self::DEFAULT_TX_BUF_SIZE], in new() 168 let mut buffer: Vec<u8> = vec![0u8; len + 20]; in write() 249 vec![udp::PacketMetadata::EMPTY; Self::DEFAULT_METADATA_BUF_SIZE], in new() 250 vec![0; Self::DEFAULT_RX_BUF_SIZE], in new() 253 vec![udp::PacketMetadata::EMPTY; Self::DEFAULT_METADATA_BUF_SIZE], in new() 254 vec![0; Self::DEFAULT_TX_BUF_SIZE], in new() [all …]
|
/DragonOS-0.1.9/kernel/src/arch/riscv64/process/ |
D | syscall.rs | 1 use alloc::{string::String, vec::Vec};
|
D | mod.rs | 1 use alloc::{string::String, sync::Arc, vec::Vec};
|
/DragonOS-0.1.9/kernel/src/driver/tty/ |
D | mod.rs | 1 use alloc::vec::Vec;
|
D | tty_port.rs | 5 vec::Vec,
|
/DragonOS-0.1.9/kernel/crates/bitmap/src/ |
D | alloc_bitmap.rs | 1 use alloc::vec::Vec; 14 let data = vec![0usize; (elements + usize::BITS as usize - 1) / (usize::BITS as usize)]; in new()
|
/DragonOS-0.1.9/kernel/src/arch/x86_64/interrupt/ |
D | ipi.rs | 38 IpiKind::SpecVector(vec) => ArchIpiKind::SpecVector(vec), in from() 48 ArchIpiKind::SpecVector(vec) => (vec.data() & 0xFF) as u8, in into()
|
/DragonOS-0.1.9/kernel/src/arch/x86_64/syscall/ |
D | mod.rs | 142 let argv = vec![String::from("/bin/shell.elf")]; in rs_exec_init_process() 143 let envp = vec![String::from("PATH=/bin")]; in rs_exec_init_process()
|
/DragonOS-0.1.9/kernel/src/libs/intertrait/macros/src/ |
D | lib.rs | 75 Err(err) => vec![err.to_compile_error(), input.into()] in cast_to()
|
/DragonOS-0.1.9/tools/debugging/logmonitor/src/ |
D | app.rs | 48 tabs: TabsState::new(vec!["Tab0", "Tab1", "Tab2"]), in new() 51 stateful_logs: StatefulList::with_items(vec![]), in new()
|
/DragonOS-0.1.9/kernel/src/mm/ |
D | c_adapter.rs | 5 use alloc::vec::Vec; 79 let space: Vec<u8> = vec![0u8; size]; in do_kmalloc()
|
D | percpu.rs | 3 use alloc::vec::Vec;
|
/DragonOS-0.1.9/kernel/src/virt/kvm/ |
D | mod.rs | 6 use alloc::vec::Vec;
|
/DragonOS-0.1.9/kernel/src/smp/cpu/ |
D | c_adapter.rs | 1 use alloc::vec::Vec;
|
/DragonOS-0.1.9/kernel/src/process/ |
D | idle.rs | 6 use alloc::{sync::Arc, vec::Vec};
|
/DragonOS-0.1.9/kernel/src/arch/riscv64/ |
D | cpu.rs | 1 use alloc::vec::Vec;
|
/DragonOS-0.1.9/kernel/src/libs/ |
D | notifier.rs | 8 use alloc::{sync::Arc, vec::Vec}; 26 Self(vec![]) in new()
|
/DragonOS-0.1.9/kernel/src/driver/base/platform/ |
D | mod.rs | 11 use alloc::{collections::BTreeSet, string::ToString, sync::Arc, vec::Vec};
|
/DragonOS-0.1.9/kernel/src/syscall/ |
D | misc.rs | 1 use alloc::vec::Vec;
|
/DragonOS-0.1.9/kernel/src/filesystem/sysfs/ |
D | dir.rs | 5 vec::Vec,
|
/DragonOS-0.1.9/kernel/src/driver/input/ps2_mouse/ |
D | ps_mouse_driver.rs | 4 vec::Vec, 130 fn devices(&self) -> alloc::vec::Vec<Arc<dyn Device>> { in devices()
|
/DragonOS-0.1.9/kernel/src/filesystem/devfs/ |
D | null_dev.rs | 11 vec::Vec,
|
1234