Home
last modified time | relevance | path

Searched refs:number_float (Results 1 – 25 of 47) sorted by relevance

12

/third_party/json/include/nlohmann/detail/iterators/
Diter_impl.hpp112 case value_t::number_float: in iter_impl()
215 case value_t::number_float:
253 case value_t::number_float: in set_end()
294 case value_t::number_float: in operator *()
336 case value_t::number_float: in operator ->()
389 case value_t::number_float: in operator ++()
440 case value_t::number_float: in operator --()
481 case value_t::number_float: in operator ==()
526 case value_t::number_float: in operator <()
585 case value_t::number_float: in operator +=()
[all …]
/third_party/json/include/nlohmann/
Djson.hpp991 number_float_t number_float; member
1002 json_value(number_float_t v) noexcept : number_float(v) {} in json_value()
1050 case value_t::number_float: in json_value()
1052 number_float = number_float_t(0.0); in json_value()
1224 case value_t::number_float: in destroy()
1302 case value_t::number_float: in set_parents()
1624 case value_t::number_float: in basic_json()
2071 case value_t::number_float: in basic_json()
2107 case value_t::number_float: in basic_json()
2109 m_value.number_float = first.m_object->m_value.number_float; in basic_json()
[all …]
/third_party/json/test/src/
Dunit-conversions.cpp117 CHECK_THROWS_AS(json(json::value_t::number_float).get<json::object_t>(),
139 json(json::value_t::number_float).get<json::object_t>(),
321 CHECK_THROWS_AS(json(json::value_t::number_float).get<json::array_t>(),
346 json(json::value_t::number_float).get<json::array_t>(),
488 CHECK_THROWS_AS(json(json::value_t::number_float).get<json::string_t>(),
510 json(json::value_t::number_float).get<json::string_t>(),
523 … CHECK_THROWS_AS(json(json::value_t::number_float).get<std::string_view>(), json::type_error&);
537 CHECK_THROWS_WITH(json(json::value_t::number_float).get<std::string_view>(),
586 CHECK_THROWS_AS(json(json::value_t::number_float).get<std::nullptr_t>(), json::type_error&);
600 CHECK_THROWS_WITH(json(json::value_t::number_float).get<std::nullptr_t>(),
[all …]
Dunit-constructor1.cpp111 auto t = json::value_t::number_float;
829 CHECK(j.type() == json::value_t::number_float);
836 CHECK(j.type() == json::value_t::number_float);
844 CHECK(j.type() == json::value_t::number_float);
859 CHECK(j.type() == json::value_t::number_float);
880 CHECK(j.type() == json::value_t::number_float);
881 CHECK(j.m_value.number_float == Approx(j_reference.m_value.number_float));
888 CHECK(j.type() == json::value_t::number_float);
889 CHECK(j.m_value.number_float == Approx(j_reference.m_value.number_float));
896 CHECK(j.type() == json::value_t::number_float);
[all …]
Dunit-element_access2.cpp139 json j_nonobject(json::value_t::number_float);
276 json j_nonobject(json::value_t::number_float);
277 const json j_nonobject_const(json::value_t::number_float);
394 json j_nonobject(json::value_t::number_float);
395 const json j_nonobject_const(json::value_t::number_float);
574 json j_nonobject(json::value_t::number_float);
802 json j_nonobject(json::value_t::number_float);
891 json j_nonarray(json::value_t::number_float);
978 json j_nonobject(json::value_t::number_float);
979 const json j_nonobject_const(json::value_t::number_float);
[all …]
Dunit-convenience.cpp59 CHECK(std::string(json(json::value_t::number_float).type_name()) == "number");
/third_party/json/include/nlohmann/detail/
Djson_pointer.hpp448 case detail::value_t::number_float: in get_and_create()
528 case detail::value_t::number_float: in get_unchecked()
578 case detail::value_t::number_float: in get_checked()
633 case detail::value_t::number_float: in get_unchecked()
683 case detail::value_t::number_float: in get_checked()
761 case detail::value_t::number_float: in contains()
902 case detail::value_t::number_float: in flatten()
Dvalue_t.hpp49 number_float, ///< number value (floating-point) enumerator
/third_party/json/include/nlohmann/detail/output/
Dbinary_writer.hpp65 case value_t::number_float: in write_bson()
190 case value_t::number_float: in write_cbor()
192 if (std::isnan(j.m_value.number_float)) in write_cbor()
199 else if (std::isinf(j.m_value.number_float)) in write_cbor()
203 … oa->write_character(j.m_value.number_float > 0 ? to_char_type(0x7C) : to_char_type(0xFC)); in write_cbor()
208 write_compact_float(j.m_value.number_float, detail::input_format_t::cbor); in write_cbor()
530 case value_t::number_float: in write_msgpack()
532 write_compact_float(j.m_value.number_float, detail::input_format_t::msgpack); in write_msgpack()
764 case value_t::number_float: in write_ubjson()
766 write_number_with_ubjson_prefix(j.m_value.number_float, add_prefix); in write_ubjson()
[all …]
/third_party/json/doc/mkdocs/docs/features/binary_formats/
Dmessagepack.md34 number_float | *any value representable by a float* | float 32 | 0xCA
35 number_float | *any value NOT representable by a float* | float 64 | 0xCB
94 float 32 | number_float | 0xCA
95 float 64 | number_float | 0xCB
Dcbor.md35 number_float | *any value representable by a float* | Single-Precision Float |…
36 number_float | *any value NOT representable by a float* | Double-Precision Float |…
145 Half-Precision Float | number_float | 0xF9
146 Single-Precision Float | number_float | 0xFA
147 Double-Precision Float | number_float | 0xFB
Dubjson.md32 number_float | *any value* | float64 | `D`
106 float32 | number_float | `d`
107 float64 | number_float | `D`
Dbson.md25 number_float | *any value* | double | 0x01
58 double | 0x01 | number_float
/third_party/json/doc/mkdocs/docs/api/basic_json/
Dvalue_t.md12 number_float,
27 There are three enumeration entries (number_integer, number_unsigned, and number_float), because th…
Dtype.md20 number (floating-point) | `value_t::number_float`
Doperator_value_t.md20 number (floating-point) | `value_t::number_float`
/third_party/json/include/nlohmann/detail/input/
Djson_sax.hpp64 virtual bool number_float(number_float_t val, const string_t& s) = 0;
203 bool number_float(number_float_t val, const string_t& /*unused*/) in number_float() function in nlohmann::detail::json_sax_dom_parser
378 bool number_float(number_float_t val, const string_t& /*unused*/) in number_float() function in nlohmann::detail::json_sax_dom_callback_parser
664 bool number_float(number_float_t /*unused*/, const string_t& /*unused*/) in number_float() function in nlohmann::detail::json_sax_acceptor
Dbinary_reader.hpp269 …return get_number<double, true>(input_format_t::bson, number) && sax->number_float(static_cast<num… in parse_bson_element_internal()
859 return sax->number_float((half & 0x8000u) != 0 in parse_cbor_internal()
867 …return get_number(input_format_t::cbor, number) && sax->number_float(static_cast<number_float_t>(n… in parse_cbor_internal()
873 …return get_number(input_format_t::cbor, number) && sax->number_float(static_cast<number_float_t>(n… in parse_cbor_internal()
1424 …return get_number(input_format_t::msgpack, number) && sax->number_float(static_cast<number_float_t… in parse_msgpack_internal()
1430 …return get_number(input_format_t::msgpack, number) && sax->number_float(static_cast<number_float_t… in parse_msgpack_internal()
2049 …return get_number(input_format_t::ubjson, number) && sax->number_float(static_cast<number_float_t>… in get_ubjson_value()
2055 …return get_number(input_format_t::ubjson, number) && sax->number_float(static_cast<number_float_t>… in get_ubjson_value()
2282 return sax->number_float(number_lexer.get_number_float(), std::move(number_string)); in get_ubjson_high_precision_number()
/third_party/json/single_include/nlohmann/
Djson.hpp129 number_float, ///< number value (floating-point) enumerator
2706 case value_t::number_float: // LCOV_EXCL_LINE in diagnostics()
3918 case value_t::number_float: in get_arithmetic_value()
4205 case value_t::number_float: in from_json()
4450 case value_t::number_float: in key()
4629 struct external_constructor<value_t::number_float>
4635 j.m_type = value_t::number_float; in construct()
4803 …external_constructor<value_t::number_float>::construct(j, static_cast<typename BasicJsonType::numb… in to_json()
5279 case BasicJsonType::value_t::number_float: in hash()
5878 virtual bool number_float(number_float_t val, const string_t& s) = 0;
[all …]
/third_party/json/doc/mkdocs/docs/features/parsing/
Dsax_interface.md14 + {abstract} bool number_float(number_float_t val, const string_t& s)
41 bool number_float(number_float_t val, const string_t& s);
/third_party/json/doc/examples/
Dbasic_json__value_t.cpp12 json j_number_float(json::value_t::number_float); in main()
Dtype.cpp24 std::cout << (j_number_float.type() == json::value_t::number_float) << '\n'; in main()
Doperator__value_t.cpp34 std::cout << (t_number_float == json::value_t::number_float) << '\n'; in main()
Dsax_parse.cpp40 bool number_float(number_float_t val, const string_t& s) override in number_float() function in sax_event_consumer
/third_party/json/include/nlohmann/detail/conversions/
Dto_json.hpp103 struct external_constructor<value_t::number_float>
109 j.m_type = value_t::number_float; in construct()
277 …external_constructor<value_t::number_float>::construct(j, static_cast<typename BasicJsonType::numb… in to_json()

12