Home
last modified time | relevance | path

Searched refs:vec (Results 1 – 25 of 100) sorted by relevance

1234

/DragonOS-0.1.9/docs/kernel/libs/lib_ui/
Dtextui.md6 …显示,往屏幕窗口中输出打印文本信息,往窗口显示文本分成两种情况:一种是当内存管理单元(mm)未被初始化时,不能进行动态内存分配,限制颇多(例如不能使用vec,mpsc等),所以直接往窗口的帧缓冲区…
30   textui_putchar()要处理两种情况:一种是当内存管理单元(mm)未被初始化时,不能进行动态内存分配,限制颇多(例如不能使用vec,mpsc等),所以直接往窗口的帧…
/DragonOS-0.1.9/kernel/src/init/
Dinitial_kthread.rs64 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/
Dmod.rs8 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/
Dsockets.rs1 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/
Dsyscall.rs1 use alloc::{string::String, vec::Vec};
Dmod.rs1 use alloc::{string::String, sync::Arc, vec::Vec};
/DragonOS-0.1.9/kernel/src/driver/tty/
Dmod.rs1 use alloc::vec::Vec;
Dtty_port.rs5 vec::Vec,
/DragonOS-0.1.9/kernel/crates/bitmap/src/
Dalloc_bitmap.rs1 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/
Dipi.rs38 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/
Dmod.rs142 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/
Dlib.rs75 Err(err) => vec![err.to_compile_error(), input.into()] in cast_to()
/DragonOS-0.1.9/tools/debugging/logmonitor/src/
Dapp.rs48 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/
Dc_adapter.rs5 use alloc::vec::Vec;
79 let space: Vec<u8> = vec![0u8; size]; in do_kmalloc()
Dpercpu.rs3 use alloc::vec::Vec;
/DragonOS-0.1.9/kernel/src/virt/kvm/
Dmod.rs6 use alloc::vec::Vec;
/DragonOS-0.1.9/kernel/src/smp/cpu/
Dc_adapter.rs1 use alloc::vec::Vec;
/DragonOS-0.1.9/kernel/src/process/
Didle.rs6 use alloc::{sync::Arc, vec::Vec};
/DragonOS-0.1.9/kernel/src/arch/riscv64/
Dcpu.rs1 use alloc::vec::Vec;
/DragonOS-0.1.9/kernel/src/libs/
Dnotifier.rs8 use alloc::{sync::Arc, vec::Vec};
26 Self(vec![]) in new()
/DragonOS-0.1.9/kernel/src/driver/base/platform/
Dmod.rs11 use alloc::{collections::BTreeSet, string::ToString, sync::Arc, vec::Vec};
/DragonOS-0.1.9/kernel/src/syscall/
Dmisc.rs1 use alloc::vec::Vec;
/DragonOS-0.1.9/kernel/src/filesystem/sysfs/
Ddir.rs5 vec::Vec,
/DragonOS-0.1.9/kernel/src/driver/input/ps2_mouse/
Dps_mouse_driver.rs4 vec::Vec,
130 fn devices(&self) -> alloc::vec::Vec<Arc<dyn Device>> { in devices()
/DragonOS-0.1.9/kernel/src/filesystem/devfs/
Dnull_dev.rs11 vec::Vec,

1234