Home
last modified time | relevance | path

Searched refs:from_bits (Results 1 – 4 of 4) sorted by relevance

/external/crosvm/devices/src/virtio/input/
Ddefaults.rs59 virtio_input_bitmap::from_bits(&[INPUT_PROP_DIRECT]), in new_single_touch_config()
74 supported_events.insert(EV_KEY, virtio_input_bitmap::from_bits(&[BTN_TOUCH])); in default_touchscreen_events()
75 supported_events.insert(EV_ABS, virtio_input_bitmap::from_bits(&[ABS_X, ABS_Y])); in default_touchscreen_events()
90 virtio_input_bitmap::from_bits(&[BTN_TOOL_FINGER, BTN_TOUCH, BTN_LEFT, BTN_RIGHT]), in default_trackpad_events()
92 supported_events.insert(EV_ABS, virtio_input_bitmap::from_bits(&[ABS_X, ABS_Y])); in default_trackpad_events()
100 virtio_input_bitmap::from_bits(&[BTN_LEFT, BTN_RIGHT, BTN_MIDDLE]), in default_mouse_events()
104 virtio_input_bitmap::from_bits(&[REL_X, REL_Y, REL_WHEEL]), in default_mouse_events()
113 virtio_input_bitmap::from_bits(&[ in default_keyboard_events()
222 virtio_input_bitmap::from_bits(&[REP_DELAY, REP_PERIOD]), in default_keyboard_events()
226 virtio_input_bitmap::from_bits(&[LED_CAPSL, LED_NUML, LED_SCROLLL]), in default_keyboard_events()
Dmod.rs195 fn from_bits(set_indices: &[u16]) -> virtio_input_bitmap { in from_bits() method
298 let events_bm = virtio_input_bitmap::from_bits( in build_config_memory()
/external/flatbuffers/rust/flatbuffers/src/
Dendian_scalar.rs139 f32::from_bits(x.to_bits().swap_bytes()) in byte_swap_f32()
146 f64::from_bits(x.to_bits().swap_bytes()) in byte_swap_f64()
/external/flatbuffers/tests/rust_usage_test/tests/
Dintegration_test.rs735 x == f32::from_bits(x.to_bits().swap_bytes()) in palindrome_32()
738 x == f64::from_bits(x.to_bits().swap_bytes()) in palindrome_64()