Home
last modified time | relevance | path

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

/third_party/openssl/crypto/evp/
Dbio_b64.c36 int tmp_len; /* used to find the start when decoding */ member
129 ctx->tmp_len = 0; in b64_read()
161 i = BIO_read(next, &(ctx->tmp[ctx->tmp_len]), in b64_read()
162 B64_BLOCK_SIZE - ctx->tmp_len); in b64_read()
171 if (ctx->tmp_len == 0) in b64_read()
181 i += ctx->tmp_len; in b64_read()
182 ctx->tmp_len = i; in b64_read()
190 ctx->tmp_len = 0; in b64_read()
239 ctx->tmp_len = 0; in b64_read()
245 ctx->tmp_len = n; in b64_read()
[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.c304 int ret = 0, tmp_len = 0; in srp_generate_server_master_secret() local
316 tmp_len = BN_num_bytes(K); in srp_generate_server_master_secret()
317 if ((tmp = OPENSSL_malloc(tmp_len)) == NULL) { in srp_generate_server_master_secret()
323 ret = ssl_generate_master_secret(s, tmp, tmp_len, 1); in srp_generate_server_master_secret()
334 int ret = 0, tmp_len = 0; in srp_generate_client_master_secret() local
366 tmp_len = BN_num_bytes(K); in srp_generate_client_master_secret()
367 if ((tmp = OPENSSL_malloc(tmp_len)) == NULL) { in srp_generate_client_master_secret()
373 ret = ssl_generate_master_secret(s, tmp, tmp_len, 1); in srp_generate_client_master_secret()
/third_party/openssl/crypto/ec/
Dec_mult.c560 size_t tmp_len = 0; in ossl_ec_wNAF_mul() local
571 tmp_wNAF = bn_compute_wNAF(scalar, wsize[num], &tmp_len); in ossl_ec_wNAF_mul()
575 if (tmp_len <= max_len) { in ossl_ec_wNAF_mul()
586 wNAF_len[num] = tmp_len; in ossl_ec_wNAF_mul()
600 if (tmp_len < numblocks * blocksize) { in ossl_ec_wNAF_mul()
604 numblocks = (tmp_len + blocksize - 1) / blocksize; in ossl_ec_wNAF_mul()
620 if (tmp_len < blocksize) { in ossl_ec_wNAF_mul()
625 tmp_len -= blocksize; in ossl_ec_wNAF_mul()
631 wNAF_len[i] = tmp_len; in ossl_ec_wNAF_mul()
/third_party/openssl/providers/implementations/macs/
Dkmac_prov.c586 size_t tmp_len; in kmac_bytepad_encode_key() local
588 if (!encode_string(tmp, sizeof(tmp), &tmp_len, in, in_len)) in kmac_bytepad_encode_key()
590 if (!bytepad(NULL, out_len, tmp, tmp_len, NULL, 0, w)) in kmac_bytepad_encode_key()
594 return bytepad(out, NULL, tmp, tmp_len, NULL, 0, w); in kmac_bytepad_encode_key()
/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/openssl/util/
Dcheck-format-test-negatives.c79 ctx->tmp_len); in f()
/third_party/libabigail/
Dltmain.sh4611 int tmp_len;
4670 tmp_len = strlen (tmp);
4672 XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
4673 memcpy (concat_name, tmp, tmp_len);
4674 concat_name[tmp_len] = '/';
4675 strcpy (concat_name + tmp_len + 1, wrapper);
4696 tmp_len = strlen (tmp);
4697 concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
4698 memcpy (concat_name, tmp, tmp_len);
4699 concat_name[tmp_len] = '/';
[all …]
/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/freetype/builds/unix/
Dltmain.sh6266 size_t tmp_len;
6325 tmp_len = strlen (tmp);
6327 XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
6328 memcpy (concat_name, tmp, tmp_len);
6329 concat_name[tmp_len] = '/';
6330 strcpy (concat_name + tmp_len + 1, wrapper);
6351 tmp_len = strlen (tmp);
6352 concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
6353 memcpy (concat_name, tmp, tmp_len);
6354 concat_name[tmp_len] = '/';
[all …]
/third_party/libevdev/build-aux/
Dltmain.sh6002 size_t tmp_len;
6061 tmp_len = strlen (tmp);
6063 XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
6064 memcpy (concat_name, tmp, tmp_len);
6065 concat_name[tmp_len] = '/';
6066 strcpy (concat_name + tmp_len + 1, wrapper);
6087 tmp_len = strlen (tmp);
6088 concat_name = XMALLOC (char, tmp_len + 1 + strlen (wrapper) + 1);
6089 memcpy (concat_name, tmp, tmp_len);
6090 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/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/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/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/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()
/third_party/mbedtls/library/
Dssl_tls.c471 size_t tmp_len = 0; in tls_prf_generic() local
484 tmp_len = md_len + strlen( label ) + rlen; in tls_prf_generic()
485 tmp = mbedtls_calloc( 1, tmp_len ); in tls_prf_generic()
544 mbedtls_platform_zeroize( tmp, tmp_len ); in tls_prf_generic()
/third_party/python/Lib/
D_pydecimal.py5657 tmp_len = len(str(tmp.int))
5659 exp = tmp.exp + min(-1, tmp_len - prec - 2)