/third_party/rust/crates/strsim-rs/src/ |
D | lib.rs | 70 let b_len = b.into_iter().count(); in generic_jaro() localVariable 74 if a_len == 0 && b_len == 0 { in generic_jaro() 76 } else if a_len == 0 || b_len == 0 { in generic_jaro() 78 } else if a_len == 1 && b_len == 1 { in generic_jaro() 82 let search_range = (max(a_len, b_len) / 2) - 1; in generic_jaro() 84 let mut b_consumed = Vec::with_capacity(b_len); in generic_jaro() 85 for _ in 0..b_len { in generic_jaro() 102 let max_bound = min(b_len - 1, i + search_range); in generic_jaro() 128 (matches / b_len as f64) + in generic_jaro() 204 let b_len = b.into_iter().count(); in generic_levenshtein() localVariable [all …]
|
/third_party/mesa3d/src/util/ |
D | bigmath.h | 36 uint32_t *b, unsigned b_len) in _ubm_add_u32arr() argument 43 if (i < b_len) in _ubm_add_u32arr() 56 for (unsigned i = dst_len; i < b_len; i++) { in _ubm_add_u32arr() 69 uint32_t *b, unsigned b_len) in _ubm_mul_u32arr() argument 77 for (unsigned j = 0; j < b_len; j++) { in _ubm_mul_u32arr() 101 if (i + b_len < dst_len) in _ubm_mul_u32arr() 102 dst[i + b_len] = carry; in _ubm_mul_u32arr()
|
/third_party/libexif/libexif/ |
D | exif-loader.c | 85 unsigned char b_len; member 182 eld->b_len = 0; in exif_loader_write() 207 i = MIN (len, sizeof (eld->b) - eld->b_len); in exif_loader_write() 209 memcpy (&eld->b[eld->b_len], buf, i); in exif_loader_write() 210 eld->b_len += i; in exif_loader_write() 211 if (eld->b_len < sizeof (eld->b)) in exif_loader_write() 347 eld->b_len = 0; in exif_loader_write() 421 loader->b_len = 0; in exif_loader_reset()
|
/third_party/skia/third_party/externals/sfntly/cpp/src/test/tinyxml/ |
D | tinystr.cpp | 93 TiXmlString::size_type b_len = static_cast<TiXmlString::size_type>( strlen(b) ); in operator +() local 94 tmp.reserve(a.length() + b_len); in operator +() 96 tmp.append(b, b_len); in operator +()
|
/third_party/node/deps/brotli/c/enc/ |
D | memory.c | 86 static size_t Annihilate(void** a, size_t a_len, void** b, size_t b_len) { in Annihilate() argument 92 while (a_read_index < a_len && b_read_index < b_len) { in Annihilate() 104 while (b_read_index < b_len) b[b_write_index++] = b[b_read_index++]; in Annihilate()
|
/third_party/skia/third_party/externals/brotli/c/enc/ |
D | memory.c | 86 static size_t Annihilate(void** a, size_t a_len, void** b, size_t b_len) { in Annihilate() argument 92 while (a_read_index < a_len && b_read_index < b_len) { in Annihilate() 104 while (b_read_index < b_len) b[b_write_index++] = b[b_read_index++]; in Annihilate()
|
/third_party/f2fs-tools/tools/sg_write_buffer/ |
D | sg_lib.c | 2568 sg_get_nvme_cmd_status_str(uint16_t sct_sc, int b_len, char * b) in sg_get_nvme_cmd_status_str() argument 2574 if ((b_len <= 0) || (NULL == b)) in sg_get_nvme_cmd_status_str() 2576 else if (1 == b_len) { in sg_get_nvme_cmd_status_str() 2582 strncpy(b, vp->name, b_len); in sg_get_nvme_cmd_status_str() 2583 b[b_len - 1] = '\0'; in sg_get_nvme_cmd_status_str() 2590 snprintf(b, b_len, "Reserved [0x%x]", sct_sc); in sg_get_nvme_cmd_status_str() 2794 int b_len, char * b) in dStrHexStr() argument 2804 if (b_len > 0) in dStrHexStr() 2808 if (b_len <= 0) in dStrHexStr() 2841 n += scnpr(b + n, b_len - n, "%-*s %s\n", prior_ascii_len, in dStrHexStr() [all …]
|
D | sg_pt_linux_nvme.c | 149 sg_get_nvme_char_devname(const char * nvme_block_devname, uint32_t b_len, in sg_get_nvme_char_devname() argument 156 if ((NULL == b) || (b_len < 5)) in sg_get_nvme_char_devname() 165 if ((tlen + 1) > b_len) in sg_get_nvme_char_devname()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/ |
D | ctrl_iface_common.c | 18 struct sockaddr_storage *b, socklen_t b_len) in sockaddr_compare() argument 61 if (a_len != b_len || in sockaddr_compare()
|
D | sae_pk.c | 459 size_t der_len, b_len; in sae_parse_pk() local 483 b_len = os_strlen(pos); in sae_parse_pk() 487 b_len = pos2 - pos; in sae_parse_pk() 491 der = base64_decode(pos, b_len, &der_len); in sae_parse_pk()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/ |
D | ctrl_iface_common.c | 18 struct sockaddr_storage *b, socklen_t b_len) in sockaddr_compare() argument 61 if (a_len != b_len || in sockaddr_compare()
|
/third_party/f2fs-tools/tools/sg_write_buffer/include/ |
D | sg_lib.h | 511 bool sg_all_zeros(const uint8_t * bp, int b_len); 512 bool sg_all_ffs(const uint8_t * bp, int b_len);
|
D | sg_pt_linux.h | 163 bool sg_get_nvme_char_devname(const char * nvme_block_devname, uint32_t b_len,
|
/third_party/mbedtls/tests/src/ |
D | helpers.c | 284 uint32_t a_len, uint32_t b_len) in mbedtls_test_hexcmp() argument 289 if (a_len != b_len) { in mbedtls_test_hexcmp()
|
/third_party/mbedtls/tests/include/test/ |
D | helpers.h | 248 uint32_t a_len, uint32_t b_len);
|
/third_party/selinux/libsepol/src/ |
D | services.c | 430 int a_len, b_len; in constraint_expr_eval_reason() local 727 b_len = strlen(b); in constraint_expr_eval_reason() 732 answer_list[answer_counter] = malloc(a_len + b_len + 8); in constraint_expr_eval_reason() 738 memset(answer_list[answer_counter], '\0', a_len + b_len + 8); in constraint_expr_eval_reason() 748 b_len = strlen(b); in constraint_expr_eval_reason() 750 answer_list[answer_counter] = malloc(b_len + 8); in constraint_expr_eval_reason() 756 memset(answer_list[answer_counter], '\0', b_len + 8); in constraint_expr_eval_reason()
|
/third_party/libcoap/include/oscore/ |
D | oscore_context.h | 216 uint8_t b_len);
|
/third_party/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl14.c | 77 long b_len; member 809 flock.l_len = thiscase->b_len; in run_test()
|
/third_party/libcoap/src/oscore/ |
D | oscore_context.c | 90 uint8_t b_len) { in oscore_bytes_equal() argument 91 if (a_len != b_len) { in oscore_bytes_equal()
|
/third_party/openssl/doc/man7/ |
D | provider-rand.pod | 47 void OSSL_FUNC_rand_clear_seed(void *ctx, unsigned char *buffer, size_t b_len); 130 OSSL_FUNC_rand_clear_seed() frees a seed I<buffer> of length I<b_len> bytes
|
/third_party/node/deps/openssl/openssl/crypto/x509/ |
D | v3_utl.c | 657 const unsigned char *b, size_t b_len, in equal_email() argument 662 if (a_len != b_len) in equal_email()
|
/third_party/openssl/crypto/x509/ |
D | v3_utl.c | 657 const unsigned char *b, size_t b_len, in equal_email() argument 662 if (a_len != b_len) in equal_email()
|
/third_party/node/deps/openssl/openssl/include/openssl/ |
D | core_dispatch.h | 504 (void *vctx, unsigned char *buffer, size_t b_len))
|
/third_party/openssl/include/openssl/ |
D | core_dispatch.h | 504 (void *vctx, unsigned char *buffer, size_t b_len))
|
/third_party/rust/crates/memchr/bench/data/code/ |
D | rust-library.rs | 33643 let (a_len, b_len) = self.0.lens(); 33647 (0, Some(a_len + b_len)) 33734 let (a_len, b_len) = self.0.lens(); 33736 (max(a_len, b_len), Some(a_len + b_len))
|