Home
last modified time | relevance | path

Searched refs:out_of_range (Results 1 - 25 of 76) sorted by relevance

1234

/third_party/json/tests/src/
H A Dunit-json_pointer.cpp36 "[json.exception.out_of_range.405] JSON pointer has no parent", json::out_of_range&);
38 "[json.exception.out_of_range.405] JSON pointer has no parent", json::out_of_range&);
45 "[json.exception.out_of_range.404] unresolved reference token '10e'", json::out_of_range&);
148 "[json.exception.out_of_range.404] unresolved reference token 'foo'", json::out_of_range&);
150 "[json.exception.out_of_range.404] unresolved reference token 'foo'", json::out_of_range
[all...]
H A Dunit-32bit.cpp115 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(vM), "[json.exception.out_of_range.408] syntax error while parsing BJData size: integer value overflow", json::out_of_range&);
118 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(vMX), "[json.exception.out_of_range.408] syntax error while parsing BJData size: integer value overflow", json::out_of_range&);
128 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(vL), "[json.exception.out_of_range.408] syntax error while parsing BJData size: integer value overflow", json::out_of_range&);
131 CHECK_THROWS_WITH_AS(_ = json::from_bjdata(vM), "[json.exception.out_of_range.408] syntax error while parsing BJData size: integer value overflow", json::out_of_range&);
H A Dunit-json_patch.cpp63 CHECK_THROWS_WITH_AS(doc2.patch(patch1), "[json.exception.out_of_range.403] key 'a' not found", json::out_of_range&);
70 CHECK_THROWS_WITH_AS(doc3.patch(patch2), "[json.exception.out_of_range.403] (/a) key 'b' not found", json::out_of_range&);
72 CHECK_THROWS_WITH_AS(doc3.patch(patch2), "[json.exception.out_of_range.403] key 'b' not found", json::out_of_range&);
421 CHECK_THROWS_WITH_AS(doc.patch(patch), "[json.exception.out_of_range.403] key 'baz' not found", json::out_of_range&);
757 CHECK_THROWS_WITH_AS(j.patch(patch), "[json.exception.out_of_range.401] array index 4 is out of range", json::out_of_range
[all...]
H A Dunit-ordered_map.cpp46 CHECK_THROWS_AS(om.at(std::string("vier")), std::out_of_range);
47 CHECK_THROWS_AS(com.at(std::string("vier")), std::out_of_range);
56 CHECK_THROWS_AS(om.at(vier), std::out_of_range);
57 CHECK_THROWS_AS(com.at(vier), std::out_of_range);
64 CHECK_THROWS_AS(om.at("vier"), std::out_of_range);
65 CHECK_THROWS_AS(com.at("vier"), std::out_of_range);
H A Dfuzzer-parse_bson.cpp67 catch (const json::out_of_range&) in LLVMFuzzerTestOneInput()
H A Dfuzzer-parse_cbor.cpp62 catch (const json::out_of_range&) in LLVMFuzzerTestOneInput()
H A Dfuzzer-parse_json.cpp63 catch (const json::out_of_range&) in LLVMFuzzerTestOneInput()
H A Dfuzzer-parse_msgpack.cpp62 catch (const json::out_of_range&) in LLVMFuzzerTestOneInput()
/third_party/json/docs/examples/
H A Dat__json_pointer_const.cpp26 // out_of_range.109 in main()
37 // out_of_range.401 in main()
43 catch (json::out_of_range& e) in main()
48 // out_of_range.402 in main()
54 catch (json::out_of_range& e) in main()
59 // out_of_range.403 in main()
65 catch (json::out_of_range& e) in main()
70 // out_of_range.404 in main()
76 catch (json::out_of_range& e) in main()
H A Dat__json_pointer.cpp39 // out_of_range.106 in main()
50 // out_of_range.109 in main()
61 // out_of_range.401 in main()
67 catch (json::out_of_range& e) in main()
72 // out_of_range.402 in main()
78 catch (json::out_of_range& e) in main()
83 // out_of_range.403 in main()
89 catch (json::out_of_range& e) in main()
94 // out_of_range.404 in main()
100 catch (json::out_of_range in main()
[all...]
H A Dout_of_range.cpp14 catch (json::out_of_range& e) in main()
H A Dat__object_t_key_type.cpp38 // exception out_of_range.401 in main()
44 catch (json::out_of_range& e) in main()
H A Dat__object_t_key_type_const.cpp32 // exception out_of_range.401 in main()
38 catch (json::out_of_range) in main()
H A Dat__size_type.cpp33 // exception out_of_range.401 in main()
39 catch (json::out_of_range& e) in main()
H A Dat__size_type_const.cpp27 // exception out_of_range.401 in main()
33 catch (json::out_of_range& e) in main()
H A Dat__keytype.c++17.cpp40 // exception out_of_range.401 in main()
46 catch (json::out_of_range& e) in main()
/third_party/json/include/nlohmann/detail/
H A Djson_pointer.hpp163 JSON_THROW(detail::out_of_range::create(405, "JSON pointer has no parent", nullptr)); in pop_back()
175 JSON_THROW(detail::out_of_range::create(405, "JSON pointer has no parent", nullptr)); in back()
210 @throw out_of_range.404 if string @a s could not be converted to an integer
211 @throw out_of_range.410 if an array index exceeds size_type
238 JSON_THROW(detail::out_of_range::create(404, detail::concat("unresolved reference token '", s, "'"), nullptr)); in array_index()
245 JSON_THROW(detail::out_of_range::create(410, detail::concat("array index ", s, " exceeds size_type"), nullptr)); // LCOV_EXCL_LINE in array_index()
256 JSON_THROW(detail::out_of_range::create(405, "JSON pointer has no parent", nullptr)); in top()
351 @throw out_of_range.404 if the JSON pointer can not be resolved
408 JSON_THROW(detail::out_of_range::create(404, detail::concat("unresolved reference token '", reference_token, "'"), ptr)); in get_unchecked()
418 @throw out_of_range
[all...]
H A Dexceptions.hpp221 /// @sa https://json.nlohmann.me/api/basic_json/out_of_range/
222 class out_of_range : public exception class
226 static out_of_range create(int id_, const std::string& what_arg, BasicJsonContext context) in create()
228 std::string w = concat(exception::name("out_of_range", id_), exception::diagnostics(context), what_arg); in create()
234 out_of_range(int id_, const char* what_arg) : exception(id_, what_arg) {} in out_of_range() function in detail::out_of_range
/third_party/json/include/nlohmann/
H A Dordered_map.hpp15 #include <stdexcept> // for out_of_range
116 JSON_THROW(std::out_of_range("key not found")); in at()
131 JSON_THROW(std::out_of_range("key not found")); in at()
144 JSON_THROW(std::out_of_range("key not found")); in at()
159 JSON_THROW(std::out_of_range("key not found")); in at()
/third_party/benchmark/src/
H A Dstring_util.cc190 throw std::out_of_range("stoul failed: " + str + in stoul()
216 throw std::out_of_range("stoul failed: " + str + in stoi()
242 throw std::out_of_range("stoul failed: " + str + in stod()
/third_party/mesa3d/src/gallium/frontends/clover/api/
H A Dkernel.cpp41 } catch (std::out_of_range &) { in clCreateKernel()
103 } catch (std::out_of_range &) { in clSetKernelArg()
192 } catch (std::out_of_range &) {
234 } catch (std::out_of_range &) { in clGetKernelArgInfo()
384 } catch (std::out_of_range &) { in clSetKernelArgSVMPointer()
/third_party/skia/third_party/externals/abseil-cpp/absl/base/
H A Dthrow_delegate_test.cc87 ExpectThrowChar<std::out_of_range>(ThrowStdOutOfRange); in TEST()
97 ExpectThrowString<std::out_of_range>(ThrowStdOutOfRange); in TEST()
/third_party/mesa3d/src/gallium/frontends/clover/util/
H A Dalgorithm.hpp66 throw std::out_of_range(""); in unique()
165 throw std::out_of_range(""); in find()
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/
H A Dthrow_delegate.cc111 Throw(std::out_of_range(what_arg)); in ThrowStdOutOfRange()
119 Throw(std::out_of_range(what_arg)); in ThrowStdOutOfRange()
/third_party/json/include/nlohmann/detail/input/
H A Djson_sax.hpp235 JSON_THROW(out_of_range::create(408, concat("excessive object size: ", std::to_string(len)), ref_stack.back())); in start_object()
267 JSON_THROW(out_of_range::create(408, concat("excessive array size: ", std::to_string(len)), ref_stack.back())); in start_array()
425 JSON_THROW(out_of_range::create(408, concat("excessive object size: ", std::to_string(len)), ref_stack.back())); in start_object()
495 JSON_THROW(out_of_range::create(408, concat("excessive array size: ", std::to_string(len)), ref_stack.back())); in start_array()

Completed in 10 milliseconds

1234