Lines Matching refs:linep
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()
244 const unsigned char *header_start = linep; in read_srclines()
247 uint_fast8_t minimum_instr_len = *linep++; in read_srclines()
253 if (unlikely (lineendp - linep < 5)) in read_srclines()
255 max_ops_per_instr = *linep++; in read_srclines()
262 uint_fast8_t default_is_stmt = *linep++; in read_srclines()
265 int_fast8_t line_base = (int8_t) *linep++; in read_srclines()
268 uint_fast8_t line_range = *linep++; in read_srclines()
271 uint_fast8_t opcode_base = *linep++; in read_srclines()
275 const uint8_t *standard_opcode_lengths = linep - 1; in read_srclines()
276 if (unlikely (lineendp - linep < opcode_base - 1)) in read_srclines()
278 linep += opcode_base - 1; in read_srclines()
290 const unsigned char *dirp = linep; in read_srclines()
314 dirarray[n].dir = (char *) linep; in read_srclines()
315 uint8_t *endp = memchr (linep, '\0', lineendp - linep); in read_srclines()
317 dirarray[n].len = endp - linep; in read_srclines()
318 linep = endp + 1; in read_srclines()
321 ++linep; in read_srclines()
340 if (unlikely (linep >= lineendp)) in read_srclines()
342 while (*linep != 0) in read_srclines()
347 char *fname = (char *) linep; in read_srclines()
348 uint8_t *endp = memchr (fname, '\0', lineendp - linep); in read_srclines()
352 linep = endp + 1; in read_srclines()
356 if (unlikely (linep >= lineendp)) in read_srclines()
358 get_uleb128 (diridx, linep, lineendp); in read_srclines()
390 if (unlikely (linep >= lineendp)) in read_srclines()
392 get_uleb128 (new_file->info.mtime, linep, lineendp); in read_srclines()
395 if (unlikely (linep >= lineendp)) in read_srclines()
397 get_uleb128 (new_file->info.length, linep, lineendp); in read_srclines()
400 ++linep; in read_srclines()
403 if (unlikely (linep != header_start + header_length)) in read_srclines()
433 while (linep < lineendp) in read_srclines()
440 opcode = *linep++; in read_srclines()
473 if (unlikely (lineendp - linep < 2)) in read_srclines()
477 uint_fast8_t len = *linep++; in read_srclines()
479 if (unlikely ((size_t) (lineendp - linep) < len)) in read_srclines()
483 opcode = *linep++; in read_srclines()
511 if (unlikely (lineendp - linep < (uint8_t) address_size)) in read_srclines()
513 if (__libdw_read_address_inc (dbg, IDX_debug_line, &linep, in read_srclines()
520 char *fname = (char *) linep; in read_srclines()
521 uint8_t *endp = memchr (linep, '\0', lineendp - linep); in read_srclines()
524 size_t fnamelen = endp - linep; in read_srclines()
525 linep = endp + 1; in read_srclines()
528 if (unlikely (linep >= lineendp)) in read_srclines()
530 get_uleb128 (diridx, linep, lineendp); in read_srclines()
537 if (unlikely (linep >= lineendp)) in read_srclines()
539 get_uleb128 (mtime, linep, lineendp); in read_srclines()
541 if (unlikely (linep >= lineendp)) in read_srclines()
543 get_uleb128 (filelength, linep, lineendp); in read_srclines()
576 if (unlikely (linep >= lineendp)) in read_srclines()
578 get_uleb128 (state.discriminator, linep, lineendp); in read_srclines()
583 if (unlikely ((size_t) (lineendp - (linep - 1)) < len)) in read_srclines()
585 linep += len - 1; in read_srclines()
615 if (unlikely (linep >= lineendp)) in read_srclines()
617 get_uleb128 (u128, linep, lineendp); in read_srclines()
627 if (unlikely (linep >= lineendp)) in read_srclines()
629 get_sleb128 (s128, linep, lineendp); in read_srclines()
638 if (unlikely (linep >= lineendp)) in read_srclines()
640 get_uleb128 (u128, linep, lineendp); in read_srclines()
649 if (unlikely (linep >= lineendp)) in read_srclines()
651 get_uleb128 (u128, linep, lineendp); in read_srclines()
686 || unlikely (lineendp - linep < 2)) in read_srclines()
689 state.addr += read_2ubyte_unaligned_inc (dbg, linep); in read_srclines()
714 if (unlikely (linep >= lineendp)) in read_srclines()
716 get_uleb128 (state.isa, linep, lineendp); in read_srclines()
727 if (unlikely (linep >= lineendp)) in read_srclines()
729 get_uleb128 (u128, linep, lineendp); in read_srclines()
864 const unsigned char *linep = data->d_buf + debug_line_offset; in __libdw_getsrclines() local
870 if (read_srclines (dbg, linep, lineendp, comp_dir, address_size, in __libdw_getsrclines()