Searched defs:buf_len (Results 1 - 25 of 174) sorted by relevance

1234567

/external/compiler-rt/test/sanitizer_common/TestCases/Linux/
H A Dopen_memstream.cc30 size_t buf_len; local
31 fprintf(stderr, " &buf %p, &buf_len %p\n", &buf, &buf_len);
32 FILE *fp = open_memstream(&buf, &buf_len);
36 check_mem_is_good(&buf_len, sizeof(buf_len));
37 check_mem_is_good(buf, buf_len);
46 fprintf(stderr, " %p addr %p, len %zu\n", &buf, buf, buf_len);
48 check_mem_is_good(&buf_len, sizeof(buf_len));
[all...]
/external/google-breakpad/src/common/solaris/
H A Dguid_creator.cc72 bool GUIDToString(const GUID *guid, char *buf, int buf_len) { argument
74 assert(buf_len > kGUIDStringLength);
75 int num = snprintf(buf, buf_len, kGUIDFormatString,
/external/google-breakpad/src/third_party/libdisasm/
H A Dx86_imm.c6 unsigned int x86_imm_signsized( unsigned char * buf, size_t buf_len, argument
13 if ( size > buf_len ) {
38 unsigned int x86_imm_sized( unsigned char * buf, size_t buf_len, void *dest, argument
45 if ( size > buf_len ) {
H A Dia32_operand.c38 static size_t decode_operand_value( unsigned char *buf, size_t buf_len, argument
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,
379 ia32_decode_operand( unsigned char *buf, size_t buf_len, x86_insn_t *insn, unsigned int raw_op, unsigned int raw_flags, unsigned int prefixes, unsigned char modrm ) argument
[all...]
/external/libunwind/src/ptrace/
H A D_UPT_get_proc_name.c31 char *buf, size_t buf_len, unw_word_t *offp, void *arg)
36 return _Uelf64_get_proc_name (as, ui->pid, ip, buf, buf_len, offp, arg);
38 return _Uelf32_get_proc_name (as, ui->pid, ip, buf, buf_len, offp, arg);
30 _UPT_get_proc_name(unw_addr_space_t as, unw_word_t ip, char *buf, size_t buf_len, unw_word_t *offp, void *arg) argument
/external/google-breakpad/src/common/linux/
H A Dguid_creator.cc92 bool GUIDToString(const GUID *guid, char *buf, int buf_len) { argument
94 assert(buf_len > kGUIDStringLength);
95 int num = snprintf(buf, buf_len, kGUIDFormatString,
/external/libopus/silk/float/
H A Dfind_pitch_lags_FLP.c44 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/libunwind/src/coredump/
H A D_UCD_get_proc_name.c34 char *buf, size_t buf_len, unw_word_t *offp)
52 ret = elf_w (get_proc_name_in_image) (as, &ui->edi.ei, segbase, mapoff, ip, buf, buf_len, offp);
59 char *buf, size_t buf_len, unw_word_t *offp, void *arg)
64 return _Uelf64_CD_get_proc_name (ui, as, ip, buf, buf_len, offp);
66 return _Uelf32_CD_get_proc_name (ui, as, ip, buf, buf_len, offp);
33 CD_get_proc_name(struct UCD_info *ui, unw_addr_space_t as, unw_word_t ip, char *buf, size_t buf_len, unw_word_t *offp) argument
58 _UCD_get_proc_name(unw_addr_space_t as, unw_word_t ip, char *buf, size_t buf_len, unw_word_t *offp, void *arg) argument
/external/srtp/crypto/test/
H A Dstat_driver.c36 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/vboot_reference/futility/
H A Dfile_type.c75 uint32_t buf_len; local
95 err = futil_map_file(ifd, MAP_RO, &buf, &buf_len);
101 *type = futil_file_type_buf(buf, buf_len);
103 err = futil_unmap_file(ifd, MAP_RO, buf, buf_len);
/external/wpa_supplicant_8/hostapd/src/crypto/
H A Dsha1-prf.c24 * @buf_len: Number of bytes of key to generate
31 const u8 *data, size_t data_len, u8 *buf, size_t buf_len)
48 while (pos < buf_len) {
49 plen = buf_len - pos;
30 sha1_prf(const u8 *key, size_t key_len, const char *label, const u8 *data, size_t data_len, u8 *buf, size_t buf_len) argument
H A Dsha1-tprf.c23 * @buf_len: Number of bytes of key to generate
30 const u8 *seed, size_t seed_len, u8 *buf, size_t buf_len)
51 output_len[0] = (buf_len >> 8) & 0xff;
52 output_len[1] = buf_len & 0xff;
54 while (pos < buf_len) {
56 plen = buf_len - pos;
29 sha1_t_prf(const u8 *key, size_t key_len, const char *label, const u8 *seed, size_t seed_len, u8 *buf, size_t buf_len) argument
H A Daes-eax.c33 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);
74 bin_clear_free(buf, buf_len);
97 size_t buf_len; local
103 buf_len
[all...]
H A Dsha256-prf.c24 * @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;
29 sha256_prf(const u8 *key, size_t key_len, const char *label, const u8 *data, size_t data_len, u8 *buf, size_t buf_len) argument
/external/wpa_supplicant_8/src/crypto/
H A Dsha1-prf.c24 * @buf_len: Number of bytes of key to generate
31 const u8 *data, size_t data_len, u8 *buf, size_t buf_len)
48 while (pos < buf_len) {
49 plen = buf_len - pos;
30 sha1_prf(const u8 *key, size_t key_len, const char *label, const u8 *data, size_t data_len, u8 *buf, size_t buf_len) argument
H A Dsha1-tprf.c23 * @buf_len: Number of bytes of key to generate
30 const u8 *seed, size_t seed_len, u8 *buf, size_t buf_len)
51 output_len[0] = (buf_len >> 8) & 0xff;
52 output_len[1] = buf_len & 0xff;
54 while (pos < buf_len) {
56 plen = buf_len - pos;
29 sha1_t_prf(const u8 *key, size_t key_len, const char *label, const u8 *seed, size_t seed_len, u8 *buf, size_t buf_len) argument
H A Daes-eax.c33 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);
74 bin_clear_free(buf, buf_len);
97 size_t buf_len; local
103 buf_len
[all...]
H A Dsha256-prf.c24 * @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;
29 sha256_prf(const u8 *key, size_t key_len, const char *label, const u8 *data, size_t data_len, u8 *buf, size_t buf_len) argument
/external/wpa_supplicant_8/wpa_supplicant/src/crypto/
H A Dsha1-prf.c24 * @buf_len: Number of bytes of key to generate
31 const u8 *data, size_t data_len, u8 *buf, size_t buf_len)
48 while (pos < buf_len) {
49 plen = buf_len - pos;
30 sha1_prf(const u8 *key, size_t key_len, const char *label, const u8 *data, size_t data_len, u8 *buf, size_t buf_len) argument
H A Dsha1-tprf.c23 * @buf_len: Number of bytes of key to generate
30 const u8 *seed, size_t seed_len, u8 *buf, size_t buf_len)
51 output_len[0] = (buf_len >> 8) & 0xff;
52 output_len[1] = buf_len & 0xff;
54 while (pos < buf_len) {
56 plen = buf_len - pos;
29 sha1_t_prf(const u8 *key, size_t key_len, const char *label, const u8 *seed, size_t seed_len, u8 *buf, size_t buf_len) argument
H A Daes-eax.c33 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);
74 bin_clear_free(buf, buf_len);
97 size_t buf_len; local
103 buf_len
[all...]
/external/libopus/silk/fixed/
H A Dfind_pitch_lags_FIX.c45 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/libunwind/src/mi/
H A DGget_proc_name.c31 unw_word_t addr, char *buf, size_t buf_len, void *arg)
36 for (i = 0; i < buf_len; ++i)
44 buf[buf_len - 1] = '\0'; /* ensure string is NUL terminated */
50 char *buf, size_t buf_len, unw_word_t *offp, void *arg)
69 ret = intern_string (as, a, di->u.pi.name_ptr, buf, buf_len, arg);
93 return (*a->get_proc_name) (as, ip, buf, buf_len, offp, arg);
99 unw_get_proc_name (unw_cursor_t *cursor, char *buf, size_t buf_len, argument
104 return get_proc_name (tdep_get_as (c), tdep_get_ip (c), buf, buf_len, offp,
111 size_t buf_len, unw_word_t *offp, void *as_arg)
113 return get_proc_name (as, ip, buf, buf_len, off
30 intern_string(unw_addr_space_t as, unw_accessors_t *a, unw_word_t addr, char *buf, size_t buf_len, void *arg) argument
49 get_proc_name(unw_addr_space_t as, unw_word_t ip, char *buf, size_t buf_len, unw_word_t *offp, void *arg) argument
110 unw_get_proc_name_by_ip(unw_addr_space_t as, unw_word_t ip, char *buf, size_t buf_len, unw_word_t *offp, void *as_arg) argument
[all...]
/external/wpa_supplicant_8/hostapd/src/eap_common/
H A Deap_peap_common.c17 u8 *buf, size_t buf_len)
60 extra[0] = buf_len & 0xff;
69 while (pos < buf_len) {
71 plen = buf_len - pos;
15 peap_prfplus(int version, const u8 *key, size_t key_len, const char *label, const u8 *seed, size_t seed_len, u8 *buf, size_t buf_len) argument
/external/wpa_supplicant_8/src/eap_common/
H A Deap_peap_common.c17 u8 *buf, size_t buf_len)
60 extra[0] = buf_len & 0xff;
69 while (pos < buf_len) {
71 plen = buf_len - pos;
15 peap_prfplus(int version, const u8 *key, size_t key_len, const char *label, const u8 *seed, size_t seed_len, u8 *buf, size_t buf_len) argument

Completed in 351 milliseconds

1234567