/external/elfutils/src/libdw/ |
D | dwarf_getsrclines.c | 83 const unsigned char *linep, const unsigned char *lineendp, in read_srclines() argument 98 if (unlikely (linep + 4 > lineendp)) in read_srclines() 105 Dwarf_Word unit_length = read_4ubyte_unaligned_inc (dbg, linep); in read_srclines() 109 if (unlikely (linep + 8 > lineendp)) in read_srclines() 111 unit_length = read_8ubyte_unaligned_inc (dbg, linep); in read_srclines() 116 if (unlikely (unit_length > (size_t) (lineendp - linep) in read_srclines() 119 lineendp = linep + unit_length; in read_srclines() 122 uint_fast16_t version = read_2ubyte_unaligned_inc (dbg, linep); in read_srclines() 132 header_length = read_4ubyte_unaligned_inc (dbg, linep); in read_srclines() 134 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 | 619 extern int dwarf_lineno (Dwarf_Line *line, int *linep) 824 extern int dwarf_decl_line (Dwarf_Die *decl, int *linep)
|
D | ChangeLog | 57 * dwarf_getsrclines.c (read_srclines): Bounds check linep and call
|
/external/toybox/lib/ |
D | portability.c | 21 ssize_t getdelim(char **linep, size_t *np, int delim, FILE *stream) in getdelim() argument 29 if (!linep || !np) { in getdelim() 34 if (*linep == NULL || *np == 0) { in getdelim() 36 *linep = calloc(1, *np); in getdelim() 37 if (*linep == NULL) return -1; in getdelim() 39 line = *linep; in getdelim() 45 new_line = realloc(*linep, new_len); in getdelim() 48 line = *linep = new_line; in getdelim() 59 new_line = realloc(*linep, new_len); in getdelim() 62 line = *linep = new_line; in getdelim() [all …]
|
/external/elfutils/src/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 | 594 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 | 711 ssize_t getcmdline(char **linep, size_t *lenp, FILE *in) in getcmdline() argument 716 if ((cc = getline(linep, lenp, in)) < 0) in getcmdline() 720 cp = strchr(*linep, '#'); in getcmdline() 724 while ((cp = strstr(*linep, "\\\n")) != NULL) { in getcmdline() 741 *lenp = strlen(*linep) + strlen(line1) + 1; in getcmdline() 742 *linep = realloc(*linep, *lenp); in getcmdline() 743 if (!*linep) { in getcmdline() 749 strcat(*linep, line1); in getcmdline()
|
/external/elfutils/src/src/ |
D | readelf.c | 6380 const unsigned char *linep = (const unsigned char *) data->d_buf; in print_debug_line_section() local 6383 while (linep in print_debug_line_section() 6386 size_t start_offset = linep - (const unsigned char *) data->d_buf; in print_debug_line_section() 6390 if (unlikely (linep + 4 > lineendp)) in print_debug_line_section() 6392 Dwarf_Word unit_length = read_4ubyte_unaligned_inc (dbg, linep); in print_debug_line_section() 6396 if (unlikely (linep + 8 > lineendp)) in print_debug_line_section() 6403 unit_length = read_8ubyte_unaligned_inc (dbg, linep); in print_debug_line_section() 6408 if (unlikely (unit_length > (size_t) (lineendp - linep) in print_debug_line_section() 6411 lineendp = linep + unit_length; in print_debug_line_section() 6414 uint_fast16_t version = read_2ubyte_unaligned_inc (dbg, linep); in print_debug_line_section() [all …]
|
/external/elfutils/include/elfutils/ |
D | libdw.h | 619 extern int dwarf_lineno (Dwarf_Line *line, int *linep) 824 extern int dwarf_decl_line (Dwarf_Die *decl, int *linep)
|
D | libdwfl.h | 594 int *linep, int *colp,
|