/DragonOS/kernel/crates/bitmap/tests/ |
H A D | static-bitmap.rs | 25 assert_eq!(bitmap.is_empty(), true); in test_empty_bitmap_32() 38 assert_eq!(bitmap.is_empty(), false); in test_empty_bitmap_32() 55 assert_eq!(bitmap.is_empty(), true); in test_empty_bitmap_64() 68 assert_eq!(bitmap.is_empty(), false); in test_empty_bitmap_64() 87 assert_eq!(bitmap.is_empty(), false); in test_static_bitmap_32_first_1() 106 assert_eq!(bitmap.is_empty(), false); in test_static_bitmap_32_first_1() 129 assert_eq!(bitmap.is_empty(), false); in test_static_bitmap_32_middle_1() 148 assert_eq!(bitmap.is_empty(), false); in test_static_bitmap_32_middle_1() 171 assert_eq!(bitmap.is_empty(), false); in test_static_bitmap_32_last_1() 190 assert_eq!(bitmap.is_empty(), false); in test_static_bitmap_32_last_1() [all …]
|
H A D | alloc-bitmap.rs | 25 assert_eq!(bitmap.is_empty(), true); in test_empty_bitmap_32() 38 assert_eq!(bitmap.is_empty(), false); in test_empty_bitmap_32() 55 assert_eq!(bitmap.is_empty(), true); in test_empty_bitmap_64() 68 assert_eq!(bitmap.is_empty(), false); in test_empty_bitmap_64() 87 assert_eq!(bitmap.is_empty(), false); in test_alloc_bitmap_32_first_1() 106 assert_eq!(bitmap.is_empty(), false); in test_alloc_bitmap_32_first_1() 129 assert_eq!(bitmap.is_empty(), false); in test_alloc_bitmap_32_middle_1() 148 assert_eq!(bitmap.is_empty(), false); in test_alloc_bitmap_32_middle_1() 171 assert_eq!(bitmap.is_empty(), false); in test_alloc_bitmap_32_last_1() 190 assert_eq!(bitmap.is_empty(), false); in test_alloc_bitmap_32_last_1() [all …]
|
/DragonOS/kernel/crates/rbpf/examples/ |
H A D | rbpf_plugin.rs | 26 if !args.is_empty() { in main() 34 while !args.is_empty() { in main() 67 if !args.is_empty() { in main() 77 if program_text.is_empty() { in main()
|
/DragonOS/user/apps/user-manage/src/check/ |
H A D | check.rs | 60 if info.username.is_empty() { in check() 64 if info.uid.is_empty() { in check() 68 if info.comment.is_empty() { in check() 71 if info.home_dir.is_empty() { in check() 75 if info.shell.is_empty() { in check() 99 if info.group.is_empty() && info.gid.is_empty() { in check_group_gid() 113 if !info.group.is_empty() && info.group == groupname { in check_group_gid() 114 if !info.gid.is_empty() && info.gid != gid { in check_group_gid() 119 } else if info.gid.is_empty() || info.gid == gid { in check_group_gid() 125 if !info.gid.is_empty() && info.gid == gid { in check_group_gid() [all …]
|
/DragonOS/kernel/crates/intertrait/macros/src/ |
H A D | args.rs | 34 if input.is_empty() { in parse() 49 if input.is_empty() { in parse()
|
H A D | lib.rs | 68 if paths.is_empty() { in cast_to()
|
H A D | item_impl.rs | 63 if bindings.is_empty() { in fully_bound_trait()
|
/DragonOS/kernel/crates/unified-init/macros/src/ |
H A D | lib.rs | 83 if !function.sig.inputs.is_empty() { in check_function_signature() 114 if !tuple.elems.is_empty() { in check_function_signature() 195 while !input.is_empty() { in parse()
|
/DragonOS/kernel/src/filesystem/sysfs/ |
H A D | group.rs | 37 if group.attrs().is_empty() { in do_create_groups() 63 if group.attrs().is_empty() { in do_create_group() 185 if mode.is_empty() { in group_create_files()
|
/DragonOS/kernel/crates/bitmap/src/ |
H A D | static_bitmap.rs | 114 fn is_empty(&self) -> bool { in is_empty() function 115 self.core.is_empty(&self.data) in is_empty()
|
H A D | alloc_bitmap.rs | 103 fn is_empty(&self) -> bool { in is_empty() method 104 self.core.is_empty(&self.data) in is_empty()
|
/DragonOS/kernel/src/net/event_poll/ |
H A D | mod.rs | 243 if !flags.difference(FileMode::O_CLOEXEC).is_empty() { in do_create_epoll() 324 .is_empty() in do_epoll_ctl() 542 if revents.is_empty() { in ep_send_events() 621 if !event.is_empty() { in ep_insert() 677 if !event.is_empty() { in ep_modify() 689 !self.ready_list.is_empty() in ep_events_available() 741 .is_empty() in wakeup_epoll() 742 || pollflags.difference(ep_events).is_empty()) in wakeup_epoll()
|
/DragonOS/kernel/src/libs/ |
H A D | cpumask.rs | 77 pub fn is_empty(&self) -> bool { in is_empty() method 78 self.bmp.is_empty() in is_empty()
|
H A D | mutex.rs | 122 if inner.wait_list.is_empty() { in unlock()
|
/DragonOS/user/apps/user-manage/src/cmd/ |
H A D | groupmod.rs | 38 if !cmd.options.is_empty() { in main()
|
H A D | usermod.rs | 38 if !cmd.options.is_empty() { in main()
|
/DragonOS/build-scripts/kernel_build/src/utils/ |
H A D | mod.rs | 20 while !queue.is_empty() { in list_all_files()
|
/DragonOS/kernel/src/driver/tty/ |
H A D | kthread.rs | 36 if KEYBUF.is_empty() { in tty_refresh_thread()
|
/DragonOS/kernel/src/time/ |
H A D | timer.rs | 144 if timer_list.is_empty() { in activate() 256 if timer_list.is_empty() { in run() 345 if timer_list.is_empty() { in timer_get_first_expire()
|
/DragonOS/kernel/src/exception/ |
H A D | handle.rs | 80 if desc_inner.actions().is_empty() || desc_inner.common_data().disabled() { in handle() 126 if unlikely(desc_inner_guard.actions().is_empty()) { in handle() 166 if status.bitand(mask).is_empty() { in irq_may_run()
|
H A D | manage.rs | 302 if desc.actions().is_empty() { in inner_setup_irq() 324 if !desc_inner_guard.actions().is_empty() { in inner_setup_irq() 771 if irq_aff.is_empty() { in irq_setup_affinity() 812 let r = if force || !cpumask.is_empty() { in irq_do_set_affinity() 973 if !(flags & IrqLineStatus::IRQ_TYPE_LEVEL_MASK).is_empty() { in do_set_irq_trigger()
|
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | core.rs | 77 if !root_entries.is_empty() { in vfs_init() 321 if rest.is_empty() { in do_mount() 353 if rest.is_empty() { in do_mount_mkdir()
|
/DragonOS/kernel/crates/rust-slabmalloc/src/ |
H A D | sc.rs | 134 if slab_page.is_empty(self.obj_per_page) { in check_page_assignments() 346 let is_empty_after_dealloc = slab_page.is_empty(self.obj_per_page); in deallocate()
|
/DragonOS/user/apps/user-manage/src/executor/ |
H A D | executor.rs | 111 .filter(|username| !username.is_empty()) in write_group_file() 153 .filter(|username| !username.is_empty()) in write_gshadow_file() 378 .filter(|username| !username.is_empty()) in update_group_file() 448 .filter(|username| !username.is_empty()) in update_gshadow_file() 465 if users.is_empty() { in update_gshadow_file() 512 if info.new_password.is_empty() { in update_passwd_file()
|
/DragonOS/kernel/src/syscall/ |
H A D | user_access.rs | 246 if byte_buffer.len() % core::mem::size_of::<T>() != 0 || byte_buffer.is_empty() { in convert_with_offset() 333 if byte_buffer.len() % core::mem::size_of::<T>() != 0 || byte_buffer.is_empty() { in convert_with_offset()
|