Lines Matching refs:buf_end
374 safe_read_uleb128 (const gdb_byte *buf, const gdb_byte *buf_end, in safe_read_uleb128() argument
377 buf = gdb_read_uleb128 (buf, buf_end, r); in safe_read_uleb128()
386 safe_read_sleb128 (const gdb_byte *buf, const gdb_byte *buf_end, in safe_read_sleb128() argument
389 buf = gdb_read_sleb128 (buf, buf_end, r); in safe_read_sleb128()
396 safe_skip_leb128 (const gdb_byte *buf, const gdb_byte *buf_end) in safe_skip_leb128() argument
398 buf = gdb_skip_leb128 (buf, buf_end); in safe_skip_leb128()
465 dwarf_block_to_dwarf_reg (const gdb_byte *buf, const gdb_byte *buf_end) in dwarf_block_to_dwarf_reg() argument
469 if (buf_end <= buf) in dwarf_block_to_dwarf_reg()
473 if (buf_end - buf != 1) in dwarf_block_to_dwarf_reg()
481 buf = gdb_read_uleb128 (buf, buf_end, &dwarf_reg); in dwarf_block_to_dwarf_reg()
484 buf = gdb_skip_leb128 (buf, buf_end); in dwarf_block_to_dwarf_reg()
491 buf = gdb_read_uleb128 (buf, buf_end, &dwarf_reg); in dwarf_block_to_dwarf_reg()
497 if (buf != buf_end || (int) dwarf_reg != dwarf_reg) in dwarf_block_to_dwarf_reg()
508 dwarf_block_to_dwarf_reg_deref (const gdb_byte *buf, const gdb_byte *buf_end, in dwarf_block_to_dwarf_reg_deref() argument
514 if (buf_end <= buf) in dwarf_block_to_dwarf_reg_deref()
521 if (buf >= buf_end) in dwarf_block_to_dwarf_reg_deref()
527 buf = gdb_read_uleb128 (buf, buf_end, &dwarf_reg); in dwarf_block_to_dwarf_reg_deref()
536 buf = gdb_read_sleb128 (buf, buf_end, &offset); in dwarf_block_to_dwarf_reg_deref()
550 if (buf >= buf_end) in dwarf_block_to_dwarf_reg_deref()
557 if (buf != buf_end) in dwarf_block_to_dwarf_reg_deref()
567 dwarf_block_to_fb_offset (const gdb_byte *buf, const gdb_byte *buf_end, in dwarf_block_to_fb_offset() argument
572 if (buf_end <= buf) in dwarf_block_to_fb_offset()
579 buf = gdb_read_sleb128 (buf, buf_end, &fb_offset); in dwarf_block_to_fb_offset()
583 if (buf != buf_end || fb_offset != (LONGEST) *fb_offset_return) in dwarf_block_to_fb_offset()
595 const gdb_byte *buf_end, CORE_ADDR *sp_offset_return) in dwarf_block_to_sp_offset() argument
600 if (buf_end <= buf) in dwarf_block_to_sp_offset()
612 buf = gdb_read_uleb128 (buf, buf_end, &dwarf_reg); in dwarf_block_to_sp_offset()
621 buf = gdb_read_sleb128 (buf, buf_end, &sp_offset); in dwarf_block_to_sp_offset()
625 if (buf != buf_end || sp_offset != (LONGEST) *sp_offset_return) in dwarf_block_to_sp_offset()