Home
last modified time | relevance | path

Searched defs:u32 (Results 1 – 25 of 665) sorted by relevance

12345678910>>...27

/external/rust/crates/itertools/benches/
Dtuples.rs4 fn s1(a: u32) -> u32 { in s1()
8 fn s2(a: u32, b: u32) -> u32 { in s2()
12 fn s3(a: u32, b: u32, c: u32) -> u32 { in s3()
16 fn s4(a: u32, b: u32, c: u32, d: u32) -> u32 { in s4()
20 fn sum_s1(s: &[u32]) -> u32 { in sum_s1()
24 fn sum_s2(s: &[u32]) -> u32 { in sum_s2()
28 fn sum_s3(s: &[u32]) -> u32 { in sum_s3()
32 fn sum_s4(s: &[u32]) -> u32 { in sum_s4()
36 fn sum_t1(s: &(&u32, )) -> u32 { in sum_t1()
40 fn sum_t2(s: &(&u32, &u32)) -> u32 { in sum_t2()
[all …]
/external/crosvm/gpu_display/src/
Dlib.rs78 stride: u32, in new()
79 bytes_per_pixel: u32, in new()
91 x: u32, in sub_region()
92 y: u32, in sub_region()
93 width: u32, in sub_region()
94 height: u32, in sub_region()
117 pub fn stride(&self) -> u32 { in stride()
126 offset: u32, in import_dmabuf()
127 stride: u32, in import_dmabuf()
129 width: u32, in import_dmabuf()
[all …]
Dgpu_display_stub.rs48 fn create(width: u32, height: u32) -> Surface { in create()
106 fn create_surface(&mut self, width: u32, height: u32) -> u32 { in create_surface()
120 fn destroy_surface(&mut self, surface_id: u32) { in destroy_surface()
124 fn flip_surface(&mut self, surface_id: u32) { in flip_surface()
153 parent_surface_id: Option<u32>, in create_surface()
154 width: u32, in create_surface()
155 height: u32, in create_surface()
156 ) -> Result<u32, GpuDisplayError> { in create_surface()
163 fn release_surface(&mut self, surface_id: u32) { in release_surface()
177 fn flip(&mut self, surface_id: u32) { in flip()
[all …]
Dgpu_display_wl.rs150 offset: u32, in import_dmabuf()
151 stride: u32, in import_dmabuf()
153 width: u32, in import_dmabuf()
154 height: u32, in import_dmabuf()
155 fourcc: u32, in import_dmabuf()
156 ) -> Result<u32, GpuDisplayError> { in import_dmabuf()
182 fn release_import(&mut self, import_id: u32) { in release_import()
195 parent_surface_id: Option<u32>, in create_surface()
196 width: u32, in create_surface()
197 height: u32, in create_surface()
[all …]
Ddwl.rs82 offset: u32, in dwl_context_dmabuf_new()
83 stride: u32, in dwl_context_dmabuf_new()
85 width: u32, in dwl_context_dmabuf_new()
86 height: u32, in dwl_context_dmabuf_new()
87 fourcc: u32, in dwl_context_dmabuf_new()
100 width: u32, in dwl_context_surface_new()
101 height: u32, in dwl_context_surface_new()
102 stride: u32, in dwl_context_surface_new()
124 pub fn dwl_surface_set_position(self_: *mut dwl_surface, x: u32, y: u32); in dwl_surface_set_position()
Dgpu_display_x.rs116 fn type_(&self) -> u32 { in type_()
244 width: u32, in create()
245 height: u32, in create()
669 fn handle_event_device(&mut self, event_device_id: u32) { in handle_event_device()
719 parent_surface_id: Option<u32>, in create_surface()
720 width: u32, in create_surface()
721 height: u32, in create_surface()
722 ) -> Result<u32, GpuDisplayError> { in create_surface()
741 fn release_surface(&mut self, surface_id: u32) { in release_surface()
759 fn flip(&mut self, surface_id: u32) { in flip()
[all …]
/external/rust/crates/ryu/src/
Df2s_intrinsics.rs27 fn pow5factor_32(mut value: u32) -> u32 { in pow5factor_32()
44 pub fn multiple_of_power_of_5_32(value: u32, p: u32) -> bool { in multiple_of_power_of_5_32()
50 pub fn multiple_of_power_of_2_32(value: u32, p: u32) -> bool { in multiple_of_power_of_2_32()
58 fn mul_shift_32(m: u32, factor: u64, shift: i32) -> u32 { in mul_shift_32()
75 pub fn mul_pow5_inv_div_pow2(m: u32, q: u32, j: i32) -> u32 { in mul_pow5_inv_div_pow2()
101 pub fn mul_pow5_div_pow2(m: u32, i: u32, j: i32) -> u32 { in mul_pow5_div_pow2()
/external/crosvm/rutabaga_gfx/src/
Dgfxstream.rs43 display_width: u32, in gfxstream_backend_init()
44 display_height: u32, in gfxstream_backend_init()
45 display_type: u32, in gfxstream_backend_init()
61 num_iovs: u32, in pipe_virgl_renderer_resource_create()
64 fn pipe_virgl_renderer_resource_unref(res_handle: u32); in pipe_virgl_renderer_resource_unref()
65 fn pipe_virgl_renderer_context_create(handle: u32, nlen: u32, name: *const c_char) -> c_int; in pipe_virgl_renderer_context_create()
66 fn pipe_virgl_renderer_context_destroy(handle: u32); in pipe_virgl_renderer_context_destroy()
68 handle: u32, in pipe_virgl_renderer_transfer_read_iov()
69 ctx_id: u32, in pipe_virgl_renderer_transfer_read_iov()
70 level: u32, in pipe_virgl_renderer_transfer_read_iov()
[all …]
Drutabaga_core.rs55 fn get_capset_info(&self, _capset_id: u32) -> (u32, u32) { in get_capset_info()
61 fn get_capset(&self, _capset_id: u32, _version: u32) -> Vec<u8> { in get_capset()
75 fn poll(&self) -> u32 { in poll()
84 _resource_id: u32, in create_3d()
93 _resource_id: u32, in attach_backing()
100 fn detach_backing(&self, _resource_id: u32) {} in detach_backing()
103 fn unref_resource(&self, _resource_id: u32) {} in unref_resource()
109 _ctx_id: u32, in transfer_write()
120 _ctx_id: u32, in transfer_read()
132 _ctx_id: u32, in create_blob()
[all …]
Dvirgl_renderer.rs154 fn unmap_func(resource_id: u32) { in unmap_func()
221 fn map_info(&self, resource_id: u32) -> RutabagaResult<u32> { in map_info()
283 fn get_capset_info(&self, capset_id: u32) -> (u32, u32) { in get_capset_info()
294 fn get_capset(&self, capset_id: u32, version: u32) -> Vec<u8> { in get_capset()
315 fn poll(&self) -> u32 { in poll()
322 resource_id: u32, in create_3d()
360 resource_id: u32, in attach_backing()
374 fn detach_backing(&self, resource_id: u32) { in detach_backing()
382 fn unref_resource(&self, resource_id: u32) { in unref_resource()
392 ctx_id: u32, in transfer_write()
[all …]
Drutabaga_2d.rs17 resource_h: u32, in transfer_2d()
18 rect_x: u32, in transfer_2d()
19 rect_y: u32, in transfer_2d()
20 rect_w: u32, in transfer_2d()
21 rect_h: u32, in transfer_2d()
22 dst_stride: u32, in transfer_2d()
25 src_stride: u32, in transfer_2d()
151 fn poll(&self) -> u32 { in poll()
157 resource_id: u32, in create_3d()
186 _ctx_id: u32, in transfer_write()
[all …]
/external/crosvm/rutabaga_gfx/src/rutabaga_gralloc/
Dminigbm_bindings.rs77 pub fn gbm_device_is_format_supported(gbm: *mut gbm_device, format: u32, usage: u32) -> c_int; in gbm_device_is_format_supported()
82 format: u32, in gbm_device_get_format_modifier_plane_count()
95 width: u32, in gbm_bo_create()
96 height: u32, in gbm_bo_create()
97 format: u32, in gbm_bo_create()
98 flags: u32, in gbm_bo_create()
104 width: u32, in gbm_bo_create_with_modifiers()
105 height: u32, in gbm_bo_create_with_modifiers()
106 format: u32, in gbm_bo_create_with_modifiers()
135 type_: u32, in gbm_bo_import()
[all …]
/external/rust/crates/protobuf/src/
Dtypes.rs35 fn compute_size(value: &Self::Value) -> u32; in compute_size()
42 fn compute_size_with_length_delimiter(value: &Self::Value) -> u32 { in compute_size_with_length_delimiter()
53 fn get_cached_size(value: &Self::Value) -> u32 { in get_cached_size()
59 fn get_cached_size_with_length_delimiter(value: &Self::Value) -> u32 { in get_cached_size_with_length_delimiter()
70 field_number: u32, in write_with_cached_size()
132 fn compute_size(_value: &f32) -> u32 { in compute_size()
146 field_number: u32, in write_with_cached_size()
174 fn compute_size(_value: &f64) -> u32 { in compute_size()
179 field_number: u32, in write_with_cached_size()
198 fn compute_size(value: &i32) -> u32 { in compute_size()
[all …]
Drt.rs32 pub fn compute_raw_varint64_size(value: u64) -> u32 { in compute_raw_varint64_size()
64 pub fn compute_raw_varint32_size(value: u32) -> u32 { in compute_raw_varint32_size()
71 fn len_varint(&self) -> u32; in len_varint()
77 fn len_varint_zigzag(&self) -> u32; in len_varint_zigzag()
81 fn len_varint(&self) -> u32 { in len_varint()
86 impl ProtobufVarint for u32 { implementation
87 fn len_varint(&self) -> u32 { in len_varint()
93 fn len_varint(&self) -> u32 { in len_varint()
100 fn len_varint_zigzag(&self) -> u32 { in len_varint_zigzag()
106 fn len_varint(&self) -> u32 { in len_varint()
[all …]
/external/rust/crates/chrono/src/
Ddate.rs82 pub fn and_hms(&self, hour: u32, min: u32, sec: u32) -> DateTime<Tz> { in and_hms()
91 pub fn and_hms_opt(&self, hour: u32, min: u32, sec: u32) -> Option<DateTime<Tz>> { in and_hms_opt()
101 pub fn and_hms_milli(&self, hour: u32, min: u32, sec: u32, milli: u32) -> DateTime<Tz> { in and_hms_milli()
113 hour: u32, in and_hms_milli_opt()
114 min: u32, in and_hms_milli_opt()
115 sec: u32, in and_hms_milli_opt()
116 milli: u32, in and_hms_milli_opt()
127 pub fn and_hms_micro(&self, hour: u32, min: u32, sec: u32, micro: u32) -> DateTime<Tz> { in and_hms_micro()
139 hour: u32, in and_hms_micro_opt()
140 min: u32, in and_hms_micro_opt()
[all …]
/external/crosvm/devices/src/virtio/input/
Ddefaults.rs15 pub fn new_trackpad_config(width: u32, height: u32) -> VirtioInputConfig { in new_trackpad_config()
66 pub fn new_single_touch_config(width: u32, height: u32) -> VirtioInputConfig { in new_single_touch_config()
79 pub fn new_multi_touch_config(width: u32, height: u32) -> VirtioInputConfig { in new_multi_touch_config()
90 fn default_touchscreen_absinfo(width: u32, height: u32) -> BTreeMap<u16, virtio_input_absinfo> { in default_touchscreen_absinfo()
105 width: u32, in default_multitouchscreen_absinfo()
106 height: u32, in default_multitouchscreen_absinfo()
107 slot: u32, in default_multitouchscreen_absinfo()
108 id: u32, in default_multitouchscreen_absinfo()
136 fn default_trackpad_absinfo(width: u32, height: u32) -> BTreeMap<u16, virtio_input_absinfo> { in default_trackpad_absinfo()
/external/rust/crates/chrono/src/naive/
Dtime.rs207 pub fn from_hms(hour: u32, min: u32, sec: u32) -> NaiveTime { in from_hms()
232 pub fn from_hms_opt(hour: u32, min: u32, sec: u32) -> Option<NaiveTime> { in from_hms_opt()
255 pub fn from_hms_milli(hour: u32, min: u32, sec: u32, milli: u32) -> NaiveTime { in from_hms_milli()
282 pub fn from_hms_milli_opt(hour: u32, min: u32, sec: u32, milli: u32) -> Option<NaiveTime> { in from_hms_milli_opt()
307 pub fn from_hms_micro(hour: u32, min: u32, sec: u32, micro: u32) -> NaiveTime { in from_hms_micro()
334 pub fn from_hms_micro_opt(hour: u32, min: u32, sec: u32, micro: u32) -> Option<NaiveTime> { in from_hms_micro_opt()
357 pub fn from_hms_nano(hour: u32, min: u32, sec: u32, nano: u32) -> NaiveTime { in from_hms_nano()
384 pub fn from_hms_nano_opt(hour: u32, min: u32, sec: u32, nano: u32) -> Option<NaiveTime> { in from_hms_nano_opt()
411 pub fn from_num_seconds_from_midnight(secs: u32, nano: u32) -> NaiveTime { in from_num_seconds_from_midnight()
436 pub fn from_num_seconds_from_midnight_opt(secs: u32, nano: u32) -> Option<NaiveTime> { in from_num_seconds_from_midnight_opt()
[all …]
Ddate.rs172 pub fn from_ymd(year: i32, month: u32, day: u32) -> NaiveDate { in from_ymd()
195 pub fn from_ymd_opt(year: i32, month: u32, day: u32) -> Option<NaiveDate> { in from_ymd_opt()
270 pub fn from_isoywd(year: i32, week: u32, weekday: Weekday) -> NaiveDate { in from_isoywd()
318 pub fn from_isoywd_opt(year: i32, week: u32, weekday: Weekday) -> Option<NaiveDate> { in from_isoywd_opt()
450 pub fn from_weekday_of_month(year: i32, month: u32, weekday: Weekday, n: u8) -> NaiveDate { in from_weekday_of_month()
468 month: u32, in from_weekday_of_month_opt()
568 pub fn and_hms(&self, hour: u32, min: u32, sec: u32) -> NaiveDateTime { in and_hms()
591 pub fn and_hms_opt(&self, hour: u32, min: u32, sec: u32) -> Option<NaiveDateTime> { in and_hms_opt()
616 pub fn and_hms_milli(&self, hour: u32, min: u32, sec: u32, milli: u32) -> NaiveDateTime { in and_hms_milli()
643 hour: u32, in and_hms_milli_opt()
[all …]
Dinternals.rs97 pub fn cycle_to_yo(cycle: u32) -> (u32, u32) { in cycle_to_yo()
109 pub fn yo_to_cycle(year_mod_400: u32, ordinal: u32) -> u32 { in yo_to_cycle()
126 pub fn ndays(&self) -> u32 { in ndays()
132 pub fn isoweek_delta(&self) -> u32 { in isoweek_delta()
142 pub fn nisoweeks(&self) -> u32 { in nisoweeks()
272 fn clamp_ordinal(ordinal: u32) -> u32 { in clamp_ordinal()
281 pub fn new(ordinal: u32, YearFlags(flags): YearFlags) -> Of { in new()
303 pub fn ordinal(&self) -> u32 { in ordinal()
334 pub fn isoweekdate_raw(&self) -> (u32, Weekday) { in isoweekdate_raw()
382 fn clamp_month(month: u32) -> u32 { in clamp_month()
[all …]
/external/crosvm/devices/src/virtio/gpu/
Dvirtio_gpu.rs53 pub fn new(resource_id: u32, width: u32, height: u32, size: u64) -> VirtioGpuResource { in new()
66 pub fn dimensions(&self) -> (u32, u32) { in dimensions()
117 display_width: u32, in new()
118 display_height: u32, in new()
173 scanout: u32, in import_event_device()
197 pub fn display_info(&self) -> [(u32, u32); 1] { in display_info()
213 _scanout_id: u32, in set_scanout()
214 resource_id: u32, in set_scanout()
269 pub fn import_to_display(&mut self, resource_id: u32) -> Option<u32> { in import_to_display()
325 resource_id: u32, in flush_resource_to_surface()
[all …]
/external/rust/crates/unicode-segmentation/src/
Dtables.rs354 …fn bsearch_range_value_table(c: char, r: &'static [(char, char, GraphemeCat)]) -> (u32, u32, Graph… in bsearch_range_value_table() argument
376 pub fn grapheme_category(c: char) -> (u32, u32, GraphemeCat) { in grapheme_category()
1005 …fn bsearch_range_value_table(c: char, r: &'static [(char, char, WordCat)]) -> (u32, u32, WordCat) { in bsearch_range_value_table() argument
1027 pub fn word_category(c: char) -> (u32, u32, WordCat) { in word_category()
1481 …fn bsearch_range_value_table(c: char, r: &'static [(char, char, EmojiCat)]) -> (u32, u32, EmojiCat… in bsearch_range_value_table() argument
1503 pub fn emoji_category(c: char) -> (u32, u32, EmojiCat) { in emoji_category()
1585 …fn bsearch_range_value_table(c: char, r: &'static [(char, char, SentenceCat)]) -> (u32, u32, Sente… in bsearch_range_value_table() argument
1607 pub fn sentence_category(c: char) -> (u32, u32, SentenceCat) { in sentence_category()
/external/crosvm/rutabaga_gfx/src/generated/
Dvirgl_renderer_bindings.rs103 resource_id: u32, in virgl_renderer_get_cursor_data()
104 width: *mut u32, in virgl_renderer_get_cursor_data()
105 height: *mut u32, in virgl_renderer_get_cursor_data()
113 offset: u32, in virgl_renderer_get_rect()
122 tex_id: u32, in virgl_renderer_get_fd_for_texture()
128 tex_id: u32, in virgl_renderer_get_fd_for_texture2()
188 num_iovs: u32, in virgl_renderer_resource_create()
198 pub fn virgl_renderer_resource_unref(res_handle: u32); in virgl_renderer_resource_unref()
201 pub fn virgl_renderer_resource_set_priv(res_handle: u32, priv_: *mut ::std::os::raw::c_void); in virgl_renderer_resource_set_priv()
208 handle: u32, in virgl_renderer_context_create()
[all …]
/external/rust/crates/chrono/src/offset/
Dmod.rs96 pub fn and_hms_opt(self, hour: u32, min: u32, sec: u32) -> LocalResult<DateTime<Tz>> { in and_hms_opt()
113 hour: u32, in and_hms_milli_opt()
114 min: u32, in and_hms_milli_opt()
115 sec: u32, in and_hms_milli_opt()
116 milli: u32, in and_hms_milli_opt()
134 hour: u32, in and_hms_micro_opt()
135 min: u32, in and_hms_micro_opt()
136 sec: u32, in and_hms_micro_opt()
137 micro: u32, in and_hms_micro_opt()
155 hour: u32, in and_hms_nano_opt()
[all …]
/external/rust/crates/crc32fast/src/
Dbaseline.rs17 pub fn finalize(self) -> u32 { in finalize()
25 pub fn combine(&mut self, other: u32, amount: u64) { in combine()
30 pub(crate) fn update_fast_16(prev: u32, mut buf: &[u8]) -> u32 { in update_fast_16()
61 pub(crate) fn update_slow(prev: u32, buf: &[u8]) -> u32 { in update_slow()
Dcombine.rs3 fn gf2_matrix_times(mat: &[u32; GF2_DIM], mut vec: u32) -> u32 { in gf2_matrix_times()
22 pub(crate) fn combine(mut crc1: u32, crc2: u32, mut len2: u64) -> u32 { in combine()

12345678910>>...27