/external/rust/crates/ryu/src/ |
D | common.rs | 27 debug_assert!(v < 1000000000); in decimal_length9() 57 debug_assert!(e >= 0); in log2_pow5() 58 debug_assert!(e <= 3528); in log2_pow5() 68 debug_assert!(e >= 0); in pow5bits() 69 debug_assert!(e <= 3528); in pow5bits() 83 debug_assert!(e >= 0); in log10_pow2() 84 debug_assert!(e <= 1650); in log10_pow2() 92 debug_assert!(e >= 0); in log10_pow5() 93 debug_assert!(e <= 2620); in log10_pow5()
|
D | d2s_small_table.rs | 105 debug_assert!(base < DOUBLE_POW5_SPLIT2.len() as u32); in compute_pow5() 110 debug_assert!(offset < DOUBLE_POW5_TABLE.len() as u32); in compute_pow5() 115 debug_assert!(base < POW5_OFFSETS.len() as u32); in compute_pow5() 129 debug_assert!(base < DOUBLE_POW5_INV_SPLIT2.len() as u32); in compute_inv_pow5() 134 debug_assert!(offset < DOUBLE_POW5_TABLE.len() as u32); in compute_inv_pow5() 139 debug_assert!(base < POW5_INV_OFFSETS.len() as u32); in compute_inv_pow5() 153 debug_assert!(base < DOUBLE_POW5_SPLIT2.len() as u32); in compute_pow5() 158 debug_assert!(offset < DOUBLE_POW5_TABLE.len() as u32); in compute_pow5() 168 debug_assert!(base < POW5_OFFSETS.len() as u32); in compute_pow5() 183 debug_assert!(base < DOUBLE_POW5_INV_SPLIT2.len() as u32); in compute_inv_pow5() [all …]
|
D | f2s_intrinsics.rs | 30 debug_assert!(value != 0); in pow5factor_32() 59 debug_assert!(shift > 32); in mul_shift_32() 70 debug_assert!(shifted_sum <= u32::max_value() as u64); in mul_shift_32() 89 debug_assert!(q < d2s::DOUBLE_POW5_INV_SPLIT.len() as u32); in mul_pow5_inv_div_pow2() 110 debug_assert!(i < d2s::DOUBLE_POW5_SPLIT.len() as u32); in mul_pow5_div_pow2()
|
/external/rust/crates/bindgen/src/codegen/ |
D | bitfield_unit.rs | 20 debug_assert!(index / 8 < self.storage.as_ref().len()); in get_bit() 38 debug_assert!(index / 8 < self.storage.as_ref().len()); in set_bit() 59 debug_assert!(bit_width <= 64); in get() 60 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in get() 61 debug_assert!( in get() 84 debug_assert!(bit_width <= 64); in set() 85 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in set() 86 debug_assert!( in set()
|
/external/rust/crates/memchr/src/x86/ |
D | avx.rs | 42 debug_assert!(ptr > start_ptr && end_ptr.sub(VECTOR_SIZE) >= start_ptr); in memchr() 78 debug_assert!(mask != 0); in memchr() 84 debug_assert!(sub(end_ptr, ptr) >= VECTOR_SIZE); in memchr() 92 debug_assert!(sub(end_ptr, ptr) < VECTOR_SIZE); in memchr() 126 debug_assert!(ptr > start_ptr && end_ptr.sub(VECTOR_SIZE) >= start_ptr); in memchr2() 161 debug_assert!(sub(end_ptr, ptr) < VECTOR_SIZE); in memchr2() 201 debug_assert!(ptr > start_ptr && end_ptr.sub(VECTOR_SIZE) >= start_ptr); in memchr3() 244 debug_assert!(sub(end_ptr, ptr) < VECTOR_SIZE); in memchr3() 278 debug_assert!(start_ptr <= ptr && ptr <= end_ptr); in memrchr() 315 debug_assert!(mask != 0); in memrchr() [all …]
|
D | sse2.rs | 132 debug_assert!(ptr > start_ptr && end_ptr.sub(VECTOR_SIZE) >= start_ptr); in memchr() 168 debug_assert!(mask != 0); in memchr() 174 debug_assert!(sub(end_ptr, ptr) >= VECTOR_SIZE); in memchr() 182 debug_assert!(sub(end_ptr, ptr) < VECTOR_SIZE); in memchr() 216 debug_assert!(ptr > start_ptr && end_ptr.sub(VECTOR_SIZE) >= start_ptr); in memchr2() 251 debug_assert!(sub(end_ptr, ptr) < VECTOR_SIZE); in memchr2() 291 debug_assert!(ptr > start_ptr && end_ptr.sub(VECTOR_SIZE) >= start_ptr); in memchr3() 334 debug_assert!(sub(end_ptr, ptr) < VECTOR_SIZE); in memchr3() 368 debug_assert!(start_ptr <= ptr && ptr <= end_ptr); in memrchr() 405 debug_assert!(mask != 0); in memrchr() [all …]
|
/external/rust/crates/url/src/ |
D | slicing.rs | 112 debug_assert!(self.byte_at(self.scheme_end) == b':'); in index() 113 debug_assert!(self.scheme_end + ":".len() as u32 == self.username_end); in index() 124 debug_assert!(self.username_end == self.host_start); in index() 131 debug_assert!(self.byte_at(self.host_start - "@".len() as u32) == b'@'); in index() 134 debug_assert!(self.username_end == self.host_start); in index() 145 debug_assert!(self.byte_at(self.host_end) == b':'); in index() 164 debug_assert!(self.byte_at(q) == b'?'); in index() 178 debug_assert!(self.byte_at(f) == b'#'); in index()
|
/external/mesa3d/src/gallium/drivers/freedreno/a5xx/ |
D | fd5_blitter.c | 121 debug_assert(info->dst.box.width >= 0); in can_do_blit() 122 debug_assert(info->dst.box.height >= 0); in can_do_blit() 123 debug_assert(info->dst.box.depth >= 0); in can_do_blit() 201 debug_assert(src->layout.cpp == 1); in emit_blit_buffer() 202 debug_assert(dst->layout.cpp == 1); in emit_blit_buffer() 203 debug_assert(info->src.resource->format == info->dst.resource->format); in emit_blit_buffer() 204 debug_assert((sbox->y == 0) && (sbox->height == 1)); in emit_blit_buffer() 205 debug_assert((dbox->y == 0) && (dbox->height == 1)); in emit_blit_buffer() 206 debug_assert((sbox->z == 0) && (sbox->depth == 1)); in emit_blit_buffer() 207 debug_assert((dbox->z == 0) && (dbox->depth == 1)); in emit_blit_buffer() [all …]
|
/external/rust/crates/bstr/src/ |
D | ascii.rs | 75 debug_assert!(ptr > start_ptr); in first_non_ascii_byte_fallback() 76 debug_assert!(ptr_sub(end_ptr, USIZE_BYTES) >= start_ptr); in first_non_ascii_byte_fallback() 106 debug_assert!(maskb != 0); in first_non_ascii_byte_fallback() 142 debug_assert!(ptr > start_ptr); in first_non_ascii_byte_sse2() 143 debug_assert!(end_ptr.sub(VECTOR_SIZE) >= start_ptr); in first_non_ascii_byte_sse2() 179 debug_assert!(mask != 0); in first_non_ascii_byte_sse2() 186 debug_assert!(sub(end_ptr, ptr) >= VECTOR_SIZE); in first_non_ascii_byte_sse2() 205 debug_assert!(start_ptr <= ptr); in first_non_ascii_byte_slow() 206 debug_assert!(ptr <= end_ptr); in first_non_ascii_byte_slow() 238 debug_assert!(amt < ::core::isize::MAX as usize); in ptr_add() [all …]
|
/external/mesa3d/src/util/ |
D | u_debug_memory.c | 178 debug_assert(0); in debug_free() 187 debug_assert(0); in debug_free() 242 debug_assert(0); in debug_realloc() 251 debug_assert(0); in debug_realloc() 321 debug_assert(0); in debug_memory_end() 339 debug_assert(0); in debug_memory_end() 368 debug_assert(0); in debug_memory_tag() 393 debug_assert(0); in debug_memory_check_block() 399 debug_assert(0); in debug_memory_check_block() 427 debug_assert(0); in debug_memory_check() [all …]
|
/external/rust/crates/rayon-core/src/sleep/ |
D | counters.rs | 147 debug_assert!( in sub_inactive_thread() 152 debug_assert!( in sub_inactive_thread() 173 debug_assert!( in sub_sleeping_thread() 178 debug_assert!( in sub_sleeping_thread() 189 debug_assert!( in try_add_sleeping_thread() 194 debug_assert!( in try_add_sleeping_thread() 246 debug_assert!( in awake_but_idle_threads()
|
/external/rust/crates/memchr/src/ |
D | fallback.rs | 67 debug_assert!(ptr > start_ptr); in memchr() 68 debug_assert!(end_ptr.sub(USIZE_BYTES) >= start_ptr); in memchr() 108 debug_assert!(ptr > start_ptr); in memchr2() 109 debug_assert!(end_ptr.sub(USIZE_BYTES) >= start_ptr); in memchr2() 150 debug_assert!(ptr > start_ptr); in memchr3() 151 debug_assert!(end_ptr.sub(USIZE_BYTES) >= start_ptr); in memchr3() 189 debug_assert!(start_ptr <= ptr && ptr <= end_ptr); in memrchr() 229 debug_assert!(start_ptr <= ptr && ptr <= end_ptr); in memrchr2() 270 debug_assert!(start_ptr <= ptr && ptr <= end_ptr); in memrchr3() 294 debug_assert!(start_ptr <= ptr); in forward_search() [all …]
|
/external/rust/crates/tokio/src/time/driver/wheel/ |
D | stack.rs | 32 debug_assert!((*entry.next_stack.get()).is_none()); in push() 33 debug_assert!((*entry.prev_stack.get()).is_null()); in push() 36 debug_assert!({ in push() 75 debug_assert!({ in remove() 82 debug_assert!(!contains); in remove()
|
/external/mesa3d/src/gallium/drivers/freedreno/a6xx/ |
D | fd6_blitter.c | 200 debug_assert(!util_format_is_compressed(info->src.format)); in can_do_blit() 201 debug_assert(!util_format_is_compressed(info->dst.format)); in can_do_blit() 207 debug_assert(info->dst.box.width >= 0); in can_do_blit() 208 debug_assert(info->dst.box.height >= 0); in can_do_blit() 209 debug_assert(info->dst.box.depth >= 0); in can_do_blit() 326 debug_assert(src->layout.cpp == 1); in emit_blit_buffer() 327 debug_assert(dst->layout.cpp == 1); in emit_blit_buffer() 328 debug_assert(info->src.resource->format == info->dst.resource->format); in emit_blit_buffer() 329 debug_assert((sbox->y == 0) && (sbox->height == 1)); in emit_blit_buffer() 330 debug_assert((dbox->y == 0) && (dbox->height == 1)); in emit_blit_buffer() [all …]
|
/external/rust/crates/serde_json/src/lexical/ |
D | rounding.rs | 16 debug_assert!(n < bits, "nth_bit() overflow in shl."); in nth_bit() 25 debug_assert!(n <= bits, "lower_n_mask() overflow in shl."); in lower_n_mask() 38 debug_assert!(n <= bits, "lower_n_halfway() overflow in shl."); in lower_n_halfway() 51 debug_assert!(bit <= bits, "internal_n_halfway() overflow in shl."); in internal_n_mask() 52 debug_assert!(n <= bits, "internal_n_halfway() overflow in shl."); in internal_n_mask() 53 debug_assert!(bit >= n, "internal_n_halfway() overflow in sub."); in internal_n_mask()
|
D | shift.rs | 12 debug_assert!((shift as u64) < bits, "shr() overflow in shift right."); in shr() 25 debug_assert!( in overflowing_shr() 42 debug_assert!((shift as u64) < bits, "shl() overflow in shift left."); in shl()
|
D | math.rs | 109 debug_assert!(r0 != 0); in u64_to_hi64_1() 117 debug_assert!(r0 != 0); in u64_to_hi64_2() 154 debug_assert!(self.len() == 1); in hi64_1() 161 debug_assert!(self.len() == 2); in hi64_2() 169 debug_assert!(self.len() >= 3); in hi64_3() 181 debug_assert!(self.len() == 1); in hi64_1() 188 debug_assert!(self.len() >= 2); in hi64_2() 317 debug_assert!(x.len() > xstart && (x[xstart] >= y || x.len() > xstart + 1)); in isub_impl() 406 debug_assert!(bit_length != 0 && bit_length <= large_powers.len()); in imul_pow5() 433 debug_assert!(idx < large_powers.len()); in imul_pow5() [all …]
|
/external/mesa3d/src/freedreno/ir3/ |
D | ir3_ra.h | 202 debug_assert(id->cls >= 0); in ra_name() 203 debug_assert(id->cls < total_class_count); /* we shouldn't get arrays here.. */ in ra_name() 205 debug_assert(name < ctx->alloc_count); in ra_name() 215 debug_assert(n == 0); /* split results in a scalar */ in scalar_name() 219 debug_assert(n < (instr->regs_count + 1)); in scalar_name() 224 debug_assert(n == 0); in scalar_name() 305 debug_assert(dst->array.offset < arr->length); in __ra_init_def_itr() 348 debug_assert(reg->array.offset < arr->length); in __ra_init_use_itr()
|
/external/rust/crates/aho-corasick/src/packed/teddy/ |
D | runtime.rs | 213 debug_assert!(!is_all_zeroes128(cand)); in verify128() 245 debug_assert!(!is_all_zeroes256(cand)); in verify256() 278 debug_assert!(!is_all_zeroes256(cand)); in verify_fat256() 341 debug_assert!(bucket_count == 8 || bucket_count == 16); in verify64() 440 debug_assert!(haystack[at..].len() >= teddy.minimum_len()); in find_at() 469 debug_assert!(haystack[at..].len() >= 16); in candidate() 490 debug_assert!(haystack[at..].len() >= teddy.minimum_len()); in find_at() 519 debug_assert!(haystack[at..].len() >= 32); in candidate() 540 debug_assert!(haystack[at..].len() >= teddy.minimum_len()); in find_at() 569 debug_assert!(haystack[at..].len() >= 16); in candidate() [all …]
|
/external/rust/crates/aho-corasick/src/ |
D | automaton.rs | 169 debug_assert!( in next_state_no_fail() 243 debug_assert!( in standard_find_at_imp() 302 debug_assert!(self.match_kind().is_leftmost()); in leftmost_find_at_imp() 341 debug_assert!( in leftmost_find_at_imp() 400 debug_assert!(self.match_kind().is_leftmost()); in leftmost_find_at_no_state_imp() 409 debug_assert!(!self.anchored()); in leftmost_find_at_no_state_imp() 456 debug_assert!( in leftmost_find_at_no_state_imp() 492 debug_assert!(result.is_some(), "must be a match"); in overlapping_find_at()
|
/external/rust/crates/bstr/src/byteset/ |
D | scalar.rs | 46 debug_assert!(ptr > start_ptr); in inv_memchr() 47 debug_assert!(end_ptr.sub(USIZE_BYTES) >= start_ptr); in inv_memchr() 85 debug_assert!(start_ptr <= ptr && ptr <= end_ptr); in inv_memrchr() 109 debug_assert!(start_ptr <= ptr); in forward_search() 110 debug_assert!(ptr <= end_ptr); in forward_search() 128 debug_assert!(start_ptr <= ptr); in reverse_search() 129 debug_assert!(ptr <= end_ptr); in reverse_search() 147 debug_assert!(a >= b); in sub()
|
/external/mesa3d/src/freedreno/drm/ |
D | freedreno_ringbuffer.c | 56 debug_assert(!(flags & _FD_RINGBUFFER_OBJECT)); in fd_submit_new_ringbuffer() 58 debug_assert(!(flags & FD_RINGBUFFER_GROWABLE)); in fd_submit_new_ringbuffer() 59 debug_assert(!(flags & FD_RINGBUFFER_PRIMARY)); in fd_submit_new_ringbuffer()
|
/external/rust/crates/rusqlite/src/blob/ |
D | pos_io.rs | 46 debug_assert!(i32::try_from(write_start).is_ok() && i32::try_from(buf.len()).is_ok()); in write_at() 135 debug_assert!(i32::try_from(read_start).is_ok()); in raw_read_at() 146 debug_assert!(read_start + read_len <= len); in raw_read_at() 149 debug_assert!(buf.len() >= read_len); in raw_read_at() 150 debug_assert!(i32::try_from(buf.len()).is_ok()); in raw_read_at() 151 debug_assert!(i32::try_from(read_len).is_ok()); in raw_read_at()
|
/external/flatbuffers/rust/flatbuffers/src/ |
D | vector.rs | 65 debug_assert!(idx < read_scalar_at::<u32>(&self.0, self.1) as usize); in get() 67 debug_assert!(sz > 0); in get() 83 debug_assert!(sz > 0); in safe_slice() 132 debug_assert!(sz > 0); in follow_slice_helper() 199 debug_assert!(sz > 0); in next() 214 debug_assert!(sz > 0); in nth() 235 debug_assert!(sz > 0); in next_back()
|
/external/rust/crates/half/src/binary16/ |
D | convert.rs | 357 debug_assert!(v.len() >= 4); 369 debug_assert!(v.len() >= 4); 381 debug_assert!(v.len() >= 4); 393 debug_assert!(v.len() >= 4); 439 debug_assert!(v.len() >= 4); 450 debug_assert!(v.len() >= 4); 461 debug_assert!(v.len() >= 4); 480 debug_assert!(v.len() >= 4);
|