/external/google-breakpad/src/third_party/libdisasm/ |
ia32_invariant.h | 6 size_t ia32_disasm_invariant( unsigned char *buf, size_t buf_len, 9 size_t ia32_disasm_size( unsigned char *buf, size_t buf_len );
|
x86_imm.h | 13 unsigned int x86_imm_sized( unsigned char *buf, size_t buf_len, void *dest, 16 unsigned int x86_imm_signsized( unsigned char *buf, size_t buf_len, void *dest,
|
ia32_modrm.h | 7 size_t ia32_modrm_decode( unsigned char *buf, unsigned int buf_len,
|
ia32_operand.h | 7 size_t ia32_decode_operand( unsigned char *buf, size_t buf_len,
|
x86_disasm.c | 16 unsigned int x86_disasm( unsigned char *buf, unsigned int buf_len, 22 if ( ! buf || ! insn || ! buf_len ) { 36 if ( offset >= buf_len ) { 42 len = buf_len - offset; 77 unsigned int buf_len, size, count = 0, bytes = 0; local 79 /* buf_len is implied by the arguments */ 80 buf_len = len + offset; 83 size = x86_disasm( buf, buf_len, buf_rva, offset + bytes, 127 unsigned int x86_disasm_forward( unsigned char *buf, unsigned int buf_len, 137 while ( cont && bytes < buf_len ) { [all...] |
x86_imm.c | 6 unsigned int x86_imm_signsized( unsigned char * buf, size_t buf_len, 13 if ( size > buf_len ) { 38 unsigned int x86_imm_sized( unsigned char * buf, size_t buf_len, void *dest, 45 if ( size > buf_len ) {
|
ia32_modrm.c | 69 static unsigned int imm32_signsized( unsigned char *buf, size_t buf_len, 71 if ( size > buf_len ) { 102 static size_t sib_decode( unsigned char *buf, size_t buf_len, x86_ea_t *ea, 112 if ( buf_len < 1 ) { 122 imm32_signsized( &buf[1], buf_len, &ea->disp, sizeof(int32_t)); 143 static size_t modrm_decode16( unsigned char *buf, unsigned int buf_len, 187 --buf_len; 190 imm32_signsized( buf, buf_len, &ea->disp, sizeof(char) ); 195 imm32_signsized( buf, buf_len, &ea->disp, sizeof(short) ); 208 size_t ia32_modrm_decode( unsigned char *buf, unsigned int buf_len, [all...] |
/external/compiler-rt/test/sanitizer_common/TestCases/Linux/ |
open_memstream.cc | 30 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); 37 check_mem_is_good(&buf_len, sizeof(buf_len)); 38 check_mem_is_good(buf, buf_len); 50 fprintf(stderr, " %p addr %p, len %zu\n", &buf, buf, buf_len); 52 check_mem_is_good(&buf_len, sizeof(buf_len)); [all...] |
/external/libbrillo/brillo/ |
userdb_utils.cc | 20 ssize_t buf_len = sysconf(_SC_GETPW_R_SIZE_MAX); local 21 if (buf_len < 0) 22 buf_len = 16384; // 16K should be enough?... 25 std::vector<char> buf(buf_len); 26 if (getpwnam_r(user.c_str(), &pwd_buf, buf.data(), buf_len, &pwd) || !pwd) { 39 ssize_t buf_len = sysconf(_SC_GETGR_R_SIZE_MAX); local 40 if (buf_len < 0) 41 buf_len = 16384; // 16K should be enough?... 44 std::vector<char> buf(buf_len); 45 if (getgrnam_r(group.c_str(), &grp_buf, buf.data(), buf_len, &grp) || !grp) [all...] |
/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); 74 bin_clear_free(buf, buf_len); 97 size_t buf_len; local 103 buf_len = nonce_len [all...] |
sha1-tprf.c | 23 * @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;
|
sha1.h | 19 const u8 *data, size_t data_len, u8 *buf, size_t buf_len); 21 const u8 *seed, size_t seed_len, u8 *buf, size_t buf_len);
|
sha256-prf.c | 24 * @buf_len: Number of bytes of key to generate 31 const u8 *data, size_t data_len, u8 *buf, size_t buf_len) 34 buf_len * 8); 46 * @buf_len: Number of bits of key to generate 50 * given key. If the requested buf_len is not divisible by eight, the least 64 size_t buf_len = (buf_len_bits + 7) / 8; local 77 while (pos < buf_len) { 78 plen = buf_len - pos;
|
sha384-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 sha384_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;
|
sha1-prf.c | 24 * @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;
|
/bionic/libc/bionic/ |
strerror_r.cpp | 52 int strerror_r(int error_number, char* buf, size_t buf_len) { 58 length = strlcpy(buf, error_name, buf_len); 60 length = __libc_format_buffer(buf, buf_len, "Unknown error %d", error_number); 62 if (length >= buf_len) { 70 extern "C" char* __gnu_strerror_r(int error_number, char* buf, size_t buf_len) { 72 strerror_r(error_number, buf, buf_len); 76 extern "C" __LIBC_HIDDEN__ const char* __strsignal(int signal_number, char* buf, size_t buf_len) { 87 size_t length = snprintf(buf, buf_len, "%s signal %d", prefix, signal_number); 88 if (length >= buf_len) {
|
/external/wpa_supplicant_8/src/eap_common/ |
eap_peap_common.h | 14 u8 *buf, size_t buf_len);
|
/external/boringssl/src/decrepit/bio/ |
base64_bio.c | 77 int buf_len; member in struct:b64_struct 136 ctx->buf_len = 0; 143 if (ctx->buf_len > 0) { 144 assert(ctx->buf_len >= ctx->buf_off); 145 i = ctx->buf_len - ctx->buf_off; 155 if (ctx->buf_len == ctx->buf_off) { 156 ctx->buf_len = 0; 280 ctx->buf_len = 0; 282 ctx->buf_len = z; 287 &ctx->buf_len, (uint8_t *)ctx->tmp, i) [all...] |
/external/libunwind/src/mi/ |
Gget_proc_name.c | 31 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, 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, offp, as_arg) [all...] |
/external/selinux/libselinux/src/ |
label_support.c | 124 * @buf_len: length of buffer to copy. 130 char *from_addr, size_t buf_len, 139 if (digest->hashbuf_size + buf_len < digest->hashbuf_size) { 143 digest->hashbuf_size += buf_len; 153 if (fread(digest->hashbuf + (digest->hashbuf_size - buf_len), 154 1, buf_len, fp) != buf_len) 160 (digest->hashbuf_size - buf_len), 161 from_addr, buf_len);
|
/external/libunwind/src/coredump/ |
_UCD_get_proc_name.c | 34 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);
|
/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/google-breakpad/src/third_party/libdisasm/swig/ |
libdisasm.i | 92 (unsigned char *buf, size_t buf_len) 429 x86_insn_t * disasm( unsigned char *buf, size_t buf_len, 432 x86_disasm( buf, buf_len, buf_rva, offset, insn ); 436 int disasm_range( unsigned char *buf, size_t buf_len, 442 if ( len > buf_len ) { 443 len = buf_len; 450 int disasm_forward( unsigned char *buf, size_t buf_len, 455 return x86_disasm_forward( buf, buf_len, buf_rva, offset, 460 size_t disasm_invariant( unsigned char *buf, size_t buf_len, 462 return x86_invariant_disasm( buf, buf_len, inv ) [all...] |
/external/libunwind/src/ptrace/ |
_UPT_get_proc_name.c | 31 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);
|
/external/vboot_reference/futility/ |
file_type.c | 75 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);
|