Lines Matching refs:sb_error

568   SBError sb_error;  in Continue()  local
576 sb_error.ref() = process_sp->Resume(); in Continue()
578 sb_error.ref() = process_sp->ResumeSynchronous(nullptr); in Continue()
580 sb_error.SetErrorString("SBProcess is invalid"); in Continue()
582 return sb_error; in Continue()
588 SBError sb_error; in Destroy() local
593 sb_error.SetError(process_sp->Destroy(false)); in Destroy()
595 sb_error.SetErrorString("SBProcess is invalid"); in Destroy()
597 return sb_error; in Destroy()
603 SBError sb_error; in Stop() local
608 sb_error.SetError(process_sp->Halt()); in Stop()
610 sb_error.SetErrorString("SBProcess is invalid"); in Stop()
612 return sb_error; in Stop()
618 SBError sb_error; in Kill() local
623 sb_error.SetError(process_sp->Destroy(true)); in Kill()
625 sb_error.SetErrorString("SBProcess is invalid"); in Kill()
627 return sb_error; in Kill()
641 SBError sb_error; in Detach() local
646 sb_error.SetError(process_sp->Detach(keep_stopped)); in Detach()
648 sb_error.SetErrorString("SBProcess is invalid"); in Detach()
650 return sb_error; in Detach()
656 SBError sb_error; in Signal() local
661 sb_error.SetError(process_sp->Signal(signo)); in Signal()
663 sb_error.SetErrorString("SBProcess is invalid"); in Signal()
665 return sb_error; in Signal()
863 SBError &sb_error) { in ReadMemory() argument
864 LLDB_INSTRUMENT_VA(this, addr, dst, dst_len, sb_error); in ReadMemory()
867 sb_error.SetErrorStringWithFormat( in ReadMemory()
881 bytes_read = process_sp->ReadMemory(addr, dst, dst_len, sb_error.ref()); in ReadMemory()
883 sb_error.SetErrorString("process is running"); in ReadMemory()
886 sb_error.SetErrorString("SBProcess is invalid"); in ReadMemory()
893 lldb::SBError &sb_error) { in ReadCStringFromMemory() argument
894 LLDB_INSTRUMENT_VA(this, addr, buf, size, sb_error); in ReadCStringFromMemory()
904 sb_error.ref()); in ReadCStringFromMemory()
906 sb_error.SetErrorString("process is running"); in ReadCStringFromMemory()
909 sb_error.SetErrorString("SBProcess is invalid"); in ReadCStringFromMemory()
915 lldb::SBError &sb_error) { in ReadUnsignedFromMemory() argument
916 LLDB_INSTRUMENT_VA(this, addr, byte_size, sb_error); in ReadUnsignedFromMemory()
926 sb_error.ref()); in ReadUnsignedFromMemory()
928 sb_error.SetErrorString("process is running"); in ReadUnsignedFromMemory()
931 sb_error.SetErrorString("SBProcess is invalid"); in ReadUnsignedFromMemory()
937 lldb::SBError &sb_error) { in ReadPointerFromMemory() argument
938 LLDB_INSTRUMENT_VA(this, addr, sb_error); in ReadPointerFromMemory()
947 ptr = process_sp->ReadPointerFromMemory(addr, sb_error.ref()); in ReadPointerFromMemory()
949 sb_error.SetErrorString("process is running"); in ReadPointerFromMemory()
952 sb_error.SetErrorString("SBProcess is invalid"); in ReadPointerFromMemory()
958 SBError &sb_error) { in WriteMemory() argument
959 LLDB_INSTRUMENT_VA(this, addr, src, src_len, sb_error); in WriteMemory()
971 process_sp->WriteMemory(addr, src, src_len, sb_error.ref()); in WriteMemory()
973 sb_error.SetErrorString("process is running"); in WriteMemory()
1036 SBProcess::GetNumSupportedHardwareWatchpoints(lldb::SBError &sb_error) const { in GetNumSupportedHardwareWatchpoints()
1037 LLDB_INSTRUMENT_VA(this, sb_error); in GetNumSupportedHardwareWatchpoints()
1048 sb_error.SetErrorString("Unable to determine number of watchpoints"); in GetNumSupportedHardwareWatchpoints()
1051 sb_error.SetErrorString("SBProcess is invalid"); in GetNumSupportedHardwareWatchpoints()
1057 lldb::SBError &sb_error) { in LoadImage() argument
1058 LLDB_INSTRUMENT_VA(this, sb_remote_image_spec, sb_error); in LoadImage()
1060 return LoadImage(SBFileSpec(), sb_remote_image_spec, sb_error); in LoadImage()
1065 lldb::SBError &sb_error) { in LoadImage() argument
1066 LLDB_INSTRUMENT_VA(this, sb_local_image_spec, sb_remote_image_spec, sb_error); in LoadImage()
1076 *sb_remote_image_spec, sb_error.ref()); in LoadImage()
1078 sb_error.SetErrorString("process is running"); in LoadImage()
1081 sb_error.SetErrorString("process is invalid"); in LoadImage()
1124 lldb::SBError sb_error; in UnloadImage() local
1132 sb_error.SetError( in UnloadImage()
1135 sb_error.SetErrorString("process is running"); in UnloadImage()
1138 sb_error.SetErrorString("invalid process"); in UnloadImage()
1139 return sb_error; in UnloadImage()
1145 lldb::SBError sb_error; in SendEventData() local
1152 sb_error.SetError(process_sp->SendEventData(event_data)); in SendEventData()
1154 sb_error.SetErrorString("process is running"); in SendEventData()
1157 sb_error.SetErrorString("invalid process"); in SendEventData()
1158 return sb_error; in SendEventData()
1268 lldb::SBError sb_error; in GetMemoryRegionInfo() local
1276 sb_error.ref() = in GetMemoryRegionInfo()
1279 sb_error.SetErrorString("process is running"); in GetMemoryRegionInfo()
1282 sb_error.SetErrorString("SBProcess is invalid"); in GetMemoryRegionInfo()
1284 return sb_error; in GetMemoryRegionInfo()
1420 lldb::SBError &sb_error) { in AllocateMemory() argument
1421 LLDB_INSTRUMENT_VA(this, size, permissions, sb_error); in AllocateMemory()
1430 addr = process_sp->AllocateMemory(size, permissions, sb_error.ref()); in AllocateMemory()
1432 sb_error.SetErrorString("process is running"); in AllocateMemory()
1435 sb_error.SetErrorString("SBProcess is invalid"); in AllocateMemory()
1443 lldb::SBError sb_error; in DeallocateMemory() local
1451 sb_error.SetError(error); in DeallocateMemory()
1453 sb_error.SetErrorString("process is running"); in DeallocateMemory()
1456 sb_error.SetErrorString("SBProcess is invalid"); in DeallocateMemory()
1458 return sb_error; in DeallocateMemory()