Home
last modified time | relevance | path

Searched refs:readp (Results 1 - 12 of 12) sorted by relevance

/third_party/elfutils/libdw/
H A Ddwarf_getpubnames.c51 unsigned char *readp = startp; in get_offsets() local
52 unsigned char *endp = readp + dbg->sectiondata[IDX_debug_pubnames]->d_size; in get_offsets()
54 while (readp + 14 < endp) in get_offsets()
74 Dwarf_Off len = read_4ubyte_unaligned_inc (dbg, readp); in get_offsets()
77 len = read_8ubyte_unaligned_inc (dbg, readp); in get_offsets()
88 mem[cnt].set_start = readp + 2 + 2 * len_bytes - startp; in get_offsets()
98 uint16_t version = read_2ubyte_unaligned (dbg, readp); in get_offsets()
107 readp + 2, len_bytes, in get_offsets()
124 readp += len; in get_offsets()
189 unsigned char *readp in dwarf_getpubnames() local
[all...]
H A Ddwarf_getaranges.c85 const unsigned char *readp = dbg->sectiondata[IDX_debug_aranges]->d_buf; in dwarf_getaranges() local
87 = readp + dbg->sectiondata[IDX_debug_aranges]->d_size; in dwarf_getaranges()
89 while (readp < readendp) in dwarf_getaranges()
91 const unsigned char *hdrstart = readp; in dwarf_getaranges()
110 if (unlikely (readp + 4 > readendp)) in dwarf_getaranges()
113 Dwarf_Word length = read_4ubyte_unaligned_inc (dbg, readp); in dwarf_getaranges()
117 if (unlikely (readp + 8 > readendp)) in dwarf_getaranges()
120 length = read_8ubyte_unaligned_inc (dbg, readp); in dwarf_getaranges()
127 if (unlikely (readp + 2 > readendp)) in dwarf_getaranges()
130 unsigned int version = read_2ubyte_unaligned_inc (dbg, readp); in dwarf_getaranges()
[all...]
H A DlibdwP.h682 __libdw_dieabbrev (Dwarf_Die *die, const unsigned char **readp) in __libdw_dieabbrev() argument
685 if (die->abbrev == NULL || readp != NULL) in __libdw_dieabbrev()
694 if (readp != NULL) in __libdw_dieabbrev()
695 *readp = addr; in __libdw_dieabbrev()
971 const unsigned char **readp,
1089 const unsigned char *readp; in str_offsets_base_off() local
1091 start = readp = (const unsigned char *) data->d_buf; in str_offsets_base_off()
1097 unit_length = read_4ubyte_unaligned_inc (dbg, readp); in str_offsets_base_off()
1100 if (unlikely (readendp - readp < 8)) in str_offsets_base_off()
1102 unit_length = read_8ubyte_unaligned_inc (dbg, readp); in str_offsets_base_off()
1174 const unsigned char *readp = data->d_buf; __libdw_cu_ranges_base() local
1252 const unsigned char *readp = data->d_buf; __libdw_cu_locs_base() local
[all...]
H A Ddwarf_child.c46 const unsigned char *readp = NULL; in __libdw_find_attr() local
49 Dwarf_Abbrev *abbrevp = __libdw_dieabbrev (die, &readp); in __libdw_find_attr()
76 get_uleb128 (attr_form, readp, endp); in __libdw_find_attr()
98 return (unsigned char *) readp; in __libdw_find_attr()
104 size_t len = __libdw_form_val_len (die->cu, attr_form, readp); in __libdw_find_attr()
107 readp = NULL; in __libdw_find_attr()
112 readp += len; in __libdw_find_attr()
129 return (unsigned char *) readp; in __libdw_find_attr()
H A Ddwarf_getmacros.c145 const unsigned char *readp, in get_table_for_offset()
149 const unsigned char *startp = readp; in get_table_for_offset()
152 if (readp + 3 > endp) in get_table_for_offset()
159 uint16_t version = read_2ubyte_unaligned_inc (dbg, readp); in get_table_for_offset()
166 uint8_t flags = *readp++; in get_table_for_offset()
172 line_offset = read_addr_unaligned_inc (is_64bit ? 8 : 4, dbg, readp); in get_table_for_offset()
173 if (readp > endp) in get_table_for_offset()
218 unsigned count = *readp++; in get_table_for_offset()
221 unsigned opcode = *readp++; in get_table_for_offset()
224 if (readp > in get_table_for_offset()
144 get_table_for_offset(Dwarf *dbg, Dwarf_Word macoff, const unsigned char *readp, const unsigned char *const endp, Dwarf_Die *cudie) get_table_for_offset() argument
333 const unsigned char *readp = startp + offset; read_macros() local
[all...]
H A Ddwarf_getlocation.c829 const unsigned char *readp = locs->d_buf + offset; in getlocations_addr() local
837 &readp, readendp, in getlocations_addr()
855 if (readendp - readp < 2) in getlocations_addr()
861 block.length = read_2ubyte_unaligned_inc (dbg, readp); in getlocations_addr()
865 if (readendp - readp < 1) in getlocations_addr()
867 get_uleb128 (block.length, readp, readendp); in getlocations_addr()
869 block.data = (unsigned char *) readp; in getlocations_addr()
870 if (readendp - readp < (ptrdiff_t) block.length) in getlocations_addr()
872 readp += block.length; in getlocations_addr()
885 return readp in getlocations_addr()
[all...]
H A Ddwarf_formudata.c122 unsigned char *readp = d->d_buf + offset; in __libdw_formptr() local
124 if (unlikely (readp >= endp)) in __libdw_formptr()
135 return readp; in __libdw_formptr()
H A Ddwarf_ranges.c502 const unsigned char *readp; in dwarf_ranges() local
536 readp = d->d_buf + offset; in dwarf_ranges()
544 &readp, readendp, in dwarf_ranges()
560 return readp - (unsigned char *) d->d_buf; in dwarf_ranges()
/third_party/elfutils/src/
H A Dreadelf.c5135 unsigned char **readp, unsigned char *endp, in skip_listptr_hole()
5147 || p->offset >= (Dwarf_Off) (endp - *readp + offset)) in skip_listptr_hole()
5149 *readp = endp; in skip_listptr_hole()
5157 *readp += p->offset - offset; in skip_listptr_hole()
5353 const unsigned char *readp = start; in print_debug_addr_section() local
5357 while (readp < readendp) in print_debug_addr_section()
5366 Dwarf_Off off = (Dwarf_Off) (readp in print_debug_addr_section()
5440 unit_length = (uint64_t) (next_unitp - readp); in print_debug_addr_section()
5456 unit_length = read_4ubyte_unaligned_inc (dbg, readp); in print_debug_addr_section()
5459 if (unlikely (readp > readend in print_debug_addr_section()
5132 skip_listptr_hole(struct listptr_table *table, size_t *idxp, uint_fast8_t *address_sizep, uint_fast8_t *offset_sizep, Dwarf_Addr *base, struct Dwarf_CU **cu, ptrdiff_t offset, unsigned char **readp, unsigned char *endp, unsigned int *attr) skip_listptr_hole() argument
5645 const unsigned char *readp = data->d_buf; print_debug_aranges_section() local
5825 const unsigned char *readp = data->d_buf; print_debug_rnglists_section() local
6205 unsigned char *readp = data->d_buf; print_debug_ranges_section() local
6331 read_encoded(unsigned int encoding, const unsigned char *readp, const unsigned char *const endp, uint64_t *res, Dwarf *dbg) read_encoded() argument
6394 print_cfa_program(const unsigned char *readp, const unsigned char *const endp, Dwarf_Word vma_base, unsigned int code_align, int data_align, unsigned int version, unsigned int ptr_size, unsigned int encoding, Dwfl_Module *dwflmod, Ebl *ebl, GElf_Ehdr *ehdr, Dwarf *dbg) print_cfa_program() argument
6824 const unsigned char *readp = data->d_buf; print_debug_frame_section() local
7791 const unsigned char *readp = block.data; attr_callback() local
8314 print_form_data(Dwarf *dbg, int form, const unsigned char *readp, const unsigned char *readendp, unsigned int offset_len, Dwarf_Off str_offsets_base) print_form_data() argument
9327 const unsigned char *readp = data->d_buf; print_debug_loclists_section() local
9805 unsigned char *readp = data->d_buf; print_debug_loc_section() local
10109 const unsigned char *readp = (const unsigned char *) data->d_buf; print_debug_macinfo_section() local
10254 const unsigned char *readp = (const unsigned char *) data->d_buf; print_debug_macro_section() local
10678 const unsigned char *readp = start; print_debug_str_offsets_section() local
10860 const unsigned char *readp = data->d_buf; print_debug_frame_hdr_section() local
10962 const unsigned char *readp = data->d_buf; print_debug_exception_table() local
11144 const unsigned char *readp = data->d_buf; print_gdb_index_section() local
[all...]
/third_party/node/deps/openssl/openssl/crypto/bio/
H A Dbss_mem.c59 * In that case the readp just stores the original state
64 struct buf_mem_st *readp; /* read pointer */ member
102 *bb->readp = *bb->buf; in BIO_new_mem_buf()
119 if ((bb->readp = OPENSSL_zalloc(sizeof(*bb->readp))) == NULL) { in mem_init()
124 *bb->readp = *bb->buf; in mem_init()
152 OPENSSL_free(bb->readp); in mem_free()
182 if (bbm->readp->data != bbm->buf->data) { in mem_buf_sync()
183 memmove(bbm->buf->data, bbm->readp->data, bbm->readp in mem_buf_sync()
[all...]
/third_party/openssl/crypto/bio/
H A Dbss_mem.c59 * In that case the readp just stores the original state
64 struct buf_mem_st *readp; /* read pointer */ member
102 *bb->readp = *bb->buf; in BIO_new_mem_buf()
119 if ((bb->readp = OPENSSL_zalloc(sizeof(*bb->readp))) == NULL) { in mem_init()
124 *bb->readp = *bb->buf; in mem_init()
152 OPENSSL_free(bb->readp); in mem_free()
182 if (bbm->readp->data != bbm->buf->data) { in mem_buf_sync()
183 memmove(bbm->buf->data, bbm->readp->data, bbm->readp in mem_buf_sync()
[all...]
/third_party/ltp/testcases/kernel/fs/doio/
H A Ddoio.c1286 struct read_req *readp = &ioreq->r_data.read; in format_rw() local
1300 fd, (unsigned long)buffer, readp->r_nbytes); in format_rw()
1304 fd, readp->r_file, readp->r_oflags); in format_rw()
1307 readp->r_offset); in format_rw()
1332 fd, readap->r_file, readp->r_oflags); in format_rw()

Completed in 21 milliseconds