Home
last modified time | relevance | path

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

123

/third_party/json/include/nlohmann/detail/iterators/
Diter_impl.hpp123 case value_t::number_float: in iter_impl()
226 case value_t::number_float:
264 case value_t::number_float: in set_end()
305 case value_t::number_float: in operator *()
347 case value_t::number_float: in operator ->()
400 case value_t::number_float: in operator ++()
451 case value_t::number_float: in operator --()
492 case value_t::number_float: in operator ==()
537 case value_t::number_float: in operator <()
596 case value_t::number_float: in operator +=()
[all …]
/third_party/json/tests/src/
Dunit-constructor1.cpp90 auto t = json::value_t::number_float;
821 CHECK(j.type() == json::value_t::number_float);
828 CHECK(j.type() == json::value_t::number_float);
836 CHECK(j.type() == json::value_t::number_float);
851 CHECK(j.type() == json::value_t::number_float);
872 CHECK(j.type() == json::value_t::number_float);
873 CHECK(j.m_value.number_float == Approx(j_reference.m_value.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);
[all …]
Dunit-conversions.cpp103 json(json::value_t::number_float).get<json::object_t>(),
291 json(json::value_t::number_float).get<json::array_t>(),
439 json(json::value_t::number_float).get<json::string_t>(),
458 CHECK_THROWS_WITH_AS(json(json::value_t::number_float).get<std::string_view>(),
513 CHECK_THROWS_WITH_AS(json(json::value_t::number_float).get<std::nullptr_t>(),
594 json(json::value_t::number_float).get<json::boolean_t>(),
851 json(json::value_t::number_float).get<json::number_integer_t>());
853 json(json::value_t::number_float).get<json::number_unsigned_t>());
1079 CHECK(json(n).m_value.number_float == Approx(j.m_value.number_float));
1085 CHECK(json(n).m_value.number_float == Approx(j.m_value.number_float));
[all …]
/third_party/json/docs/mkdocs/docs/api/json_sax/
Dnumber_float.md1 # <small>nlohmann::json_sax::</small>number_float
4 virtual bool number_float(number_float_t val, const string_t& s) = 0;
Dindex.md33 - [**number_float**](number_float.md) (_virtual_) - a floating-point number was read
/third_party/json/docs/mkdocs/docs/api/basic_json/
Dvalue_t.md12 number_float,
33 3. `number_integer`, `number_unsigned`, `number_float`
43 …There are three enumerators for numbers (`number_integer`, `number_unsigned`, and `number_float`) …
Dtype.md20 | number (floating-point) | `value_t::number_float` |
/third_party/json/docs/mkdocs/docs/features/binary_formats/
Dmessagepack.md37 | number_float | *any value representable by a float* | float 32 | 0xCA |
38 | number_float | *any value NOT representable by a float* | float 64 | 0xCB |
98 | float 32 | number_float | 0xCA |
99 | float 64 | number_float | 0xCB |
Dcbor.md37 | number_float | *any value representable by a float* | Single-Precision Float …
38 | number_float | *any value NOT representable by a float* | Double-Precision Float …
147 | Half-Precision Float | number_float | 0xF9 |
148 | Single-Precision Float | number_float | 0xFA |
149 | Double-Precision Float | number_float | 0xFB |
Dubjson.md33 | number_float | *any value* | float64 | `D` |
100 | float32 | number_float | `d` |
101 | float64 | number_float | `D` |
Dbson.md27 | number_float | *any value* | double | 0x01 |
60 | double | 0x01 | number_float |
Dbjdata.md48 | number_float | *any value* | float64 | `D` |
163 | float16 | number_float | `h` |
164 | float32 | number_float | `d` |
165 | float64 | number_float | `D` |
/third_party/json/include/nlohmann/detail/
Djson_pointer.hpp323 case detail::value_t::number_float: in get_and_create()
404 case detail::value_t::number_float: in get_unchecked()
455 case detail::value_t::number_float: in get_checked()
511 case detail::value_t::number_float: in get_unchecked()
562 case detail::value_t::number_float: in get_checked()
641 case detail::value_t::number_float: in contains()
783 case detail::value_t::number_float: in flatten()
Dvalue_t.hpp62 number_float, ///< number value (floating-point) enumerator
/third_party/json/include/nlohmann/
Djson.hpp440 number_float_t number_float; member
451 json_value(number_float_t v) noexcept : number_float(v) {} in json_value()
499 case value_t::number_float: in json_value()
501 number_float = static_cast<number_float_t>(0.0); in json_value()
643 case value_t::number_float: in destroy()
721 case value_t::number_float: in set_parents()
855 case value_t::number_float: in basic_json()
1038 case value_t::number_float: in basic_json()
1074 case value_t::number_float: in basic_json()
1076 m_value.number_float = first.m_object->m_value.number_float; in basic_json()
[all …]
/third_party/json/include/nlohmann/detail/output/
Dbinary_writer.hpp76 case value_t::number_float: in write_bson()
201 case value_t::number_float: in write_cbor()
203 if (std::isnan(j.m_value.number_float)) in write_cbor()
210 else if (std::isinf(j.m_value.number_float)) in write_cbor()
214 … oa->write_character(j.m_value.number_float > 0 ? to_char_type(0x7C) : to_char_type(0xFC)); in write_cbor()
219 write_compact_float(j.m_value.number_float, detail::input_format_t::cbor); in write_cbor()
541 case value_t::number_float: in write_msgpack()
543 write_compact_float(j.m_value.number_float, detail::input_format_t::msgpack); in write_msgpack()
777 case value_t::number_float: in write_ubjson()
779 write_number_with_ubjson_prefix(j.m_value.number_float, add_prefix, use_bjdata); in write_ubjson()
[all …]
/third_party/json/include/nlohmann/detail/input/
Djson_sax.hpp72 virtual bool number_float(number_float_t val, const string_t& s) = 0;
211 bool number_float(number_float_t val, const string_t& /*unused*/) in number_float() function in detail::json_sax_dom_parser
395 bool number_float(number_float_t val, const string_t& /*unused*/) in number_float() function in detail::json_sax_dom_callback_parser
681 bool number_float(number_float_t /*unused*/, const string_t& /*unused*/) in number_float() function in detail::json_sax_acceptor
Dbinary_reader.hpp280 …return get_number<double, true>(input_format_t::bson, number) && sax->number_float(static_cast<num… in parse_bson_element_internal()
874 return sax->number_float((half & 0x8000u) != 0 in parse_cbor_internal()
882 …return get_number(input_format_t::cbor, number) && sax->number_float(static_cast<number_float_t>(n… in parse_cbor_internal()
888 …return get_number(input_format_t::cbor, number) && sax->number_float(static_cast<number_float_t>(n… in parse_cbor_internal()
1442 …return get_number(input_format_t::msgpack, number) && sax->number_float(static_cast<number_float_t… in parse_msgpack_internal()
1448 …return get_number(input_format_t::msgpack, number) && sax->number_float(static_cast<number_float_t… in parse_msgpack_internal()
2421 return sax->number_float((half & 0x8000u) != 0 in get_ubjson_value()
2429 …return get_number(input_format, number) && sax->number_float(static_cast<number_float_t>(number), … in get_ubjson_value()
2435 …return get_number(input_format, number) && sax->number_float(static_cast<number_float_t>(number), … in get_ubjson_value()
2718 return sax->number_float(number_lexer.get_number_float(), std::move(number_string)); in get_ubjson_high_precision_number()
/third_party/json/tests/abi/include/nlohmann/
Djson_v3_10_5.hpp138 number_float, ///< number value (floating-point) enumerator
2869 case value_t::number_float: // LCOV_EXCL_LINE in diagnostics()
3862 case value_t::number_float: in get_arithmetic_value()
4149 case value_t::number_float: in from_json()
4408 case value_t::number_float: in key()
4601 struct external_constructor<value_t::number_float>
4607 j.m_type = value_t::number_float; in construct()
4775 …external_constructor<value_t::number_float>::construct(j, static_cast<typename BasicJsonType::numb… in to_json()
5159 case BasicJsonType::value_t::number_float: in hash()
5758 virtual bool number_float(number_float_t val, const string_t& s) = 0;
[all …]
/third_party/json/single_include/nlohmann/
Djson.hpp2865 number_float, ///< number value (floating-point) enumerator
4366 case value_t::number_float: // LCOV_EXCL_LINE in diagnostics()
4621 case value_t::number_float: in get_arithmetic_value()
4910 case value_t::number_float: in from_json()
5219 case value_t::number_float: in key()
5419 struct external_constructor<value_t::number_float>
5425 j.m_type = value_t::number_float; in construct()
5606 …external_constructor<value_t::number_float>::construct(j, static_cast<typename BasicJsonType::numb… in to_json()
6013 case BasicJsonType::value_t::number_float: in hash()
6640 virtual bool number_float(number_float_t val, const string_t& s) = 0;
[all …]
/third_party/json/docs/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.output31 number_float(val=12.723375, s=12.723374634)
/third_party/json/docs/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);

123