Home
last modified time | relevance | path

Searched refs:linep (Results 1 – 13 of 13) sorted by relevance

/external/elfutils/libdw/
Ddwarf_getsrclines.c150 const unsigned char *linep, const unsigned char *lineendp, in read_srclines() argument
197 if (unlikely (linep + 4 > lineendp)) in read_srclines()
204 Dwarf_Word unit_length = read_4ubyte_unaligned_inc (dbg, linep); in read_srclines()
208 if (unlikely (linep + 8 > lineendp)) in read_srclines()
210 unit_length = read_8ubyte_unaligned_inc (dbg, linep); in read_srclines()
215 if (unlikely (unit_length > (size_t) (lineendp - linep))) in read_srclines()
217 lineendp = linep + unit_length; in read_srclines()
220 if ((size_t) (lineendp - linep) < 2) in read_srclines()
222 uint_fast16_t version = read_2ubyte_unaligned_inc (dbg, linep); in read_srclines()
232 if ((size_t) (lineendp - linep) < 2) in read_srclines()
[all …]
Ddwarf_next_lines.c63 const unsigned char *linep = lines->d_buf + off; in dwarf_next_lines() local
66 if ((size_t) (lineendp - linep) < 4) in dwarf_next_lines()
74 Dwarf_Word unit_length = read_4ubyte_unaligned_inc (dbg, linep); in dwarf_next_lines()
77 if ((size_t) (lineendp - linep) < 8) in dwarf_next_lines()
79 unit_length = read_8ubyte_unaligned_inc (dbg, linep); in dwarf_next_lines()
83 if (unit_length > (size_t) (lineendp - linep)) in dwarf_next_lines()
87 lineendp = linep + unit_length; in dwarf_next_lines()
89 if ((size_t) (lineendp - linep) < 2) in dwarf_next_lines()
91 uint_fast16_t version = read_2ubyte_unaligned_inc (dbg, linep); in dwarf_next_lines()
Ddwarf_decl_line.c41 dwarf_decl_line (Dwarf_Die *func, int *linep) in dwarf_decl_line() argument
43 return __libdw_attr_intval (func, linep, DW_AT_decl_line); in dwarf_decl_line()
50 __libdw_attr_intval (Dwarf_Die *die, int *linep, int attval) in __libdw_attr_intval() argument
66 *linep = line; in __libdw_attr_intval()
Ddwarf_lineno.c38 dwarf_lineno (Dwarf_Line *line, int *linep) in dwarf_lineno() argument
43 *linep = line->line; in dwarf_lineno()
Dlibdw.h655 extern int dwarf_lineno (Dwarf_Line *line, int *linep)
900 extern int dwarf_decl_line (Dwarf_Die *decl, int *linep)
DChangeLog1349 * dwarf_getsrclines.c (read_srclines): Bounds check linep and call
/external/elfutils/libdwfl/
Ddwfl_lineinfo.c37 dwfl_lineinfo (Dwfl_Line *line, Dwarf_Addr *addr, int *linep, int *colp, in dwfl_lineinfo() argument
48 if (linep != NULL) in dwfl_lineinfo()
49 *linep = info->line; in dwfl_lineinfo()
Dlibdwfl.h596 int *linep, int *colp,
/external/ppp/pppd/
Dutils.c523 static char *linep; /* current pointer within line */ variable
531 linep = line;
534 linep = line + strlen(line);
542 if (linep != line) { in end_pr_log()
543 *linep = 0; in end_pr_log()
574 if (linep != line) { in pr_log()
576 if (linep + l < line + sizeof(line)) { in pr_log()
578 memcpy(linep, buf, l); in pr_log()
579 linep += l; in pr_log()
586 *linep = 0; in pr_log()
[all …]
/external/elfutils/src/
Dreadelf.c8342 const unsigned char *linep = (const unsigned char *) data->d_buf; in print_debug_line_section() local
8345 while (linep in print_debug_line_section()
8348 size_t start_offset = linep - (const unsigned char *) data->d_buf; in print_debug_line_section()
8352 if (unlikely (linep + 4 > lineendp)) in print_debug_line_section()
8354 Dwarf_Word unit_length = read_4ubyte_unaligned_inc (dbg, linep); in print_debug_line_section()
8358 if (unlikely (linep + 8 > lineendp)) in print_debug_line_section()
8365 unit_length = read_8ubyte_unaligned_inc (dbg, linep); in print_debug_line_section()
8370 if (unlikely (unit_length > (size_t) (lineendp - linep))) in print_debug_line_section()
8372 lineendp = linep + unit_length; in print_debug_line_section()
8375 if ((size_t) (lineendp - linep) < 2) in print_debug_line_section()
[all …]
/external/iproute2/lib/
Dutils.c1096 ssize_t getcmdline(char **linep, size_t *lenp, FILE *in) in getcmdline() argument
1101 cc = getline(linep, lenp, in); in getcmdline()
1106 cp = strchr(*linep, '#'); in getcmdline()
1110 while ((cp = strstr(*linep, "\\\n")) != NULL) { in getcmdline()
1128 *lenp = strlen(*linep) + strlen(line1) + 1; in getcmdline()
1129 *linep = realloc(*linep, *lenp); in getcmdline()
1130 if (!*linep) { in getcmdline()
1136 strcat(*linep, line1); in getcmdline()
/external/elfutils/include/elfutils/
Dlibdw.h655 extern int dwarf_lineno (Dwarf_Line *line, int *linep)
900 extern int dwarf_decl_line (Dwarf_Die *decl, int *linep)
Dlibdwfl.h596 int *linep, int *colp,