Searched defs:tmp_len (Results 1 - 13 of 13) sorted by relevance

/external/selinux/libsepol/src/
H A Dpolicydb_convert.c39 size_t tmp_len; local
62 tmp_len = pf.len;
75 pf.len = tmp_len;
90 *newlen = tmp_len;
/external/srtp/crypto/test/
H A Dsha1_driver.c73 unsigned tmp_len; local
79 tmp_len = hex_string_to_octet_string((char *)test_case->data, hex_data, data_len*2);
80 if (tmp_len != data_len*2)
83 tmp_len = hex_string_to_octet_string((char *)test_case->hash, hex_hash, hash_len*2);
84 if (tmp_len != hash_len*2)
/external/boringssl/src/decrepit/bio/
H A Dbase64_bio.c79 int tmp_len; /* used to find the start when decoding */ member in struct:b64_struct
138 ctx->tmp_len = 0;
170 i = BIO_read(b->next_bio, &(ctx->tmp[ctx->tmp_len]),
171 B64_BLOCK_SIZE - ctx->tmp_len);
180 if (ctx->tmp_len == 0) {
191 i += ctx->tmp_len;
192 ctx->tmp_len = i;
198 ctx->tmp_len = 0;
242 ctx->tmp_len = 0;
249 ctx->tmp_len
[all...]
/external/vboot_reference/firmware/lib/cryptolib/
H A Dsha256.c247 unsigned int new_len, rem_len, tmp_len; local
250 tmp_len = SHA256_BLOCK_SIZE - ctx->len;
251 rem_len = len < tmp_len ? len : tmp_len;
H A Dsha512.c269 unsigned int new_len, rem_len, tmp_len; local
272 tmp_len = SHA512_BLOCK_SIZE - ctx->len;
273 rem_len = len < tmp_len ? len : tmp_len;
/external/boringssl/src/crypto/ec/
H A Dec_asn1.c394 size_t buf_len = 0, tmp_len; local
444 tmp_len = EC_POINT_point2oct(key->group, key->pub_key, key->conv_form, NULL,
447 if (tmp_len > buf_len) {
448 uint8_t *tmp_buffer = OPENSSL_realloc(buffer, tmp_len);
454 buf_len = tmp_len;
/external/mmc-utils/3rdparty/hmac_sha/
H A Dsha2.c362 unsigned int new_len, rem_len, tmp_len; local
365 tmp_len = SHA256_BLOCK_SIZE - ctx->len;
366 rem_len = len < tmp_len ? len : tmp_len;
559 unsigned int new_len, rem_len, tmp_len; local
562 tmp_len = SHA512_BLOCK_SIZE - ctx->len;
563 rem_len = len < tmp_len ? len : tmp_len;
661 unsigned int new_len, rem_len, tmp_len; local
664 tmp_len
761 unsigned int new_len, rem_len, tmp_len; local
[all...]
/external/wpa_supplicant_8/wpa_supplicant/
H A Dconfig_file.c1354 int tmp_len = os_strlen(name) + 5; /* allow space for .tmp suffix */ local
1355 char *tmp_name = os_malloc(tmp_len);
1358 os_snprintf(tmp_name, tmp_len, "%s.tmp", name);
/external/libmicrohttpd/src/microhttpd/
H A 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);
/external/libnfc-nci/halimpl/pn54x/hal/
H A DphNxpNciHal.c1665 uint16_t tmp_len = 0; local
1748 tmp_len = p_core_init_rsp_params[35];
1751 status = phNxpNciHal_write_ext(&tmp_len,
1771 p_core_init_rsp_params[35] = (uint8_t)tmp_len;
/external/mesa3d/src/gallium/state_trackers/vega/
H A Dbezier.c661 VGfloat tmp_len; local
663 tmp_len = bezier_length(&left, error);
664 if (ABS(tmp_len - at_length) < error)
667 if (tmp_len < at_length) {
/external/iproute2/tc/
H A Dtc_bpf.c101 size_t tmp_len, op_len = sizeof("65535 255 255 4294967295,"); local
105 tmp_len = sizeof("4096,") + BPF_MAXINSNS * op_len;
106 tmp_string = malloc(tmp_len);
110 memset(tmp_string, 0, tmp_len);
119 if (!fgets(tmp_string, tmp_len, fp)) {
/external/libopus/src/
H A Dopus_encoder.c1373 int tmp_len; local
1378 tmp_len = opus_encode_native(st, pcm+i*(st->channels*st->Fs/50), st->Fs/50,
1381 if (tmp_len<0)
1386 ret = opus_repacketizer_cat(rp, tmp_data+i*bytes_per_frame, tmp_len);

Completed in 448 milliseconds