Home
last modified time | relevance | path

Searched refs:number_integer (Results 1 – 25 of 55) sorted by relevance

123

/third_party/json/docs/mkdocs/docs/features/binary_formats/
Dmessagepack.md22 | number_integer | -9223372036854775808..-2147483649 | int64 | 0xD3 |
23 | number_integer | -2147483648..-32769 | int32 | 0xD2 |
24 | number_integer | -32768..-129 | int16 | 0xD1 |
25 | number_integer | -128..-33 | int8 | 0xD0 |
26 | number_integer | -32..-1 | negative fixint | 0xE0..0xFF |
27 | number_integer | 0..127 | positive fixint | 0x00..0x7F |
28 | number_integer | 128..255 | uint 8 | 0xCC |
29 | number_integer | 256..65535 | uint 16 | 0xCD |
30 | number_integer | 65536..4294967295 | uint 32 | 0xCE |
31 | number_integer | 4294967296..18446744073709551615 | uint 64 | 0xCF |
[all …]
Dubjson.md19 | number_integer | -9223372036854775808..-2147483649 | int64 | `L` |
20 | number_integer | -2147483648..-32769 | int32 | `l` |
21 | number_integer | -32768..-129 | int16 | `I` |
22 | number_integer | -128..127 | int8 | `i` |
23 | number_integer | 128..255 | uint8 | `U` |
24 | number_integer | 256..32767 | int16 | `I` |
25 | number_integer | 32768..2147483647 | int32 | `l` |
26 | number_integer | 2147483648..9223372036854775807 | int64 | `L` |
103 | int8 | number_integer | `i` |
104 | int16 | number_integer | `I` |
[all …]
Dcbor.md22 | number_integer | -9223372036854775808..-2147483649 | Negative integer (8 bytes follow) …
23 | number_integer | -2147483648..-32769 | Negative integer (4 bytes follow) …
24 | number_integer | -32768..-129 | Negative integer (2 bytes follow) …
25 | number_integer | -128..-25 | Negative integer (1 byte follow) …
26 | number_integer | -24..-1 | Negative integer …
27 | number_integer | 0..23 | Integer …
28 | number_integer | 24..255 | Unsigned integer (1 byte follow) …
29 | number_integer | 256..65535 | Unsigned integer (2 bytes follow) …
30 | number_integer | 65536..4294967295 | Unsigned integer (4 bytes follow) …
31 | number_integer | 4294967296..18446744073709551615 | Unsigned integer (8 bytes follow) …
[all …]
Dbjdata.md29 | number_integer | -9223372036854775808..-2147483649 | int64 | `L` |
30 | number_integer | -2147483648..-32769 | int32 | `l` |
31 | number_integer | -32768..-129 | int16 | `I` |
32 | number_integer | -128..127 | int8 | `i` |
33 | number_integer | 128..255 | uint8 | `U` |
34 | number_integer | 256..32767 | int16 | `I` |
35 | number_integer | 32768..65535 | uint16 | `u` |
36 | number_integer | 65536..2147483647 | int32 | `l` |
37 | number_integer | 2147483648..4294967295 | uint32 | `m` |
38 | number_integer | 4294967296..9223372036854775807 | int64 | `L` |
[all …]
Dbson.md21 | number_integer | -9223372036854775808..-2147483649 | int64 | 0x12 |
22 | number_integer | -2147483648..2147483647 | int32 | 0x10 |
23 | number_integer | 2147483648..9223372036854775807 | int64 | 0x12 |
75 | int32 | 0x10 | number_integer |
/third_party/json/include/nlohmann/detail/output/
Dbinary_writer.hpp74 case value_t::number_integer: in write_bson()
107 case value_t::number_integer: in write_cbor()
109 if (j.m_value.number_integer >= 0) in write_cbor()
114 if (j.m_value.number_integer <= 0x17) in write_cbor()
116 write_number(static_cast<std::uint8_t>(j.m_value.number_integer)); in write_cbor()
118 else if (j.m_value.number_integer <= (std::numeric_limits<std::uint8_t>::max)()) in write_cbor()
121 write_number(static_cast<std::uint8_t>(j.m_value.number_integer)); in write_cbor()
123 … else if (j.m_value.number_integer <= (std::numeric_limits<std::uint16_t>::max)()) in write_cbor()
126 write_number(static_cast<std::uint16_t>(j.m_value.number_integer)); in write_cbor()
128 … else if (j.m_value.number_integer <= (std::numeric_limits<std::uint32_t>::max)()) in write_cbor()
[all …]
/third_party/json/include/nlohmann/detail/iterators/
Diter_impl.hpp121 case value_t::number_integer: in iter_impl()
224 case value_t::number_integer:
262 case value_t::number_integer: in set_end()
303 case value_t::number_integer: in operator *()
345 case value_t::number_integer: in operator ->()
398 case value_t::number_integer: in operator ++()
449 case value_t::number_integer: in operator --()
490 case value_t::number_integer: in operator ==()
535 case value_t::number_integer: in operator <()
594 case value_t::number_integer: in operator +=()
[all …]
/third_party/json/tests/src/
Dunit-constructor1.cpp74 auto t = json::value_t::number_integer;
497 CHECK(j.type() == json::value_t::number_integer);
504 CHECK(j.type() == json::value_t::number_integer);
520 CHECK(j.type() == json::value_t::number_integer);
536 CHECK(j.type() == json::value_t::number_integer);
552 CHECK(j.type() == json::value_t::number_integer);
568 CHECK(j.type() == json::value_t::number_integer);
584 CHECK(j.type() == json::value_t::number_integer);
592 CHECK(j.type() == json::value_t::number_integer);
600 CHECK(j.type() == json::value_t::number_integer);
[all …]
/third_party/json/docs/mkdocs/docs/api/json_sax/
Dnumber_integer.md1 # <small>nlohmann::json_sax::</small>number_integer
4 virtual bool number_integer(number_integer_t val) = 0;
Dindex.md34 - [**number_integer**](number_integer.md) (_virtual_) - an integer number was read
/third_party/json/include/nlohmann/detail/input/
Dbinary_reader.hpp320 … return get_number<std::int32_t, true>(input_format_t::bson, value) && sax->number_integer(value); in parse_bson_element_internal()
326 … return get_number<std::int64_t, true>(input_format_t::bson, value) && sax->number_integer(value); in parse_bson_element_internal()
505 return sax->number_integer(static_cast<std::int8_t>(0x20 - 1 - current)); in parse_cbor_internal()
510 …return get_number(input_format_t::cbor, number) && sax->number_integer(static_cast<number_integer_… in parse_cbor_internal()
516 …return get_number(input_format_t::cbor, number) && sax->number_integer(static_cast<number_integer_… in parse_cbor_internal()
522 …return get_number(input_format_t::cbor, number) && sax->number_integer(static_cast<number_integer_… in parse_cbor_internal()
528 …return get_number(input_format_t::cbor, number) && sax->number_integer(static_cast<number_integer_… in parse_cbor_internal()
1478 return get_number(input_format_t::msgpack, number) && sax->number_integer(number); in parse_msgpack_internal()
1484 return get_number(input_format_t::msgpack, number) && sax->number_integer(number); in parse_msgpack_internal()
1490 return get_number(input_format_t::msgpack, number) && sax->number_integer(number); in parse_msgpack_internal()
[all …]
Djson_sax.hpp57 virtual bool number_integer(number_integer_t val) = 0;
199 bool number_integer(number_integer_t val) in number_integer() function in detail::json_sax_dom_parser
383 bool number_integer(number_integer_t val) in number_integer() function in detail::json_sax_dom_callback_parser
671 bool number_integer(number_integer_t /*unused*/) in number_integer() function in detail::json_sax_acceptor
/third_party/json/docs/mkdocs/docs/api/basic_json/
Dvalue_t.md10 number_integer,
33 3. `number_integer`, `number_unsigned`, `number_float`
43 …There are three enumerators for numbers (`number_integer`, `number_unsigned`, and `number_float`) …
/third_party/json/include/nlohmann/detail/
Djson_pointer.hpp321 case detail::value_t::number_integer: in get_and_create()
402 case detail::value_t::number_integer: in get_unchecked()
453 case detail::value_t::number_integer: in get_checked()
509 case detail::value_t::number_integer: in get_unchecked()
560 case detail::value_t::number_integer: in get_checked()
639 case detail::value_t::number_integer: in contains()
781 case detail::value_t::number_integer: in flatten()
Dvalue_t.hpp60 number_integer, ///< number value (signed integer) enumerator
/third_party/json/tests/abi/include/nlohmann/
Djson_v3_10_5.hpp136 number_integer, ///< number value (signed integer) enumerator
2867 case value_t::number_integer: // LCOV_EXCL_LINE in diagnostics()
3857 case value_t::number_integer: in get_arithmetic_value()
4144 case value_t::number_integer: in from_json()
4406 case value_t::number_integer: in key()
4627 struct external_constructor<value_t::number_integer>
4633 j.m_type = value_t::number_integer; in construct()
4789 …external_constructor<value_t::number_integer>::construct(j, static_cast<typename BasicJsonType::nu… in to_json()
4797 external_constructor<value_t::number_integer>::construct(j, static_cast<underlying_type>(e)); in to_json()
5147 case BasicJsonType::value_t::number_integer: in hash()
[all …]
/third_party/json/include/nlohmann/
Djson.hpp436 number_integer_t number_integer; member
447 json_value(number_integer_t v) noexcept : number_integer(v) {} in json_value()
487 case value_t::number_integer: in json_value()
489 number_integer = static_cast<number_integer_t>(0); in json_value()
641 case value_t::number_integer: in destroy()
719 case value_t::number_integer: in set_parents()
858 case value_t::number_integer: in basic_json()
1039 case value_t::number_integer: in basic_json()
1062 case value_t::number_integer: in basic_json()
1064 m_value.number_integer = first.m_object->m_value.number_integer; in basic_json()
[all …]
/third_party/json/single_include/nlohmann/
Djson.hpp2863 number_integer, ///< number value (signed integer) enumerator
4364 case value_t::number_integer: // LCOV_EXCL_LINE in diagnostics()
4616 case value_t::number_integer: in get_arithmetic_value()
4905 case value_t::number_integer: in from_json()
5217 case value_t::number_integer: in key()
5445 struct external_constructor<value_t::number_integer>
5451 j.m_type = value_t::number_integer; in construct()
5620 …external_constructor<value_t::number_integer>::construct(j, static_cast<typename BasicJsonType::nu… in to_json()
5629 external_constructor<value_t::number_integer>::construct(j, static_cast<underlying_type>(e)); in to_json()
6001 case BasicJsonType::value_t::number_integer: in hash()
[all …]
/third_party/json/include/nlohmann/detail/conversions/
Dto_json.hpp139 struct external_constructor<value_t::number_integer>
145 j.m_type = value_t::number_integer; in construct()
314 …external_constructor<value_t::number_integer>::construct(j, static_cast<typename BasicJsonType::nu… in to_json()
323 external_constructor<value_t::number_integer>::construct(j, static_cast<underlying_type>(e)); in to_json()
/third_party/cJSON/fuzzing/
Djson.dict32 number_integer="1"
/third_party/json/docs/examples/
Dbasic_json__value_t.cpp11 json j_number_integer(json::value_t::number_integer); in main()
Dtype.cpp22 std::cout << (j_number_integer.type() == json::value_t::number_integer) << '\n'; in main()
Doperator__value_t.cpp32 std::cout << (t_number_integer == json::value_t::number_integer) << '\n'; in main()
Dsax_parse.output26 number_integer(val=-38793)
/third_party/json/docs/mkdocs/docs/features/parsing/
Dsax_interface.md11 + {abstract} bool number_integer(number_integer_t val)
37 bool number_integer(number_integer_t val);

123