Home
last modified time | relevance | path

Searched refs:out_of_range (Results 1 – 25 of 216) sorted by relevance

123456789

/third_party/boost/libs/regex/test/unicode/
Dunicode_iterator_test.cpp95 …oost::u8_to_u32_iterator<const boost::uint8_t*>(bad_seq, bad_seq, bad_seq + 9), std::out_of_range); in spot_checks()
96 …oost::u8_to_u32_iterator<const boost::uint8_t*>(bad_seq, bad_seq, bad_seq + 8), std::out_of_range); in spot_checks()
97 …oost::u8_to_u32_iterator<const boost::uint8_t*>(bad_seq, bad_seq, bad_seq + 7), std::out_of_range); in spot_checks()
98 …:u8_to_u32_iterator<const boost::uint8_t*>(bad_seq + 2, bad_seq, bad_seq + 10), std::out_of_range); in spot_checks()
99 …to_u32_iterator<const boost::uint8_t*>(bad_seq + 2, bad_seq + 2, bad_seq + 10), std::out_of_range); in spot_checks()
107 …:u16_to_u32_iterator<const boost::uint16_t*>(bad_seq2, bad_seq2, bad_seq2 + 5), std::out_of_range); in spot_checks()
108 …u32_iterator<const boost::uint16_t*>(bad_seq2 + 1, bad_seq2 + 1, bad_seq2 + 6), std::out_of_range); in spot_checks()
109 …_to_u32_iterator<const boost::uint16_t*>(bad_seq2 + 1, bad_seq2, bad_seq2 + 6), std::out_of_range); in spot_checks()
112 …_to_u32_iterator<const boost::uint8_t*>(bad_seq3 + 5, bad_seq3, bad_seq3 + 5)), std::out_of_range); in spot_checks()
114 …_to_u32_iterator<const boost::uint8_t*>(bad_seq4 + 5, bad_seq4, bad_seq4 + 5)), std::out_of_range); in spot_checks()
[all …]
/third_party/json/test/src/
Dunit-json_pointer.cpp54 CHECK_THROWS_AS(p.top(), json::out_of_range&);
57 CHECK_THROWS_AS(p.pop_back(), json::out_of_range&);
65 CHECK_THROWS_AS(v[ptr], json::out_of_range&);
169 CHECK_THROWS_AS(j_primitive["/foo"_json_pointer], json::out_of_range&);
172 CHECK_THROWS_AS(j_primitive.at("/foo"_json_pointer), json::out_of_range&);
233 CHECK_THROWS_AS(j.at(json::json_pointer("/a/b")), json::out_of_range&);
239 CHECK_THROWS_AS(j_primitive["/foo"_json_pointer], json::out_of_range&);
242 CHECK_THROWS_AS(j_primitive.at("/foo"_json_pointer), json::out_of_range&);
346 "[json.exception.out_of_range.404] unresolved reference token '1+1'");
349 "[json.exception.out_of_range.404] unresolved reference token '1+1'");
[all …]
Dunit-ordered_map.cpp66 CHECK_THROWS_AS(om.at(std::string("vier")), std::out_of_range);
67 CHECK_THROWS_AS(com.at(std::string("vier")), std::out_of_range);
76 CHECK_THROWS_AS(om.at(vier), std::out_of_range);
77 CHECK_THROWS_AS(com.at(vier), std::out_of_range);
84 CHECK_THROWS_AS(om.at("vier"), std::out_of_range);
85 CHECK_THROWS_AS(com.at("vier"), std::out_of_range);
Dunit-json_patch.cpp83 CHECK_THROWS_AS(doc2.patch(patch), json::out_of_range&);
429 CHECK_THROWS_AS(doc.patch(patch), json::out_of_range&);
751 CHECK_THROWS_AS(j.patch(patch), json::out_of_range&);
781 CHECK_THROWS_AS(j.patch(patch), json::out_of_range&);
790 CHECK_THROWS_AS(j.patch(patch), json::out_of_range&);
799 CHECK_THROWS_AS(j.patch(patch), json::out_of_range&);
838 CHECK_THROWS_AS(j.patch(patch), json::out_of_range&);
847 CHECK_THROWS_AS(j.patch(patch), json::out_of_range&);
895 CHECK_THROWS_AS(j.patch(patch), json::out_of_range&);
904 CHECK_THROWS_AS(j.patch(patch), json::out_of_range&);
[all …]
/third_party/json/include/nlohmann/detail/
Djson_pointer.hpp250 JSON_THROW(detail::out_of_range::create(405, "JSON pointer has no parent")); in pop_back()
274 JSON_THROW(detail::out_of_range::create(405, "JSON pointer has no parent")); in back()
357 JSON_CATCH(std::out_of_range&) in array_index()
359 JSON_THROW(detail::out_of_range::create(404, "unresolved reference token '" + s + "'")); in array_index()
365 JSON_THROW(detail::out_of_range::create(404, "unresolved reference token '" + s + "'")); in array_index()
372 …JSON_THROW(detail::out_of_range::create(410, "array index " + s + " exceeds size_type")); // LCOV_… in array_index()
382 JSON_THROW(detail::out_of_range::create(405, "JSON pointer has no parent")); in top()
516 …JSON_THROW(detail::out_of_range::create(404, "unresolved reference token '" + reference_token + "'… in get_unchecked()
547 JSON_THROW(detail::out_of_range::create(402, in get_checked()
558 …JSON_THROW(detail::out_of_range::create(404, "unresolved reference token '" + reference_token + "'… in get_checked()
[all …]
Dexceptions.hpp305 class out_of_range : public exception class
308 static out_of_range create(int id_, const std::string& what_arg) in create()
311 return out_of_range(id_, w.c_str()); in create()
316 out_of_range(int id_, const char* what_arg) : exception(id_, what_arg) {} in out_of_range() function in nlohmann::detail::out_of_range
/third_party/json/doc/examples/
Dat_json_pointer_const.output6 [json.exception.out_of_range.401] array index 4 is out of range
7 [json.exception.out_of_range.402] array index '-' (2) is out of range
8 [json.exception.out_of_range.403] key 'foo' not found
9 [json.exception.out_of_range.404] unresolved reference token 'foo'
Dat_json_pointer.output9 [json.exception.out_of_range.401] array index 4 is out of range
10 [json.exception.out_of_range.402] array index '-' (2) is out of range
11 [json.exception.out_of_range.403] key 'foo' not found
12 [json.exception.out_of_range.404] unresolved reference token 'foo'
Dat_json_pointer_const.cpp42 catch (json::out_of_range& e) in main()
53 catch (json::out_of_range& e) in main()
64 catch (json::out_of_range& e) in main()
75 catch (json::out_of_range& e) in main()
Dat_json_pointer.cpp66 catch (json::out_of_range& e) in main()
77 catch (json::out_of_range& e) in main()
88 catch (json::out_of_range& e) in main()
99 catch (json::out_of_range& e) in main()
/third_party/boost/libs/unordered/test/unordered/
Dat_tests.cpp28 } catch (std::out_of_range&) { in UNORDERED_AUTO_TEST()
34 } catch (std::out_of_range&) { in UNORDERED_AUTO_TEST()
54 } catch (std::out_of_range&) { in UNORDERED_AUTO_TEST()
60 } catch (std::out_of_range&) { in UNORDERED_AUTO_TEST()
/third_party/json/doc/mkdocs/docs/features/element_access/
Dchecked_access.md5 …eference to the desired value if it exists and throws a [`basic_json::out_of_range` exception](../…
59 [json.exception.out_of_range.401] array index 3 is out of range
68 …- [`basic_json::out_of_range` exception](../../home/exceptions.md#out-of-range) exceptions are thr…
76 …ess to non-existing object key | `basic_json::out_of_range` exception is thrown | `basic_json::out…
77 … access to invalid array index | `basic_json::out_of_range` exception is thrown | `basic_json::out…
/third_party/boost/libs/bimap/test/
Dtest_bimap_operator_bracket.cpp58 catch( std::out_of_range & ) in test_bimap_operator_bracket()
82 catch( std::out_of_range & ) in test_bimap_operator_bracket()
102 catch( std::out_of_range & ) in test_bimap_operator_bracket()
136 catch( std::out_of_range & ) in test_bimap_operator_bracket()
154 catch( std::out_of_range & ) in test_bimap_operator_bracket()
/third_party/boost/boost/date_time/gregorian/
Dgreg_day.hpp21 struct BOOST_SYMBOL_VISIBLE bad_day_of_month : public std::out_of_range
24 std::out_of_range(std::string("Day of month value is out of range 1..31")) in bad_day_of_month()
28 std::out_of_range(s) in bad_day_of_month()
Dgreg_day_of_year.hpp21 struct BOOST_SYMBOL_VISIBLE bad_day_of_year : public std::out_of_range
24 std::out_of_range(std::string("Day of year value is out of range 1..366")) in bad_day_of_year()
Dgreg_year.hpp21 struct BOOST_SYMBOL_VISIBLE bad_year : public std::out_of_range
24 std::out_of_range(std::string("Year is out of valid range: 1400..9999")) in bad_year()
Dgreg_weekday.hpp32 struct BOOST_SYMBOL_VISIBLE bad_weekday : public std::out_of_range
34 bad_weekday() : std::out_of_range(std::string("Weekday is out of range 0..6")) {} in bad_weekday()
Dgreg_month.hpp40 struct BOOST_SYMBOL_VISIBLE bad_month : public std::out_of_range
42 bad_month() : std::out_of_range(std::string("Month number is out of range 1..12")) {} in bad_month()
/third_party/boost/libs/array/test/
Darray6.cpp35 catch ( const std::out_of_range & ) {} in RunTests()
41 catch ( const std::out_of_range & ) {} in RunTests()
47 catch ( const std::out_of_range & ) {} in RunTests()
Darray0.cpp70 } catch ( const std::out_of_range & ) { in RunTests()
75 } catch ( const std::out_of_range & ) { in RunTests()
/third_party/boost/libs/bimap/example/
Dat_function_examples.cpp45 catch( std::out_of_range & e ) {} in first_bimap()
78 catch( std::out_of_range & e ) {} in second_bimap()
/third_party/boost/boost/format/
Dexceptions.hpp81 class out_of_range : public format_error class
85 out_of_range(int index, int beg, int end) in out_of_range() function in boost::io::out_of_range
/third_party/boost/boost/date_time/
Dconstrained_value.hpp95 operator std::out_of_range () const in operator std::out_of_range()
98 return std::out_of_range("constrained value boundary has been violated"); in operator std::out_of_range()
/third_party/abseil-cpp/absl/base/internal/
Dthrow_delegate.cc68 Throw(std::out_of_range(what_arg)); in ThrowStdOutOfRange()
71 Throw(std::out_of_range(what_arg)); in ThrowStdOutOfRange()
/third_party/boost/libs/beast/test/beast/core/
Dstatic_string.cpp72 catch(std::out_of_range const&) in testConstruct()
312 catch(std::out_of_range const&) in testAssign()
426 catch(std::out_of_range const&) in testAccess()
440 catch(std::out_of_range const&) in testAccess()
593 catch(std::out_of_range const&) in testOperations()
619 catch(std::out_of_range const&) in testOperations()
645 catch(std::out_of_range const&) in testOperations()
671 catch(std::out_of_range const&) in testOperations()
701 catch(std::out_of_range const&) in testOperations()
776 catch(std::out_of_range const&) in testOperations()
[all …]

123456789