Home
last modified time | relevance | path

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

12

/external/libcxx/test/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()
DAndroid.mk19 test_name := diagnostics/std.exceptions/invalid.argument/invalid_argument
20 test_src := invalid_argument.pass.cpp
/external/libcxx/test/strings/string.conversions/
Dstoul.pass.cpp41 catch (const std::invalid_argument&) in main()
50 catch (const std::invalid_argument&) in main()
59 catch (const std::invalid_argument&) in main()
68 catch (const std::invalid_argument&) in main()
77 catch (const std::invalid_argument&) in main()
86 catch (const std::invalid_argument&) in main()
Dstoull.pass.cpp41 catch (const std::invalid_argument&) in main()
51 catch (const std::invalid_argument&) in main()
60 catch (const std::invalid_argument&) in main()
69 catch (const std::invalid_argument&) in main()
78 catch (const std::invalid_argument&) in main()
87 catch (const std::invalid_argument&) in main()
Dstol.pass.cpp43 catch (const std::invalid_argument&) in main()
52 catch (const std::invalid_argument&) in main()
61 catch (const std::invalid_argument&) in main()
70 catch (const std::invalid_argument&) in main()
79 catch (const std::invalid_argument&) in main()
88 catch (const std::invalid_argument&) in main()
Dstoll.pass.cpp43 catch (const std::invalid_argument&) in main()
52 catch (const std::invalid_argument&) in main()
61 catch (const std::invalid_argument&) in main()
70 catch (const std::invalid_argument&) in main()
79 catch (const std::invalid_argument&) in main()
88 catch (const std::invalid_argument&) in main()
Dstoi.pass.cpp59 catch (const std::invalid_argument&) in main()
68 catch (const std::invalid_argument&) in main()
77 catch (const std::invalid_argument&) in main()
86 catch (const std::invalid_argument&) in main()
95 catch (const std::invalid_argument&) in main()
104 catch (const std::invalid_argument&) in main()
Dstod.pass.cpp117 catch (const std::invalid_argument&) in main()
126 catch (const std::invalid_argument&) in main()
135 catch (const std::invalid_argument&) in main()
144 catch (const std::invalid_argument&) in main()
153 catch (const std::invalid_argument&) in main()
162 catch (const std::invalid_argument&) in main()
Dstof.pass.cpp121 catch (const std::invalid_argument&) in main()
130 catch (const std::invalid_argument&) in main()
139 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()
Dstold.pass.cpp119 catch (const std::invalid_argument&) in main()
128 catch (const std::invalid_argument&) in main()
137 catch (const std::invalid_argument&) in main()
146 catch (const std::invalid_argument&) in main()
155 catch (const std::invalid_argument&) in main()
164 catch (const std::invalid_argument&) in main()
/external/oprofile/libpp/
Dparse_filename.cpp37 throw invalid_argument("parse_event_spec(): bad event specification: " + event_spec); in parse_event_spec()
42 throw invalid_argument("parse_event_spec(): bad event specification: " + event_spec); in parse_event_spec()
89 throw invalid_argument("parse_anon() invalid name: " + str2 + "\n" in parse_anon()
96 throw invalid_argument("parse_anon() invalid name: " + str); in parse_anon()
127 throw invalid_argument("parse_filename() invalid filename: " + in parse_filename()
145 throw invalid_argument("parse_filename() invalid filename: " + in parse_filename()
158 throw invalid_argument("parse_filename() invalid filename: " + in parse_filename()
168 throw invalid_argument("parse_filename() invalid filename: " + in parse_filename()
185 throw invalid_argument("parse_filename() pid.addr.addr name expected: " + in parse_filename()
214 throw invalid_argument("parse_filename() invalid filename: " in parse_filename()
/external/llvm/lib/Support/
DErrorHandling.cpp165 MAP_ERR_TO_COND(ERROR_DIRECTORY, invalid_argument); in mapWindowsError()
173 MAP_ERR_TO_COND(ERROR_INVALID_HANDLE, invalid_argument); in mapWindowsError()
174 MAP_ERR_TO_COND(ERROR_INVALID_NAME, invalid_argument); in mapWindowsError()
177 MAP_ERR_TO_COND(ERROR_NEGATIVE_SEEK, invalid_argument); in mapWindowsError()
197 MAP_ERR_TO_COND(WSAEINVAL, invalid_argument); in mapWindowsError()
/external/libcxx/include/
Dstdexcept22 class invalid_argument;
108 class _LIBCPP_EXCEPTION_ABI invalid_argument
112 _LIBCPP_INLINE_VISIBILITY explicit invalid_argument(const string& __s) : logic_error(__s) {}
113 _LIBCPP_INLINE_VISIBILITY explicit invalid_argument(const char* __s) : logic_error(__s) {}
115 virtual ~invalid_argument() _NOEXCEPT;
/external/stlport/stlport/stl/
D_stdexcept.h56 class _STLP_CLASS_DECLSPEC invalid_argument : public logic_error {
58 invalid_argument(const string& __arg) : logic_error(__arg) {} in invalid_argument() function
60 ~invalid_argument() _STLP_NOTHROW_INHERENTLY;
/external/chromium_org/third_party/icu/source/tools/tzcode/
Dtz2icu.cpp303 throw invalid_argument("TZ_ICU_MAGIC signature missing"); in readzoneinfo()
310 throw invalid_argument("Bad Olson version info"); in readzoneinfo()
316 throw invalid_argument("File version mismatch"); in readzoneinfo()
331 … throw invalid_argument("count mismatch between tzh_ttisgmtcnt, tzh_ttisdstcnt, tth_typecnt"); in readzoneinfo()
412 throw invalid_argument("isdst does not reflect dstoffset"); in readzoneinfo()
541 throw invalid_argument(os.str()); in handleFile()
546 throw invalid_argument("can't open file"); in handleFile()
555 throw invalid_argument("read error"); in handleFile()
591 throw invalid_argument(os.str()); in handleFile()
743 throw invalid_argument(os.str()); in FinalZone()
[all …]
/external/libcxxabi/src/
Dstdexcept.cpp40 invalid_argument::~invalid_argument() _NOEXCEPT {} in ~invalid_argument()
/external/icu/icu4c/source/tools/tzcode/
Dtz2icu.cpp303 throw invalid_argument("TZ_ICU_MAGIC signature missing"); in readzoneinfo()
310 throw invalid_argument("Bad Olson version info"); in readzoneinfo()
316 throw invalid_argument("File version mismatch"); in readzoneinfo()
331 … throw invalid_argument("count mismatch between tzh_ttisgmtcnt, tzh_ttisdstcnt, tth_typecnt"); in readzoneinfo()
412 throw invalid_argument("isdst does not reflect dstoffset"); in readzoneinfo()
541 throw invalid_argument(os.str()); in handleFile()
546 throw invalid_argument("can't open file"); in handleFile()
555 throw invalid_argument("read error"); in handleFile()
591 throw invalid_argument(os.str()); in handleFile()
743 throw invalid_argument(os.str()); in FinalZone()
[all …]
/external/llvm/unittests/Support/
DErrorOrTest.cpp20 ErrorOr<int> t2() { return errc::invalid_argument; } in t2()
34 EXPECT_EQ(a.getError(), errc::invalid_argument); in TEST()
/external/libcxx/src/
Dstdexcept.cpp96 invalid_argument::~invalid_argument() _NOEXCEPT {} in ~invalid_argument()
/external/oprofile/libutil++/
Dstring_manip.h91 throw std::invalid_argument("op_lexical_cast<T>()"); in op_lexical_cast()
95 throw std::invalid_argument("op_lexical_cast<T>(\"" + in op_lexical_cast()
/external/libcxx/test/utilities/template.bitset/bitset.cons/
Dstring_ctor.pass.cpp39 catch (std::invalid_argument&) in test_string_ctor()
61 catch (std::invalid_argument&) in test_string_ctor()
Dchar_ptr_ctor.pass.cpp29 catch (std::invalid_argument&) in test_char_pointer_ctor()
/external/llvm/include/llvm/Support/
DErrc.h53 invalid_argument = int(std::errc::invalid_argument), enumerator
/external/llvm/test/Object/
Dcoff-archive.test7 CHECKIDX: ??0invalid_argument@std@@QAE@PBD@Z in Debug\mymath.obj
9 CHECKIDX: ??1invalid_argument@std@@UAE@XZ in Debug\mymath.obj
24 CHECKIDX: ??_R1A@?0A@EA@invalid_argument@std@@8 in Debug\mymath.obj
144 CHECKIDX: 00000000 T ??0invalid_argument@std@@QAE@PBD@Z
146 CHECKIDX: 00000000 T ??1invalid_argument@std@@UAE@XZ
159 CHECKIDX: 00000000 R ??_R1A@?0A@EA@invalid_argument@std@@8
/external/stlport/src/
Ddll_main.cpp79 invalid_argument::~invalid_argument() _STLP_NOTHROW_INHERENTLY {} in ~invalid_argument()

12