Home
last modified time | relevance | path

Searched refs:invalid_argument (Results 1 – 25 of 101) sorted by relevance

12345

/external/libcxx/test/std/diagnostics/std.exceptions/invalid.argument/
Dinvalid_argument.pass.cpp20 static_assert((std::is_base_of<std::logic_error, std::invalid_argument>::value), in main()
22 static_assert(std::is_polymorphic<std::invalid_argument>::value, in main()
26 std::invalid_argument e(msg); in main()
28 std::invalid_argument e2(e); in main()
35 std::invalid_argument e(msg); in main()
37 std::invalid_argument e2(e); in main()
/external/libcxx/test/std/strings/string.conversions/
Dstoul.pass.cpp46 catch (const std::invalid_argument&) in main()
55 catch (const std::invalid_argument&) in main()
64 catch (const std::invalid_argument&) in main()
73 catch (const std::invalid_argument&) in main()
82 catch (const std::invalid_argument&) in main()
91 catch (const std::invalid_argument&) in main()
Dstoull.pass.cpp46 catch (const std::invalid_argument&) in main()
56 catch (const std::invalid_argument&) in main()
65 catch (const std::invalid_argument&) in main()
74 catch (const std::invalid_argument&) in main()
83 catch (const std::invalid_argument&) in main()
92 catch (const std::invalid_argument&) in main()
Dstoi.pass.cpp63 catch (const std::invalid_argument&) in main()
72 catch (const std::invalid_argument&) in main()
81 catch (const std::invalid_argument&) in main()
90 catch (const std::invalid_argument&) in main()
99 catch (const std::invalid_argument&) in main()
108 catch (const std::invalid_argument&) in main()
Dstoll.pass.cpp48 catch (const std::invalid_argument&) in main()
57 catch (const std::invalid_argument&) in main()
66 catch (const std::invalid_argument&) in main()
75 catch (const std::invalid_argument&) in main()
84 catch (const std::invalid_argument&) in main()
93 catch (const std::invalid_argument&) in main()
Dstol.pass.cpp48 catch (const std::invalid_argument&) in main()
57 catch (const std::invalid_argument&) in main()
66 catch (const std::invalid_argument&) in main()
75 catch (const std::invalid_argument&) in main()
84 catch (const std::invalid_argument&) in main()
93 catch (const std::invalid_argument&) in main()
Dstold.pass.cpp142 catch (const std::invalid_argument&) in main()
151 catch (const std::invalid_argument&) in main()
160 catch (const std::invalid_argument&) in main()
169 catch (const std::invalid_argument&) in main()
178 catch (const std::invalid_argument&) in main()
187 catch (const std::invalid_argument&) in main()
Dstof.pass.cpp140 catch (const std::invalid_argument&) in main()
149 catch (const std::invalid_argument&) in main()
158 catch (const std::invalid_argument&) in main()
167 catch (const std::invalid_argument&) in main()
176 catch (const std::invalid_argument&) in main()
185 catch (const std::invalid_argument&) in main()
Dstod.pass.cpp139 catch (const std::invalid_argument&) in main()
148 catch (const std::invalid_argument&) in main()
157 catch (const std::invalid_argument&) in main()
166 catch (const std::invalid_argument&) in main()
175 catch (const std::invalid_argument&) in main()
184 catch (const std::invalid_argument&) in main()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/DebugInfo/DWARF/
DDWARFDebugAddr.cpp31 return createStringError(errc::invalid_argument, in extract()
37 WarnCallback(createStringError(errc::invalid_argument, in extract()
57 return createStringError(errc::invalid_argument, in extract()
67 return createStringError(errc::invalid_argument, in extract()
100 return createStringError(errc::invalid_argument, in extract()
112 return createStringError(errc::invalid_argument, in extract()
126 return createStringError(errc::invalid_argument, in extract()
179 return createStringError(errc::invalid_argument, in getAddrEntry()
/external/libkmsxx/kms++/src/
Dextframebuffer.cpp42 throw std::invalid_argument(string("Failed to create ExtFramebuffer: ") + strerror(r)); in ExtFramebuffer()
66 throw invalid_argument(string("drmPrimeFDToHandle: ") + strerror(errno)); in ExtFramebuffer()
79 throw invalid_argument(string("drmModeAddFB2 failed: ") + strerror(errno)); in ExtFramebuffer()
94 throw invalid_argument("cannot mmap non-dmabuf fb"); in map()
102 throw invalid_argument(string("mmap failed: ") + strerror(errno)); in map()
112 throw invalid_argument("no primefb for non-dmabuf fb"); in prime_fd()
Dcard.cpp30 throw invalid_argument(string(strerror(errno)) + " opening " + device); in Card()
59 throw invalid_argument("Dumb buffers not available"); in Card()
63 throw invalid_argument("Can't get card resources"); in Card()
154 throw invalid_argument("no connected connectors"); in get_first_connected_connector()
200 throw invalid_argument(string("Connector #") + in get_connected_pipelines()
Ddumbframebuffer.cpp58 throw invalid_argument(string("DRM_IOCTL_MODE_CREATE_DUMB failed: ") + strerror(errno)); in Create()
76 throw invalid_argument(string("drmModeAddFB2 failed: ") + strerror(errno)); in Create()
114 throw invalid_argument(string("DRM_IOCTL_MODE_MAP_DUMB failed: ") + strerror(errno)); in map()
120 throw invalid_argument(string("mmap failed: ") + strerror(errno)); in map()
Ddrmpropobject.cpp57 throw invalid_argument(string("property ") + name + " not found"); in get_prop()
73 throw invalid_argument("property not found: " + name); in get_prop_value()
93 throw invalid_argument("property not found: " + name); in set_prop_value()
/external/elfutils/tests/
Drun-find-prologues.sh34 ~invalid_argument 0x0000000008048d2e 0x0000000008048d34
37 ~invalid_argument 0x0000000008048db2 0x0000000008048db8
79 ~invalid_argument 0x0000000008048d2e 0x0000000008048d34
82 ~invalid_argument 0x0000000008048db2 0x0000000008048db8
/external/libkmsxx/kms++/src/omap/
Domapframebuffer.cpp77 throw invalid_argument(string("omap_bo_new failed: ") + strerror(errno)); in Create()
93 throw invalid_argument("unimplemented format"); in Create()
101 throw invalid_argument("bad bitspertiler"); in Create()
108 throw invalid_argument(string("omap_bo_new_tiled failed: ") + strerror(errno)); in Create()
130 throw invalid_argument(string("drmModeAddFB2 failed: ") + strerror(errno)); in Create()
163 throw invalid_argument(string("mmap failed: ") + strerror(errno)); in map()
/external/llvm/lib/Support/
DErrorHandling.cpp167 MAP_ERR_TO_COND(ERROR_DIRECTORY, invalid_argument); in mapWindowsError()
175 MAP_ERR_TO_COND(ERROR_INVALID_HANDLE, invalid_argument); in mapWindowsError()
176 MAP_ERR_TO_COND(ERROR_INVALID_NAME, invalid_argument); in mapWindowsError()
179 MAP_ERR_TO_COND(ERROR_NEGATIVE_SEEK, invalid_argument); in mapWindowsError()
199 MAP_ERR_TO_COND(WSAEINVAL, invalid_argument); in mapWindowsError()
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DErrorHandling.cpp167 MAP_ERR_TO_COND(ERROR_DIRECTORY, invalid_argument); in mapWindowsError()
175 MAP_ERR_TO_COND(ERROR_INVALID_HANDLE, invalid_argument); in mapWindowsError()
176 MAP_ERR_TO_COND(ERROR_INVALID_NAME, invalid_argument); in mapWindowsError()
179 MAP_ERR_TO_COND(ERROR_NEGATIVE_SEEK, invalid_argument); in mapWindowsError()
199 MAP_ERR_TO_COND(WSAEINVAL, invalid_argument); in mapWindowsError()
/external/icu/icu4c/source/tools/tzcode/
Dtz2icu.cpp304 throw invalid_argument("TZ_ICU_MAGIC signature missing"); in readzoneinfo()
311 throw invalid_argument("Bad Olson version info"); in readzoneinfo()
317 throw invalid_argument("File version mismatch"); in readzoneinfo()
332 … throw invalid_argument("count mismatch between tzh_ttisgmtcnt, tzh_ttisdstcnt, tth_typecnt"); in readzoneinfo()
413 throw invalid_argument("isdst does not reflect dstoffset"); in readzoneinfo()
542 throw invalid_argument(os.str()); in handleFile()
547 throw invalid_argument("can't open file"); in handleFile()
556 throw invalid_argument("read error"); in handleFile()
592 throw invalid_argument(os.str()); in handleFile()
744 throw invalid_argument(os.str()); in FinalZone()
[all …]
/external/libcxx/include/
Dstdexcept22 class invalid_argument;
121 class _LIBCPP_EXCEPTION_ABI invalid_argument
125 _LIBCPP_INLINE_VISIBILITY explicit invalid_argument(const string& __s) : logic_error(__s) {}
126 _LIBCPP_INLINE_VISIBILITY explicit invalid_argument(const char* __s) : logic_error(__s) {}
128 virtual ~invalid_argument() _NOEXCEPT;
214 throw invalid_argument(__msg);
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/
DErrorHandling.cpp271 MAP_ERR_TO_COND(ERROR_DIRECTORY, invalid_argument); in mapWindowsError()
279 MAP_ERR_TO_COND(ERROR_INVALID_HANDLE, invalid_argument); in mapWindowsError()
280 MAP_ERR_TO_COND(ERROR_INVALID_NAME, invalid_argument); in mapWindowsError()
283 MAP_ERR_TO_COND(ERROR_NEGATIVE_SEEK, invalid_argument); in mapWindowsError()
303 MAP_ERR_TO_COND(WSAEINVAL, invalid_argument); in mapWindowsError()
/external/swiftshader/third_party/LLVM/lib/Support/Windows/
Dsystem_error.inc77 MAP_ERR_TO_COND(ERROR_DIRECTORY, invalid_argument);
86 MAP_ERR_TO_COND(ERROR_INVALID_HANDLE, invalid_argument);
87 MAP_ERR_TO_COND(ERROR_INVALID_NAME, invalid_argument);
90 MAP_ERR_TO_COND(ERROR_NEGATIVE_SEEK, invalid_argument);
123 MAP_ERR_TO_COND(WSAEINVAL, invalid_argument);
/external/libkmsxx/kms++util/src/
Dopts.cpp87 throw std::invalid_argument(string("Unrecognized option ") + argv[optind - 1]); in parse()
92 throw std::invalid_argument(string("Missing argument to -") + o.m_short); in parse()
94 throw std::invalid_argument(string("Missing argument to --") + o.m_long); in parse()
/external/google-benchmark/test/
Dstring_util_gtest.cc64 ASSERT_THROW(benchmark::stoul("this is a test"), std::invalid_argument); in TEST()
110 ASSERT_THROW(benchmark::stoi("this is a test"), std::invalid_argument); in TEST()
142 ASSERT_THROW(benchmark::stod("this is a test"), std::invalid_argument); in TEST()
/external/libcxx/utils/google-benchmark/test/
Dstring_util_gtest.cc64 ASSERT_THROW(benchmark::stoul("this is a test"), std::invalid_argument); in TEST()
110 ASSERT_THROW(benchmark::stoi("this is a test"), std::invalid_argument); in TEST()
142 ASSERT_THROW(benchmark::stod("this is a test"), std::invalid_argument); in TEST()

12345