/third_party/elfutils/libdw/ |
H A D | libdw_form.c | 45 const unsigned char *startp = valp; in __libdw_form_val_compute_len() local 72 if (unlikely ((size_t) (endp - startp) < 1)) in __libdw_form_val_compute_len() 78 if (unlikely ((size_t) (endp - startp) < 2)) in __libdw_form_val_compute_len() 84 if (unlikely ((size_t) (endp - startp) < 4)) in __libdw_form_val_compute_len() 92 result = u128 + (valp - startp); in __libdw_form_val_compute_len() 98 (size_t) (endp - startp)); in __libdw_form_val_compute_len() 101 result = (size_t) (endstrp - startp) + 1; in __libdw_form_val_compute_len() 115 result = valp - startp; in __libdw_form_val_compute_len() 121 uleb128 encoding that FORM (which is valp - startp). */ in __libdw_form_val_compute_len() 127 result += valp - startp; in __libdw_form_val_compute_len() [all...] |
H A D | dwarf_getpubnames.c | 50 unsigned char *const startp = dbg->sectiondata[IDX_debug_pubnames]->d_buf; in get_offsets() local 51 unsigned char *readp = startp; in get_offsets() 88 mem[cnt].set_start = readp + 2 + 2 * len_bytes - startp; in get_offsets() 185 unsigned char *startp in dwarf_getpubnames() local 188 = startp + dbg->sectiondata[IDX_debug_pubnames]->d_size; in dwarf_getpubnames() 189 unsigned char *readp = startp + offset; in dwarf_getpubnames() 229 return readp - startp; in dwarf_getpubnames() 237 startp = (unsigned char *) dbg->sectiondata[IDX_debug_pubnames]->d_buf; in dwarf_getpubnames() 238 readp = startp + dbg->pubnames_sets[cnt].set_start; in dwarf_getpubnames()
|
H A D | dwarf_getmacros.c | 149 const unsigned char *startp = readp; in get_table_for_offset() local 259 .header_len = readp - startp, in get_table_for_offset() 273 const unsigned char *startp, in cache_op_table() 284 ? get_table_for_offset (dbg, macoff, startp, endp, cudie) in cache_op_table() 320 const unsigned char *const startp = d->d_buf + macoff; in read_macros() local 324 startp, endp, cudie); in read_macros() 332 assert (offset < endp - startp); in read_macros() 333 const unsigned char *readp = startp + offset; in read_macros() 374 .startp = (void *) startp in read_macros() 272 cache_op_table(Dwarf *dbg, int sec_index, Dwarf_Off macoff, const unsigned char *startp, const unsigned char *const endp, Dwarf_Die *cudie) cache_op_table() argument [all...] |
H A D | dwarf_siblingof.c | 79 size_t size = sibattr.cu->endp - sibattr.cu->startp; in dwarf_siblingof() 80 size_t die_off = this_die.addr - this_die.cu->startp; in dwarf_siblingof() 88 addr = sibattr.cu->startp + offset; in dwarf_siblingof()
|
H A D | dwarf_formref_die.c | 122 datap = cu->startp; in dwarf_formref_die() 123 size = cu->endp - cu->startp; in dwarf_formref_die()
|
H A D | dwarf_getlocation.c | 822 Dwarf_Addr *basep, Dwarf_Addr *startp, Dwarf_Addr *endp, in getlocations_addr() 875 *startp = begin; in getlocations_addr() 879 if (address != (Dwarf_Word) -1 && (address < *startp || address >= *endp)) in getlocations_addr() 967 Dwarf_Addr *startp, Dwarf_Addr *endp, Dwarf_Op **expr, in dwarf_getlocations() 990 *startp = 0; in dwarf_getlocations() 1011 *startp = 0; in dwarf_getlocations() 1031 return getlocations_addr (attr, offset, basep, startp, endp, in dwarf_getlocations() 821 getlocations_addr(Dwarf_Attribute *attr, ptrdiff_t offset, Dwarf_Addr *basep, Dwarf_Addr *startp, Dwarf_Addr *endp, Dwarf_Addr address, const Elf_Data *locs, Dwarf_Op **expr, size_t *exprlen) getlocations_addr() argument 966 dwarf_getlocations(Dwarf_Attribute *attr, ptrdiff_t offset, Dwarf_Addr *basep, Dwarf_Addr *startp, Dwarf_Addr *endp, Dwarf_Op **expr, size_t *exprlen) dwarf_getlocations() argument
|
H A D | dwarf_cuoffset.c | 43 : (Dwarf_Off) (die->addr - die->cu->startp)); in dwarf_cuoffset()
|
H A D | dwarf_dieoffset.c | 43 : (Dwarf_Off) (die->addr - die->cu->startp + die->cu->start)); in dwarf_dieoffset()
|
H A D | dwarf_getlocation_implicit_pointer.c | 38 static Dwarf_CU empty_cu = { .startp = &empty_exprloc,
|
H A D | dwarf_begin_elf.c | 310 result->fake_loc_cu->startp in valid_p() 338 result->fake_loclists_cu->startp in valid_p() 371 result->fake_addr_cu->startp in valid_p()
|
H A D | dwarf_ranges.c | 465 Dwarf_Addr *startp, Dwarf_Addr *endp) in dwarf_ranges() 473 && INTUSE(dwarf_lowpc) (die, startp) == 0) in dwarf_ranges() 558 *startp = begin; in dwarf_ranges() 464 dwarf_ranges(Dwarf_Die *die, ptrdiff_t offset, Dwarf_Addr *basep, Dwarf_Addr *startp, Dwarf_Addr *endp) dwarf_ranges() argument
|
H A D | libdw.h | 567 Dwarf_Addr *startp, Dwarf_Addr *endp); 780 Dwarf_Addr *startp, Dwarf_Addr *endp,
|
H A D | libdw_findcu.c | 170 newp->startp = data->d_buf + newp->start; in __libdw_intern_next_unit()
|
/third_party/elfutils/libasm/ |
H A D | disasm_str.c | 62 disasm_str (DisasmCtx_t *ctx, const uint8_t **startp, const uint8_t *end, in disasm_str() argument 68 int res = INTUSE(disasm_cb) (ctx, startp, end, addr, fmt, buffer_cb, &buffer, in disasm_str()
|
H A D | disasm_cb.c | 157 disasm_cb (DisasmCtx_t *ctx, const uint8_t **startp, const uint8_t *end, in disasm_cb() argument 178 return ctx->ebl->disasm (ctx->ebl, startp, end, addr, fmt, outcb, in disasm_cb()
|
H A D | libasm.h | 189 extern int disasm_str (DisasmCtx_t *ctx, const uint8_t **startp, 195 extern int disasm_cb (DisasmCtx_t *ctx, const uint8_t **startp,
|
H A D | libasmP.h | 296 extern int __disasm_cb_internal (DisasmCtx_t *ctx, const uint8_t **startp,
|
/third_party/elfutils/libdwfl/ |
H A D | dwfl_report_elf.c | 47 GElf_Addr *address_syncp, GElf_Addr *startp, in __libdwfl_elf_address_range() 228 if (startp) in __libdwfl_elf_address_range() 229 *startp = start; in __libdwfl_elf_address_range() 45 __libdwfl_elf_address_range(Elf *elf, GElf_Addr base, bool add_p_vaddr, bool sanity, GElf_Addr *vaddrp, GElf_Addr *address_syncp, GElf_Addr *startp, GElf_Addr *endp, GElf_Addr *biasp, GElf_Half *e_typep) __libdwfl_elf_address_range() argument
|
H A D | libdwflP.h | 564 GElf_Addr *startp, GElf_Addr *endp,
|
/third_party/elfutils/src/ |
H A D | ar.c | 845 write_member (struct armem *memb, off_t *startp, off_t *lenp, Elf *elf, in write_member() argument 859 memcpy (&arhdr, elf_rawfile (elf, NULL) + *startp, sizeof (arhdr)); in write_member() 868 if (*startp != -1 && !changed_header && *startp + *lenp == memb->old_off) in write_member() 877 if (*startp != -1 && copy_content (elf, newfd, *startp, *lenp)) in write_member() 880 *startp = memb->old_off; in write_member() 891 *startp += sizeof (struct ar_hdr); in write_member()
|
/third_party/elfutils/libcpu/ |
H A D | bpf_disasm.c | 91 bpf_disasm (Ebl *ebl, const uint8_t **startp, const uint8_t *end, in bpf_disasm() argument 99 const uint8_t *start = *startp; in bpf_disasm() 128 *startp = start; in bpf_disasm() 496 *startp = start; in bpf_disasm()
|
H A D | i386_disasm.c | 315 const uint8_t **startp, const uint8_t *end, GElf_Addr addr, in i386_disasm() 344 const uint8_t *data = *startp; in i386_disasm() 1133 if (*startp == data) in i386_disasm() 1143 *startp = data; in i386_disasm() 314 i386_disasm(Ebl *ebl __attribute__((unused)), const uint8_t **startp, const uint8_t *end, GElf_Addr addr, const char *fmt, DisasmOutputCB_t outcb, DisasmGetSymCB_t symcb, void *outcbarg, void *symcbarg) i386_disasm() argument
|
H A D | riscv_disasm.c | 113 const uint8_t **startp, const uint8_t *end, GElf_Addr addr, in riscv_disasm() 129 const uint8_t *data = *startp; in riscv_disasm() 1490 *startp = data + length; in riscv_disasm() 112 riscv_disasm(Ebl *ebl, const uint8_t **startp, const uint8_t *end, GElf_Addr addr, const char *fmt, DisasmOutputCB_t outcb, DisasmGetSymCB_t symcb __attribute__((unused)), void *outcbarg, void *symcbarg __attribute__((unused))) riscv_disasm() argument
|
/third_party/elfutils/libelf/ |
H A D | elf_begin.c | 822 char *startp = runp; in read_long_names() local 827 memset (startp, '\0', newp + len - startp); in read_long_names()
|
/third_party/mksh/ |
H A D | edit.c | 564 x_locate_word(const char *buf, int buflen, int pos, int *startp, in x_locate_word() argument 571 *startp = pos; in x_locate_word() 612 *startp = start; in x_locate_word() 618 x_cf_glob(int *flagsp, const char *buf, int buflen, int pos, int *startp, in x_cf_glob() argument 625 len = x_locate_word(buf, buflen, pos, startp, &is_command); in x_cf_glob() 643 strndupx(toglob, buf + *startp, len + /* the '*' */ 1, ATEMP); in x_cf_glob() 697 *endp = *startp + len; in x_cf_glob()
|