/third_party/json/test/src/ |
D | unit-reference_access.cpp | 77 CHECK_THROWS_AS(value.get_ref<json::number_integer_t&>(), json::type_error&); 78 CHECK_THROWS_WITH(value.get_ref<json::number_integer_t&>(), 127 CHECK_THROWS_AS(value.get_ref<json::number_integer_t&>(), json::type_error&); 128 CHECK_THROWS_WITH(value.get_ref<json::number_integer_t&>(), 163 CHECK_THROWS_AS(value.get_ref<json::number_integer_t&>(), json::type_error&); 164 CHECK_THROWS_WITH(value.get_ref<json::number_integer_t&>(), 199 CHECK_THROWS_AS(value.get_ref<json::number_integer_t&>(), json::type_error&); 200 CHECK_THROWS_WITH(value.get_ref<json::number_integer_t&>(), 212 using test_type = json::number_integer_t; 237 CHECK_NOTHROW(value.get_ref<json::number_integer_t&>()); [all …]
|
D | unit-pointer_access.cpp | 60 CHECK(value.get_ptr<json::number_integer_t*>() == nullptr); 89 CHECK(value.get_ptr<const json::number_integer_t*>() == nullptr); 118 CHECK(value.get_ptr<json::number_integer_t*>() == nullptr); 147 CHECK(value.get_ptr<const json::number_integer_t*>() == nullptr); 176 CHECK(value.get_ptr<json::number_integer_t*>() == nullptr); 205 CHECK(value.get_ptr<const json::number_integer_t*>() == nullptr); 234 CHECK(value.get_ptr<json::number_integer_t*>() == nullptr); 263 CHECK(value.get_ptr<const json::number_integer_t*>() == nullptr); 271 using test_type = json::number_integer_t; 292 CHECK(value.get_ptr<json::number_integer_t*>() != nullptr); [all …]
|
D | unit-conversions.cpp | 726 json::number_integer_t n_reference{42}; 733 auto n = j.get<json::number_integer_t>(); 937 CHECK_THROWS_AS(json(json::value_t::null).get<json::number_integer_t>(), 939 CHECK_THROWS_AS(json(json::value_t::object).get<json::number_integer_t>(), 941 CHECK_THROWS_AS(json(json::value_t::array).get<json::number_integer_t>(), 943 CHECK_THROWS_AS(json(json::value_t::string).get<json::number_integer_t>(), 946 json(json::value_t::boolean).get<json::number_integer_t>(), 950 json(json::value_t::null).get<json::number_integer_t>(), 953 json(json::value_t::object).get<json::number_integer_t>(), 956 json(json::value_t::array).get<json::number_integer_t>(), [all …]
|
D | unit-msgpack.cpp | 60 bool number_integer(json::number_integer_t /*unused*/) in number_integer() argument 213 … j.get_ref<json::number_integer_t&>() = static_cast<json::number_integer_t>(i); 244 … j.get_ref<json::number_integer_t&>() = static_cast<json::number_integer_t>(i); 278 … j.get_ref<json::number_integer_t&>() = static_cast<json::number_integer_t>(i); 316 … j.get_ref<json::number_integer_t&>() = static_cast<json::number_integer_t>(i); 359 … j.get_ref<json::number_integer_t&>() = static_cast<json::number_integer_t>(i);
|
/third_party/json/include/nlohmann/detail/input/ |
D | json_sax.hpp | 25 using number_integer_t = typename BasicJsonType::number_integer_t; typedef 49 virtual bool number_integer(number_integer_t val) = 0; 157 using number_integer_t = typename BasicJsonType::number_integer_t; typedef in nlohmann::detail::json_sax_dom_parser 191 bool number_integer(number_integer_t val) in number_integer() 331 using number_integer_t = typename BasicJsonType::number_integer_t; typedef in nlohmann::detail::json_sax_dom_callback_parser 366 bool number_integer(number_integer_t val) in number_integer() 638 using number_integer_t = typename BasicJsonType::number_integer_t; typedef in nlohmann::detail::json_sax_acceptor 654 bool number_integer(number_integer_t /*unused*/) in number_integer() argument
|
D | lexer.hpp | 105 using number_integer_t = typename BasicJsonType::number_integer_t; typedef in nlohmann::detail::lexer 1268 value_integer = static_cast<number_integer_t>(x); in scan_number() 1404 constexpr number_integer_t get_number_integer() const noexcept in get_number_integer() 1615 number_integer_t value_integer = 0;
|
D | binary_reader.hpp | 61 using number_integer_t = typename BasicJsonType::number_integer_t; typedef in nlohmann::detail::binary_reader 497 …er(input_format_t::cbor, number) && sax->number_integer(static_cast<number_integer_t>(-1) - number… in parse_cbor_internal() 503 …er(input_format_t::cbor, number) && sax->number_integer(static_cast<number_integer_t>(-1) - number… in parse_cbor_internal() 509 …er(input_format_t::cbor, number) && sax->number_integer(static_cast<number_integer_t>(-1) - number… in parse_cbor_internal() 515 …n get_number(input_format_t::cbor, number) && sax->number_integer(static_cast<number_integer_t>(-1) in parse_cbor_internal() 516 - static_cast<number_integer_t>(number)); in parse_cbor_internal()
|
/third_party/json/doc/examples/ |
D | get_ptr.cpp | 12 auto p1 = value.get_ptr<const json::number_integer_t*>(); in main() 13 auto p2 = value.get_ptr<json::number_integer_t*>(); in main() 14 auto p3 = value.get_ptr<json::number_integer_t* const>(); in main() 15 auto p4 = value.get_ptr<const json::number_integer_t* const>(); in main()
|
D | get__PointerType.cpp | 12 auto p1 = value.get<const json::number_integer_t*>(); in main() 13 auto p2 = value.get<json::number_integer_t*>(); in main() 14 auto p3 = value.get<json::number_integer_t* const>(); in main() 15 auto p4 = value.get<const json::number_integer_t* const>(); in main()
|
D | get_ref.cpp | 12 auto r1 = value.get_ref<const json::number_integer_t&>(); in main() 13 auto r2 = value.get_ref<json::number_integer_t&>(); in main()
|
D | basic_json__CompatibleType.cpp | 147 json::number_integer_t value_integer_t = -42; in main() 151 json::number_integer_t value_unsigned_t = 17; in main()
|
/third_party/json/include/nlohmann/detail/meta/ |
D | is_sax.hpp | 71 using number_integer_t = typename BasicJsonType::number_integer_t; typedef 82 is_detected_exact<bool, number_integer_function_t, SAX, number_integer_t>::value && 102 using number_integer_t = typename BasicJsonType::number_integer_t; typedef 118 number_integer_t>::value,
|
/third_party/json/include/nlohmann/detail/ |
D | hash.hpp | 37 using number_integer_t = typename BasicJsonType::number_integer_t; in hash() typedef 86 const auto h = std::hash<number_integer_t> {}(j.template get<number_integer_t>()); in hash()
|
/third_party/json/doc/mkdocs/docs/api/basic_json/ |
D | number_unsigned_t.md | 17 types, [`number_integer_t`](number_integer_t.md), `number_unsigned_t` and [`number_float_t`](number… 45 as [`number_integer_t`](number_integer_t.md) or [`number_float_t`](number_float_t.md). 51 As this range is a subrange (when considered in conjunction with the `number_integer_t` type) of th…
|
D | number_integer_t.md | 1 # basic_json::number_integer_t 4 using number_integer_t = NumberIntegerType; 17 types, `number_integer_t`, [`number_unsigned_t`](number_unsigned_t.md) and [`number_float_t`](numb… 27 …efault values for `NumberIntegerType` (`std::int64_t`), the default value for `number_integer_t` is
|
D | value_t.md | 29 [`number_integer_t`](number_integer_t.md) is used for signed integers, and [`number_float_t`](numbe…
|
D | get_ref.md | 17 …[`string_t`](string_t.md), [`boolean_t`](boolean_t.md), [`number_integer_t`](number_integer_t.md),…
|
D | get_ptr.md | 17 [`boolean_t`](boolean_t.md), [`number_integer_t`](number_integer_t.md), or
|
D | number_float_t.md | 17 types, [`number_integer_t`](number_integer_t.md), [`number_unsigned_t`](number_unsigned_t.md) and `…
|
D | get.md | 76 [`boolean_t`](boolean_t.md), [`number_integer_t`](number_integer_t.md), or
|
D | index.md | 34 | `NumberIntegerType` | type for JSON integer numbers | [`number_integer_t`](number_integer_t.md) | 90 - [**number_integer_t**](number_integer_t.md) - type for numbers (integer)
|
/third_party/json/include/nlohmann/detail/output/ |
D | serializer.hpp | 44 using number_integer_t = typename BasicJsonType::number_integer_t; typedef in nlohmann::detail::serializer 679 std::is_same<NumberType, number_integer_t>::value || 718 abs_value = remove_sign(static_cast<number_integer_t>(x)); in dump_integer() 923 inline number_unsigned_t remove_sign(number_integer_t x) noexcept in remove_sign() 925 …JSON_ASSERT(x < 0 && x < (std::numeric_limits<number_integer_t>::max)()); // NOLINT(misc-redundant… in remove_sign()
|
/third_party/json/doc/mkdocs/docs/features/types/ |
D | index.md | 42 number_integer_t number_integer 56 + <u>typedef</u> number_integer_t 100 using number_integer_t = NumberIntegerType; 232 …eger or a floating-point number. Therefore, three different types, `number_integer_t`, `number_uns… 236 …es for *NumberIntegerType* (`std::int64_t`), the default value for `number_integer_t` is `std::int… 253 … large or small integer numbers will be automatically be stored as `number_integer_t` or `number_f…
|
/third_party/json/include/nlohmann/detail/conversions/ |
D | from_json.hpp | 52 …tatic_cast<ArithmeticType>(*j.template get_ptr<const typename BasicJsonType::number_integer_t*>()); in get_arithmetic_value() 123 void from_json(const BasicJsonType& j, typename BasicJsonType::number_integer_t& val) in from_json() 324 !std::is_same<ArithmeticType, typename BasicJsonType::number_integer_t>::value&& 339 …tatic_cast<ArithmeticType>(*j.template get_ptr<const typename BasicJsonType::number_integer_t*>()); in from_json()
|
/third_party/json/doc/mkdocs/docs/features/parsing/ |
D | sax_interface.md | 11 + {abstract} bool number_integer(number_integer_t val) 37 bool number_integer(number_integer_t val);
|