Home
last modified time | relevance | path

Searched refs:number_unsigned (Results 1 – 25 of 44) sorted by relevance

12

/third_party/json/include/nlohmann/detail/output/
Dbinary_writer.hpp64 case value_t::number_unsigned: in write_bson()
161 case value_t::number_unsigned: in write_cbor()
163 if (j.m_value.number_unsigned <= 0x17) in write_cbor()
165 write_number(static_cast<std::uint8_t>(j.m_value.number_unsigned)); in write_cbor()
167 else if (j.m_value.number_unsigned <= (std::numeric_limits<std::uint8_t>::max)()) in write_cbor()
170 write_number(static_cast<std::uint8_t>(j.m_value.number_unsigned)); in write_cbor()
172 else if (j.m_value.number_unsigned <= (std::numeric_limits<std::uint16_t>::max)()) in write_cbor()
175 write_number(static_cast<std::uint16_t>(j.m_value.number_unsigned)); in write_cbor()
177 else if (j.m_value.number_unsigned <= (std::numeric_limits<std::uint32_t>::max)()) in write_cbor()
180 write_number(static_cast<std::uint32_t>(j.m_value.number_unsigned)); in write_cbor()
[all …]
/third_party/json/doc/mkdocs/docs/features/binary_formats/
Dmessagepack.md29 number_unsigned | 0..127 | positive fixint | 0x00..0x7F
30 number_unsigned | 128..255 | uint 8 | 0xCC
31 number_unsigned | 256..65535 | uint 16 | 0xCD
32 number_unsigned | 65536..4294967295 | uint 32 | 0xCE
33 number_unsigned | 4294967296..18446744073709551615 | uint 64 | 0xCF
87 positive fixint | number_unsigned | 0x00..0x7F
96 uint 8 | number_unsigned | 0xCC
97 uint 16 | number_unsigned | 0xCD
98 uint 32 | number_unsigned | 0xCE
99 uint 64 | number_unsigned | 0xCF
Dcbor.md30 number_unsigned | 0..23 | Integer |…
31 number_unsigned | 24..255 | Unsigned integer (1 byte follow) |…
32 number_unsigned | 256..65535 | Unsigned integer (2 bytes follow) |…
33 number_unsigned | 65536..4294967295 | Unsigned integer (4 bytes follow) |…
34 number_unsigned | 4294967296..18446744073709551615 | Unsigned integer (8 bytes follow) |…
109 Integer | number_unsigned | 0x00..0x17
110 Unsigned integer | number_unsigned | 0x18
111 Unsigned integer | number_unsigned | 0x19
112 Unsigned integer | number_unsigned | 0x1A
113 Unsigned integer | number_unsigned | 0x1B
Dubjson.md26 number_unsigned | 0..127 | int8 | `i`
27 number_unsigned | 128..255 | uint8 | `U`
28 number_unsigned | 256..32767 | int16 | `I`
29 number_unsigned | 32768..2147483647 | int32 | `l`
30 number_unsigned | 2147483648..9223372036854775807 | int64 | `L`
31 number_unsigned | 2147483649..18446744073709551615 | high-precision | `H`
108 uint8 | number_unsigned | `U`
Dbson.md22 number_unsigned | 0..2147483647 | int32 | 0x10
23 number_unsigned | 2147483648..9223372036854775807 | int64 | 0x12
24 number_unsigned | 9223372036854775808..18446744073709551615| -- | --
/third_party/json/include/nlohmann/detail/iterators/
Diter_impl.hpp111 case value_t::number_unsigned: in iter_impl()
214 case value_t::number_unsigned:
252 case value_t::number_unsigned: in set_end()
293 case value_t::number_unsigned: in operator *()
335 case value_t::number_unsigned: in operator ->()
388 case value_t::number_unsigned: in operator ++()
439 case value_t::number_unsigned: in operator --()
480 case value_t::number_unsigned: in operator ==()
525 case value_t::number_unsigned: in operator <()
584 case value_t::number_unsigned: in operator +=()
[all …]
/third_party/json/include/nlohmann/
Djson.hpp989 number_unsigned_t number_unsigned; member
1000 json_value(number_unsigned_t v) noexcept : number_unsigned(v) {} in json_value()
1044 case value_t::number_unsigned: in json_value()
1046 number_unsigned = number_unsigned_t(0); in json_value()
1223 case value_t::number_unsigned: in destroy()
1301 case value_t::number_unsigned: in set_parents()
1630 case value_t::number_unsigned: in basic_json()
2073 case value_t::number_unsigned: in basic_json()
2101 case value_t::number_unsigned: in basic_json()
2103 m_value.number_unsigned = first.m_object->m_value.number_unsigned; in basic_json()
[all …]
/third_party/json/include/nlohmann/detail/
Djson_pointer.hpp447 case detail::value_t::number_unsigned: in get_and_create()
527 case detail::value_t::number_unsigned: in get_unchecked()
577 case detail::value_t::number_unsigned: in get_checked()
632 case detail::value_t::number_unsigned: in get_unchecked()
682 case detail::value_t::number_unsigned: in get_checked()
760 case detail::value_t::number_unsigned: in contains()
901 case detail::value_t::number_unsigned: in flatten()
Dvalue_t.hpp48 number_unsigned, ///< number value (unsigned integer) enumerator
Dhash.hpp90 case BasicJsonType::value_t::number_unsigned: in hash()
/third_party/json/test/src/
Dunit-constructor1.cpp103 auto t = json::value_t::number_unsigned;
536 CHECK(j.type() == json::value_t::number_unsigned);
552 CHECK(j.type() == json::value_t::number_unsigned);
568 CHECK(j.type() == json::value_t::number_unsigned);
584 CHECK(j.type() == json::value_t::number_unsigned);
688 CHECK(j.type() == json::value_t::number_unsigned);
696 CHECK(j.type() == json::value_t::number_unsigned);
704 CHECK(j.type() == json::value_t::number_unsigned);
712 CHECK(j.type() == json::value_t::number_unsigned);
720 CHECK(j.type() == json::value_t::number_unsigned);
[all …]
Dunit-element_access2.cpp129 json j_nonobject(json::value_t::number_unsigned);
264 json j_nonobject(json::value_t::number_unsigned);
265 const json j_nonobject_const(json::value_t::number_unsigned);
382 json j_nonobject(json::value_t::number_unsigned);
383 const json j_nonobject_const(json::value_t::number_unsigned);
556 json j_nonobject(json::value_t::number_unsigned);
883 json j_nonarray(json::value_t::number_unsigned);
970 json j_nonobject(json::value_t::number_unsigned);
971 const json j_nonobject_const(json::value_t::number_unsigned);
1057 json j_nonobject(json::value_t::number_unsigned);
[all …]
Dunit-conversions.cpp115 json(json::value_t::number_unsigned).get<json::object_t>(),
136 json(json::value_t::number_unsigned).get<json::object_t>(),
319 CHECK_THROWS_AS(json(json::value_t::number_unsigned).get<json::array_t>(),
343 json(json::value_t::number_unsigned).get<json::array_t>(),
486 json(json::value_t::number_unsigned).get<json::string_t>(),
507 json(json::value_t::number_unsigned).get<json::string_t>(),
522 … CHECK_THROWS_AS(json(json::value_t::number_unsigned).get<std::string_view>(), json::type_error&);
535 CHECK_THROWS_WITH(json(json::value_t::number_unsigned).get<std::string_view>(),
585 … CHECK_THROWS_AS(json(json::value_t::number_unsigned).get<std::nullptr_t>(), json::type_error&);
598 CHECK_THROWS_WITH(json(json::value_t::number_unsigned).get<std::nullptr_t>(),
[all …]
Dunit-convenience.cpp58 CHECK(std::string(json(json::value_t::number_unsigned).type_name()) == "number");
/third_party/json/include/nlohmann/detail/input/
Dbinary_reader.hpp441 return sax->number_unsigned(static_cast<number_unsigned_t>(current)); in parse_cbor_internal()
446 return get_number(input_format_t::cbor, number) && sax->number_unsigned(number); in parse_cbor_internal()
452 return get_number(input_format_t::cbor, number) && sax->number_unsigned(number); in parse_cbor_internal()
458 return get_number(input_format_t::cbor, number) && sax->number_unsigned(number); in parse_cbor_internal()
464 return get_number(input_format_t::cbor, number) && sax->number_unsigned(number); in parse_cbor_internal()
1315 return sax->number_unsigned(static_cast<number_unsigned_t>(current)); in parse_msgpack_internal()
1436 return get_number(input_format_t::msgpack, number) && sax->number_unsigned(number); in parse_msgpack_internal()
1442 return get_number(input_format_t::msgpack, number) && sax->number_unsigned(number); in parse_msgpack_internal()
1448 return get_number(input_format_t::msgpack, number) && sax->number_unsigned(number); in parse_msgpack_internal()
1454 return get_number(input_format_t::msgpack, number) && sax->number_unsigned(number); in parse_msgpack_internal()
[all …]
Djson_sax.hpp56 virtual bool number_unsigned(number_unsigned_t val) = 0;
197 bool number_unsigned(number_unsigned_t val) in number_unsigned() function in nlohmann::detail::json_sax_dom_parser
372 bool number_unsigned(number_unsigned_t val) in number_unsigned() function in nlohmann::detail::json_sax_dom_callback_parser
659 bool number_unsigned(number_unsigned_t /*unused*/) in number_unsigned() function in nlohmann::detail::json_sax_acceptor
/third_party/json/single_include/nlohmann/
Djson.hpp128 number_unsigned, ///< number value (unsigned integer) enumerator
2705 case value_t::number_unsigned: // LCOV_EXCL_LINE in diagnostics()
3908 case value_t::number_unsigned: in get_arithmetic_value()
4195 case value_t::number_unsigned: in from_json()
4449 case value_t::number_unsigned: in key()
4642 struct external_constructor<value_t::number_unsigned>
4648 j.m_type = value_t::number_unsigned; in construct()
4810 …external_constructor<value_t::number_unsigned>::construct(j, static_cast<typename BasicJsonType::n… in to_json()
5273 case BasicJsonType::value_t::number_unsigned: in hash()
5870 virtual bool number_unsigned(number_unsigned_t val) = 0;
[all …]
/third_party/json/doc/mkdocs/docs/api/basic_json/
Dvalue_t.md11 number_unsigned,
27 There are three enumeration entries (number_integer, number_unsigned, and number_float), because th…
Dtype.md19 number (unsigned integer) | `value_t::number_unsigned`
Doperator_value_t.md19 number (unsigned integer) | `value_t::number_unsigned`
/third_party/json/doc/mkdocs/docs/features/parsing/
Dsax_interface.md12 + {abstract} bool number_unsigned(number_unsigned_t val)
38 bool number_unsigned(number_unsigned_t val);
/third_party/json/doc/examples/
Dtype.cpp23 std::cout << (j_number_unsigned.type() == json::value_t::number_unsigned) << '\n'; in main()
Doperator__value_t.cpp33 std::cout << (t_number_unsigned == json::value_t::number_unsigned) << '\n'; in main()
Dsax_parse.cpp34 bool number_unsigned(number_unsigned_t val) override in number_unsigned() function in sax_event_consumer
/third_party/json/include/nlohmann/detail/conversions/
Dto_json.hpp116 struct external_constructor<value_t::number_unsigned>
122 j.m_type = value_t::number_unsigned; in construct()
284 …external_constructor<value_t::number_unsigned>::construct(j, static_cast<typename BasicJsonType::n… in to_json()

12