/external/rust/crates/base64/src/write/ |
D | encoder_tests.rs | 321 let orig_len: usize = rng.gen_range(100..20_000); in retrying_writes_that_error_with_interrupted_works() localVariable 322 for _ in 0..orig_len { in retrying_writes_that_error_with_interrupted_works() 341 while bytes_consumed < orig_len { in retrying_writes_that_error_with_interrupted_works() 344 let input_len: usize = cmp::min(rng.gen_range(0..10), orig_len - bytes_consumed); in retrying_writes_that_error_with_interrupted_works() 366 assert_eq!(orig_len, bytes_consumed); in retrying_writes_that_error_with_interrupted_works() 385 let orig_len: usize = rng.gen_range(100..20_000); in writes_that_only_write_part_of_input_and_sometimes_interrupt_produce_correct_encoded_data() localVariable 386 for _ in 0..orig_len { in writes_that_only_write_part_of_input_and_sometimes_interrupt_produce_correct_encoded_data() 406 while bytes_consumed < orig_len { in writes_that_only_write_part_of_input_and_sometimes_interrupt_produce_correct_encoded_data() 408 let input_len: usize = cmp::min(rng.gen_range(0..100), orig_len - bytes_consumed); in writes_that_only_write_part_of_input_and_sometimes_interrupt_produce_correct_encoded_data() 427 assert_eq!(orig_len, bytes_consumed); in writes_that_only_write_part_of_input_and_sometimes_interrupt_produce_correct_encoded_data() [all …]
|
/external/rust/crates/base64/src/engine/ |
D | tests.rs | 130 let (orig_len, _, encoded_len) = generate_random_encoded_data( in roundtrip_random() 139 decode_buf.resize(orig_len, 0); in roundtrip_random() 145 assert_eq!(orig_len, dec_len); in roundtrip_random() 168 let orig_len = fill_rand(&mut orig_data, &mut rng, &input_len_range); in encode_doesnt_write_extra_bytes() localVariable 172 fill_rand_len(&mut encode_buf, &mut rng, prefix_len * 2 + orig_len * 2); in encode_doesnt_write_extra_bytes() 175 let expected_encode_len_no_pad = encoded_len(orig_len, false).unwrap(); in encode_doesnt_write_extra_bytes() 193 orig_len, in encode_doesnt_write_extra_bytes() 198 add_padding(orig_len, &mut encode_buf[prefix_len + encoded_len_no_pad..]) in encode_doesnt_write_extra_bytes() 280 let orig_len = fill_rand(&mut orig_data, &mut rng, &len_range); in decode_doesnt_write_extra_bytes() localVariable 281 encode_buf.resize(orig_len * 2 + 100, 0); in decode_doesnt_write_extra_bytes() [all …]
|
/external/icing/icing/legacy/core/ |
D | icing-string-util.cc | 36 uint32_t IcingStringUtil::UpdateAtPositionCrc32(uint32_t crc, int orig_len, in UpdateAtPositionCrc32() argument 41 if (offset + len > orig_len) { in UpdateAtPositionCrc32() 43 << "original_length: " << orig_len; in UpdateAtPositionCrc32() 58 update_crc = crc32_combine(update_crc, 0, orig_len - (offset + len)); in UpdateAtPositionCrc32()
|
/external/rust/crates/rayon/src/ |
D | vec.rs | 93 orig_len: self.len(), in par_drain() 105 orig_len: usize, field 155 if self.vec.len() == self.orig_len { in drop() 161 self.vec.set_len(self.orig_len); in drop() 163 } else if end < self.orig_len { in drop() 169 let tail_len = self.orig_len - end; in drop()
|
/external/rust/crates/rayon/src/collections/ |
D | vec_deque.rs | 97 orig_len: usize, field 106 orig_len: self.len(), in par_drain() 153 if self.deque.len() != self.orig_len - self.range.len() { in drop() 155 assert_eq!(self.deque.len(), self.orig_len); in drop()
|
/external/boringssl/src/crypto/cipher_extra/ |
D | tls_cbc.c | 115 size_t in_len, size_t orig_len) { in EVP_tls_cbc_copy_mac() argument 124 assert(orig_len >= in_len); in EVP_tls_cbc_copy_mac() 133 if (orig_len > md_size + 255 + 1) { in EVP_tls_cbc_copy_mac() 134 scan_start = orig_len - (md_size + 255 + 1); in EVP_tls_cbc_copy_mac() 140 for (size_t i = scan_start, j = 0; i < orig_len; i++, j++) { in EVP_tls_cbc_copy_mac()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/cipher_extra/ |
D | tls_cbc.c | 115 size_t in_len, size_t orig_len) { in EVP_tls_cbc_copy_mac() argument 124 assert(orig_len >= in_len); in EVP_tls_cbc_copy_mac() 133 if (orig_len > md_size + 255 + 1) { in EVP_tls_cbc_copy_mac() 134 scan_start = orig_len - (md_size + 255 + 1); in EVP_tls_cbc_copy_mac() 140 for (size_t i = scan_start, j = 0; i < orig_len; i++, j++) { in EVP_tls_cbc_copy_mac()
|
/external/cronet/third_party/boringssl/src/crypto/cipher_extra/ |
D | tls_cbc.c | 115 size_t in_len, size_t orig_len) { in EVP_tls_cbc_copy_mac() argument 124 assert(orig_len >= in_len); in EVP_tls_cbc_copy_mac() 133 if (orig_len > md_size + 255 + 1) { in EVP_tls_cbc_copy_mac() 134 scan_start = orig_len - (md_size + 255 + 1); in EVP_tls_cbc_copy_mac() 140 for (size_t i = scan_start, j = 0; i < orig_len; i++, j++) { in EVP_tls_cbc_copy_mac()
|
/external/python/cpython3/Lib/test/ |
D | test_context.py | 642 orig_len = len(h) 652 self.assertEqual(len(h), orig_len - 1) 658 self.assertEqual(len(h), orig_len - 2) 664 self.assertEqual(len(h), orig_len - 3) 687 orig_len = len(h) 702 self.assertEqual(len(h), orig_len) 705 self.assertEqual(len(h), orig_len - 1) 708 self.assertEqual(len(h), orig_len - 2) 711 self.assertEqual(len(h), orig_len - 3) 736 orig_len = len(h) [all …]
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/ext4/ext4_mballoc_prealloc/ |
D | format | 14 field:int orig_len; offset:36; size:4; signed:1; 20 … 1))), (unsigned long) REC->ino, REC->orig_group, REC->orig_start, REC->orig_len, REC->orig_logica…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_hammerhead_MRA59G_3.4.0/events/ext4/ext4_mballoc_prealloc/ |
D | format | 15 field:int orig_len; offset:32; size:4; signed:1; 21 … 1))), (unsigned long) REC->ino, REC->orig_group, REC->orig_start, REC->orig_len, REC->orig_logica…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/ext4/ext4_mballoc_prealloc/ |
D | format | 14 field:int orig_len; offset:36; size:4; signed:1; 20 … 1))), (unsigned long) REC->ino, REC->orig_group, REC->orig_start, REC->orig_len, REC->orig_logica…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_raven_AOSP.MASTER_5.10.43/events/ext4/ext4_mballoc_prealloc/ |
D | format | 14 field:int orig_len; offset:36; size:4; signed:1; 20 … 1))), (unsigned long) REC->ino, REC->orig_group, REC->orig_start, REC->orig_len, REC->orig_logica…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/ext4/ext4_mballoc_prealloc/ |
D | format | 14 field:int orig_len; offset:28; size:4; signed:1; 20 … 1))), (unsigned long) REC->ino, REC->orig_group, REC->orig_start, REC->orig_len, REC->orig_logica…
|
/external/ltp/utils/sctp/func_tests/ |
D | test_timetolive.c | 115 int orig_len; in main() local 154 error = getsockopt(sk2, SOL_SOCKET, SO_RCVBUF, &orig_len, in main() 248 error = setsockopt(sk2, SOL_SOCKET, SO_RCVBUF, &orig_len, in main() 249 sizeof(orig_len)); in main()
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_hammerhead_MRA59G_3.4.0/events/ext4/ext4_mballoc_alloc/ |
D | format | 21 field:int orig_len; offset:44; size:4; signed:1; 31 … 1))), (unsigned long) REC->ino, REC->orig_group, REC->orig_start, REC->orig_len, REC->orig_logica…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_flounder_lte_LRX16F_3.10.40/events/ext4/ext4_mballoc_alloc/ |
D | format | 14 field:int orig_len; offset:36; size:4; signed:1; 30 … 1))), (unsigned long) REC->ino, REC->orig_group, REC->orig_start, REC->orig_len, REC->orig_logica…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_seed_N2F62_3.10.49/events/ext4/ext4_mballoc_alloc/ |
D | format | 14 field:int orig_len; offset:28; size:4; signed:1; 30 … 1))), (unsigned long) REC->ino, REC->orig_group, REC->orig_start, REC->orig_len, REC->orig_logica…
|
/external/python/cpython3/Python/ |
D | pystrtod.c | 385 const char *s, Py_ssize_t orig_len, const char *what, PyObject *obj, void *arg, in _Py_string_to_number_with_underscores() argument 393 assert(s[orig_len] == '\0'); in _Py_string_to_number_with_underscores() 396 return innerfunc(s, orig_len, arg); in _Py_string_to_number_with_underscores() 399 dup = PyMem_Malloc(orig_len + 1); in _Py_string_to_number_with_underscores() 405 last = s + orig_len; in _Py_string_to_number_with_underscores()
|
/external/openthread/third_party/mbedtls/repo/library/ |
D | gcm.c | 406 uint64_t orig_len; in mbedtls_gcm_finish() local 412 orig_len = ctx->len * 8; in mbedtls_gcm_finish() 420 if( orig_len || orig_add_len ) in mbedtls_gcm_finish() 426 MBEDTLS_PUT_UINT32_BE( ( orig_len >> 32 ), work_buf, 8 ); in mbedtls_gcm_finish() 427 MBEDTLS_PUT_UINT32_BE( ( orig_len ), work_buf, 12 ); in mbedtls_gcm_finish()
|
/external/rust/crates/zeroize/tests/ |
D | zeroize.rs | 175 let orig_len = cstring.as_bytes().len(); in zeroize_c_string() localVariable 181 for i in 0..orig_len { in zeroize_c_string()
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_raven_AOSP.MASTER_5.10.43/events/ext4/ext4_mballoc_alloc/ |
D | format | 14 field:int orig_len; offset:36; size:4; signed:1; 30 … 1))), (unsigned long) REC->ino, REC->orig_group, REC->orig_start, REC->orig_len, REC->orig_logica…
|
/external/perfetto/src/traced/probes/ftrace/test/data/android_walleye_OPM5.171019.017.A1_4.4.88/events/ext4/ext4_mballoc_alloc/ |
D | format | 14 field:int orig_len; offset:36; size:4; signed:1; 30 … 1))), (unsigned long) REC->ino, REC->orig_group, REC->orig_start, REC->orig_len, REC->orig_logica…
|
/external/AFLplusplus/src/ |
D | afl-fuzz-mutators.c | 355 u32 orig_len = q->len; in trim_case_custom() local 399 } else if (unlikely(retlen > orig_len)) { in trim_case_custom() 534 SAYF("[Custom Trimming] DONE: %u bytes -> %u bytes", orig_len, q->len); in trim_case_custom()
|
/external/mbedtls/library/ |
D | gcm.c | 493 uint64_t orig_len; in mbedtls_gcm_finish() local 502 orig_len = ctx->len * 8; in mbedtls_gcm_finish() 518 if( orig_len || orig_add_len ) in mbedtls_gcm_finish() 524 MBEDTLS_PUT_UINT32_BE( ( orig_len >> 32 ), work_buf, 8 ); in mbedtls_gcm_finish() 525 MBEDTLS_PUT_UINT32_BE( ( orig_len ), work_buf, 12 ); in mbedtls_gcm_finish()
|