| /external/rust/crates/arbitrary/src/ |
| D | size_hint.rs | 13 depth: usize, in recursion_guard() 14 f: impl FnOnce(usize) -> (usize, Option<usize>), in recursion_guard() 26 pub fn and(lhs: (usize, Option<usize>), rhs: (usize, Option<usize>)) -> (usize, Option<usize>) { in and() 37 pub fn and_all(hints: &[(usize, Option<usize>)]) -> (usize, Option<usize>) { in and_all() 44 pub fn or(lhs: (usize, Option<usize>), rhs: (usize, Option<usize>)) -> (usize, Option<usize>) { in or() 57 pub fn or_all(hints: &[(usize, Option<usize>)]) -> (usize, Option<usize>) { in or_all()
|
| D | lib.rs | 277 fn size_hint(depth: usize) -> (usize, Option<usize>) { in size_hint() 289 fn size_hint(_depth: usize) -> (usize, Option<usize>) { in size_hint() 300 fn size_hint(depth: usize) -> (usize, Option<usize>) { in size_hint() 386 fn size_hint(depth: usize) -> (usize, Option<usize>) { in size_hint() 397 fn size_hint(depth: usize) -> (usize, Option<usize>) { in size_hint() 408 fn size_hint(depth: usize) -> (usize, Option<usize>) { in size_hint() 419 fn size_hint(depth: usize) -> (usize, Option<usize>) { in size_hint() 521 fn size_hint(depth: usize) -> (usize, Option<usize>) { in size_hint() 539 fn size_hint(depth: usize) -> (usize, Option<usize>) { in size_hint() 557 fn size_hint(depth: usize) -> (usize, Option<usize>) { in size_hint() [all …]
|
| /external/rust/crates/lz4_flex/src/ |
| D | sink.rs | 15 offset: usize, in vec_sink_for_compression() 16 pos: usize, in vec_sink_for_compression() 17 required_capacity: usize, in vec_sink_for_compression() 34 offset: usize, in vec_sink_for_decompression() 35 pos: usize, in vec_sink_for_decompression() 36 required_capacity: usize, in vec_sink_for_decompression() 59 fn pos(&self) -> usize; in pos() 61 fn capacity(&self) -> usize; in capacity() 64 unsafe fn set_pos(&mut self, new_pos: usize); in set_pos() 67 fn extend_with_fill(&mut self, byte: u8, len: usize); in extend_with_fill() [all …]
|
| /external/rust/crates/winnow/benches/ |
| D | next_slice.rs | 92 fn parser_ascii_char(input: &mut &str) -> PResult<usize> { in parser_ascii_char() 96 fn parser_ascii_str(input: &mut &str) -> PResult<usize> { in parser_ascii_str() 100 fn parser_ascii_one_of(input: &mut &str) -> PResult<usize> { in parser_ascii_one_of() 104 fn parser_ascii_tag_char(input: &mut &str) -> PResult<usize> { in parser_ascii_tag_char() 108 fn parser_ascii_tag_str(input: &mut &str) -> PResult<usize> { in parser_ascii_tag_str() 112 fn parser_utf8_char(input: &mut &str) -> PResult<usize> { in parser_utf8_char() 116 fn parser_utf8_str(input: &mut &str) -> PResult<usize> { in parser_utf8_str() 120 fn parser_utf8_one_of(input: &mut &str) -> PResult<usize> { in parser_utf8_one_of() 124 fn parser_utf8_tag_char(input: &mut &str) -> PResult<usize> { in parser_utf8_tag_char() 128 fn parser_utf8_tag_str(input: &mut &str) -> PResult<usize> { in parser_utf8_tag_str()
|
| /external/rust/crates/regex/src/ |
| D | exec.rs | 387 fn slots_len(&self) -> usize { in slots_len() 391 fn next_after_empty(&self, text: &str, i: usize) -> usize { in next_after_empty() 396 fn shortest_match_at(&self, text: &str, start: usize) -> Option<usize> { in shortest_match_at() 406 fn find_at(&self, text: &str, start: usize) -> Option<(usize, usize)> { in find_at() argument 415 start: usize, in captures_read_at() 416 ) -> Option<(usize, usize)> { in captures_read_at() argument 427 fn slots_len(&self) -> usize { in slots_len() 431 fn next_after_empty(&self, _text: &[u8], i: usize) -> usize { in next_after_empty() 438 fn shortest_match_at(&self, text: &[u8], start: usize) -> Option<usize> { in shortest_match_at() 537 fn find_at(&self, text: &[u8], start: usize) -> Option<(usize, usize)> { in find_at() argument [all …]
|
| D | re_trait.rs | 22 pub fn pos(&self, i: usize) -> Option<(usize, usize)> { in pos() argument 41 pub fn len(&self) -> usize { in len() 66 fn next(&mut self) -> Option<Option<(usize, usize)>> { in next() argument 78 fn size_hint(&self) -> (usize, Option<usize>) { in size_hint() 83 fn count(self) -> usize { in count() 110 fn slots_len(&self) -> usize; in slots_len() 122 fn next_after_empty(&self, text: &Self::Text, i: usize) -> usize; in next_after_empty() 128 start: usize, in shortest_match_at() 129 ) -> Option<usize>; in shortest_match_at() 138 start: usize, in find_at() [all …]
|
| /external/rust/crates/unicode-width/src/ |
| D | lib.rs | 76 fn width(self) -> Option<usize>; in width() 85 fn width_cjk(self) -> Option<usize>; in width_cjk() 90 fn width(self) -> Option<usize> { cw::width(self, false) } in width() 93 fn width_cjk(self) -> Option<usize> { cw::width(self, true) } in width_cjk() 106 fn width<'a>(&'a self) -> usize; in width() 116 fn width_cjk<'a>(&'a self) -> usize; in width_cjk() 121 fn width(&self) -> usize { in width() 126 fn width_cjk(&self) -> usize { in width_cjk()
|
| /external/crosvm/win_audio/src/ |
| D | lib.rs | 88 fn get_shared_audio_engine_period_in_bytes(&self) -> usize { in get_shared_audio_engine_period_in_bytes() 102 num_channels: usize, in new_playback_stream_and_get_shared_format() 104 frame_rate: usize, in new_playback_stream_and_get_shared_format() 105 buffer_size: usize, in new_playback_stream_and_get_shared_format() 110 _num_channels: usize, in new_async_playback_stream_and_get_shared_format() 112 _frame_rate: usize, in new_async_playback_stream_and_get_shared_format() 113 _buffer_size: usize, in new_async_playback_stream_and_get_shared_format() 121 _num_channels: usize, in new_async_capture_stream_and_get_shared_format() 124 _buffer_size: usize, in new_async_capture_stream_and_get_shared_format() 144 num_channels: usize, in new_playback_stream_and_get_shared_format() [all …]
|
| /external/rust/crates/tokio/src/runtime/scheduler/multi_thread_alt/handle/ |
| D | metrics.rs | 6 pub(crate) fn num_workers(&self) -> usize { in num_workers() 10 pub(crate) fn num_blocking_threads(&self) -> usize { in num_blocking_threads() 14 pub(crate) fn num_idle_blocking_threads(&self) -> usize { in num_idle_blocking_threads() 18 pub(crate) fn active_tasks_count(&self) -> usize { in active_tasks_count() 30 pub(crate) fn injection_queue_depth(&self) -> usize { in injection_queue_depth() 34 pub(crate) fn worker_local_queue_depth(&self, worker: usize) -> usize { in worker_local_queue_depth() 38 pub(crate) fn blocking_queue_depth(&self) -> usize { in blocking_queue_depth()
|
| /external/rust/crates/tokio/src/runtime/scheduler/multi_thread/handle/ |
| D | metrics.rs | 6 pub(crate) fn num_workers(&self) -> usize { in num_workers() 10 pub(crate) fn num_blocking_threads(&self) -> usize { in num_blocking_threads() 14 pub(crate) fn num_idle_blocking_threads(&self) -> usize { in num_idle_blocking_threads() 18 pub(crate) fn active_tasks_count(&self) -> usize { in active_tasks_count() 30 pub(crate) fn injection_queue_depth(&self) -> usize { in injection_queue_depth() 34 pub(crate) fn worker_local_queue_depth(&self, worker: usize) -> usize { in worker_local_queue_depth() 38 pub(crate) fn blocking_queue_depth(&self) -> usize { in blocking_queue_depth()
|
| /external/rust/crates/regex/src/literal/ |
| D | mod.rs | 31 pub fn find(&self, _: &[u8]) -> Option<(usize, usize)> { in find() argument 35 pub fn find_start(&self, _: &[u8]) -> Option<(usize, usize)> { in find_start() argument 39 pub fn find_end(&self, _: &[u8]) -> Option<(usize, usize)> { in find_end() argument 47 pub fn len(&self) -> usize { in len() 51 pub fn approximate_size(&self) -> usize { in approximate_size()
|
| /external/rust/crates/miette/src/ |
| D | source_impls.rs | 16 context_lines_before: usize, in context_info() 17 context_lines_after: usize, in context_info() 104 context_lines_before: usize, in read_span() 105 context_lines_after: usize, in read_span() 116 context_lines_before: usize, in read_span() 117 context_lines_after: usize, in read_span() 127 context_lines_before: usize, in read_span() 128 context_lines_after: usize, in read_span() 138 context_lines_before: usize, in read_span() 139 context_lines_after: usize, in read_span() [all …]
|
| /external/rust/crates/lz4_flex/src/block/ |
| D | hashtable.rs | 37 fn get_at(&self, pos: usize) -> usize; in get_at() 38 fn put_at(&mut self, pos: usize, val: usize); in put_at() 42 fn get_hash_at(input: &[u8], pos: usize) -> usize { in get_hash_at() 47 fn get_hash_at(input: &[u8], pos: usize) -> usize { in get_hash_at() 75 fn get_at(&self, hash: usize) -> usize { in get_at() 79 fn put_at(&mut self, hash: usize, val: usize) { in put_at() 87 fn get_hash_at(input: &[u8], pos: usize) -> usize { in get_hash_at() 116 fn get_at(&self, hash: usize) -> usize { in get_at() 120 fn put_at(&mut self, hash: usize, val: usize) { in put_at() 150 fn get_at(&self, hash: usize) -> usize { in get_at() [all …]
|
| /external/crosvm/base/src/sys/linux/ |
| D | mmap.rs | 44 fn validate_includes_range(mmap_size: usize, offset: usize, range_size: usize) -> Result<()> { in validate_includes_range() 60 pub fn msync(&self, offset: usize, size: usize) -> Result<()> { in msync() 115 size: usize, in new_protection() 136 size: usize, in from_fd_offset() 151 size: usize, in from_fd_offset_protection() 169 size: usize, in from_fd_offset_protection_populate() 204 size: usize, in new_protection_fixed() 228 size: usize, in from_descriptor_offset_protection_fixed() 238 size: usize, in try_mmap() 250 size: usize, in try_mmap_populate() [all …]
|
| /external/rust/crates/ring/src/aead/chacha/ |
| D | fallback.rs | 26 src: RangeFrom<usize>, in ChaCha20_ctr32() 91 fn quarterround(x: &mut State, a: usize, b: usize, c: usize, d: usize) { in quarterround() 93 fn step(x: &mut State, a: usize, b: usize, c: usize, rotation: u32) { in quarterround()
|
| /external/rust/crates/buddy_system_allocator/src/ |
| D | frame.rs | 53 pub fn add_frame(&mut self, start: usize, end: usize) { in add_frame() 79 pub fn insert(&mut self, range: Range<usize>) { in insert() 85 pub fn alloc(&mut self, count: usize) -> Option<usize> { in alloc() 92 pub fn alloc_aligned(&mut self, layout: Layout) -> Option<usize> { in alloc_aligned() 99 fn alloc_power_of_two(&mut self, size: usize) -> Option<usize> { in alloc_power_of_two() 133 pub fn dealloc(&mut self, start_frame: usize, count: usize) { in dealloc() 141 pub fn dealloc_aligned(&mut self, start_frame: usize, layout: Layout) { in dealloc_aligned() 148 fn dealloc_power_of_two(&mut self, start_frame: usize, size: usize) { in dealloc_power_of_two()
|
| /external/rust/crates/rustix/src/io/ |
| D | read_write.rs | 40 pub fn read<Fd: AsFd>(fd: Fd, buf: &mut [u8]) -> io::Result<usize> { in read() 85 pub fn write<Fd: AsFd>(fd: Fd, buf: &[u8]) -> io::Result<usize> { in write() 110 pub fn pread<Fd: AsFd>(fd: Fd, buf: &mut [u8], offset: u64) -> io::Result<usize> { in pread() 156 pub fn pwrite<Fd: AsFd>(fd: Fd, buf: &[u8], offset: u64) -> io::Result<usize> { in pwrite() 182 pub fn readv<Fd: AsFd>(fd: Fd, bufs: &mut [IoSliceMut<'_>]) -> io::Result<usize> { in readv() 208 pub fn writev<Fd: AsFd>(fd: Fd, bufs: &[IoSlice<'_>]) -> io::Result<usize> { in writev() 238 pub fn preadv<Fd: AsFd>(fd: Fd, bufs: &mut [IoSliceMut<'_>], offset: u64) -> io::Result<usize> { in preadv() 272 pub fn pwritev<Fd: AsFd>(fd: Fd, bufs: &[IoSlice<'_>], offset: u64) -> io::Result<usize> { in pwritev() 291 ) -> io::Result<usize> { in preadv2() 310 ) -> io::Result<usize> { in pwritev2()
|
| /external/rust/crates/bstr/src/byteset/ |
| D | scalar.rs | 21 fn repeat_byte(b: u8) -> usize { in repeat_byte() 25 pub fn inv_memchr(n1: u8, haystack: &[u8]) -> Option<usize> { in inv_memchr() 51 let a = *(ptr as *const usize); in inv_memchr() constant 52 let b = *(ptr.add(USIZE_BYTES) as *const usize); in inv_memchr() constant 65 pub fn inv_memrchr(n1: u8, haystack: &[u8]) -> Option<usize> { in inv_memrchr() 90 let a = *(ptr.sub(2 * USIZE_BYTES) as *const usize); in inv_memrchr() constant 91 let b = *(ptr.sub(1 * USIZE_BYTES) as *const usize); in inv_memrchr() constant 109 ) -> Option<usize> { in forward_search() 128 ) -> Option<usize> { in reverse_search() 141 unsafe fn read_unaligned_usize(ptr: *const u8) -> usize { in read_unaligned_usize() [all …]
|
| /external/rust/crates/h2/src/hpack/ |
| D | table.rs | 75 pub fn new(max_size: usize, capacity: usize) -> Table { in new() 100 pub fn capacity(&self) -> usize { in capacity() 104 pub fn max_size(&self) -> usize { in max_size() 121 pub fn resolve_idx(&self, index: &Index) -> usize { in resolve_idx() 160 fn index_dynamic(&mut self, header: Header, statik: Option<(usize, bool)>) -> Index { in index_dynamic() 209 mut index: usize, in index_occupied() 210 statik: Option<usize>, in index_occupied() 270 mut dist: usize, in index_vacant() 271 mut probe: usize, in index_vacant() 272 statik: Option<(usize, bool)>, in index_vacant() [all …]
|
| /external/rust/crates/parking_lot/src/ |
| D | elision.rs | 43 fn elision_compare_exchange_acquire(&self, _: usize, _: usize) -> Result<usize, usize> { in elision_compare_exchange_acquire() argument 48 fn elision_fetch_sub_release(&self, _: usize) -> usize { in elision_fetch_sub_release() 58 fn elision_compare_exchange_acquire(&self, current: usize, new: usize) -> Result<usize, usize> { in elision_compare_exchange_acquire() argument 89 fn elision_fetch_sub_release(&self, val: usize) -> usize { in elision_fetch_sub_release()
|
| /external/mesa3d/src/gallium/frontends/rusticl/core/ |
| D | memory.rs | 260 fn pixels(&self) -> usize; in pixels() 263 fn slice_pitch(&self) -> usize; in slice_pitch() 266 fn size(&self) -> CLVec<usize>; in size() 298 fn pixels(&self) -> usize { in pixels() 317 fn size(&self) -> CLVec<usize> { in size() 340 fn slice_pitch(&self) -> usize { in slice_pitch() 360 region: &CLVec<usize>, in sw_copy() 361 src_origin: &CLVec<usize>, in sw_copy() 362 src_row_pitch: usize, in sw_copy() 363 src_slice_pitch: usize, in sw_copy() [all …]
|
| /external/rust/crates/rustix/src/backend/linux_raw/mm/ |
| D | syscalls.rs | 22 pub(crate) fn madvise(addr: *mut c::c_void, len: usize, advice: Advice) -> io::Result<()> { in madvise() 34 pub(crate) unsafe fn msync(addr: *mut c::c_void, len: usize, flags: MsyncFlags) -> io::Result<()> { in msync() 45 length: usize, in mmap() 87 length: usize, in mmap_anonymous() 120 len: usize, in mprotect() 142 old_size: usize, in mremap() 143 new_size: usize, in mremap() 163 old_size: usize, in mremap_fixed() 164 new_size: usize, in mremap_fixed() 194 length: usize, in mlock_with()
|
| /external/avb/rust/src/ |
| D | ops.rs | 67 ) -> IoResult<usize>; in read_from_partition() 128 fn write_rollback_index(&mut self, rollback_index_location: usize, index: u64) -> IoResult<()>; in write_rollback_index() 178 fn read_persistent_value(&mut self, name: &CStr, value: &mut [u8]) -> IoResult<usize>; in read_persistent_value() 448 num_bytes: usize, in read_from_partition() 450 out_num_read: *mut usize, in read_from_partition() 476 num_bytes: usize, in try_read_from_partition() 478 out_num_read: *mut usize, in try_read_from_partition() 521 num_bytes: usize, in get_preloaded_partition() 523 out_num_bytes_preloaded: *mut usize, in get_preloaded_partition() 548 num_bytes: usize, in try_get_preloaded_partition() [all …]
|
| /external/rust/crates/base64/benches/ |
| D | benchmarks.rs | 13 fn do_decode_bench(b: &mut Bencher, &size: &usize) { in do_decode_bench() 24 fn do_decode_bench_reuse_buf(b: &mut Bencher, &size: &usize) { in do_decode_bench_reuse_buf() 37 fn do_decode_bench_slice(b: &mut Bencher, &size: &usize) { in do_decode_bench_slice() 49 fn do_decode_bench_stream(b: &mut Bencher, &size: &usize) { in do_decode_bench_stream() 66 fn do_encode_bench(b: &mut Bencher, &size: &usize) { in do_encode_bench() 75 fn do_encode_bench_display(b: &mut Bencher, &size: &usize) { in do_encode_bench_display() 84 fn do_encode_bench_reuse_buf(b: &mut Bencher, &size: &usize) { in do_encode_bench_reuse_buf() 94 fn do_encode_bench_slice(b: &mut Bencher, &size: &usize) { in do_encode_bench_slice() 102 fn do_encode_bench_stream(b: &mut Bencher, &size: &usize) { in do_encode_bench_stream() 115 fn do_encode_bench_string_stream(b: &mut Bencher, &size: &usize) { in do_encode_bench_string_stream() [all …]
|
| /external/mesa3d/src/nouveau/compiler/nak/ |
| D | encode_sm50.rs | 16 fn align_down(value: usize, align: usize) -> usize { in align_down() 20 fn align_up(value: usize, align: usize) -> usize { in align_up() 31 fn bits(&self) -> usize { in bits() 41 fn set_bit_range_u64(&mut self, range: Range<usize>, val: u64) { in set_bit_range_u64() 47 fn set_field_u64(&mut self, range: Range<usize>, val: u64) { in set_field_u64() 71 fn set_bit(&mut self, bit: usize, val: bool) { in set_bit() 79 fn set_pred_reg(&mut self, range: Range<usize>, reg: RegRef) { in set_pred_reg() 111 fn set_reg(&mut self, range: Range<usize>, reg: RegRef) { in set_reg() 117 fn set_reg_src_ref(&mut self, range: Range<usize>, src_ref: SrcRef) { in set_reg_src_ref() 125 fn set_reg_src(&mut self, range: Range<usize>, src: Src) { in set_reg_src() [all …]
|