Home
last modified time | relevance | path

Searched refs:items (Results 1 – 6 of 6) sorted by relevance

/DragonOS/kernel/crates/intertrait/macros/src/
H A Ditem_impl.rs20 ref items, in process()
33 let path = fully_bound_trait(path, items); in process()
45 fn fully_bound_trait(path: &Path, items: &[ImplItem]) -> impl ToTokens { in fully_bound_trait()
46 let bindings = items in fully_bound_trait()
/DragonOS/kernel/src/driver/base/char/
H A Dmod.rs148 if let Some(items) = CHARDEVS.lock().get_mut(Self::major_to_index(major)) { in __register_chardev_region()
150 for (index, item) in items.iter().enumerate() { in __register_chardev_region()
168 items.insert(insert_index, chardev); in __register_chardev_region()
183 if let Some(items) = CHARDEVS in __unregister_chardev_region()
187 for (index, item) in items.iter().enumerate() { in __unregister_chardev_region()
190 items.remove(index); in __unregister_chardev_region()
/DragonOS/tools/debugging/logmonitor/src/
H A Dapp.rs174 pub items: Vec<T>, field
178 pub fn with_items(items: Vec<T>) -> StatefulList<T> { in with_items()
181 items, in with_items()
188 if i >= self.items.len() - 1 { in next()
203 self.items.len() - 1 in previous()
/DragonOS/kernel/src/driver/base/block/
H A Dblock_device.rs604 if let Some(items) = BLOCKDEVS.lock().get_mut(Self::major_to_index(major)) { in __register_blockdev_region()
606 for (index, item) in items.iter().enumerate() { in __register_blockdev_region()
624 items.insert(insert_index, blockdev); in __register_blockdev_region()
639 if let Some(items) = BLOCKDEVS in __unregister_blockdev_region()
643 for (index, item) in items.iter().enumerate() { in __unregister_blockdev_region()
646 items.remove(index); in __unregister_blockdev_region()
/DragonOS/
H A DREADME_EN.md67 We guarantee that all sponsorship funds and items will be used for:
H A DLICENSE323 mouse-clicks or menu items--whatever suits your program.