/external/elfutils/libdw/ |
D | dwarf_getsrclines.c | 151 const unsigned char *linep, const unsigned char *lineendp, in read_srclines() argument 207 if (unlikely (linep + 4 > lineendp)) in read_srclines() 214 Dwarf_Word unit_length = read_4ubyte_unaligned_inc (dbg, linep); in read_srclines() 218 if (unlikely (linep + 8 > lineendp)) in read_srclines() 220 unit_length = read_8ubyte_unaligned_inc (dbg, linep); in read_srclines() 225 if (unlikely (unit_length > (size_t) (lineendp - linep) in read_srclines() 228 lineendp = linep + unit_length; in read_srclines() 231 uint_fast16_t version = read_2ubyte_unaligned_inc (dbg, linep); in read_srclines() 241 header_length = read_4ubyte_unaligned_inc (dbg, linep); in read_srclines() 243 header_length = read_8ubyte_unaligned_inc (dbg, linep); in read_srclines() [all …]
|
D | dwarf_decl_line.c | 41 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()
|
D | dwarf_lineno.c | 38 dwarf_lineno (Dwarf_Line *line, int *linep) in dwarf_lineno() argument 43 *linep = line->line; in dwarf_lineno()
|
D | libdw.h | 620 extern int dwarf_lineno (Dwarf_Line *line, int *linep) 825 extern int dwarf_decl_line (Dwarf_Die *decl, int *linep)
|
D | ChangeLog | 367 * dwarf_getsrclines.c (read_srclines): Bounds check linep and call
|
/external/toybox/lib/ |
D | portability.c | 34 ssize_t getdelim(char **linep, size_t *np, int delim, FILE *stream) in getdelim() argument 42 if (!linep || !np) { in getdelim() 47 if (*linep == NULL || *np == 0) { in getdelim() 49 *linep = calloc(1, *np); in getdelim() 50 if (*linep == NULL) return -1; in getdelim() 52 line = *linep; in getdelim() 58 new_line = realloc(*linep, new_len); in getdelim() 61 line = *linep = new_line; in getdelim() 72 new_line = realloc(*linep, new_len); in getdelim() 75 line = *linep = new_line; in getdelim() [all …]
|
/external/elfutils/libdwfl/ |
D | dwfl_lineinfo.c | 33 dwfl_lineinfo (Dwfl_Line *line, Dwarf_Addr *addr, int *linep, int *colp, in dwfl_lineinfo() argument 44 if (linep != NULL) in dwfl_lineinfo() 45 *linep = info->line; in dwfl_lineinfo()
|
D | libdwfl.h | 596 int *linep, int *colp,
|
/external/ppp/pppd/ |
D | utils.c | 523 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/iproute2/lib/ |
D | utils.c | 931 ssize_t getcmdline(char **linep, size_t *lenp, FILE *in) in getcmdline() argument 936 if ((cc = getline(linep, lenp, in)) < 0) in getcmdline() 940 cp = strchr(*linep, '#'); in getcmdline() 944 while ((cp = strstr(*linep, "\\\n")) != NULL) { in getcmdline() 961 *lenp = strlen(*linep) + strlen(line1) + 1; in getcmdline() 962 *linep = realloc(*linep, *lenp); in getcmdline() 963 if (!*linep) { in getcmdline() 969 strcat(*linep, line1); in getcmdline()
|
/external/elfutils/src/ |
D | readelf.c | 6486 const unsigned char *linep = (const unsigned char *) data->d_buf; in print_debug_line_section() local 6489 while (linep in print_debug_line_section() 6492 size_t start_offset = linep - (const unsigned char *) data->d_buf; in print_debug_line_section() 6496 if (unlikely (linep + 4 > lineendp)) in print_debug_line_section() 6498 Dwarf_Word unit_length = read_4ubyte_unaligned_inc (dbg, linep); in print_debug_line_section() 6502 if (unlikely (linep + 8 > lineendp)) in print_debug_line_section() 6509 unit_length = read_8ubyte_unaligned_inc (dbg, linep); in print_debug_line_section() 6514 if (unlikely (unit_length > (size_t) (lineendp - linep) in print_debug_line_section() 6517 lineendp = linep + unit_length; in print_debug_line_section() 6520 uint_fast16_t version = read_2ubyte_unaligned_inc (dbg, linep); in print_debug_line_section() [all …]
|
/external/elfutils/include/elfutils/ |
D | libdw.h | 620 extern int dwarf_lineno (Dwarf_Line *line, int *linep) 825 extern int dwarf_decl_line (Dwarf_Die *decl, int *linep)
|
D | libdwfl.h | 596 int *linep, int *colp,
|