/DragonOS/kernel/src/bpf/helper/ |
H A D | print.rs | 9 pub unsafe extern "C" fn printf(w: &mut impl Write, str: *const c_char, mut args: ...) -> c_int { in printf() 10 let bytes_written = format(str as _, args.as_va_list(), output::fmt_write(w)); in printf()
|
/DragonOS/tools/debugging/logmonitor/src/ |
H A D | event.rs | 52 CrosstermEvent::Resize(w, h) => sender.send(Event::Resize(w, h)), in new()
|
/DragonOS/user/port/binutils/2.38/ |
H A D | README.md | 24 docker run --rm -it -v $PWD:/workdir -w /workdir dragonos-binutils-build
|
/DragonOS/kernel/src/driver/input/serio/ |
H A D | subsys.rs | 33 let w: Weak<Self> = Weak::new(); in new() localVariable 34 let private = SubSysPrivate::new("serio".to_string(), Some(w), None, &[]); in new()
|
/DragonOS/kernel/src/driver/base/platform/ |
H A D | subsys.rs | 34 let w: Weak<Self> = Weak::new(); in new() localVariable 35 let private = SubSysPrivate::new("platform".to_string(), Some(w), None, &[]); in new()
|
/DragonOS/tools/ |
H A D | create_hdd_image.sh | 31 w
|
/DragonOS/kernel/src/driver/pci/ |
H A D | subsys.rs | 66 let w: Weak<Self> = Weak::new(); in new() localVariable 67 let private = SubSysPrivate::new("pci".to_string(), Some(w), None, &[]); in new()
|
/DragonOS/kernel/src/driver/video/fbdev/base/fbcon/ |
H A D | framebuffer_console.rs | 671 let w = (vc_data.font.width + 7) / 8; in cursor() localVariable 676 let char_offset = (c as usize & charmask) * ((w * vc_data.font.height) as usize); in cursor() 688 .resize(w as usize * vc_data.font.height as usize, 0); in cursor() 768 let mut size = (vc_data.font.height - cur_height) * w; in cursor() 773 size = cur_height * w; in cursor() 794 [char_offset..char_offset + (w as usize * vc_data.font.height as usize)] in cursor()
|
/DragonOS/kernel/src/libs/lib_ui/ |
H A D | textui.rs | 402 let w = self.0[height]; in is_frcolor() localVariable 404 w & testbit != 0 in is_frcolor() 1091 let w = fw.current_window.clone(); in textui_putstr() localVariable 1092 Some(w) in textui_putstr() 1097 let mut guard = window.as_ref().map(|w| w.lock_irqsave()); in textui_putstr()
|
/DragonOS/kernel/crates/rbpf/src/ |
H A D | jit.rs | 150 fn basix_rex_would_set_bits(&self, w: u8, src: u8, dst: u8) -> bool { in basix_rex_would_set_bits() 151 w != 0 || (src & 0b1000) != 0 || (dst & 0b1000) != 0 in basix_rex_would_set_bits() 154 fn emit_rex(&self, mem: &mut JitMemory, w: u8, r: u8, x: u8, b: u8) { in emit_rex() 155 assert_eq!((w | 1), 1); in emit_rex() 159 self.emit1(mem, 0x40 | (w << 3) | (r << 2) | (x << 1) | b); in emit_rex() 164 fn emit_basic_rex(&self, mem: &mut JitMemory, w: u8, src: u8, dst: u8) { in emit_basic_rex() 165 if self.basix_rex_would_set_bits(w, src, dst) { in emit_basic_rex() 170 self.emit_rex(mem, w, is_masked(src, 8), 0, is_masked(dst, 8)); in emit_basic_rex()
|
/DragonOS/kernel/src/driver/virtio/ |
H A D | sysfs.rs | 52 let w: Weak<Self> = Weak::new(); in new() localVariable 53 let private = SubSysPrivate::new("virtio".to_string(), Some(w), None, &[]); in new()
|
/DragonOS/kernel/src/sched/ |
H A D | mod.rs | 198 let w = Self::scale_load_down(self.weight); in update_inv_weight() localVariable 200 if unlikely(w >= Self::WMULT_CONST as u64) { in update_inv_weight() 203 } else if unlikely(w == 0) { in update_inv_weight() 208 self.inv_weight = Self::WMULT_CONST / w as u32; in update_inv_weight()
|
/DragonOS/kernel/src/driver/video/fbdev/ |
H A D | vesafb.rs | 465 let w = if data.sx as u32 + data.width > var.xres { in fb_copyarea() localVariable 471 (data.sx, w) in fb_copyarea() 488 let w = if data.dx as u32 + data.width > var.xres { in fb_copyarea() localVariable 494 (data.dx, w) in fb_copyarea()
|
/DragonOS/kernel/src/filesystem/fat/ |
H A D | entry.rs | 199 let w = fs in write() localVariable 204 write_ok += w; in write() 205 start += w; in write() 206 in_cluster_bytes_offset += w as u64; in write()
|
/DragonOS/ |
H A D | LICENSE | 316 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 320 The hypothetical commands `show w' and `show c' should show the appropriate 322 be called something other than `show w' and `show c'; they could even be
|