/external/elfutils/libdw/ |
D | dwarf_getpubnames.c | 51 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() 75 Dwarf_Off len = read_4ubyte_unaligned_inc (dbg, readp); in get_offsets() 78 len = read_8ubyte_unaligned_inc (dbg, readp); in get_offsets() 89 mem[cnt].set_start = readp + 2 + 2 * len_bytes - startp; in get_offsets() 99 uint16_t version = read_2ubyte_unaligned (dbg, readp); in get_offsets() 108 readp + 2, len_bytes, in get_offsets() 125 readp += len; in get_offsets() 190 unsigned char *readp = startp + offset; in dwarf_getpubnames() local [all …]
|
D | dwarf_getaranges.c | 85 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 …]
|
D | dwarf_getmacros.c | 146 const unsigned char *readp, in get_table_for_offset() argument 150 const unsigned char *startp = readp; in get_table_for_offset() 153 if (readp + 3 > endp) in get_table_for_offset() 160 uint16_t version = read_2ubyte_unaligned_inc (dbg, readp); in get_table_for_offset() 167 uint8_t flags = *readp++; in get_table_for_offset() 173 line_offset = read_addr_unaligned_inc (is_64bit ? 8 : 4, dbg, readp); in get_table_for_offset() 174 if (readp > endp) in get_table_for_offset() 214 unsigned count = *readp++; in get_table_for_offset() 217 unsigned opcode = *readp++; in get_table_for_offset() 220 if (readp >= endp) in get_table_for_offset() [all …]
|
D | dwarf_child.c | 47 const unsigned char *readp; in __libdw_find_attr() local 50 Dwarf_Abbrev *abbrevp = __libdw_dieabbrev (die, &readp); in __libdw_find_attr() 89 return (unsigned char *) readp; in __libdw_find_attr() 95 size_t len = __libdw_form_val_len (die->cu, attr_form, readp); in __libdw_find_attr() 98 readp = NULL; in __libdw_find_attr() 103 readp += len; in __libdw_find_attr() 113 return (unsigned char *) readp; in __libdw_find_attr()
|
D | dwarf_ranges.c | 112 unsigned char *readp; in dwarf_ranges() local 124 if ((readp = __libdw_formptr (attr, IDX_debug_ranges, in dwarf_ranges() 153 readp = d->d_buf + offset; in dwarf_ranges() 158 if (readendp - readp < die->cu->address_size * 2) in dwarf_ranges() 165 &readp, die->cu->address_size, in dwarf_ranges() 191 return readp - (unsigned char *) d->d_buf; in dwarf_ranges()
|
D | dwarf_getlocation.c | 679 unsigned char *readp = locs->d_buf + offset; in getlocations_addr() local 683 if (readendp - readp < attr->cu->address_size * 2) in getlocations_addr() 694 &readp, attr->cu->address_size, in getlocations_addr() 707 if (readendp - readp < 2) in getlocations_addr() 712 block.length = read_2ubyte_unaligned_inc (attr->cu->dbg, readp); in getlocations_addr() 713 block.data = readp; in getlocations_addr() 714 if (readendp - readp < (ptrdiff_t) block.length) in getlocations_addr() 716 readp += block.length; in getlocations_addr() 728 return readp - (unsigned char *) locs->d_buf; in getlocations_addr()
|
D | dwarf_formudata.c | 80 unsigned char *readp = d->d_buf + offset; in __libdw_formptr() local 82 if (unlikely (readp >= endp)) in __libdw_formptr() 93 return readp; in __libdw_formptr()
|
D | libdwP.h | 461 __libdw_dieabbrev (Dwarf_Die *die, const unsigned char **readp) in __libdw_dieabbrev() argument 464 if (die->abbrev == NULL || readp != NULL) in __libdw_dieabbrev() 470 if (readp != NULL) in __libdw_dieabbrev() 471 *readp = addr; in __libdw_dieabbrev()
|
/external/elfutils/src/ |
D | readelf.c | 4584 unsigned char **readp, unsigned char *endp) in skip_listptr_hole() argument 4595 || p->offset >= (Dwarf_Off) (endp - *readp + offset)) in skip_listptr_hole() 4597 *readp = endp; in skip_listptr_hole() 4605 *readp += p->offset - offset; in skip_listptr_hole() 4789 const unsigned char *readp = data->d_buf; in print_debug_aranges_section() local 4790 const unsigned char *readendp = readp + data->d_size; in print_debug_aranges_section() 4792 while (readp < readendp) in print_debug_aranges_section() 4794 const unsigned char *hdrstart = readp; in print_debug_aranges_section() 4798 if (readp + 4 > readendp) in print_debug_aranges_section() 4806 Dwarf_Word length = read_4ubyte_unaligned_inc (dbg, readp); in print_debug_aranges_section() [all …]
|
D | ChangeLog | 532 (print_cfa_program): Likewise and add more readp bounds checks.
|
/external/squashfs-tools/squashfs-tools/ |
D | caches-queues-lists.c | 55 queue->readp = queue->writep = 0; in queue_init() 71 while((nextp = (queue->writep + 1) % queue->size) == queue->readp) in queue_put() 88 while(queue->readp == queue->writep) in queue_get() 91 data = queue->data[queue->readp]; in queue_get() 92 queue->readp = (queue->readp + 1) % queue->size; in queue_get() 107 empty = queue->readp == queue->writep; in queue_empty() 120 queue->readp = queue->writep; in queue_flush() 132 queue->readp <= queue->writep ? queue->writep - queue->readp : in dump_queue() 133 queue->size - queue->readp + queue->writep, in dump_queue() 134 queue->readp == queue->writep ? " (EMPTY)" : in dump_queue() [all …]
|
D | unsquashfs.c | 190 queue->readp = queue->writep = 0; in queue_init() 205 while((nextp = (queue->writep + 1) % queue->size) == queue->readp) in queue_put() 220 while(queue->readp == queue->writep) in queue_get() 223 data = queue->data[queue->readp]; in queue_get() 224 queue->readp = (queue->readp + 1) % queue->size; in queue_get() 237 queue->readp <= queue->writep ? queue->writep - queue->readp : in dump_queue() 238 queue->size - queue->readp + queue->writep, in dump_queue() 239 queue->readp == queue->writep ? " (EMPTY)" : in dump_queue() 240 ((queue->writep + 1) % queue->size) == queue->readp ? in dump_queue()
|
D | unsquashfs.h | 159 int readp; member
|
D | caches-queues-lists.h | 133 int readp; member
|
/external/libevent/ |
D | http.c | 4204 char *readbuf = NULL, *readp = NULL, *token = NULL, *query = NULL; in evhttp_uri_parse_with_flags() local 4222 readp = readbuf; in evhttp_uri_parse_with_flags() 4234 token = strchr(readp, ':'); in evhttp_uri_parse_with_flags() 4235 if (token && scheme_ok(readp,token)) { in evhttp_uri_parse_with_flags() 4237 uri->scheme = mm_strdup(readp); in evhttp_uri_parse_with_flags() 4242 readp = token+1; /* eat : */ in evhttp_uri_parse_with_flags() 4246 if (readp[0]=='/' && readp[1] == '/') { in evhttp_uri_parse_with_flags() 4248 readp += 2; in evhttp_uri_parse_with_flags() 4249 authority = readp; in evhttp_uri_parse_with_flags() 4250 path = end_of_authority(readp); in evhttp_uri_parse_with_flags() [all …]
|
/external/tremolo/Tremolo/ |
D | vorbisfile.c | 554 int readp, in _fetch_and_process_packet() argument 632 if(!readp){ in _fetch_and_process_packet()
|
/external/libvorbis/lib/ |
D | vorbisfile.c | 674 int readp, in _fetch_and_process_packet() argument 771 if(!readp)return(0); in _fetch_and_process_packet()
|