Home
last modified time | relevance | path

Searched refs:debug_assert (Results 1 – 25 of 147) sorted by relevance

123456

/third_party/rust/crates/memchr/src/memchr/x86/
Dsse2.rs130 debug_assert!(ptr > start_ptr && end_ptr.sub(VECTOR_SIZE) >= start_ptr); in memchr()
166 debug_assert!(mask != 0); in memchr()
172 debug_assert!(sub(end_ptr, ptr) >= VECTOR_SIZE); in memchr()
180 debug_assert!(sub(end_ptr, ptr) < VECTOR_SIZE); in memchr()
214 debug_assert!(ptr > start_ptr && end_ptr.sub(VECTOR_SIZE) >= start_ptr); in memchr2()
249 debug_assert!(sub(end_ptr, ptr) < VECTOR_SIZE); in memchr2()
289 debug_assert!(ptr > start_ptr && end_ptr.sub(VECTOR_SIZE) >= start_ptr); in memchr3()
332 debug_assert!(sub(end_ptr, ptr) < VECTOR_SIZE); in memchr3()
366 debug_assert!(start_ptr <= ptr && ptr <= end_ptr); in memrchr()
403 debug_assert!(mask != 0); in memrchr()
[all …]
Davx.rs61 debug_assert!(mask != 0); in memchr()
82 debug_assert!(ptr > start_ptr && end_ptr.sub(VECTOR_SIZE) >= start_ptr); in memchr()
104 debug_assert!(sub(end_ptr, ptr) >= VECTOR_SIZE); in memchr()
112 debug_assert!(sub(end_ptr, ptr) < VECTOR_SIZE); in memchr()
170 debug_assert!(ptr > start_ptr && end_ptr.sub(VECTOR_SIZE) >= start_ptr); in memchr2()
195 debug_assert!(sub(end_ptr, ptr) < VECTOR_SIZE); in memchr2()
263 debug_assert!(ptr > start_ptr && end_ptr.sub(VECTOR_SIZE) >= start_ptr); in memchr3()
296 debug_assert!(sub(end_ptr, ptr) < VECTOR_SIZE); in memchr3()
330 debug_assert!(start_ptr <= ptr && ptr <= end_ptr); in memrchr()
367 debug_assert!(mask != 0); in memrchr()
[all …]
/third_party/rust/crates/bindgen/bindgen/codegen/
Dbitfield_unit.rs20 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()
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/
Dissue-1076-unnamed-bitfield-alignment.rs25 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()
55 debug_assert!(bit_width <= 64); in get()
56 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in get()
57 debug_assert!( in get()
76 debug_assert!(bit_width <= 64); in set()
77 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in set()
78 debug_assert!( in set()
Dissue-1034.rs25 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()
55 debug_assert!(bit_width <= 64); in get()
56 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in get()
57 debug_assert!( in get()
76 debug_assert!(bit_width <= 64); in set()
77 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in set()
78 debug_assert!( in set()
Ddivide-by-zero-in-struct-layout.rs25 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()
55 debug_assert!(bit_width <= 64); in get()
56 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in get()
57 debug_assert!( in get()
76 debug_assert!(bit_width <= 64); in set()
77 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in set()
78 debug_assert!( in set()
Dbitfield-method-same-name.rs25 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()
55 debug_assert!(bit_width <= 64); in get()
56 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in get()
57 debug_assert!( in get()
76 debug_assert!(bit_width <= 64); in set()
77 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in set()
78 debug_assert!( in set()
Donly_bitfields.rs25 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()
55 debug_assert!(bit_width <= 64); in get()
56 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in get()
57 debug_assert!( in get()
76 debug_assert!(bit_width <= 64); in set()
77 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in set()
78 debug_assert!( in set()
Dbitfield_method_mangling.rs25 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()
55 debug_assert!(bit_width <= 64); in get()
56 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in get()
57 debug_assert!( in get()
76 debug_assert!(bit_width <= 64); in set()
77 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in set()
78 debug_assert!( in set()
Dbitfield_align_2.rs26 debug_assert!(index / 8 < self.storage.as_ref().len()); in get_bit()
39 debug_assert!(index / 8 < self.storage.as_ref().len()); in set_bit()
56 debug_assert!(bit_width <= 64); in get()
57 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in get()
58 debug_assert!( in get()
77 debug_assert!(bit_width <= 64); in set()
78 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in set()
79 debug_assert!( in set()
Dbitfield-linux-32.rs25 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()
55 debug_assert!(bit_width <= 64); in get()
56 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in get()
57 debug_assert!( in get()
76 debug_assert!(bit_width <= 64); in set()
77 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in set()
78 debug_assert!( in set()
Dincomplete-array-padding.rs25 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()
55 debug_assert!(bit_width <= 64); in get()
56 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in get()
57 debug_assert!( in get()
76 debug_assert!(bit_width <= 64); in set()
77 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in set()
78 debug_assert!( in set()
Dbitfield-large.rs25 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()
55 debug_assert!(bit_width <= 64); in get()
56 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in get()
57 debug_assert!( in get()
76 debug_assert!(bit_width <= 64); in set()
77 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in set()
78 debug_assert!( in set()
Dderive-partialeq-bitfield.rs25 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()
55 debug_assert!(bit_width <= 64); in get()
56 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in get()
57 debug_assert!( in get()
76 debug_assert!(bit_width <= 64); in set()
77 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in set()
78 debug_assert!( in set()
Dderive-debug-bitfield.rs25 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()
55 debug_assert!(bit_width <= 64); in get()
56 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in get()
57 debug_assert!( in get()
76 debug_assert!(bit_width <= 64); in set()
77 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in set()
78 debug_assert!( in set()
Dderive-debug-bitfield-core.rs27 debug_assert!(index / 8 < self.storage.as_ref().len()); in get_bit()
40 debug_assert!(index / 8 < self.storage.as_ref().len()); in set_bit()
57 debug_assert!(bit_width <= 64); in get()
58 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in get()
59 debug_assert!( in get()
78 debug_assert!(bit_width <= 64); in set()
79 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in set()
80 debug_assert!( in set()
Dpacked-bitfield.rs25 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()
55 debug_assert!(bit_width <= 64); in get()
56 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in get()
57 debug_assert!( in get()
76 debug_assert!(bit_width <= 64); in set()
77 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in set()
78 debug_assert!( in set()
Dissue-739-pointer-wide-bitfield.rs26 debug_assert!(index / 8 < self.storage.as_ref().len()); in get_bit()
39 debug_assert!(index / 8 < self.storage.as_ref().len()); in set_bit()
56 debug_assert!(bit_width <= 64); in get()
57 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in get()
58 debug_assert!( in get()
77 debug_assert!(bit_width <= 64); in set()
78 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in set()
79 debug_assert!( in set()
Dderive-bitfield-method-same-name.rs25 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()
55 debug_assert!(bit_width <= 64); in get()
56 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in get()
57 debug_assert!( in get()
76 debug_assert!(bit_width <= 64); in set()
77 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in set()
78 debug_assert!( in set()
Dunion_with_anon_struct_bitfield.rs25 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()
55 debug_assert!(bit_width <= 64); in get()
56 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in get()
57 debug_assert!( in get()
76 debug_assert!(bit_width <= 64); in set()
77 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in set()
78 debug_assert!( in set()
Dunion_bitfield.rs25 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()
55 debug_assert!(bit_width <= 64); in get()
56 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in get()
57 debug_assert!( in get()
76 debug_assert!(bit_width <= 64); in set()
77 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in set()
78 debug_assert!( in set()
/third_party/rust/crates/memchr/src/memmem/
Dgenericsimd.rs118 debug_assert!(needle.len() <= haystack.len()); in fwd_find()
119 debug_assert!( in fwd_find()
124 debug_assert!( in fwd_find()
155 debug_assert!( in fwd_find()
165 debug_assert!( in fwd_find()
170 debug_assert!( in fwd_find()
175 debug_assert!( in fwd_find()
264 debug_assert!(a >= b); in diff()
/third_party/rust/crates/memchr/src/memchr/
Dfallback.rs66 debug_assert!(ptr > start_ptr); in memchr()
67 debug_assert!(end_ptr.sub(USIZE_BYTES) >= start_ptr); in memchr()
107 debug_assert!(ptr > start_ptr); in memchr2()
108 debug_assert!(end_ptr.sub(USIZE_BYTES) >= start_ptr); in memchr2()
149 debug_assert!(ptr > start_ptr); in memchr3()
150 debug_assert!(end_ptr.sub(USIZE_BYTES) >= start_ptr); in memchr3()
188 debug_assert!(start_ptr <= ptr && ptr <= end_ptr); in memrchr()
228 debug_assert!(start_ptr <= ptr && ptr <= end_ptr); in memrchr2()
269 debug_assert!(start_ptr <= ptr && ptr <= end_ptr); in memrchr3()
293 debug_assert!(start_ptr <= ptr); in forward_search()
[all …]
/third_party/rust/crates/bindgen/bindgen-tests/tests/expectations/tests/libclang-9/
Dincomplete-array-padding.rs25 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()
55 debug_assert!(bit_width <= 64); in get()
56 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in get()
57 debug_assert!( in get()
76 debug_assert!(bit_width <= 64); in set()
77 debug_assert!(bit_offset / 8 < self.storage.as_ref().len()); in set()
78 debug_assert!( in set()
/third_party/rust/crates/aho-corasick/src/packed/teddy/
Druntime.rs213 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 …]

123456