Home
last modified time | relevance | path

Searched refs:u32 (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/av/media/module/foundation/tests/
DFlagged_test.cpp209 using u32 = uint32_t; in TEST_F() typedef
213 static_assert(Flagged<i32, u32, 0u, 0u, 0>::sFlagMask == 0u, ""); in TEST_F()
214 static_assert(Flagged<i32, u32, 0u, 0u, 0>::sFlagShift == 0, ""); in TEST_F()
215 static_assert(Flagged<i32, u32, 0u, 0u, 0>::sEffectiveMask == 0u, ""); in TEST_F()
217 static_assert(Flagged<i32, u32, 0u, 0u, 10>::sFlagMask == 0u, ""); in TEST_F()
218 static_assert(Flagged<i32, u32, 0u, 0u, 10>::sFlagShift == 10, ""); in TEST_F()
219 static_assert(Flagged<i32, u32, 0u, 0u, 10>::sEffectiveMask == 0u, ""); in TEST_F()
221 static_assert(Flagged<i32, u32, 0u, 0u, -1>::sFlagMask == 0u, ""); in TEST_F()
222 static_assert(Flagged<i32, u32, 0u, 0u, -1>::sFlagShift == 0, ""); in TEST_F()
223 static_assert(Flagged<i32, u32, 0u, 0u, -1>::sEffectiveMask == 0u, ""); in TEST_F()
[all …]
/frameworks/native/libs/input/rust/
Dinput.rs39 #[repr(u32)]
52 pub struct Source: u32 {
55 const SourceClassButton = SourceClass::Button as u32;
57 const SourceClassPointer = SourceClass::Pointer as u32;
59 const SourceClassNavigation = SourceClass::Navigation as u32;
61 const SourceClassPosition = SourceClass::Position as u32;
63 const SourceClassJoystick = SourceClass::Joystick as u32;
101 #[repr(u32)]
159 impl From<u32> for MotionAction {
160 fn from(action: u32) -> Self { in from()
[all …]
Dlib.rs59 source: u32, in process_movement() argument
60 action: u32, in process_movement() argument
62 flags: u32, in process_movement() argument
78 device_classes: u32, in notify_keyboard_changed() argument
81 fn get_keyboard_type(classifier: &mut KeyboardClassifier, device_id: i32) -> u32; in get_keyboard_type() argument
89 modifier_state: u32, in process_key() argument
120 source: u32, in process_movement() argument
121 action: u32, in process_movement() argument
123 flags: u32, in process_movement() argument
158 device_classes: u32, in notify_keyboard_changed() argument
[all …]
/frameworks/minikin/rust/
Dhyphenator.rs154 const MAX_HYPHEN_SIZE: u32 = 64;
209 pub fn read_u32(&self, offset: u32) -> u32 { in read_u32() argument
213 .map(|x: &[u8]| u32::from_le_bytes(x.try_into().unwrap())) in read_u32()
238 min_codepoint: u32,
239 max_codepoint: u32,
250 num_entries: u32,
262 entry: u32,
287 pattern_offset: u32,
300 pattern_offset: u32,
301 entry: u32,
[all …]
Dminikin.rs28 fn getScript(cp: u32) -> u8; in getScript()
29 fn getJoiningType(cp: u32) -> u8; in getJoiningType()
36 min_prefix: u32, in load_hyphenator() argument
37 min_suffix: u32, in load_hyphenator() argument
46 min_prefix: u32, in load_hyphenator() argument
47 min_suffix: u32, in load_hyphenator() argument
/frameworks/native/libs/nativewindow/rust/src/
Dlib.rs47 width: u32, in is_supported() argument
48 height: u32, in is_supported() argument
49 layers: u32, in is_supported() argument
52 stride: u32, in is_supported() argument
78 width: u32, in new() argument
79 height: u32, in new() argument
80 layers: u32, in new() argument
159 pub fn width(&self) -> u32 { in width() argument
164 pub fn height(&self) -> u32 { in height() argument
169 pub fn layers(&self) -> u32 { in layers() argument
[all …]
/frameworks/base/libs/androidfw/
DPngChunkFilter.cpp31 constexpr uint32_t u32(uint8_t a, uint8_t b, uint8_t c, uint8_t d) { in u32() function
37 kPngChunkIHDR = u32(73, 72, 68, 82),
38 kPngChunkIDAT = u32(73, 68, 65, 84),
39 kPngChunkIEND = u32(73, 69, 78, 68),
40 kPngChunkPLTE = u32(80, 76, 84, 69),
41 kPngChunktRNS = u32(116, 82, 78, 83),
42 kPngChunksRGB = u32(115, 82, 71, 66),
/frameworks/rs/cpu_ref/
DrsCpuIntrinsics_neon_3DLUT.S70 vrshrn.u32 d20, q8, #8
71 vrshrn.u32 d21, q9, #8
80 vrshrn.u32 d22, q8, #8
81 vrshrn.u32 d23, q9, #8
90 vshrn.u32 d28, q8, #8
91 vshrn.u32 d29, q9, #8
218 4: vld1.u32 {d0[]}, [r1]
224 vld1.u32 {d0}, [r1]!
225 vld1.u32 {d2}, [r1]!
228 vld1.u32 {d4}, [r1]!
[all …]
DrsCpuIntrinsics_neon_Resize.S83 vld1.u32 d16[0], [r4]!
84 vld1.u32 d18[0], [r5]!
85 vld1.u32 d20[0], [r6]!
86 vld1.u32 d22[0], [r7]!
249 vdup.u32 q11, d24[0]
341 vdup.u32 q13, d25[1]
353 vdup.u32 q12, d25[1]
443 vst1.u32 {d16[0]}, [r0]!
576 vld4.u32 {d24[],d26[],d28[],d30[]}, [r8]
579 vld4.u32 {d24[1],d26[1],d28[1],d30[1]}, [r9]
[all …]
DrsCpuIntrinsics_neon_YuvToRGB.S146 vld1.u32 d20[1], [r3]!
147 vld1.u32 d21[1], [r4]!
152 vld1.u32 d16[1], [r1]!
154 vld1.u32 d20[1], [r3]!
213 vst1.u32 d0[1], [r0]!
/frameworks/rs/toolkit/
DLut3d_neon.S70 vrshrn.u32 d20, q8, #8
71 vrshrn.u32 d21, q9, #8
80 vrshrn.u32 d22, q8, #8
81 vrshrn.u32 d23, q9, #8
90 vshrn.u32 d28, q8, #8
91 vshrn.u32 d29, q9, #8
218 4: vld1.u32 {d0[]}, [r1]
224 vld1.u32 {d0}, [r1]!
225 vld1.u32 {d2}, [r1]!
228 vld1.u32 {d4}, [r1]!
[all …]
DResize_neon.S83 vld1.u32 d16[0], [r4]!
84 vld1.u32 d18[0], [r5]!
85 vld1.u32 d20[0], [r6]!
86 vld1.u32 d22[0], [r7]!
249 vdup.u32 q11, d24[0]
341 vdup.u32 q13, d25[1]
353 vdup.u32 q12, d25[1]
443 vst1.u32 {d16[0]}, [r0]!
576 vld4.u32 {d24[],d26[],d28[],d30[]}, [r8]
579 vld4.u32 {d24[1],d26[1],d28[1],d30[1]}, [r9]
[all …]
DYuvToRgb_neon.S146 vld1.u32 d20[1], [r3]!
147 vld1.u32 d21[1], [r4]!
152 vld1.u32 d16[1], [r1]!
154 vld1.u32 d20[1], [r3]!
213 vst1.u32 d0[1], [r0]!
/frameworks/native/libs/bufferstreams/rust/src/
Dstream_config.rs22 pub width: u32,
24 pub height: u32,
26 pub layers: u32,
32 pub stride: u32,
/frameworks/native/libs/binder/rust/src/parcel/
Dparcelable.rs476 impl Serialize for u32 = sys::AParcel_writeUint32;
477 impl Deserialize for u32 = sys::AParcel_readUint32;
478 impl SerializeArray for u32 = sys::AParcel_writeUint32Array;
479 impl DeserializeArray for u32 = sys::AParcel_readUint32Array;
1193 struct Custom(u32, bool, String, Vec<String>); in test_custom_parcelable()
1268 assert_eq!(parcel.read::<u32>().unwrap(), 4); in test_slice_parcelables()
1269 assert_eq!(parcel.read::<u32>().unwrap(), 1); in test_slice_parcelables()
1270 assert_eq!(parcel.read::<u32>().unwrap(), 0); in test_slice_parcelables()
1271 assert_eq!(parcel.read::<u32>().unwrap(), 0); in test_slice_parcelables()
1272 assert_eq!(parcel.read::<u32>().unwrap(), 1); in test_slice_parcelables()
[all …]
/frameworks/opt/net/wifi/libwifi_hal/
Dhal_tool.cpp148 u32 stats_clear_req_mask, in wifi_clear_link_stats_stub()
149 u32* stats_clear_rsp_mask, u8 stop_req, in wifi_clear_link_stats_stub()
204 wifi_error wifi_set_nodfs_flag_stub(wifi_interface_handle iface, u32 nodfs) { in wifi_set_nodfs_flag_stub()
209 u32 verbose_level, u32 flags, in wifi_start_logging_stub()
210 u32 max_interval_sec, u32 min_data_size, in wifi_start_logging_stub()
263 u32* num_rings, in wifi_get_ring_buffers_status_stub()
306 u32 period_msec) { in wifi_start_sending_offloaded_packet_stub()
458 wifi_interface_handle handle, u32* version, u32* max_len) { in wifi_get_packet_filter_capabilities_stub()
463 const u8* program, u32 len) { in wifi_set_packet_filter_stub()
/frameworks/rs/script_api/
Drs_convert.spec28 t: u8, u16, u32, i8, i16, i32, f32
29 t: u8, u16, u32, i8, i16, i32, f32
61 t: u8, u16, u32, i8, i16, i32, f32
70 t: u8, u16, u32, i8, i16, i32, f32
81 t: u8, u16, u32, u64, i8, i16, i32, i64, f16, f32, f64
90 t: u8, u16, u32, u64, i8, i16, i32, i64, f32, f64
Drs_allocation_create.spec174 t: u8, u16, u32, u64, i8, i16, i32, i64, f16, f32, f64
189 t: u8, u16, u32, u64, i8, i16, i32, i64, f16, f32, f64
203 t: u8, u16, u32, u64, i8, i16, i32, i64, f16, f32, f64
217 t: u8, u16, u32, u64, i8, i16, i32, i64, f16, f32, f64
230 t: u8, u16, u32, u64, i8, i16, i32, i64, f16, f32, f64
243 t: u8, u16, u32, u64, i8, i16, i32, i64, f16, f32, f64
/frameworks/native/libs/binder/rust/tests/parcel_fuzzer/
Dparcel_fuzzer.rs43 Transact { code: u32, flag: u32, data: &'a [u8] },
73 fn do_transact(code: u32, data: &[u8], flag: u32) { in do_transact() argument
Dread_utils.rs69 read_parcel_interface!(u32),
79 read_parcel_interface!(Vec<u32>),
88 read_parcel_interface!(Option<Vec<u32>>),
/frameworks/native/cmds/evemu-record/
Dmain.rs57 fn get_choice(max: u32) -> u32 { in get_choice() argument
58 fn read_u32() -> Result<u32, std::num::ParseIntError> { in get_choice()
59 io::stdin().lock().lines().next().unwrap().unwrap().parse::<u32>() in get_choice()
81 let number = file_name.strip_prefix("event").unwrap().parse::<u32>(); in pick_input_device()
/frameworks/native/libs/binder/rust/rpcbinder/src/server/
Dandroid.rs47 pub fn new_vsock(mut service: SpIBinder, cid: u32, port: u32) -> Result<RpcServer, Error> { in new_vsock() argument
102 pub fn new_inet(mut service: SpIBinder, address: &str, port: u32) -> Result<RpcServer, Error> { in new_inet()
/frameworks/native/services/surfaceflinger/Scheduler/src/
DTimer.cpp169 timerEvent.data.u32 = DispatchType::TIMER; in dispatch()
177 terminateEvent.data.u32 = DispatchType::TERMINATE; in dispatch()
204 if (events[i].data.u32 == DispatchType::TIMER) { in dispatch()
221 if (events[i].data.u32 == DispatchType::TERMINATE) { in dispatch()
/frameworks/av/media/mtp/
DMtpProperty.cpp91 mDefaultValue.u.u32 = defaultValue; in MtpProperty()
288 mMinimumValue.u.u32 = min; in setFormRange()
289 mMaximumValue.u.u32 = max; in setFormRange()
290 mStepSize.u.u32 = step; in setFormRange()
333 mEnumValues[i].u.u32 = value; in setFormEnum()
419 buffer += std::to_string(value.u.u32); in print()
474 if (!packet.getUInt32(value.u.u32)) return false; in readValue()
529 packet.putUInt32(value.u.u32); in writeValue()
/frameworks/native/libs/vr/libpdx_uds/
Dchannel_event_set.cpp81 event.data.u32 = 0; in ChannelEventReceiver()
90 event.data.u32 = 0; in ChannelEventReceiver()
100 event.data.u32 = 0; in ChannelEventReceiver()

123