/third_party/json/test/src/ |
D | unit-reference_access.cpp | 83 CHECK_THROWS_AS(value.get_ref<json::number_float_t&>(), json::type_error&); 84 CHECK_THROWS_WITH(value.get_ref<json::number_float_t&>(), 133 CHECK_THROWS_AS(value.get_ref<json::number_float_t&>(), json::type_error&); 134 CHECK_THROWS_WITH(value.get_ref<json::number_float_t&>(), 169 CHECK_THROWS_AS(value.get_ref<json::number_float_t&>(), json::type_error&); 170 CHECK_THROWS_WITH(value.get_ref<json::number_float_t&>(), 205 CHECK_THROWS_AS(value.get_ref<json::number_float_t&>(), json::type_error&); 206 CHECK_THROWS_WITH(value.get_ref<json::number_float_t&>(), 241 CHECK_THROWS_AS(value.get_ref<json::number_float_t&>(), json::type_error&); 242 CHECK_THROWS_WITH(value.get_ref<json::number_float_t&>(), [all …]
|
D | unit-pointer_access.cpp | 62 CHECK(value.get_ptr<json::number_float_t*>() == nullptr); 91 CHECK(value.get_ptr<const json::number_float_t*>() == nullptr); 120 CHECK(value.get_ptr<json::number_float_t*>() == nullptr); 149 CHECK(value.get_ptr<const json::number_float_t*>() == nullptr); 178 CHECK(value.get_ptr<json::number_float_t*>() == nullptr); 207 CHECK(value.get_ptr<const json::number_float_t*>() == nullptr); 236 CHECK(value.get_ptr<json::number_float_t*>() == nullptr); 265 CHECK(value.get_ptr<const json::number_float_t*>() == nullptr); 294 CHECK(value.get_ptr<json::number_float_t*>() == nullptr); 323 CHECK(value.get_ptr<const json::number_float_t*>() == nullptr); [all …]
|
D | unit-conversions.cpp | 1189 json::number_float_t n_reference{42.23}; 1194 auto n = j.get<json::number_float_t>(); 1212 CHECK_THROWS_AS(json(json::value_t::null).get<json::number_float_t>(), 1214 CHECK_THROWS_AS(json(json::value_t::object).get<json::number_float_t>(), 1216 CHECK_THROWS_AS(json(json::value_t::array).get<json::number_float_t>(), 1218 CHECK_THROWS_AS(json(json::value_t::string).get<json::number_float_t>(), 1220 CHECK_THROWS_AS(json(json::value_t::boolean).get<json::number_float_t>(), 1224 json(json::value_t::null).get<json::number_float_t>(), 1227 json(json::value_t::object).get<json::number_float_t>(), 1230 json(json::value_t::array).get<json::number_float_t>(), [all …]
|
D | unit-cbor.cpp | 71 bool number_float(json::number_float_t /*unused*/, const std::string& /*unused*/) in number_float() argument 136 json j = std::numeric_limits<json::number_float_t>::quiet_NaN(); 145 json j = std::numeric_limits<json::number_float_t>::infinity(); 1014 json::number_float_t d{j}; 1021 json::number_float_t d{j}; 1028 json::number_float_t d{j}; 1038 json::number_float_t d{j}; 1039 CHECK(d == std::numeric_limits<json::number_float_t>::infinity()); 1046 json::number_float_t d{j}; 1047 CHECK(d == -std::numeric_limits<json::number_float_t>::infinity()); [all …]
|
D | unit-constructor1.cpp | 827 json::number_float_t n{}; 834 json::number_float_t n(42.23); 842 json::number_float_t n(std::numeric_limits<json::number_float_t>::quiet_NaN()); 847 json::number_float_t d{j}; 857 json::number_float_t n(std::numeric_limits<json::number_float_t>::infinity()); 862 json::number_float_t d{j}; 873 json::number_float_t n_reference = 42.23;
|
/third_party/json/include/nlohmann/detail/input/ |
D | json_sax.hpp | 27 using number_float_t = typename BasicJsonType::number_float_t; typedef 64 virtual bool number_float(number_float_t val, const string_t& s) = 0; 159 using number_float_t = typename BasicJsonType::number_float_t; typedef in nlohmann::detail::json_sax_dom_parser 203 bool number_float(number_float_t val, const string_t& /*unused*/) in number_float() 333 using number_float_t = typename BasicJsonType::number_float_t; typedef in nlohmann::detail::json_sax_dom_callback_parser 378 bool number_float(number_float_t val, const string_t& /*unused*/) in number_float() 640 using number_float_t = typename BasicJsonType::number_float_t; typedef in nlohmann::detail::json_sax_acceptor 664 bool number_float(number_float_t /*unused*/, const string_t& /*unused*/) in number_float() argument
|
D | binary_reader.hpp | 63 using number_float_t = typename BasicJsonType::number_float_t; typedef in nlohmann::detail::binary_reader 269 … true>(input_format_t::bson, number) && sax->number_float(static_cast<number_float_t>(number), ""); in parse_bson_element_internal() 860 ? static_cast<number_float_t>(-val) in parse_cbor_internal() 861 : static_cast<number_float_t>(val), ""); in parse_cbor_internal() 867 …number(input_format_t::cbor, number) && sax->number_float(static_cast<number_float_t>(number), ""); in parse_cbor_internal() 873 …number(input_format_t::cbor, number) && sax->number_float(static_cast<number_float_t>(number), ""); in parse_cbor_internal() 1424 …ber(input_format_t::msgpack, number) && sax->number_float(static_cast<number_float_t>(number), ""); in parse_msgpack_internal() 1430 …ber(input_format_t::msgpack, number) && sax->number_float(static_cast<number_float_t>(number), ""); in parse_msgpack_internal() 2049 …mber(input_format_t::ubjson, number) && sax->number_float(static_cast<number_float_t>(number), ""); in get_ubjson_value() 2055 …mber(input_format_t::ubjson, number) && sax->number_float(static_cast<number_float_t>(number), ""); in get_ubjson_value()
|
D | lexer.hpp | 107 using number_float_t = typename BasicJsonType::number_float_t; typedef in nlohmann::detail::lexer 1416 constexpr number_float_t get_number_float() const noexcept in get_number_float() 1617 number_float_t value_float = 0;
|
/third_party/json/include/nlohmann/detail/meta/ |
D | is_sax.hpp | 73 using number_float_t = typename BasicJsonType::number_float_t; typedef 84 is_detected_exact<bool, number_float_function_t, SAX, number_float_t, string_t>::value && 104 using number_float_t = typename BasicJsonType::number_float_t; typedef 125 number_float_t, string_t>::value,
|
/third_party/json/include/nlohmann/detail/output/ |
D | serializer.hpp | 43 using number_float_t = typename BasicJsonType::number_float_t; typedef in nlohmann::detail::serializer 768 void dump_float(number_float_t x) in dump_float() 783 …d::numeric_limits<number_float_t>::is_iec559 && std::numeric_limits<number_float_t>::digits == 24 … in dump_float() 784 …d::numeric_limits<number_float_t>::is_iec559 && std::numeric_limits<number_float_t>::digits == 53 … in dump_float() 789 void dump_float(number_float_t x, std::true_type /*is_ieee_single_or_double*/) in dump_float() 797 void dump_float(number_float_t x, std::false_type /*is_ieee_single_or_double*/) in dump_float() 800 static constexpr auto d = std::numeric_limits<number_float_t>::max_digits10; in dump_float()
|
/third_party/json/include/nlohmann/detail/ |
D | hash.hpp | 39 using number_float_t = typename BasicJsonType::number_float_t; in hash() typedef 98 const auto h = std::hash<number_float_t> {}(j.template get<number_float_t>()); in hash()
|
/third_party/json/doc/mkdocs/docs/api/basic_json/ |
D | number_float_t.md | 1 # basic_json::number_float_t 4 using number_float_t = NumberFloatType; 17 …eger_t`](number_integer_t.md), [`number_unsigned_t`](number_unsigned_t.md) and `number_float_t` are 27 With the default values for `NumberFloatType` (`double`), the default value for `number_float_t` is…
|
D | number_unsigned_t.md | 17 …_integer_t`](number_integer_t.md), `number_unsigned_t` and [`number_float_t`](number_float_t.md) a… 45 as [`number_integer_t`](number_integer_t.md) or [`number_float_t`](number_float_t.md).
|
D | number_integer_t.md | 17 …teger_t`, [`number_unsigned_t`](number_unsigned_t.md) and [`number_float_t`](number_float_t.md) a… 45 … be stored as [`number_unsigned_t`](number_unsigned_t.md) or [`number_float_t`](number_float_t.md).
|
D | value_t.md | 29 …_t`](number_integer_t.md) is used for signed integers, and [`number_float_t`](number_float_t.md) i…
|
D | get_ref.md | 18 …[`number_unsigned_t`](number_unsigned_t.md), [`number_float_t`](number_float_t.md), or [`binary_t`…
|
D | get_ptr.md | 18 …[`number_unsigned_t`](number_unsigned_t.md), [`number_float_t`](number_float_t.md), or [`binary_t`…
|
/third_party/json/doc/examples/ |
D | basic_json__CompatibleType.cpp | 173 json::number_float_t v_ok = 3.141592653589793; in main() 174 json::number_float_t v_nan = NAN; in main() 175 json::number_float_t v_infinity = INFINITY; in main()
|
D | get_ref.cpp | 21 auto r3 = value.get_ref<json::number_float_t&>(); in main()
|
D | get_ptr.cpp | 16 auto p5 = value.get_ptr<json::number_float_t*>(); in main()
|
D | get__PointerType.cpp | 16 auto p5 = value.get<json::number_float_t*>(); in main()
|
/third_party/json/doc/mkdocs/docs/features/types/ |
D | index.md | 44 number_float_t number_float 58 + <u>typedef</u> number_float_t 102 using number_float_t = NumberFloatType; 232 …ore, three different types, `number_integer_t`, `number_unsigned_t`, and `number_float_t` are used. 238 …alues for *NumberFloatType* (`#!cpp double`), the default value for `number_float_t` is `#!cpp dou… 251 …r small integer numbers will be automatically be stored as `number_unsigned_t` or `number_float_t`. 253 …or small integer numbers will be automatically be stored as `number_integer_t` or `number_float_t`.
|
/third_party/json/include/nlohmann/detail/conversions/ |
D | from_json.hpp | 57 … static_cast<ArithmeticType>(*j.template get_ptr<const typename BasicJsonType::number_float_t*>()); in get_arithmetic_value() 111 void from_json(const BasicJsonType& j, typename BasicJsonType::number_float_t& val) in from_json() 325 !std::is_same<ArithmeticType, typename BasicJsonType::number_float_t>::value&& 344 … static_cast<ArithmeticType>(*j.template get_ptr<const typename BasicJsonType::number_float_t*>()); in from_json()
|
/third_party/json/include/nlohmann/ |
D | json.hpp | 850 using number_float_t = NumberFloatType; typedef in nlohmann::basic_json 991 number_float_t number_float; 1002 json_value(number_float_t v) noexcept : number_float(v) {} in json_value() 1052 number_float = number_float_t(0.0); in json_value() 1611 using other_number_float_t = typename BasicJsonType::number_float_t; in basic_json() 2925 number_float_t* get_impl_ptr(number_float_t* /*unused*/) noexcept in get_impl_ptr() argument 2931 constexpr const number_float_t* get_impl_ptr(const number_float_t* /*unused*/) const noexcept in get_impl_ptr() 6393 … return static_cast<number_float_t>(lhs.m_value.number_integer) == rhs.m_value.number_float; in operator ==() 6397 … return lhs.m_value.number_float == static_cast<number_float_t>(rhs.m_value.number_integer); in operator ==() 6401 … return static_cast<number_float_t>(lhs.m_value.number_unsigned) == rhs.m_value.number_float; in operator ==() [all …]
|
/third_party/json/doc/mkdocs/docs/features/parsing/ |
D | sax_interface.md | 14 + {abstract} bool number_float(number_float_t val, const string_t& s) 41 bool number_float(number_float_t val, const string_t& s);
|