/third_party/boringssl/src/decrepit/bio/ |
D | base64_bio.c | 81 int tmp_len; // used to find the start when decoding member 140 ctx->tmp_len = 0; in b64_read() 172 i = BIO_read(b->next_bio, &(ctx->tmp[ctx->tmp_len]), in b64_read() 173 B64_BLOCK_SIZE - ctx->tmp_len); in b64_read() 182 if (ctx->tmp_len == 0) { in b64_read() 193 i += ctx->tmp_len; in b64_read() 194 ctx->tmp_len = i; in b64_read() 200 ctx->tmp_len = 0; in b64_read() 244 ctx->tmp_len = 0; in b64_read() 251 ctx->tmp_len = n; in b64_read() [all …]
|
/third_party/openssl/crypto/evp/ |
D | bio_b64.c | 36 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/uboot/u-boot-2020.01/product/hiosd/dec/ |
D | jpegd.c | 38 int tmp_len = (stream[0] << 8) + stream[1]; /* shift left 8 bits */ in jpegd_dec_baseline() local 39 tmp_len = MIN(tmp_len, len - *idx); in jpegd_dec_baseline() 41 *idx += (tmp_len + 2); /* 2 number of bytes */ in jpegd_dec_baseline() 42 stream += (tmp_len); in jpegd_dec_baseline() 55 unsigned int tmp_len = (stream[0] << 8) + stream[1]; /* shift left 8 bits */ in jpegd_dec_dht() local 56 tmp_len = MIN(tmp_len, len - *idx); in jpegd_dec_dht() 58 *idx += (tmp_len + 2); /* 2 number of bytes */ in jpegd_dec_dht() 59 stream += (tmp_len); in jpegd_dec_dht() 74 int tmp_len = (stream[0] << 8) + stream[1]; /* shift left 8 bits */ in jpegd_dec_sos() local 75 tmp_len = MIN(tmp_len, len - *idx); in jpegd_dec_sos() [all …]
|
/third_party/openssl/apps/ |
D | ecparam.c | 277 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/ |
D | policydb_convert.c | 39 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/ |
D | tls_srp.c | 252 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/ |
D | ec_mult.c | 552 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/uboot/u-boot-2020.01/lib/libavb/ |
D | avb_sha256.c | 310 size_t new_len, rem_len, tmp_len; in avb_sha256_update() local 313 tmp_len = AVB_SHA256_BLOCK_SIZE - ctx->len; in avb_sha256_update() 314 rem_len = len < tmp_len ? len : tmp_len; in avb_sha256_update()
|
D | avb_sha512.c | 296 size_t new_len, rem_len, tmp_len; in avb_sha512_update() local 299 tmp_len = AVB_SHA512_BLOCK_SIZE - ctx->len; in avb_sha512_update() 300 rem_len = len < tmp_len ? len : tmp_len; in avb_sha512_update()
|
/third_party/openssl/crypto/kdf/ |
D | hkdf.c | 281 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/ |
D | gstdio.c | 853 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/uboot/u-boot-2020.01/drivers/spi/ |
D | cf_spi.c | 173 int tmp_len = len - 1; in coldfire_spi_xfer() local 175 while (tmp_len--) { in coldfire_spi_xfer()
|
D | fsl_dspi.c | 274 int tmp_len = len - 1; in dspi_xfer() local 275 while (tmp_len--) { in dspi_xfer()
|
/third_party/uboot/u-boot-2020.01/fs/ubifs/ |
D | ubifs.c | 113 size_t tmp_len = *dlen; in crypto_comp_decompress() local 121 err = compr->decompress(src, slen, dst, &tmp_len); in crypto_comp_decompress() 126 *dlen = tmp_len; in crypto_comp_decompress()
|
/third_party/uboot/u-boot-2020.01/product/cipher/v2/api/ |
D | ree_mpi_rsa.c | 1024 hi_u32 index, tmp_len; in rsa_padding_check_pkcs1_pss() local 1063 tmp_len = pss.key_len - pss.slen - pad->hlen - 2; /* 2 */ in rsa_padding_check_pkcs1_pss() 1064 if (tmp_len >= CIPHER_MAX_RSA_KEY_LEN - 1) { /* -1 is for index++, avoid masked_db overflow */ in rsa_padding_check_pkcs1_pss() 1065 hi_err_cipher("operate masked_db maybe overflow %u\n", tmp_len); in rsa_padding_check_pkcs1_pss() 1069 for (index = 0; index < tmp_len; index++) { in rsa_padding_check_pkcs1_pss()
|
/third_party/libpsl/src/ |
D | psl.c | 1826 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/ |
D | ltmain.sh | 4631 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/libjpeg/ |
D | ltmain.sh | 6009 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/gstreamer/gstplugins_bad/ |
D | ltmain.sh | 6101 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/node/deps/cares/ |
D | ltmain.sh | 6101 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/mtdev/config-aux/ |
D | ltmain.sh | 6224 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/gstreamer/gstreamer/ |
D | ltmain.sh | 6101 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/libpng/ |
D | ltmain.sh | 6009 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/ |
D | ltmain.sh | 6101 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/wayland_standard/ |
D | ltmain.sh | 6224 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 …]
|