Home
last modified time | relevance | path

Searched refs:startp (Results 1 – 25 of 30) sorted by relevance

12

/external/elfutils/libdw/
Dlibdw_form.c45 const unsigned char *startp = valp; in __libdw_form_val_compute_len() local
70 if (unlikely ((size_t) (endp - startp) < 1)) in __libdw_form_val_compute_len()
76 if (unlikely ((size_t) (endp - startp) < 2)) in __libdw_form_val_compute_len()
82 if (unlikely ((size_t) (endp - startp) < 4)) in __libdw_form_val_compute_len()
90 result = u128 + (valp - startp); in __libdw_form_val_compute_len()
96 (size_t) (endp - startp)); in __libdw_form_val_compute_len()
99 result = (size_t) (endstrp - startp) + 1; in __libdw_form_val_compute_len()
107 result = valp - startp; in __libdw_form_val_compute_len()
115 result += valp - startp; in __libdw_form_val_compute_len()
124 if (unlikely (result > (size_t) (endp - startp))) in __libdw_form_val_compute_len()
Ddwarf_getpubnames.c50 unsigned char *const startp = dbg->sectiondata[IDX_debug_pubnames]->d_buf; in get_offsets() local
51 unsigned char *readp = startp; in get_offsets()
89 mem[cnt].set_start = readp + 2 + 2 * len_bytes - startp; in get_offsets()
186 unsigned char *startp in dwarf_getpubnames() local
189 = startp + dbg->sectiondata[IDX_debug_pubnames]->d_size; in dwarf_getpubnames()
190 unsigned char *readp = startp + offset; in dwarf_getpubnames()
230 return readp - startp; in dwarf_getpubnames()
238 startp = (unsigned char *) dbg->sectiondata[IDX_debug_pubnames]->d_buf; in dwarf_getpubnames()
239 readp = startp + dbg->pubnames_sets[cnt].set_start; in dwarf_getpubnames()
Ddwarf_getmacros.c150 const unsigned char *startp = readp; in get_table_for_offset() local
255 .header_len = readp - startp, in get_table_for_offset()
269 const unsigned char *startp, in cache_op_table() argument
280 ? get_table_for_offset (dbg, macoff, startp, endp, cudie) in cache_op_table()
316 const unsigned char *const startp = d->d_buf + macoff; in read_macros() local
320 startp, endp, cudie); in read_macros()
328 assert (offset < endp - startp); in read_macros()
329 const unsigned char *readp = startp + offset; in read_macros()
362 .startp = (void *) startp + offset, in read_macros()
413 return readp - startp; in read_macros()
Ddwarf_siblingof.c81 size_t size = sibattr.cu->endp - sibattr.cu->startp; in dwarf_siblingof()
82 size_t die_off = this_die.addr - this_die.cu->startp; in dwarf_siblingof()
90 addr = sibattr.cu->startp + offset; in dwarf_siblingof()
Ddwarf_ranges.c86 Dwarf_Addr *startp, Dwarf_Addr *endp) in dwarf_ranges() argument
94 && INTUSE(dwarf_lowpc) (die, startp) == 0) in dwarf_ranges()
189 *startp = *basep + begin; in dwarf_ranges()
Ddwarf_getlocation.c675 Dwarf_Addr *basep, Dwarf_Addr *startp, Dwarf_Addr *endp, in getlocations_addr() argument
718 *startp = *basep + begin; in getlocations_addr()
722 if (address != (Dwarf_Word) -1 && (address < *startp || address >= *endp)) in getlocations_addr()
804 Dwarf_Addr *startp, Dwarf_Addr *endp, Dwarf_Op **expr, in dwarf_getlocations() argument
825 *startp = 0; in dwarf_getlocations()
843 *startp = 0; in dwarf_getlocations()
863 return getlocations_addr (attr, offset, basep, startp, endp, in dwarf_getlocations()
Ddwarf_formref_die.c104 datap = cu->startp; in dwarf_formref_die()
105 size = cu->endp - cu->startp; in dwarf_formref_die()
Ddwarf_cuoffset.c43 : (Dwarf_Off) (die->addr - die->cu->startp)); in dwarf_cuoffset()
Ddwarf_dieoffset.c43 : (Dwarf_Off) (die->addr - die->cu->startp + die->cu->start)); in dwarf_dieoffset()
Ddwarf_getlocation_implicit_pointer.c38 static Dwarf_CU empty_cu = { .startp = &empty_exprloc,
Dlibdw_findcu.c120 newp->startp = data->d_buf + newp->start; in __libdw_intern_next_unit()
Dlibdw.h531 Dwarf_Addr *startp, Dwarf_Addr *endp);
702 Dwarf_Addr *startp, Dwarf_Addr *endp,
Ddwarf_begin_elf.c204 result->fake_loc_cu->startp in valid_p()
/external/bison/lib/
Dspawni.c332 char *startp; in __spawni() local
340 startp = name + 1; in __spawni()
342 startp = (char *) memcpy (name - (p - path), path, p - path); in __spawni()
345 execve (startp, argv, envp); in __spawni()
348 script_execute (startp, argv, envp); in __spawni()
/external/elfutils/libasm/
Ddisasm_str.c62 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()
Dlibasm.h188 extern int disasm_str (DisasmCtx_t *ctx, const uint8_t **startp,
194 extern int disasm_cb (DisasmCtx_t *ctx, const uint8_t **startp,
Ddisasm_cb.c155 disasm_cb (DisasmCtx_t *ctx, const uint8_t **startp, const uint8_t *end, in disasm_cb() argument
176 return ctx->ebl->disasm (startp, end, addr, fmt, outcb, getsym, outcbarg, in disasm_cb()
DlibasmP.h293 extern int __disasm_cb_internal (DisasmCtx_t *ctx, const uint8_t **startp,
/external/elfutils/libdwfl/
Ddwfl_report_elf.c45 GElf_Addr *address_syncp, GElf_Addr *startp, in __libdwfl_elf_address_range() argument
226 if (startp) in __libdwfl_elf_address_range()
227 *startp = start; in __libdwfl_elf_address_range()
/external/elfutils/src/
Dar.c852 write_member (struct armem *memb, off_t *startp, off_t *lenp, Elf *elf, in write_member() argument
863 memcpy (&arhdr, elf_rawfile (elf, NULL) + *startp, sizeof (arhdr)); in write_member()
872 if (*startp != -1 && !changed_header && *startp + *lenp == memb->old_off) in write_member()
881 if (*startp != -1 && copy_content (elf, newfd, *startp, *lenp)) in write_member()
884 *startp = memb->old_off; in write_member()
895 *startp += sizeof (struct ar_hdr); in write_member()
/external/elfutils/libcpu/
Di386_disasm.c316 i386_disasm (const uint8_t **startp, const uint8_t *end, GElf_Addr addr, in i386_disasm() argument
345 const uint8_t *data = *startp; in i386_disasm()
1127 assert (*startp == data); in i386_disasm()
1137 *startp = data; in i386_disasm()
/external/elfutils/libebl/
Debl-hooks.h153 int EBLHOOK(disasm) (const uint8_t **startp, const uint8_t *end,
/external/elfutils/include/elfutils/
Dlibdw.h531 Dwarf_Addr *startp, Dwarf_Addr *endp);
702 Dwarf_Addr *startp, Dwarf_Addr *endp,
/external/elfutils/libelf/
Delf_begin.c754 char *startp = runp; in read_long_names() local
759 memset (startp, '\0', newp + len - startp); in read_long_names()
/external/mksh/src/
Dedit.c534 x_locate_word(const char *buf, int buflen, int pos, int *startp, in x_locate_word() argument
541 *startp = pos; in x_locate_word()
582 *startp = start; in x_locate_word()
588 x_cf_glob(int *flagsp, const char *buf, int buflen, int pos, int *startp, in x_cf_glob() argument
595 len = x_locate_word(buf, buflen, pos, startp, &is_command); in x_cf_glob()
613 strndupx(toglob, buf + *startp, len + /* the '*' */ 1, ATEMP); in x_cf_glob()
666 *endp = *startp + len; in x_cf_glob()

12