Lines Matching refs:number_integer
2863 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()
6625 virtual bool number_integer(number_integer_t val) = 0;
6767 bool number_integer(number_integer_t val) in number_integer() function in detail::json_sax_dom_parser
6951 bool number_integer(number_integer_t val) in number_integer() function in detail::json_sax_dom_callback_parser
7239 bool number_integer(number_integer_t /*unused*/) in number_integer() function in detail::json_sax_acceptor
8972 decltype(std::declval<T&>().number_integer(std::declval<Integer>()));
9394 … return get_number<std::int32_t, true>(input_format_t::bson, value) && sax->number_integer(value); in parse_bson_element_internal()
9400 … return get_number<std::int64_t, true>(input_format_t::bson, value) && sax->number_integer(value); in parse_bson_element_internal()
9579 return sax->number_integer(static_cast<std::int8_t>(0x20 - 1 - current)); in parse_cbor_internal()
9584 …return get_number(input_format_t::cbor, number) && sax->number_integer(static_cast<number_integer_… in parse_cbor_internal()
9590 …return get_number(input_format_t::cbor, number) && sax->number_integer(static_cast<number_integer_… in parse_cbor_internal()
9596 …return get_number(input_format_t::cbor, number) && sax->number_integer(static_cast<number_integer_… in parse_cbor_internal()
9602 …return get_number(input_format_t::cbor, number) && sax->number_integer(static_cast<number_integer_… in parse_cbor_internal()
10552 return get_number(input_format_t::msgpack, number) && sax->number_integer(number); in parse_msgpack_internal()
10558 return get_number(input_format_t::msgpack, number) && sax->number_integer(number); in parse_msgpack_internal()
10564 return get_number(input_format_t::msgpack, number) && sax->number_integer(number); in parse_msgpack_internal()
10570 return get_number(input_format_t::msgpack, number) && sax->number_integer(number); in parse_msgpack_internal()
10630 return sax->number_integer(static_cast<std::int8_t>(current)); in parse_msgpack_internal()
11397 return get_number(input_format, number) && sax->number_integer(number); in get_ubjson_value()
11403 return get_number(input_format, number) && sax->number_integer(number); in get_ubjson_value()
11409 return get_number(input_format, number) && sax->number_integer(number); in get_ubjson_value()
11415 return get_number(input_format, number) && sax->number_integer(number); in get_ubjson_value()
11788 return sax->number_integer(number_lexer.get_number_integer()); in get_ubjson_high_precision_number()
12410 … if (JSON_HEDLEY_UNLIKELY(!sax->number_integer(m_lexer.get_number_integer()))) in sax_parse_internal()
12907 case value_t::number_integer: in iter_impl()
13010 case value_t::number_integer:
13048 case value_t::number_integer: in set_end()
13089 case value_t::number_integer: in operator *()
13131 case value_t::number_integer: in operator ->()
13184 case value_t::number_integer: in operator ++()
13235 case value_t::number_integer: in operator --()
13276 case value_t::number_integer: in operator ==()
13321 case value_t::number_integer: in operator <()
13380 case value_t::number_integer: in operator +=()
13456 case value_t::number_integer: in operator -()
13487 case value_t::number_integer: in operator []()
14002 case detail::value_t::number_integer: in get_and_create()
14083 case detail::value_t::number_integer: in get_unchecked()
14134 case detail::value_t::number_integer: in get_checked()
14190 case detail::value_t::number_integer: in get_unchecked()
14241 case detail::value_t::number_integer: in get_checked()
14320 case detail::value_t::number_integer: in contains()
14462 case detail::value_t::number_integer: in flatten()
14989 case value_t::number_integer: in write_bson()
15022 case value_t::number_integer: in write_cbor()
15024 if (j.m_value.number_integer >= 0) in write_cbor()
15029 if (j.m_value.number_integer <= 0x17) in write_cbor()
15031 write_number(static_cast<std::uint8_t>(j.m_value.number_integer)); in write_cbor()
15033 else if (j.m_value.number_integer <= (std::numeric_limits<std::uint8_t>::max)()) in write_cbor()
15036 write_number(static_cast<std::uint8_t>(j.m_value.number_integer)); in write_cbor()
15038 … else if (j.m_value.number_integer <= (std::numeric_limits<std::uint16_t>::max)()) in write_cbor()
15041 write_number(static_cast<std::uint16_t>(j.m_value.number_integer)); in write_cbor()
15043 … else if (j.m_value.number_integer <= (std::numeric_limits<std::uint32_t>::max)()) in write_cbor()
15046 write_number(static_cast<std::uint32_t>(j.m_value.number_integer)); in write_cbor()
15051 write_number(static_cast<std::uint64_t>(j.m_value.number_integer)); in write_cbor()
15058 const auto positive_number = -1 - j.m_value.number_integer; in write_cbor()
15059 if (j.m_value.number_integer >= -24) in write_cbor()
15346 case value_t::number_integer: in write_msgpack()
15348 if (j.m_value.number_integer >= 0) in write_msgpack()
15356 write_number(static_cast<std::uint8_t>(j.m_value.number_integer)); in write_msgpack()
15362 write_number(static_cast<std::uint8_t>(j.m_value.number_integer)); in write_msgpack()
15368 write_number(static_cast<std::uint16_t>(j.m_value.number_integer)); in write_msgpack()
15374 write_number(static_cast<std::uint32_t>(j.m_value.number_integer)); in write_msgpack()
15380 write_number(static_cast<std::uint64_t>(j.m_value.number_integer)); in write_msgpack()
15385 if (j.m_value.number_integer >= -32) in write_msgpack()
15388 write_number(static_cast<std::int8_t>(j.m_value.number_integer)); in write_msgpack()
15390 … else if (j.m_value.number_integer >= (std::numeric_limits<std::int8_t>::min)() && in write_msgpack()
15391 j.m_value.number_integer <= (std::numeric_limits<std::int8_t>::max)()) in write_msgpack()
15395 write_number(static_cast<std::int8_t>(j.m_value.number_integer)); in write_msgpack()
15397 … else if (j.m_value.number_integer >= (std::numeric_limits<std::int16_t>::min)() && in write_msgpack()
15398 j.m_value.number_integer <= (std::numeric_limits<std::int16_t>::max)()) in write_msgpack()
15402 write_number(static_cast<std::int16_t>(j.m_value.number_integer)); in write_msgpack()
15404 … else if (j.m_value.number_integer >= (std::numeric_limits<std::int32_t>::min)() && in write_msgpack()
15405 j.m_value.number_integer <= (std::numeric_limits<std::int32_t>::max)()) in write_msgpack()
15409 write_number(static_cast<std::int32_t>(j.m_value.number_integer)); in write_msgpack()
15411 … else if (j.m_value.number_integer >= (std::numeric_limits<std::int64_t>::min)() && in write_msgpack()
15412 j.m_value.number_integer <= (std::numeric_limits<std::int64_t>::max)()) in write_msgpack()
15416 write_number(static_cast<std::int64_t>(j.m_value.number_integer)); in write_msgpack()
15427 write_number(static_cast<std::uint8_t>(j.m_value.number_integer)); in write_msgpack()
15433 write_number(static_cast<std::uint8_t>(j.m_value.number_integer)); in write_msgpack()
15439 write_number(static_cast<std::uint16_t>(j.m_value.number_integer)); in write_msgpack()
15445 write_number(static_cast<std::uint32_t>(j.m_value.number_integer)); in write_msgpack()
15451 write_number(static_cast<std::uint64_t>(j.m_value.number_integer)); in write_msgpack()
15680 case value_t::number_integer: in write_ubjson()
15682 write_number_with_ubjson_prefix(j.m_value.number_integer, add_prefix, use_bjdata); in write_ubjson()
16100 case value_t::number_integer: in calc_bson_element_size()
16101 return header_size + calc_bson_integer_size(j.m_value.number_integer); in calc_bson_element_size()
16147 case value_t::number_integer: in write_bson_element()
16148 return write_bson_integer(name, j.m_value.number_integer); in write_bson_element()
16429 case value_t::number_integer: in ubjson_prefix()
16431 …(std::numeric_limits<std::int8_t>::min)() <= j.m_value.number_integer && j.m_value.number_integer … in ubjson_prefix()
16435 …std::numeric_limits<std::uint8_t>::min)() <= j.m_value.number_integer && j.m_value.number_integer … in ubjson_prefix()
16439 …std::numeric_limits<std::int16_t>::min)() <= j.m_value.number_integer && j.m_value.number_integer … in ubjson_prefix()
16443 …td::numeric_limits<std::uint16_t>::min)() <= j.m_value.number_integer && j.m_value.number_integer … in ubjson_prefix()
16447 …std::numeric_limits<std::int32_t>::min)() <= j.m_value.number_integer && j.m_value.number_integer … in ubjson_prefix()
16451 …td::numeric_limits<std::uint32_t>::min)() <= j.m_value.number_integer && j.m_value.number_integer … in ubjson_prefix()
16455 …std::numeric_limits<std::int64_t>::min)() <= j.m_value.number_integer && j.m_value.number_integer … in ubjson_prefix()
16580 write_number(static_cast<std::int8_t>(el.m_value.number_integer), true); in write_bjdata_ndarray()
16594 write_number(static_cast<std::int16_t>(el.m_value.number_integer), true); in write_bjdata_ndarray()
16608 write_number(static_cast<std::int32_t>(el.m_value.number_integer), true); in write_bjdata_ndarray()
16622 write_number(static_cast<std::int64_t>(el.m_value.number_integer), true); in write_bjdata_ndarray()
18225 case value_t::number_integer: in dump()
18227 dump_integer(val.m_value.number_integer); in dump()
19614 number_integer_t number_integer; member
19625 json_value(number_integer_t v) noexcept : number_integer(v) {} in json_value()
19665 case value_t::number_integer: in json_value()
19667 number_integer = static_cast<number_integer_t>(0); in json_value()
19819 case value_t::number_integer: in destroy()
19897 case value_t::number_integer: in set_parents()
20036 case value_t::number_integer: in basic_json()
20217 case value_t::number_integer: in basic_json()
20240 case value_t::number_integer: in basic_json()
20242 m_value.number_integer = first.m_object->m_value.number_integer; in basic_json()
20344 case value_t::number_integer: in basic_json()
20346 m_value = other.m_value.number_integer; in basic_json()
20503 return m_type == value_t::number_integer || m_type == value_t::number_unsigned; in is_number_integer()
20631 return is_number_integer() ? &m_value.number_integer : nullptr; in get_impl_ptr()
20637 return is_number_integer() ? &m_value.number_integer : nullptr; in get_impl_ptr()
21609 case value_t::number_integer: in erase()
21679 case value_t::number_integer: in erase()
22099 case value_t::number_integer: in empty()
22138 case value_t::number_integer: in size()
22172 case value_t::number_integer: in max_size()
22201 case value_t::number_integer: in clear()
22203 m_value.number_integer = 0; in clear()
22773 … case value_t::number_integer: \
22774 … return (lhs.m_value.number_integer) op (rhs.m_value.number_integer); \
22790 …else if (lhs_type == value_t::number_integer && rhs_type == value_t::number_float) …
22792 … return static_cast<number_float_t>(lhs.m_value.number_integer) op rhs.m_value.number_float; \
22794 …else if (lhs_type == value_t::number_float && rhs_type == value_t::number_integer) …
22796 … return lhs.m_value.number_float op static_cast<number_float_t>(rhs.m_value.number_integer); \
22806 …else if (lhs_type == value_t::number_unsigned && rhs_type == value_t::number_integer) …
22808 … return static_cast<number_integer_t>(lhs.m_value.number_unsigned) op rhs.m_value.number_integer; \
22810 …else if (lhs_type == value_t::number_integer && rhs_type == value_t::number_unsigned) …
22812 … return lhs.m_value.number_integer op static_cast<number_integer_t>(rhs.m_value.number_unsigned); \
23347 case value_t::number_integer: in type_name()
23940 case value_t::number_integer: // LCOV_EXCL_LINE in patch_inplace()
24240 case value_t::number_integer: in diff()