Home
last modified time | relevance | path

Searched refs:tmp_len (Results 1 – 25 of 28) sorted by relevance

12

/third_party/openssl/crypto/evp/
Dbio_b64.c36 int tmp_len; /* used to find the start when decoding */ member
131 ctx->tmp_len = 0; in b64_read()
163 i = BIO_read(next, &(ctx->tmp[ctx->tmp_len]), in b64_read()
164 B64_BLOCK_SIZE - ctx->tmp_len); in b64_read()
173 if (ctx->tmp_len == 0) in b64_read()
183 i += ctx->tmp_len; in b64_read()
184 ctx->tmp_len = i; in b64_read()
192 ctx->tmp_len = 0; in b64_read()
241 ctx->tmp_len = 0; in b64_read()
247 ctx->tmp_len = n; in b64_read()
[all …]
/third_party/openssl/apps/
Decparam.c277 size_t buf_len = 0, tmp_len = 0; in ecparam_main() local
317 if ((tmp_len = (size_t)BN_num_bytes(ec_p)) > buf_len) in ecparam_main()
318 buf_len = tmp_len; in ecparam_main()
319 if ((tmp_len = (size_t)BN_num_bytes(ec_a)) > buf_len) in ecparam_main()
320 buf_len = tmp_len; in ecparam_main()
321 if ((tmp_len = (size_t)BN_num_bytes(ec_b)) > buf_len) in ecparam_main()
322 buf_len = tmp_len; in ecparam_main()
323 if ((tmp_len = (size_t)BN_num_bytes(ec_gen)) > buf_len) in ecparam_main()
324 buf_len = tmp_len; in ecparam_main()
325 if ((tmp_len = (size_t)BN_num_bytes(ec_order)) > buf_len) in ecparam_main()
[all …]
/third_party/selinux/libsepol/src/
Dpolicydb_convert.c39 size_t tmp_len; in policydb_to_image() local
62 tmp_len = pf.len; in policydb_to_image()
75 pf.len = tmp_len; in policydb_to_image()
90 *newlen = tmp_len; in policydb_to_image()
/third_party/openssl/ssl/
Dtls_srp.c252 int ret = -1, tmp_len = 0; in srp_generate_server_master_secret() local
263 tmp_len = BN_num_bytes(K); in srp_generate_server_master_secret()
264 if ((tmp = OPENSSL_malloc(tmp_len)) == NULL) { in srp_generate_server_master_secret()
271 ret = ssl_generate_master_secret(s, tmp, tmp_len, 1); in srp_generate_server_master_secret()
282 int ret = -1, tmp_len = 0; in srp_generate_client_master_secret() local
314 tmp_len = BN_num_bytes(K); in srp_generate_client_master_secret()
315 if ((tmp = OPENSSL_malloc(tmp_len)) == NULL) { in srp_generate_client_master_secret()
322 ret = ssl_generate_master_secret(s, tmp, tmp_len, 1); in srp_generate_client_master_secret()
/third_party/openssl/crypto/ec/
Dec_mult.c552 size_t tmp_len = 0; in ec_wNAF_mul() local
563 tmp_wNAF = bn_compute_wNAF(scalar, wsize[num], &tmp_len); in ec_wNAF_mul()
567 if (tmp_len <= max_len) { in ec_wNAF_mul()
578 wNAF_len[num] = tmp_len; in ec_wNAF_mul()
592 if (tmp_len < numblocks * blocksize) { in ec_wNAF_mul()
596 numblocks = (tmp_len + blocksize - 1) / blocksize; in ec_wNAF_mul()
612 if (tmp_len < blocksize) { in ec_wNAF_mul()
617 tmp_len -= blocksize; in ec_wNAF_mul()
623 wNAF_len[i] = tmp_len; in ec_wNAF_mul()
/third_party/openssl/crypto/kdf/
Dhkdf.c281 unsigned int tmp_len; in HKDF_Extract() local
283 if (!HMAC(evp_md, salt, salt_len, key, key_len, prk, &tmp_len)) in HKDF_Extract()
286 *prk_len = tmp_len; in HKDF_Extract()
/third_party/glib/glib/
Dgstdio.c853 glong tmp_len; in g_win32_readlink_utf8() local
879 &tmp_len, in g_win32_readlink_utf8()
893 return tmp_len; in g_win32_readlink_utf8()
896 if (tmp_len > buf_size) in g_win32_readlink_utf8()
897 tmp_len = buf_size; in g_win32_readlink_utf8()
899 memcpy (buf, tmp, tmp_len); in g_win32_readlink_utf8()
902 return tmp_len; in g_win32_readlink_utf8()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Djson.c619 size_t tmp_len = 6 * len + 1; in json_add_string_escape() local
621 tmp = os_malloc(tmp_len); in json_add_string_escape()
624 json_escape_string(tmp, tmp_len, val, len); in json_add_string_escape()
626 bin_clear_free(tmp, tmp_len); in json_add_string_escape()
/third_party/mbedtls/tests/suites/
Dtest_suite_mps.function145 mbedtls_mps_size_t tmp_len;
161 TEST_ASSERT( mbedtls_mps_reader_get( &rd, 30, &tmp, &tmp_len ) == 0 );
162 ASSERT_COMPARE( tmp, tmp_len, buf + 80, 20 );
180 mbedtls_mps_size_t tmp_len;
198 TEST_ASSERT( mbedtls_mps_reader_get( &rd, 30, &tmp, &tmp_len ) == 0 );
199 ASSERT_COMPARE( tmp, tmp_len, bufA + 80, 20 );
265 mbedtls_mps_size_t tmp_len;
285 TEST_ASSERT( mbedtls_mps_reader_get( &rd, 50, &tmp, &tmp_len ) == 0 );
286 ASSERT_COMPARE( tmp, tmp_len, buf + 50, 50 );
671 mbedtls_mps_size_t tmp_len;
[all …]
/third_party/libpsl/src/
Dpsl.c1826 size_t tmp_len = strlen(str) + 1; in psl_str_to_utf8lower() local
1827 size_t dst_len = tmp_len * 6, dst_len_tmp = dst_len; in psl_str_to_utf8lower()
1833 else if (iconv(cd, (WINICONV_CONST char **)&tmp, &tmp_len, &dst_tmp, &dst_len_tmp) != (size_t)-1 in psl_str_to_utf8lower()
/third_party/skia/third_party/externals/microhttpd/
Dltmain.sh4631 int tmp_len;
4690 tmp_len = strlen (tmp);
4692 XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
4693 memcpy (concat_name, tmp, tmp_len);
4694 concat_name[tmp_len] = '/';
4695 strcpy (concat_name + tmp_len + 1, wrapper);
4716 tmp_len = strlen (tmp);
4717 concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
4718 memcpy (concat_name, tmp, tmp_len);
4719 concat_name[tmp_len] = '/';
[all …]
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/wpa_supplicant/
Dconfig_file.c1577 int tmp_len; in wpa_config_write() local
1585 tmp_len = os_strlen(name) + 5; /* allow space for .tmp suffix */ in wpa_config_write()
1586 tmp_name = os_malloc(tmp_len); in wpa_config_write()
1588 os_snprintf(tmp_name, tmp_len, "%s.tmp", name); in wpa_config_write()
/third_party/skia/third_party/externals/libpng/
Dltmain.sh6009 size_t tmp_len;
6068 tmp_len = strlen (tmp);
6070 XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
6071 memcpy (concat_name, tmp, tmp_len);
6072 concat_name[tmp_len] = '/';
6073 strcpy (concat_name + tmp_len + 1, wrapper);
6094 tmp_len = strlen (tmp);
6095 concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
6096 memcpy (concat_name, tmp, tmp_len);
6097 concat_name[tmp_len] = '/';
[all …]
/third_party/mtdev/config-aux/
Dltmain.sh6224 size_t tmp_len;
6283 tmp_len = strlen (tmp);
6285 XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
6286 memcpy (concat_name, tmp, tmp_len);
6287 concat_name[tmp_len] = '/';
6288 strcpy (concat_name + tmp_len + 1, wrapper);
6309 tmp_len = strlen (tmp);
6310 concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
6311 memcpy (concat_name, tmp, tmp_len);
6312 concat_name[tmp_len] = '/';
[all …]
/third_party/libffi/
Dltmain.sh6009 size_t tmp_len;
6068 tmp_len = strlen (tmp);
6070 XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
6071 memcpy (concat_name, tmp, tmp_len);
6072 concat_name[tmp_len] = '/';
6073 strcpy (concat_name + tmp_len + 1, wrapper);
6094 tmp_len = strlen (tmp);
6095 concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
6096 memcpy (concat_name, tmp, tmp_len);
6097 concat_name[tmp_len] = '/';
[all …]
/third_party/libevdev/build-aux/
Dltmain.sh6009 size_t tmp_len;
6068 tmp_len = strlen (tmp);
6070 XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
6071 memcpy (concat_name, tmp, tmp_len);
6072 concat_name[tmp_len] = '/';
6073 strcpy (concat_name + tmp_len + 1, wrapper);
6094 tmp_len = strlen (tmp);
6095 concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
6096 memcpy (concat_name, tmp, tmp_len);
6097 concat_name[tmp_len] = '/';
[all …]
/third_party/e2fsprogs/config/
Dltmain.sh6101 size_t tmp_len;
6160 tmp_len = strlen (tmp);
6162 XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
6163 memcpy (concat_name, tmp, tmp_len);
6164 concat_name[tmp_len] = '/';
6165 strcpy (concat_name + tmp_len + 1, wrapper);
6186 tmp_len = strlen (tmp);
6187 concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
6188 memcpy (concat_name, tmp, tmp_len);
6189 concat_name[tmp_len] = '/';
[all …]
/third_party/libpng/
Dltmain.sh6009 size_t tmp_len;
6068 tmp_len = strlen (tmp);
6070 XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
6071 memcpy (concat_name, tmp, tmp_len);
6072 concat_name[tmp_len] = '/';
6073 strcpy (concat_name + tmp_len + 1, wrapper);
6094 tmp_len = strlen (tmp);
6095 concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
6096 memcpy (concat_name, tmp, tmp_len);
6097 concat_name[tmp_len] = '/';
[all …]
/third_party/wayland_standard/
Dltmain.sh6224 size_t tmp_len;
6283 tmp_len = strlen (tmp);
6285 XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
6286 memcpy (concat_name, tmp, tmp_len);
6287 concat_name[tmp_len] = '/';
6288 strcpy (concat_name + tmp_len + 1, wrapper);
6309 tmp_len = strlen (tmp);
6310 concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
6311 memcpy (concat_name, tmp, tmp_len);
6312 concat_name[tmp_len] = '/';
[all …]
/third_party/gettext/build-aux/
Dltmain.sh6009 size_t tmp_len;
6068 tmp_len = strlen (tmp);
6070 XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
6071 memcpy (concat_name, tmp, tmp_len);
6072 concat_name[tmp_len] = '/';
6073 strcpy (concat_name + tmp_len + 1, wrapper);
6094 tmp_len = strlen (tmp);
6095 concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
6096 memcpy (concat_name, tmp, tmp_len);
6097 concat_name[tmp_len] = '/';
[all …]
/third_party/freetype/builds/unix/
Dltmain.sh6009 size_t tmp_len;
6068 tmp_len = strlen (tmp);
6070 XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
6071 memcpy (concat_name, tmp, tmp_len);
6072 concat_name[tmp_len] = '/';
6073 strcpy (concat_name + tmp_len + 1, wrapper);
6094 tmp_len = strlen (tmp);
6095 concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
6096 memcpy (concat_name, tmp, tmp_len);
6097 concat_name[tmp_len] = '/';
[all …]
/third_party/node/deps/cares/
Dltmain.sh6101 size_t tmp_len;
6160 tmp_len = strlen (tmp);
6162 XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
6163 memcpy (concat_name, tmp, tmp_len);
6164 concat_name[tmp_len] = '/';
6165 strcpy (concat_name + tmp_len + 1, wrapper);
6186 tmp_len = strlen (tmp);
6187 concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
6188 memcpy (concat_name, tmp, tmp_len);
6189 concat_name[tmp_len] = '/';
[all …]
/third_party/eudev/
Dltmain.sh6057 size_t tmp_len;
6116 tmp_len = strlen (tmp);
6118 XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
6119 memcpy (concat_name, tmp, tmp_len);
6120 concat_name[tmp_len] = '/';
6121 strcpy (concat_name + tmp_len + 1, wrapper);
6142 tmp_len = strlen (tmp);
6143 concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
6144 memcpy (concat_name, tmp, tmp_len);
6145 concat_name[tmp_len] = '/';
[all …]
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/
Dconnection.c1821 size_t tmp_len; local
1833 tmp_len = strlen (tmp);
1846 last_len + tmp_len + 1);
1854 memcpy (&last[last_len], tmp, tmp_len + 1);
/third_party/wpa_supplicant/wpa_supplicant-2.9/wpa_supplicant/
Dconfig_file.c1566 int tmp_len = os_strlen(name) + 5; /* allow space for .tmp suffix */ in wpa_config_write() local
1567 char *tmp_name = os_malloc(tmp_len); in wpa_config_write()
1570 os_snprintf(tmp_name, tmp_len, "%s.tmp", name); in wpa_config_write()

12