Home
last modified time | relevance | path

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

12

/external/elfutils/libdw/
Dlibdw_form.c45 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()
123 result += valp - startp; in __libdw_form_val_compute_len()
132 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.c149 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() argument
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 + offset, in read_macros()
436 return readp - startp; in read_macros()
Ddwarf_siblingof.c79 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()
Ddwarf_formref_die.c122 datap = cu->startp; in dwarf_formref_die()
123 size = cu->endp - cu->startp; in dwarf_formref_die()
Ddwarf_getlocation.c802 Dwarf_Addr *basep, Dwarf_Addr *startp, Dwarf_Addr *endp, in getlocations_addr() argument
855 *startp = begin; in getlocations_addr()
859 if (address != (Dwarf_Word) -1 && (address < *startp || address >= *endp)) in getlocations_addr()
947 Dwarf_Addr *startp, Dwarf_Addr *endp, Dwarf_Op **expr, in dwarf_getlocations() argument
970 *startp = 0; in dwarf_getlocations()
991 *startp = 0; in dwarf_getlocations()
1011 return getlocations_addr (attr, offset, basep, startp, endp, in dwarf_getlocations()
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_begin_elf.c242 result->fake_loc_cu->startp in valid_p()
269 result->fake_loclists_cu->startp in valid_p()
301 result->fake_addr_cu->startp in valid_p()
Ddwarf_getlocation_implicit_pointer.c38 static Dwarf_CU empty_cu = { .startp = &empty_exprloc,
Ddwarf_ranges.c465 Dwarf_Addr *startp, Dwarf_Addr *endp) in dwarf_ranges() argument
473 && INTUSE(dwarf_lowpc) (die, startp) == 0) in dwarf_ranges()
558 *startp = begin; in dwarf_ranges()
/external/openssh/openbsd-compat/
Dbasename.c31 const char *endp, *startp; in basename() local
53 startp = endp; in basename()
54 while (startp > path && *(startp - 1) != '/') in basename()
55 startp--; in basename()
57 len = endp - startp + 1; in basename()
62 memcpy(bname, startp, len); in basename()
/external/python/cpython2/Python/
Dcodecs.c714 Py_UNICODE *startp; in PyCodec_XMLCharRefReplaceErrors() local
724 startp = PyUnicode_AS_UNICODE(object); in PyCodec_XMLCharRefReplaceErrors()
728 if (0xD800 <= startp[end - 1] && startp[end - 1] <= 0xDBFF) in PyCodec_XMLCharRefReplaceErrors()
732 e = startp + end; in PyCodec_XMLCharRefReplaceErrors()
733 for (p = startp+start, ressize = 0; p < e;) { in PyCodec_XMLCharRefReplaceErrors()
765 for (p = startp+start, outp = PyUnicode_AS_UNICODE(res); p < e;) { in PyCodec_XMLCharRefReplaceErrors()
771 (p < startp+end) && in PyCodec_XMLCharRefReplaceErrors()
839 Py_UNICODE *startp; in PyCodec_BackslashReplaceErrors() local
850 startp = PyUnicode_AS_UNICODE(object); in PyCodec_BackslashReplaceErrors()
851 for (p = startp+start, ressize = 0; p < startp+end; ++p) { in PyCodec_BackslashReplaceErrors()
[all …]
/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()
Ddisasm_cb.c157 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()
Dlibasm.h189 extern int disasm_str (DisasmCtx_t *ctx, const uint8_t **startp,
195 extern int disasm_cb (DisasmCtx_t *ctx, const uint8_t **startp,
DlibasmP.h293 extern int __disasm_cb_internal (DisasmCtx_t *ctx, const uint8_t **startp,
/external/elfutils/libdwfl/
Ddwfl_report_elf.c49 GElf_Addr *address_syncp, GElf_Addr *startp, in __libdwfl_elf_address_range() argument
230 if (startp) in __libdwfl_elf_address_range()
231 *startp = start; in __libdwfl_elf_address_range()
/external/elfutils/src/
Dar.c847 write_member (struct armem *memb, off_t *startp, off_t *lenp, Elf *elf, in write_member() argument
861 memcpy (&arhdr, elf_rawfile (elf, NULL) + *startp, sizeof (arhdr)); in write_member()
870 if (*startp != -1 && !changed_header && *startp + *lenp == memb->old_off) in write_member()
879 if (*startp != -1 && copy_content (elf, newfd, *startp, *lenp)) in write_member()
882 *startp = memb->old_off; in write_member()
893 *startp += sizeof (struct ar_hdr); in write_member()
/external/elfutils/libcpu/
Dbpf_disasm.c91 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()
Di386_disasm.c316 const uint8_t **startp, const uint8_t *end, GElf_Addr addr, in i386_disasm() argument
345 const uint8_t *data = *startp; in i386_disasm()
1134 if (*startp == data) in i386_disasm()
1144 *startp = data; in i386_disasm()
/external/elfutils/libebl/
Debl-hooks.h146 int EBLHOOK(disasm) (Ebl *ebl, const uint8_t **startp, const uint8_t *end,
/external/openssh/
Dscp.c656 find_brace(const char *pattern, int *startp, int *endp) in find_brace() argument
661 *startp = *endp = -1; in find_brace()
684 if (*startp == -1) in find_brace()
685 *startp = i; in find_brace()
691 if (*startp < 0) { in find_brace()
701 if (*endp < 0 && (*startp >= 0 || in_bracket)) in find_brace()
/external/python/cpython2/Objects/
Dunicodeobject.c3623 const Py_UNICODE *startp = p; in unicode_encode_ucs1() local
3660 Py_ssize_t unicodepos = p-startp; in unicode_encode_ucs1()
3688 … raise_encode_exception(&exc, encoding, startp, size, collstart-startp, collend-startp, reason); in unicode_encode_ucs1()
3741 encoding, reason, startp, size, &exc, in unicode_encode_ucs1()
3742 … collstart-startp, collend-startp, &newpos); in unicode_encode_ucs1()
3771 raise_encode_exception(&exc, encoding, startp, size, in unicode_encode_ucs1()
3778 p = startp + newpos; in unicode_encode_ucs1()
5061 const Py_UNICODE *startp = p; in PyUnicode_TranslateCharmap() local
5092 if (charmaptranslate_output(startp, p, size, mapping, &res, &str, &x)) { in PyUnicode_TranslateCharmap()
5134 … raise_translate_exception(&exc, startp, size, collstart-startp, collend-startp, reason); in PyUnicode_TranslateCharmap()
[all …]
/external/elfutils/include/elfutils/
Dlibdw.h567 Dwarf_Addr *startp, Dwarf_Addr *endp);
771 Dwarf_Addr *startp, Dwarf_Addr *endp,

12