/external/wpa_supplicant_8/src/crypto/ |
sha384.h | 19 const u8 *data, size_t data_len, u8 *buf, size_t buf_len);
|
sha256.h | 19 const u8 *data, size_t data_len, u8 *buf, size_t buf_len);
|
/external/wpa_supplicant_8/src/eap_common/ |
eap_peap_common.c | 17 u8 *buf, size_t buf_len) 60 extra[0] = buf_len & 0xff; 69 while (pos < buf_len) { 71 plen = buf_len - pos;
|
/external/wpa_supplicant_8/src/eap_peer/ |
mschapv2.h | 26 const u8 *buf, size_t buf_len);
|
eap_fast_pac.c | 186 size_t buf_len; member in struct:eap_fast_read_ctx 195 if (fgets(rc->buf, rc->buf_len, rc->f) == NULL) 206 if (len >= rc->buf_len) 207 len = rc->buf_len - 1; 213 rc->buf[rc->buf_len - 1] = '\0'; 259 rc->buf_len = 2048; 260 rc->buf = os_malloc(rc->buf_len); 478 static void eap_fast_write(char **buf, char **pos, size_t *buf_len, 494 if (*pos - *buf + need > *buf_len) { 495 char *nbuf = os_realloc(*buf, *buf_len + need) 625 size_t buf_len; local [all...] |
/hardware/broadcom/wlan/bcmdhd/wpa_supplicant_8_lib/ |
driver_cmd_nl80211.c | 70 size_t buf_len ) 106 ret = os_snprintf(buf, buf_len, 119 priv_cmd.used_len = buf_len; 120 priv_cmd.total_len = buf_len; 177 int i, buf_len; local 192 buf_len = strlen(_cmd) + 3 + wpabuf_len(ap_wps_p2p_ie); 193 buf = os_zalloc(buf_len); 204 pbuf += snprintf(pbuf, buf_len - wpabuf_len(ap_wps_p2p_ie), 208 ret = wpa_driver_nl80211_driver_cmd(priv, buf, buf, buf_len);
|
/frameworks/compile/libbcc/include/bcinfo/Wrap/ |
BCHeaderField.h | 48 bool Write(uint8_t* buf, size_t buf_len) { 54 if (buf_len < fields_len + pad_len || 68 bool Read(const uint8_t* buf, size_t buf_len) { 69 if (buf_len < kTagLenSize) return false; 75 if (buf_len < kTagLenSize + len_) return false;
|
/external/google-breakpad/src/common/solaris/ |
guid_creator.cc | 72 bool GUIDToString(const GUID *guid, char *buf, int buf_len) { 74 assert(buf_len > kGUIDStringLength); 75 int num = snprintf(buf, buf_len, kGUIDFormatString,
|
/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));
|
rand_gen.c | 56 #define BUF_LEN (MAX_PRINT_STRING_LEN/2) 65 prog_name, BUF_LEN); 105 if (num_octets < 0 || num_octets > BUF_LEN) 122 uint8_t buffer[BUF_LEN];
|
/external/boringssl/src/crypto/ec/ |
ec_asn1.c | 394 size_t buf_len = 0, tmp_len; local 410 buf_len = BN_num_bytes(&key->group->order); 411 buffer = OPENSSL_malloc(buf_len); 417 if (!BN_bn2bin_padded(buffer, buf_len, key->priv_key)) { 422 if (!M_ASN1_OCTET_STRING_set(priv_key->privateKey, buffer, buf_len)) { 447 if (tmp_len > buf_len) { 454 buf_len = tmp_len; 458 buf_len, NULL)) { 465 if (!M_ASN1_BIT_STRING_set(priv_key->publicKey, buffer, buf_len)) { 548 size_t buf_len = 0 local [all...] |
/external/boringssl/src/crypto/bytestring/ |
bytestring_test.cc | 271 size_t buf_len; local 286 !CBB_finish(&cbb, &buf, &buf_len)) { 292 return buf_len == sizeof(kExpected) && memcmp(buf, kExpected, buf_len) == 0; 344 size_t buf_len; local 364 !CBB_finish(&cbb, &buf, &buf_len)) { 370 return buf_len == sizeof(kExpected) && memcmp(buf, kExpected, buf_len) == 0; 405 size_t buf_len; local 406 if (!CBB_finish(cbb.get(), &buf, &buf_len)) { 425 size_t buf_len; local 467 size_t buf_len; local [all...] |
/external/google-breakpad/src/third_party/libdisasm/ |
ia32_operand.c | 38 static size_t decode_operand_value( unsigned char *buf, size_t buf_len, 68 size = ia32_modrm_decode( buf, buf_len, op, insn, 72 size = ia32_modrm_decode( buf, buf_len, op, insn, 76 size = ia32_modrm_decode( buf, buf_len, op, insn, 80 size = ia32_modrm_decode( buf, buf_len, op, insn, 84 size = ia32_modrm_decode( buf, buf_len, op, insn, 116 x86_imm_sized( buf, buf_len, 119 x86_imm_sized( buf, buf_len, 123 x86_imm_sized( buf, buf_len, 134 x86_imm_signsized(buf, buf_len, &op->data.byte, [all...] |
ia32_invariant.c | 11 extern size_t ia32_table_lookup( unsigned char *buf, size_t buf_len, 140 static int ia32_decode_invariant( unsigned char *buf, size_t buf_len, 279 size_t ia32_disasm_invariant( unsigned char * buf, size_t buf_len, 287 size = ia32_table_lookup( buf, buf_len, 0, &raw_insn, &prefixes ); 288 if ( size == INVALID_INSN || size > buf_len ) { 302 size += ia32_decode_invariant( buf + size, buf_len - size, raw_insn, 310 size_t ia32_disasm_size( unsigned char *buf, size_t buf_len ) { 312 return( ia32_disasm_invariant( buf, buf_len, &inv ) );
|
ia32_insn.c | 261 static size_t ia32_decode_insn( unsigned char *buf, size_t buf_len, 295 modrm = GET_BYTE( buf, buf_len ); 306 op_size = ia32_decode_operand( buf, buf_len, insn, raw_insn->dest, 310 buf_len -= op_size; 313 op_size = ia32_decode_operand( buf, buf_len, insn, raw_insn->src, 316 buf_len -= op_size; 319 op_size = ia32_decode_operand( buf, buf_len, insn, raw_insn->aux, 368 * buf_len: length of buf 373 size_t ia32_table_lookup( unsigned char *buf, size_t buf_len, 383 op = GET_BYTE( buf, buf_len ); [all...] |
/external/kernel-headers/original/uapi/video/ |
uvesafb.h | 34 int buf_len; member in struct:uvesafb_task
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/video/ |
uvesafb.h | 34 int buf_len; member in struct:uvesafb_task
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/video/ |
uvesafb.h | 34 int buf_len; member in struct:uvesafb_task
|
/system/core/libprocessgroup/ |
processgroup.cpp | 69 size_t buf_len; member in struct:ctx 121 ctx->buf_len = 0; 131 memmove(ctx->buf, ctx->buf_ptr, ctx->buf_len); 134 ssize_t ret = read(ctx->fd, ctx->buf_ptr + ctx->buf_len, 135 sizeof(ctx->buf) - ctx->buf_len - 1); 142 ctx->buf_len += ret; 143 ctx->buf[ctx->buf_len] = 0; 146 assert(ctx->buf_len <= sizeof(ctx->buf)); 161 while ((eptr = (char *)memchr(ctx->buf_ptr, '\n', ctx->buf_len)) == NULL) { 182 ctx->buf_len -= (eptr - ctx->buf_ptr) + 1 [all...] |
/external/libunwind/src/ |
elfxx.c | 160 char* buf, size_t buf_len, unw_word_t* offp, Elf_W(Ehdr)* ehdr) { 221 (uint8_t*) buf, buf_len, true); 228 // sizeof(buf) >= buf_len + 1. 229 buf[buf_len] = '\0'; 313 char* buf, size_t buf_len, unw_word_t* offp) { 360 if (buf_len > max_size) { 361 buf_len = max_size; 364 strncpy (buf, str_name, buf_len); 366 // sizeof(buf) >= buf_len + 1. 367 buf[buf_len] = '\0' [all...] |
/external/selinux/policycoreutils/sestatus/ |
sestatus.c | 93 int buf_len, section = -1; local 106 buf_len = strlen(buf); 107 if (buf[buf_len - 1] == '\n') 108 buf[buf_len - 1] = 0; 113 buf_len--; 134 (char *)malloc((buf_len) * 136 memcpy(pc[*npc], bufp, buf_len); 144 (char *)malloc((buf_len) * 146 memcpy(fc[*nfc], bufp, buf_len);
|
/external/wpa_supplicant_8/src/ap/ |
peerkey_auth.c | 88 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);
|
/external/libopus/silk/fixed/ |
find_pitch_lags_FIX.c | 45 opus_int buf_len, i, scale; local 59 buf_len = psEnc->sCmn.la_pitch + psEnc->sCmn.frame_length + psEnc->sCmn.ltp_mem_length; 62 silk_assert( buf_len >= psEnc->sCmn.pitch_LPC_win_length ); 75 x_buf_ptr = x_buf + buf_len - psEnc->sCmn.pitch_LPC_win_length; 115 silk_LPC_analysis_filter( res, x_buf, A_Q12, buf_len, psEnc->sCmn.pitchEstimationLPCOrder );
|
/external/libopus/silk/float/ |
find_pitch_lags_FLP.c | 44 opus_int buf_len; local 56 buf_len = psEnc->sCmn.la_pitch + psEnc->sCmn.frame_length + psEnc->sCmn.ltp_mem_length; 59 silk_assert( buf_len >= psEnc->sCmn.pitch_LPC_win_length ); 70 x_buf_ptr = x_buf + buf_len - psEnc->sCmn.pitch_LPC_win_length; 105 silk_LPC_analysis_filter_FLP( res, A, x_buf, buf_len, psEnc->sCmn.pitchEstimationLPCOrder );
|
/external/wpa_supplicant_8/src/pae/ |
ieee802_1x_key.c | 40 int lab_len, ctx_len, ret_len, buf_len; local 46 buf_len = lab_len + ctx_len + 4; 54 buf = os_zalloc(buf_len); 60 WPA_PUT_BE16(&buf[buf_len - 2], ret_bits); 64 if (omac1_aes_128(kdk, buf, buf_len, ret)) {
|