Home
last modified time | relevance | path

Searched refs:insert (Results 1 – 18 of 18) sorted by relevance

/DragonOS-0.1.7/kernel/src/libs/
Drbtree.rs460 self.insert(k, v); in extend()
949 self.insert(k, v); in replace_or_insert()
1021 pub fn insert(&mut self, k: K, v: V) { in insert() method
1425 m.insert(1, 2); in test_insert()
1427 m.insert(2, 4); in test_insert()
1429 m.insert(2, 6); in test_insert()
1440 m.insert(2, 4); in test_replace()
1451 m.insert(1, 2); in test_clone()
1453 m.insert(2, 4); in test_clone()
1488 m.insert(i, i); in test_lots_of_insertions()
[all …]
Dkeyboard_parser.rs198 scancode_status.insert = true; in handle_func0()
201 scancode_status.insert = false; in handle_func0()
451 insert: bool, field
481 insert: false, in new()
/DragonOS-0.1.7/user/libs/libKeyboard/
Dkeyboard.c6 static bool gui_l = 0, gui_r = 0, apps = 0, insert = 0, home = 0, pgup = 0, del = 0, end = 0, pgdn … variable
377 insert = true; in keyboard_analyze_keycode()
381 insert = false; in keyboard_analyze_keycode()
/DragonOS-0.1.7/kernel/src/driver/tty/
Dtty_device.rs126 p.flags.insert(TtyFileFlag::STDIN); in open()
129 p.flags.insert(TtyFileFlag::STDERR); in open()
131 p.flags.insert(TtyFileFlag::STDOUT); in open()
309 guard.insert("tty0".to_string(), tty.clone()); in tty_init()
/DragonOS-0.1.7/kernel/src/driver/base/device/
Dbus.rs110 bus_manager.buses.insert(id_table, bus_dev); in add_bus()
121 bus_manager.bus_drvs.insert(id_table, bus_drv); in add_driver()
Ddriver.rs71 driver_manager.drivers.insert(id_table, drv); in add_driver()
Dmod.rs154 device_manager.devices.insert(id_table, dev); in add_device()
/DragonOS-0.1.7/kernel/src/driver/base/platform/
Dmod.rs104 drivers.insert(id_table.clone(), driver.clone()); in register_platform_driver()
133 devices.insert(id_table.clone(), device.clone()); in register_platform_device()
/DragonOS-0.1.7/kernel/src/filesystem/sysfs/
Dmod.rs328 guard.children.insert(String::from(_name), result.clone()); in do_create_with_data()
364 this.children.insert(name.to_string(), file); in add_file()
/DragonOS-0.1.7/kernel/src/sched/
Dcfs.rs71 self.queue.insert(pcb.virtual_runtime, pcb); in enqueue()
/DragonOS-0.1.7/kernel/src/filesystem/ramfs/
Dmod.rs277 inode.children.insert(String::from(name), result.clone()); in create_with_data()
306 .insert(String::from(name), other_locked.self_ref.upgrade().unwrap()); in link()
/DragonOS-0.1.7/kernel/src/exception/
Dsoftirq.rs232 cpu_pending(processor_id).insert(VecStatus::from(softirq_num)); in raise_softirq()
/DragonOS-0.1.7/kernel/src/filesystem/devfs/
Dmod.rs272 this.children.insert(name.to_string(), dev); in add_dev()
333 guard.children.insert(String::from(_name), result.clone()); in do_create_with_data()
/DragonOS-0.1.7/kernel/src/net/
Dsocket.rs1042 result.insert(PollStatus::READ); in poll()
1045 result.insert(PollStatus::WRITE); in poll()
1048 result.insert(PollStatus::ERROR); in poll()
/DragonOS-0.1.7/kernel/src/filesystem/vfs/
Dmount.rs335 .insert(metadata.inode_id, new_mount_fs.clone()); in mount()
/DragonOS-0.1.7/kernel/src/driver/net/
Dvirtio_net.rs231 NET_DRIVERS.write().insert(iface.nic_id(), iface.clone()); in virtio_net()
/DragonOS-0.1.7/kernel/src/filesystem/procfs/
Dmod.rs520 inode.children.insert(String::from(name), result.clone()); in create_with_data()
549 .insert(String::from(name), other_locked.self_ref.upgrade().unwrap()); in link()
/DragonOS-0.1.7/kernel/src/filesystem/fat/
Dfs.rs144 .insert(name.to_uppercase(), entry_inode.clone()); in find()
1495 .insert(name.to_uppercase(), entry_inode.clone()); in list()
1578 guard.children.insert(name.to_uppercase(), target.clone()); in rmdir()