Home
last modified time | relevance | path

Searched refs:a_len (Results 1 – 22 of 22) sorted by relevance

/third_party/rust/crates/strsim-rs/src/
Dlib.rs69 let a_len = a.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()
127 (1.0 / 3.0) * ((matches / a_len as f64) + in generic_jaro()
268 let a_len = a.chars().count(); in osa_distance() localVariable
271 else if a_len == 0 { return b_len; } in osa_distance()
272 else if b_len == 0 { return a_len; } in osa_distance()
329 let a_len = a_elems.len(); in generic_damerau_levenshtein() localVariable
[all …]
/third_party/mesa3d/src/util/
Dbigmath.h35 uint32_t *a, unsigned a_len, in _ubm_add_u32arr() argument
41 if (i < a_len) in _ubm_add_u32arr()
51 for (unsigned i = dst_len; i < a_len; i++) { in _ubm_add_u32arr()
68 uint32_t *a, unsigned a_len, in _ubm_mul_u32arr() argument
75 for (unsigned i = 0; i < a_len; i++) { in _ubm_mul_u32arr()
/third_party/skia/third_party/externals/sfntly/cpp/src/test/tinyxml/
Dtinystr.cpp103 TiXmlString::size_type a_len = static_cast<TiXmlString::size_type>( strlen(a) ); in operator +() local
104 tmp.reserve(a_len + b.length()); in operator +()
105 tmp.append(a, a_len); in operator +()
/third_party/node/deps/v8/src/bigint/
Ddiv-burnikel.cc29 int a_len; in SpecialCompare() local
32 a_len = A.len(); in SpecialCompare()
34 a_len = A.len() + 1; in SpecialCompare()
36 int diff = a_len - B.len(); in SpecialCompare()
38 int i = a_len - 1; in SpecialCompare()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/common/
Dctrl_iface_common.c17 static int sockaddr_compare(struct sockaddr_storage *a, socklen_t a_len, in sockaddr_compare() argument
61 if (a_len != b_len || in sockaddr_compare()
63 a_len - offsetof(struct sockaddr_un, sun_path)) in sockaddr_compare()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/common/
Dctrl_iface_common.c17 static int sockaddr_compare(struct sockaddr_storage *a, socklen_t a_len, in sockaddr_compare() argument
61 if (a_len != b_len || in sockaddr_compare()
63 a_len - offsetof(struct sockaddr_un, sun_path)) in sockaddr_compare()
/third_party/node/deps/brotli/c/enc/
Dmemory.c86 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()
103 while (a_read_index < a_len) a[a_write_index++] = a[a_read_index++]; in Annihilate()
/third_party/skia/third_party/externals/brotli/c/enc/
Dmemory.c86 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()
103 while (a_read_index < a_len) a[a_write_index++] = a[a_read_index++]; in Annihilate()
/third_party/mbedtls/tests/src/
Dhelpers.c284 uint32_t a_len, uint32_t b_len) in mbedtls_test_hexcmp() argument
289 if (a_len != b_len) { in mbedtls_test_hexcmp()
293 for (i = 0; i < a_len; i++) { in mbedtls_test_hexcmp()
/third_party/node/deps/openssl/openssl/crypto/x509/
Dv3_utl.c656 static int equal_email(const unsigned char *a, size_t a_len, in equal_email() argument
660 size_t i = a_len; in equal_email()
662 if (a_len != b_len) in equal_email()
672 if (!equal_nocase(a + i, a_len - i, b + i, a_len - i, 0)) in equal_email()
678 i = a_len; in equal_email()
/third_party/openssl/crypto/x509/
Dv3_utl.c656 static int equal_email(const unsigned char *a, size_t a_len, in equal_email() argument
660 size_t i = a_len; in equal_email()
662 if (a_len != b_len) in equal_email()
672 if (!equal_nocase(a + i, a_len - i, b + i, a_len - i, 0)) in equal_email()
678 i = a_len; in equal_email()
/third_party/mbedtls/tests/include/test/
Dhelpers.h248 uint32_t a_len, uint32_t b_len);
/third_party/vk-gl-cts/external/vulkancts/data/vulkan/amber/spirv_assembly/instruction/terminate_invocation/
Dno_out_of_bounds_atomic.amber146 %a_len = OpArrayLength %uint %a 0
148 %oob_ptr = OpPtrAccessChain %ptr_int_ssbo %a_0_gep %a_len
Dno_out_of_bounds_store.amber144 %a_len = OpArrayLength %uint %a 0
146 %oob_ptr = OpPtrAccessChain %ptr_int_ssbo %a_0_gep %a_len
/third_party/f2fs-tools/tools/sg_write_buffer/
Dsg_pt_linux_nvme.c930 uint32_t alloc_len, offset, a_len; in sntl_rep_opcodes() local
948 a_len = pg_sz - 72; in sntl_rep_opcodes()
959 (oip->flags != 0xffff) && (offset < a_len); ++oip) { in sntl_rep_opcodes()
1029 offset = (offset < a_len) ? offset : a_len; in sntl_rep_opcodes()
/third_party/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl14.c73 long a_len; member
795 flock.l_len = thiscase->a_len; in run_test()
1065 flock.l_len = thiscase->a_len; in main()
/third_party/libcoap/src/oscore/
Doscore_context.c88 uint8_t a_len, in oscore_bytes_equal() argument
91 if (a_len != b_len) { in oscore_bytes_equal()
95 if (memcmp(a_ptr, b_ptr, a_len) == 0) { in oscore_bytes_equal()
/third_party/libcoap/include/oscore/
Doscore_context.h214 uint8_t a_len,
/third_party/curl/lib/
Dhttp.h280 const char *authority, size_t a_len,
Dhttp.c4635 const char *authority, size_t a_len, in Curl_http_req_make() argument
4655 req->authority = my_strndup(authority, a_len); in Curl_http_req_make()
/third_party/selinux/libsepol/src/
Dservices.c430 int a_len, b_len; in constraint_expr_eval_reason() local
729 a_len = strlen(a); 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()
/third_party/rust/crates/memchr/bench/data/code/
Drust-library.rs33643 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))