Home
last modified time | relevance | path

Searched refs:exp_len (Results 1 – 8 of 8) sorted by relevance

/third_party/lwip/test/unit/core/
Dtest_def.c36 size_t exp_len = strlen(expected); in test_def_itoa() local
37 fail_unless(exp_len + 4 < (TEST_BUFSIZE - (2 * GUARD_SIZE))); in test_def_itoa()
40 lwip_itoa(test_buf, exp_len + 1, number); in test_def_itoa()
42 fail_unless(test_buf[exp_len] == 0); in test_def_itoa()
43 fail_unless(!memcmp(test_buf, expected, exp_len)); in test_def_itoa()
44 def_check_range_untouched(&test_buf[exp_len + 1], TEST_BUFSIZE - GUARD_SIZE - exp_len - 1); in test_def_itoa()
48 lwip_itoa(test_buf, exp_len, number); in test_def_itoa()
50 def_check_range_untouched(&test_buf[exp_len + 1], TEST_BUFSIZE - GUARD_SIZE - exp_len - 1); in test_def_itoa()
54 lwip_itoa(test_buf, exp_len + 4, number); in test_def_itoa()
56 fail_unless(test_buf[exp_len] == 0); in test_def_itoa()
[all …]
/third_party/openssl/test/
Dpbetest.c58 const unsigned char *exp, const int exp_len) in test_pkcs5_pbe() argument
87 if (!TEST_mem_eq(out, outlen, exp, exp_len)) in test_pkcs5_pbe()
94 || !TEST_true(EVP_CipherUpdate(ctx, out, &i, exp, exp_len))) in test_pkcs5_pbe()
/third_party/optimized-routines/string/bench/
Dstrlen.c123 int exp_len = strlen_len_arr[rand32 (0) & SIZE_MASK]; in init_strlen_tests() local
126 index[(align + exp_len) & (MAX_ALIGN - 1)] + MAX_STRLEN - exp_len; in init_strlen_tests()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/
Deap_pwd.c367 size_t salt_pwd_len[2], exp_len; in eap_pwd_perform_commit_exchange() local
432 exp_len = 1 + salt_len + 2 * prime_len + order_len; in eap_pwd_perform_commit_exchange()
433 if (payload_len != exp_len) { in eap_pwd_perform_commit_exchange()
437 (unsigned int) exp_len); in eap_pwd_perform_commit_exchange()
469 exp_len = 1 + salt_len + 2 * prime_len + order_len; in eap_pwd_perform_commit_exchange()
470 if (payload_len != exp_len) { in eap_pwd_perform_commit_exchange()
474 (unsigned int) exp_len); in eap_pwd_perform_commit_exchange()
504 exp_len = 1 + salt_len + 2 * prime_len + order_len; in eap_pwd_perform_commit_exchange()
505 if (payload_len != exp_len) { in eap_pwd_perform_commit_exchange()
509 (unsigned int) exp_len); in eap_pwd_perform_commit_exchange()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/
Deap_pwd.c367 size_t salt_pwd_len[2], exp_len; in eap_pwd_perform_commit_exchange() local
432 exp_len = 1 + salt_len + 2 * prime_len + order_len; in eap_pwd_perform_commit_exchange()
433 if (payload_len != exp_len) { in eap_pwd_perform_commit_exchange()
437 (unsigned int) exp_len); in eap_pwd_perform_commit_exchange()
469 exp_len = 1 + salt_len + 2 * prime_len + order_len; in eap_pwd_perform_commit_exchange()
470 if (payload_len != exp_len) { in eap_pwd_perform_commit_exchange()
474 (unsigned int) exp_len); in eap_pwd_perform_commit_exchange()
504 exp_len = 1 + salt_len + 2 * prime_len + order_len; in eap_pwd_perform_commit_exchange()
505 if (payload_len != exp_len) { in eap_pwd_perform_commit_exchange()
509 (unsigned int) exp_len); in eap_pwd_perform_commit_exchange()
/third_party/mksh/
Dcheck.pl873 local($i, $exp_len, $got_len);
876 $exp_len = length($exp);
878 if ($exp_len != $got_len) {
879 if ($exp_len < $got_len) {
880 if (substr($got, 0, $exp_len) eq $exp) {
887 for ($i = 0; $i < $exp_len; $i++) {
/third_party/openssl/crypto/asn1/
Dasn1_gen.c52 long exp_len; member
188 etmp->exp_len = len; in generate_v3()
207 ASN1_put_object(&p, etmp->exp_constructed, etmp->exp_len, in generate_v3()
/third_party/python/Python/
Dpystrtod.c1006 int decpt_as_int, sign, exp_len, exp = 0, use_exp = 0; in format_float_short() local
1226 exp_len = sprintf(p, "%+.02d", exp); in format_float_short()
1227 p += exp_len; in format_float_short()