Lines Matching refs:bytes_read
395 size_t bytes_read = 0; in RemoveSoftwareBreakpoint() local
397 ReadMemory(addr, curr_break_op.data(), curr_break_op.size(), bytes_read); in RemoveSoftwareBreakpoint()
398 if (error.Fail() || bytes_read < curr_break_op.size()) { in RemoveSoftwareBreakpoint()
401 addr, curr_break_op.size(), bytes_read); in RemoveSoftwareBreakpoint()
452 size_t bytes_read = 0; in EnableSoftwareBreakpoint() local
454 saved_opcode_bytes.size(), bytes_read); in EnableSoftwareBreakpoint()
459 if (bytes_read != saved_opcode_bytes.size()) { in EnableSoftwareBreakpoint()
464 saved_opcode_bytes.size(), bytes_read); in EnableSoftwareBreakpoint()
639 size_t &bytes_read) { in ReadMemoryWithoutTrap() argument
640 Status error = ReadMemory(addr, buf, size, bytes_read); in ReadMemoryWithoutTrap()
645 llvm::makeMutableArrayRef(static_cast<uint8_t *>(buf), bytes_read); in ReadMemoryWithoutTrap()
650 if (bp_addr + saved_opcodes.size() < addr || addr + bytes_read <= bp_addr) in ReadMemoryWithoutTrap()