Home
last modified time | relevance | path

Searched refs:runtime_error (Results 1 - 25 of 114) sorted by relevance

12345

/third_party/mesa3d/src/microsoft/clc/
H A Dcompute_test.cpp82 using std::runtime_error;
158 throw runtime_error("Failed to load DXGI.DLL"); in get_dxgi_factory()
162 throw runtime_error("Failed to load CreateDXGIFactory from DXGI.DLL"); in get_dxgi_factory()
167 throw runtime_error("CreateDXGIFactory failed"); in get_dxgi_factory()
184 throw runtime_error("Failed to enum hardware adapter"); in choose_adapter()
188 throw runtime_error("Failed to enum warp adapter"); in choose_adapter()
201 throw runtime_error("failed to load D3D12.DLL"); in create_device()
209 throw runtime_error("failed to enable experimental shader models"); in create_device()
214 throw runtime_error("failed to load D3D12CreateDevice from D3D12.DLL"); in create_device()
219 throw runtime_error("D3D12CreateDevic in create_device()
[all...]
/third_party/googletest/googletest/test/
H A Dgoogletest-catch-exceptions-test_.cc108 throw std::runtime_error("Standard C++ exception")); in CxxExceptionInConstructorTest()
148 throw std::runtime_error("Standard C++ exception"); in SetUpTestSuite()
186 throw std::runtime_error("Standard C++ exception"); in TearDownTestSuite()
208 void SetUp() override { throw std::runtime_error("Standard C++ exception"); }
238 throw std::runtime_error("Standard C++ exception");
267 throw std::runtime_error("Standard C++ exception"); in TEST_F()
/third_party/json/tests/src/
H A Dunit-noexcept.cpp63 CHECK(std::is_nothrow_copy_constructible<json::exception>::value == std::is_nothrow_copy_constructible<std::runtime_error>::value);
64 CHECK(std::is_nothrow_copy_constructible<json::parse_error>::value == std::is_nothrow_copy_constructible<std::runtime_error>::value);
65 CHECK(std::is_nothrow_copy_constructible<json::invalid_iterator>::value == std::is_nothrow_copy_constructible<std::runtime_error>::value);
66 CHECK(std::is_nothrow_copy_constructible<json::type_error>::value == std::is_nothrow_copy_constructible<std::runtime_error>::value);
67 CHECK(std::is_nothrow_copy_constructible<json::out_of_range>::value == std::is_nothrow_copy_constructible<std::runtime_error>::value);
68 CHECK(std::is_nothrow_copy_constructible<json::other_error>::value == std::is_nothrow_copy_constructible<std::runtime_error>::value);
/third_party/vk-gl-cts/framework/delibs/decpp/
H A DdeSocket.cpp49 throw std::runtime_error("SocketAddress::setHost()"); in setHost()
55 throw std::runtime_error("SocketAddress::setPort()"); in setPort()
61 throw std::runtime_error("SocketAddress::setFamily()"); in setFamily()
67 throw std::runtime_error("SocketAddress::setType()"); in setType()
73 throw std::runtime_error("SocketAddress::setProtocol()"); in setProtocol()
H A DdeFilePath.cpp120 throw std::runtime_error("Cannot normalize path: invalid path"); in normalize()
248 throw std::runtime_error("Failed to create directory"); in createDirectoryImpl()
251 throw std::runtime_error("Failed to create directory"); in createDirectoryImpl()
263 throw std::runtime_error("Destination exists already"); in createDirectory()
265 throw std::runtime_error("Parent directory doesn't exist"); in createDirectory()
267 throw std::runtime_error("Parent is not directory"); in createDirectory()
278 throw std::runtime_error("Destination exists already"); in createDirectoryAndParents()
H A DdeDynamicLibrary.cpp37 throw std::runtime_error(std::string("Failed to open dynamic library: '") + fileName + "'"); in DynamicLibrary()
56 throw std::runtime_error(msg); in DynamicLibrary()
H A DdeProcess.hpp35 class ProcessError : public std::runtime_error
38 ProcessError (const std::string& message) : std::runtime_error(message) {} in ProcessError()
H A DdeSocket.hpp35 class SocketError : public std::runtime_error
38 SocketError (const std::string& message) : std::runtime_error(message) {} in SocketError()
/third_party/vk-gl-cts/external/vulkancts/vkscserver/
H A DvksNetwork.cpp78 throw std::runtime_error("Can't send data to socket"); in Send()
89 throw std::runtime_error("Can't receive data from socket"); in RecvSome()
116 if (classHash != type) throw std::runtime_error("Unexpected packet type received"); in RecvPacket()
124 if (!result) throw std::runtime_error("connection lost before we could get data"); in RecvPacket()
/third_party/libexif/contrib/c++/
H A Dexif.hxx36 struct InvalidIndex : std::runtime_error
39 : std::runtime_error(s) {} in InvalidIndex()
42 struct InvalidFormat : std::runtime_error
45 : std::runtime_error(s) {} in InvalidFormat()
48 struct IOError : std::runtime_error
51 : std::runtime_error(s) {} in IOError()
/third_party/googletest/googlemock/test/
H A Dgmock-matchers-misc_test.cc1640 std::function<void()>([]() { throw std::runtime_error("message"); }), in TEST()
1641 Throws<std::runtime_error>()); in TEST()
1644 std::function<void()>([]() { throw std::runtime_error("message"); }), in TEST()
1645 ThrowsMessage<std::runtime_error>(HasSubstr("message"))); in TEST()
1650 std::function<void()>([]() { throw std::runtime_error("ABC123XYZ"); }), in TEST()
1651 ThrowsMessage<std::runtime_error>(HasSubstr("ABC123XYZ"))); in TEST()
1671 throw std::runtime_error("message"); in TEST()
1673 Throws<std::runtime_error>()); in TEST()
1678 throw std::runtime_error("message"); in TEST()
1680 ThrowsMessage<std::runtime_error>(HasSubst in TEST()
[all...]
/third_party/vk-gl-cts/framework/randomshaders/
H A DrsgDefs.hpp36 class Exception : public std::runtime_error
39 Exception (const std::string& message) : std::runtime_error(message) {} in Exception()
/third_party/vk-gl-cts/execserver/
H A DxsTestProcess.hpp33 class TestProcessException : public std::runtime_error
36 TestProcessException (const std::string& message) : std::runtime_error(message) {} in TestProcessException()
H A DxsDefs.hpp64 class Error : public std::runtime_error
67 Error (const std::string& message) : std::runtime_error(message) {} in Error()
H A DxsWin32TestProcess.cpp70 : std::runtime_error(formatErrMsg(error, msg)) in Error()
503 throw std::runtime_error("Process already running"); in start()
600 throw std::runtime_error("Process is still alive"); in waitForFinish()
603 throw std::runtime_error("Process is not running"); in waitForFinish()
614 throw std::runtime_error("Process is not running"); in stopProcess()
/third_party/vk-gl-cts/framework/xexml/
H A DxeDefs.hpp34 class Error : public std::runtime_error
37 Error (const std::string& message) : std::runtime_error(message) {} in Error()
/third_party/skia/third_party/externals/spirv-cross/
H A Dspirv_cross_error_handling.hpp62 class CompilerError : public std::runtime_error
66 : std::runtime_error(str)
/third_party/vixl/src/
H A Dglobals-vixl.h105 throw std::runtime_error(oss.str()); \
111 throw std::runtime_error(oss.str()); \
119 throw std::runtime_error(oss.str()); \
/third_party/node/deps/v8/src/wasm/
H A Dinit-expr-interface.h78 bool runtime_error() { return error_ != nullptr; } in runtime_error() function
82 bool generate_result() { return isolate_ != nullptr && !runtime_error(); } in generate_result()
/third_party/vk-gl-cts/external/openglcts/modules/common/
H A DglcTestSubcase.cpp236 catch (const runtime_error& ex) in iterate()
256 catch (const runtime_error& ex) in iterate()
277 catch (const runtime_error& ex) in iterate()
/third_party/backends/backend/genesys/
H A Dregister.h106 throw std::runtime_error("the register does not exist"); in remove_reg()
115 throw std::runtime_error("the register does not exist"); in find_reg()
124 throw std::runtime_error("the register does not exist"); in find_reg()
404 throw std::runtime_error("the register does not exist"); in find_reg()
413 throw std::runtime_error("the register does not exist"); in find_reg()
/third_party/backends/testsuite/backend/genesys/
H A Dsession_config_test.cpp80 throw std::runtime_error("Expected option number option"); in fetch()
177 throw std::runtime_error("Got nullptr option"); in fetch_option()
187 throw std::runtime_error("Option has incorrect type"); in find_option()
192 throw std::runtime_error("Could not find option"); in find_option()
332 throw std::runtime_error("Could not open output file: " + path); in write_string_to_file()
/third_party/vk-gl-cts/framework/platform/android/
H A DtcuAndroidUtil.cpp68 throw std::runtime_error("JNI AttachCurrentThread() failed"); in ScopedJNIEnv()
73 throw std::runtime_error("JNI GetEnv() failed"); in ScopedJNIEnv()
119 throw std::runtime_error("Got JNI exception"); in checkException()
279 throw std::runtime_error(string(fieldName) + " not found in " + className); in getStaticField()
303 throw std::runtime_error(string(fieldName) + " not found in object"); in getField()
/third_party/mesa3d/src/gallium/frontends/clover/core/
H A Derror.hpp59 class error : public std::runtime_error {
62 std::runtime_error(what), code(code) { in error()
/third_party/vk-gl-cts/executor/tools/
H A DxeExtractSampleLists.cpp49 throw std::runtime_error("Failed to open " + filename); in writeSampleList()
142 throw std::runtime_error(string("Failed to open '") + filename + "'"); in processLogFile()

Completed in 16 milliseconds

12345