Home
last modified time | relevance | path

Searched refs:ToError (Results 1 – 25 of 30) sorted by relevance

12

/external/llvm-project/lldb/unittests/Utility/
DScalarTest.cpp152 .ToError(), in TEST()
158 .ToError(), in TEST()
171 .ToError(), in TEST()
178 .ToError(), in TEST()
321 a.SetValueFromCString("1234567890123", lldb::eEncodingUint, 8).ToError(), in TEST()
326 a.SetValueFromCString("-1234567890123", lldb::eEncodingSint, 8).ToError(), in TEST()
331 a.SetValueFromCString("asdf", lldb::eEncodingSint, 8).ToError(), in TEST()
334 a.SetValueFromCString("asdf", lldb::eEncodingUint, 8).ToError(), in TEST()
337 a.SetValueFromCString("1234567890123", lldb::eEncodingUint, 4).ToError(), in TEST()
341 .ToError(), in TEST()
[all …]
DStatusTest.cpp54 EXPECT_FALSE(bool(Status().ToError())); in TEST()
56 llvm::Error eagain = Status(EAGAIN, ErrorType::eErrorTypePOSIX).ToError(); in TEST()
62 llvm::Error foo = Status("foo").ToError(); in TEST()
71 EXPECT_FALSE(success.ToError()); in TEST()
/external/llvm-project/lldb/unittests/Host/
DSocketTestUtilities.cpp36 ASSERT_THAT_ERROR(error.ToError(), llvm::Succeeded()); in CreateConnectedSockets()
38 ASSERT_THAT_ERROR(error.ToError(), llvm::Succeeded()); in CreateConnectedSockets()
50 ASSERT_THAT_ERROR(error.ToError(), llvm::Succeeded()); in CreateConnectedSockets()
52 ASSERT_THAT_ERROR(error.ToError(), llvm::Succeeded()); in CreateConnectedSockets()
60 ASSERT_THAT_ERROR(accept_error.ToError(), llvm::Succeeded()); in CreateConnectedSockets()
DNativeProcessProtocolTest.cpp30 EXPECT_THAT_ERROR(Process.SetBreakpoint(0x47, 0, false).ToError(), in TEST()
41 EXPECT_THAT_ERROR(Process.SetBreakpoint(0x47, 0, false).ToError(), in TEST()
56 EXPECT_THAT_ERROR(Process.SetBreakpoint(0x47, 0, false).ToError(), in TEST()
72 EXPECT_THAT_ERROR(Process.SetBreakpoint(0x47, 0, false).ToError(), in TEST()
86 EXPECT_THAT_ERROR(Process.SetBreakpoint(0x4, 0, false).ToError(), in TEST()
/external/llvm-project/lldb/source/Host/common/
DUDPSocket.cpp68 return error.ToError(); in Connect()
89 return error.ToError(); in Connect()
109 return error.ToError(); in Connect()
121 return error.ToError(); in Connect()
DSocket.cpp160 return error.ToError(); in TcpConnect()
166 return error.ToError(); in TcpConnect()
180 return error.ToError(); in TcpListen()
187 return error.ToError(); in TcpListen()
DNativeProcessProtocol.cpp455 return error.ToError(); in EnableSoftwareBreakpoint()
475 return error.ToError(); in EnableSoftwareBreakpoint()
492 return error.ToError(); in EnableSoftwareBreakpoint()
713 return status.ToError(); in ReadCStringFromMemory()
/external/llvm-project/lldb/source/Plugins/Trace/intel-pt/
DDecodedThread.cpp37 return ToError(); in GetLoadAddress()
41 Error IntelPTInstruction::ToError() const { in ToError() function in IntelPTInstruction
DDecodedThread.h89 llvm::Error ToError() const;
/external/llvm-project/lldb/source/Plugins/Process/POSIX/
DNativeProcessELF.cpp123 return error.ToError(); in ReadSVR4LibraryInfo()
154 return status.ToError(); in GetLoadedSVR4Libraries()
163 return status.ToError(); in GetLoadedSVR4Libraries()
/external/llvm-project/lldb/unittests/tools/lldb-server/tests/
DTestClient.cpp84 return status.ToError(); in launchCustom()
110 return status.ToError(); in launchCustom()
188 return Extractor.GetStatus().ToError(); in SendMessage()
DMessageObjects.cpp223 return ST.ToError(); in parseRegisterValue()
/external/llvm-project/lldb/unittests/Core/
DCommunicationTest.cpp21 ASSERT_THAT_ERROR(pipe.CreateNew(/*child_process_inherit=*/false).ToError(), in TEST()
/external/llvm-project/lldb/unittests/Expression/
DDWARFExpressionTest.cpp34 return status.ToError();
50 return status.ToError();
/external/llvm-project/lldb/source/Plugins/Process/Linux/
DNativeProcessLinux.cpp226 return status.ToError(); in Launch()
255 return status.ToError(); in Launch()
338 return status.ToError(); in Attach()
357 return status.ToError(); in Attach()
1380 if (llvm::Error Err = reg_ctx.ReadAllRegisterValues(registers_sp).ToError()) in Syscall()
1389 .ToError()) { in Syscall()
1396 if (llvm::Error Err = reg_ctx.SetPC(exe_addr).ToError()) in Syscall()
1403 .ToError()) { in Syscall()
1409 .ToError()) in Syscall()
1418 PtraceWrapper(req, thread.GetID(), nullptr, nullptr).ToError()) in Syscall()
[all …]
DProcessorTrace.cpp264 return error.ToError(); in Create()
271 return error.ToError(); in Create()
/external/llvm-project/lldb/source/Target/
DTraceSessionFileParser.cpp49 return error.ToError(); in ParseModule()
121 return error.ToError(); in ParseProcess()
/external/llvm-project/lldb/source/Plugins/Process/Windows/Common/
DNativeProcessWindows.cpp56 E = LaunchProcess(launch_info, delegate_sp).ToError(); in NativeProcessWindows()
71 E = AttachProcess(pid, attach_info, delegate_sp).ToError(); in NativeProcessWindows()
226 return ST.ToError(); in AllocateMemory()
230 return ProcessDebugger::DeallocateMemory(addr).ToError(); in DeallocateMemory()
/external/llvm-project/lldb/source/Plugins/Process/NetBSD/
DNativeProcessNetBSD.cpp71 return status.ToError(); in Launch()
103 return status.ToError(); in Launch()
131 return status.ToError(); in Attach()
399 .ToError(); in ComputeSignalInfo()
415 .ToError(); in ComputeSignalInfo()
/external/llvm-project/lldb/include/lldb/Utility/
DStatus.h72 llvm::Error ToError() const;
/external/llvm-project/lldb/unittests/TestingSupport/Host/
DNativeProcessTestUtils.h103 return ST.ToError(); in ReadMemoryWithoutTrap()
/external/llvm-project/lldb/source/Plugins/Process/FreeBSDRemote/
DNativeProcessFreeBSD.cpp66 return status.ToError(); in Launch()
98 return status.ToError(); in Launch()
126 return status.ToError(); in Attach()
/external/llvm-project/lldb/source/Utility/
DStatus.cpp90 llvm::Error Status::ToError() const { in ToError() function in Status
/external/llvm-project/lldb/source/Breakpoint/
DBreakpointList.cpp141 return error.ToError(); in FindBreakpointsByName()
/external/llvm-project/lldb/source/Plugins/Process/elf-core/
DProcessElfCore.cpp798 return status.ToError(); in parseLinuxNotes()
811 return status.ToError(); in parseLinuxNotes()
820 return status.ToError(); in parseLinuxNotes()

12