/external/wpa_supplicant_8/src/crypto/ |
aes-eax.c | 33 size_t buf_len; local 39 buf_len = nonce_len; 41 buf_len = data_len; 42 if (hdr_len > buf_len) 43 buf_len = hdr_len; 44 buf_len += 16; 46 buf = os_malloc(buf_len); 97 size_t buf_len; local 103 buf_len = nonce_len; 105 buf_len = data_len [all...] |
sha256-prf.c | 24 * @buf_len: Number of bytes of key to generate 30 const u8 *data, size_t data_len, u8 *buf, size_t buf_len) 32 sha256_prf_bits(key, key_len, label, data, data_len, buf, buf_len * 8); 44 * @buf_len: Number of bits of key to generate 47 * given key. If the requested buf_len is not divisible by eight, the least 61 size_t buf_len = (buf_len_bits + 7) / 8; local 74 while (pos < buf_len) { 75 plen = buf_len - pos;
|
/external/chromium/base/ |
stringprintf_unittest.cc | 125 const int buf_len = string_util_buf_len + 1; local 126 char src[buf_len + 1]; // Need extra one for NULL-terminator. 127 for (int i = 0; i < buf_len; ++i) 129 src[buf_len] = 0;
|
/external/chromium_org/base/strings/ |
stringprintf_unittest.cc | 138 const int buf_len = string_util_buf_len + 1; local 139 char src[buf_len + 1]; // Need extra one for NULL-terminator. 140 for (int i = 0; i < buf_len; ++i) 142 src[buf_len] = 0;
|
/external/chromium_org/third_party/openssl/openssl/crypto/ec/ |
ec_print.c | 65 size_t buf_len=0; local 68 buf_len = EC_POINT_point2oct(group, point, form, 70 if (buf_len == 0) 73 if ((buf = OPENSSL_malloc(buf_len)) == NULL) 76 if (!EC_POINT_point2oct(group, point, form, buf, buf_len, ctx)) 82 ret = BN_bin2bn(buf, buf_len, ret); 94 size_t buf_len=0; local 98 if ((buf_len = BN_num_bytes(bn)) == 0) return NULL; 99 buf = OPENSSL_malloc(buf_len); 120 if (!EC_POINT_oct2point(group, ret, buf, buf_len, ctx) 141 size_t buf_len=0,i; local [all...] |
eck_prn.c | 150 size_t buf_len=0, i; local 250 buf_len = (size_t)BN_num_bytes(p); 251 if (buf_len < (i = (size_t)BN_num_bytes(a))) 252 buf_len = i; 253 if (buf_len < (i = (size_t)BN_num_bytes(b))) 254 buf_len = i; 255 if (buf_len < (i = (size_t)BN_num_bytes(gen))) 256 buf_len = i; 257 if (buf_len < (i = (size_t)BN_num_bytes(order))) 258 buf_len = i [all...] |
/external/chromium_org/third_party/opus/src/silk/fixed/ |
find_pitch_lags_FIX.c | 43 opus_int buf_len, i, scale; local 55 buf_len = psEnc->sCmn.la_pitch + psEnc->sCmn.frame_length + psEnc->sCmn.ltp_mem_length; 58 silk_assert( buf_len >= psEnc->sCmn.pitch_LPC_win_length ); 69 x_buf_ptr = x_buf + buf_len - psEnc->sCmn.pitch_LPC_win_length; 109 silk_LPC_analysis_filter( res, x_buf, A_Q12, buf_len, psEnc->sCmn.pitchEstimationLPCOrder );
|
/external/chromium_org/third_party/opus/src/silk/float/ |
find_pitch_lags_FLP.c | 43 opus_int buf_len; local 55 buf_len = psEnc->sCmn.la_pitch + psEnc->sCmn.frame_length + psEnc->sCmn.ltp_mem_length; 58 silk_assert( buf_len >= psEnc->sCmn.pitch_LPC_win_length ); 69 x_buf_ptr = x_buf + buf_len - psEnc->sCmn.pitch_LPC_win_length; 104 silk_LPC_analysis_filter_FLP( res, A, x_buf, buf_len, psEnc->sCmn.pitchEstimationLPCOrder );
|
/external/openssl/crypto/ec/ |
ec_print.c | 65 size_t buf_len=0; local 68 buf_len = EC_POINT_point2oct(group, point, form, 70 if (buf_len == 0) 73 if ((buf = OPENSSL_malloc(buf_len)) == NULL) 76 if (!EC_POINT_point2oct(group, point, form, buf, buf_len, ctx)) 82 ret = BN_bin2bn(buf, buf_len, ret); 94 size_t buf_len=0; local 98 if ((buf_len = BN_num_bytes(bn)) == 0) return NULL; 99 buf = OPENSSL_malloc(buf_len); 120 if (!EC_POINT_oct2point(group, ret, buf, buf_len, ctx) 141 size_t buf_len=0,i; local [all...] |
eck_prn.c | 150 size_t buf_len=0, i; local 250 buf_len = (size_t)BN_num_bytes(p); 251 if (buf_len < (i = (size_t)BN_num_bytes(a))) 252 buf_len = i; 253 if (buf_len < (i = (size_t)BN_num_bytes(b))) 254 buf_len = i; 255 if (buf_len < (i = (size_t)BN_num_bytes(gen))) 256 buf_len = i; 257 if (buf_len < (i = (size_t)BN_num_bytes(order))) 258 buf_len = i [all...] |
/external/srtp/crypto/test/ |
stat_driver.c | 36 unsigned int buf_len = 2500; local 75 err_check(cipher_encrypt(c, buffer, &buf_len)); 90 err_check(cipher_encrypt(c, buffer, &buf_len));
|
/external/dhcpcd/ |
bpf.c | 57 int buf_len = 0; local 94 if (ioctl(fd, BIOCGBLEN, &buf_len) == -1) 96 if (iface->buffer_size != (size_t)buf_len) { 98 iface->buffer_size = buf_len; 99 iface->buffer = xmalloc(buf_len);
|
/external/chromium/net/base/ |
upload_data_stream.h | 32 size_t buf_len() const { return buf_len_; } function in class:net::UploadDataStream
|
/external/chromium_org/net/disk_cache/simple/ |
simple_synchronous_entry.h | 70 int buf_len; member in struct:disk_cache::SimpleSynchronousEntry::EntryOperationData
|
/external/chromium_org/third_party/openssl/openssl/crypto/evp/ |
bio_enc.c | 78 int buf_len; member in struct:enc_struct 116 ctx->buf_len=0; 154 if (ctx->buf_len > 0) 156 i=ctx->buf_len-ctx->buf_off; 163 if (ctx->buf_len == ctx->buf_off) 165 ctx->buf_len=0; 189 &(ctx->buf_len)); 202 (unsigned char *)ctx->buf,&ctx->buf_len, 211 if(ctx->buf_len == 0) continue; 214 if (ctx->buf_len <= outl [all...] |
bio_b64.c | 82 int buf_len; member in struct:b64_struct 119 ctx->buf_len=0; 160 ctx->buf_len=0; 167 if (ctx->buf_len > 0) 169 OPENSSL_assert(ctx->buf_len >= ctx->buf_off); 170 i=ctx->buf_len-ctx->buf_off; 178 if (ctx->buf_len == ctx->buf_off) 180 ctx->buf_len=0; 330 ctx->buf_len=0; 333 ctx->buf_len=z [all...] |
/external/openssl/crypto/evp/ |
bio_enc.c | 78 int buf_len; member in struct:enc_struct 116 ctx->buf_len=0; 154 if (ctx->buf_len > 0) 156 i=ctx->buf_len-ctx->buf_off; 163 if (ctx->buf_len == ctx->buf_off) 165 ctx->buf_len=0; 189 &(ctx->buf_len)); 202 (unsigned char *)ctx->buf,&ctx->buf_len, 211 if(ctx->buf_len == 0) continue; 214 if (ctx->buf_len <= outl [all...] |
bio_b64.c | 82 int buf_len; member in struct:b64_struct 119 ctx->buf_len=0; 160 ctx->buf_len=0; 167 if (ctx->buf_len > 0) 169 OPENSSL_assert(ctx->buf_len >= ctx->buf_off); 170 i=ctx->buf_len-ctx->buf_off; 178 if (ctx->buf_len == ctx->buf_off) 180 ctx->buf_len=0; 330 ctx->buf_len=0; 333 ctx->buf_len=z [all...] |
/external/wpa_supplicant_8/src/ap/ |
peerkey_auth.c | 87 size_t buf_len; local 117 buf_len = kde.rsn_ie_len + 2 + RSN_SELECTOR_LEN + ETH_ALEN; 118 buf = os_malloc(buf_len); 152 size_t buf_len; local 161 buf_len = 2 + RSN_SELECTOR_LEN + ETH_ALEN + 165 pos = buf = os_malloc(buf_len); 205 size_t buf_len; local 214 buf_len = kde->rsn_ie_len + 219 pos = buf = os_malloc(buf_len);
|
/packages/apps/Gallery2/jni/filters/ |
edge.c | 42 int buf_len = 2 * row_stride; local 43 char buf[buf_len]; 47 memset(buf, 0, buf_len * sizeof(char)); 48 for (j = 3; j < buf_len; j+=4) { 107 buf_row_ring %= buf_len; 115 buf_row_ring %= buf_len;
|
/external/bluetooth/bluedroid/stack/avct/ |
avct_lcb_act.c | 57 UINT16 buf_len; local 117 buf_len = GKI_get_buf_size(p_lcb->p_rx_msg) - sizeof(BT_HDR); 124 if ((p_lcb->p_rx_msg->offset + p_buf->len) > buf_len)
|
/external/chromium_org/ipc/ |
unix_domain_socket_util_unittest.cc | 164 size_t buf_len = sizeof(buffer); local 166 HANDLE_EINTR(send(connection.client_fd(), buffer, buf_len, 0)); 167 ASSERT_EQ(buf_len, sent_bytes); 170 HANDLE_EINTR(recv(connection.server_fd(), recv_buf, buf_len, 0)); 171 ASSERT_EQ(buf_len, received_bytes); 172 ASSERT_EQ(0, memcmp(recv_buf, buffer, buf_len));
|
/external/chromium_org/third_party/openssl/openssl/crypto/pkcs7/ |
bio_ber.c | 104 int buf_len; member in struct:bio_ber_struct 174 n=ctx->buf_len-j; 180 ctx->buf_len-j; 185 i=BER_BUF_SIZE-ctx->buf_len; 188 i=BIO_read(bio->next_bio,&(ctx->buf[ctx->buf_len]),i); 195 ctx->buf_len+=i; 198 max=ctx->buf_len; 204 if ((ctx->buf_len < BER_BUF_SIZE) && 282 n=ctx->buf_len-ctx->buf_off; 303 (unsigned char *)ctx->buf,&ctx->buf_len, [all...] |
/external/openssl/crypto/pkcs7/ |
bio_ber.c | 104 int buf_len; member in struct:bio_ber_struct 174 n=ctx->buf_len-j; 180 ctx->buf_len-j; 185 i=BER_BUF_SIZE-ctx->buf_len; 188 i=BIO_read(bio->next_bio,&(ctx->buf[ctx->buf_len]),i); 195 ctx->buf_len+=i; 198 max=ctx->buf_len; 204 if ((ctx->buf_len < BER_BUF_SIZE) && 282 n=ctx->buf_len-ctx->buf_off; 303 (unsigned char *)ctx->buf,&ctx->buf_len, [all...] |
/external/bluetooth/bluedroid/stack/avrc/ |
avrc_api.c | 359 UINT16 buf_len; local 435 buf_len = GKI_get_buf_size (p_rcb->p_rmsg) - sizeof(BT_HDR); 440 if ((p_rcb->p_rmsg->offset + p_pkt->len) > buf_len) 443 p_pkt->len = buf_len - p_rcb->p_rmsg->offset; [all...] |