Home
last modified time | relevance | path

Searched refs:i16 (Results 1 – 10 of 10) sorted by relevance

/DragonOS/kernel/src/driver/input/ps2_mouse/
H A Dps_mouse_device.rs114 x: i16,
115 y: i16,
165 pub fn get_x(&self) -> i16 { in get_x() argument
170 pub fn get_y(&self) -> i16 { in get_y() argument
325 fn get_x_movement(&self, packet: u8, flags: MouseFlags) -> i16 { in get_x_movement() argument
329 return packet as i16; in get_x_movement()
333 fn get_y_movement(&self, packet: u8, flags: MouseFlags) -> i16 { in get_y_movement() argument
337 return packet as i16; in get_y_movement()
341 fn sign_extend(&self, packet: u8) -> i16 { in sign_extend() argument
342 ((packet as u16) | 0xFF00) as i16 in sign_extend()
/DragonOS/kernel/src/exception/
H A Dsoftirq.rs109 const MAX_RUNNING_PER_CPU: i16 = 3;
/DragonOS/kernel/crates/rbpf/src/
H A Dassembler.rs171 off: off as i16, in insn()
H A Debpf.rs451 pub off: i16,
H A Dcranelift.rs981 fn reg_load(&mut self, bcx: &mut FunctionBuilder, ty: Type, base: Value, offset: i16) -> Value { in reg_load()
994 offset: i16, in reg_store() argument
1014 offset: i16, in insert_bounds_check() argument
H A Dinsn_builder.rs26 fn get_off(&self) -> i16 { in get_off() argument
48 fn set_off(mut self, offset: i16) -> Self { in set_off()
H A Ddisassembler.rs145 pub off: i16,
H A Dinterpreter.rs78 *insn_ptr = (*insn_ptr as i16 + insn.off) as usize; in do_jump()
/DragonOS/kernel/crates/rbpf/tests/
H A Dassembler.rs16 fn insn(opc: u8, dst: u8, src: u8, off: i16, imm: i32) -> ebpf::Insn { in insn() argument
/DragonOS/kernel/src/libs/lib_ui/
H A Dtextui.rs527 _index: i16, // 当前操作的位置