• Home
  • Raw
  • Download

Lines Matching refs:number_float

129     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;
6017 bool number_float(number_float_t val, const string_t& /*unused*/) in number_float() function in nlohmann::detail::json_sax_dom_parser
6192 bool number_float(number_float_t val, const string_t& /*unused*/) in number_float() function in nlohmann::detail::json_sax_dom_callback_parser
6478 bool number_float(number_float_t /*unused*/, const string_t& /*unused*/) in number_float() function in nlohmann::detail::json_sax_acceptor
8189 using number_float_function_t = decltype(std::declval<T&>().number_float(
8559 …return get_number<double, true>(input_format_t::bson, number) && sax->number_float(static_cast<num… in parse_bson_element_internal()
9149 return sax->number_float((half & 0x8000u) != 0 in parse_cbor_internal()
9157 …return get_number(input_format_t::cbor, number) && sax->number_float(static_cast<number_float_t>(n… in parse_cbor_internal()
9163 …return get_number(input_format_t::cbor, number) && sax->number_float(static_cast<number_float_t>(n… in parse_cbor_internal()
9714 …return get_number(input_format_t::msgpack, number) && sax->number_float(static_cast<number_float_t… in parse_msgpack_internal()
9720 …return get_number(input_format_t::msgpack, number) && sax->number_float(static_cast<number_float_t… in parse_msgpack_internal()
10339 …return get_number(input_format_t::ubjson, number) && sax->number_float(static_cast<number_float_t>… in get_ubjson_value()
10345 …return get_number(input_format_t::ubjson, number) && sax->number_float(static_cast<number_float_t>… in get_ubjson_value()
10572 return sax->number_float(number_lexer.get_number_float(), std::move(number_string)); in get_ubjson_high_precision_number()
11094 if (JSON_HEDLEY_UNLIKELY(!sax->number_float(res, m_lexer.get_string()))) in sax_parse_internal()
11599 case value_t::number_float: in iter_impl()
11702 case value_t::number_float:
11740 case value_t::number_float: in set_end()
11781 case value_t::number_float: in operator *()
11823 case value_t::number_float: in operator ->()
11876 case value_t::number_float: in operator ++()
11927 case value_t::number_float: in operator --()
11968 case value_t::number_float: in operator ==()
12013 case value_t::number_float: in operator <()
12072 case value_t::number_float: in operator +=()
12148 case value_t::number_float: in operator -()
12179 case value_t::number_float: in operator []()
12805 case detail::value_t::number_float: in get_and_create()
12885 case detail::value_t::number_float: in get_unchecked()
12935 case detail::value_t::number_float: in get_checked()
12990 case detail::value_t::number_float: in get_unchecked()
13040 case detail::value_t::number_float: in get_checked()
13118 case detail::value_t::number_float: in contains()
13259 case detail::value_t::number_float: in flatten()
13633 case value_t::number_float: in write_bson()
13758 case value_t::number_float: in write_cbor()
13760 if (std::isnan(j.m_value.number_float)) in write_cbor()
13767 else if (std::isinf(j.m_value.number_float)) in write_cbor()
13771 … oa->write_character(j.m_value.number_float > 0 ? to_char_type(0x7C) : to_char_type(0xFC)); in write_cbor()
13776 write_compact_float(j.m_value.number_float, detail::input_format_t::cbor); in write_cbor()
14098 case value_t::number_float: in write_msgpack()
14100 write_compact_float(j.m_value.number_float, detail::input_format_t::msgpack); in write_msgpack()
14332 case value_t::number_float: in write_ubjson()
14334 write_number_with_ubjson_prefix(j.m_value.number_float, add_prefix); in write_ubjson()
14725 case value_t::number_float: in calc_bson_element_size()
14772 case value_t::number_float: in write_bson_element()
14773 return write_bson_double(name, j.m_value.number_float); in write_bson_element()
15066 case value_t::number_float: in ubjson_prefix()
15067 return get_ubjson_float_prefix(j.m_value.number_float); in ubjson_prefix()
16667 case value_t::number_float: in dump()
16669 dump_float(val.m_value.number_float); in dump()
18392 number_float_t number_float; member
18403 json_value(number_float_t v) noexcept : number_float(v) {} in json_value()
18451 case value_t::number_float: in json_value()
18453 number_float = number_float_t(0.0); in json_value()
18625 case value_t::number_float: in destroy()
18703 case value_t::number_float: in set_parents()
19025 case value_t::number_float: in basic_json()
19472 case value_t::number_float: in basic_json()
19508 case value_t::number_float: in basic_json()
19510 m_value.number_float = first.m_object->m_value.number_float; in basic_json()
19635 case value_t::number_float: in basic_json()
19637 m_value = other.m_value.number_float; in basic_json()
20091 return m_type == value_t::number_float; in is_number_float()
20328 return is_number_float() ? &m_value.number_float : nullptr; in get_impl_ptr()
20334 return is_number_float() ? &m_value.number_float : nullptr; in get_impl_ptr()
21630 case value_t::number_float: in erase()
21745 case value_t::number_float: in erase()
22552 case value_t::number_float: in empty()
22632 case value_t::number_float: in size()
22705 case value_t::number_float: in max_size()
22779 case value_t::number_float: in clear()
22781 m_value.number_float = 0.0; in clear()
23781 case value_t::number_float: in operator ==()
23782 return lhs.m_value.number_float == rhs.m_value.number_float; in operator ==()
23792 else if (lhs_type == value_t::number_integer && rhs_type == value_t::number_float) in operator ==()
23794 … return static_cast<number_float_t>(lhs.m_value.number_integer) == rhs.m_value.number_float; in operator ==()
23796 else if (lhs_type == value_t::number_float && rhs_type == value_t::number_integer) in operator ==()
23798 … return lhs.m_value.number_float == static_cast<number_float_t>(rhs.m_value.number_integer); in operator ==()
23800 else if (lhs_type == value_t::number_unsigned && rhs_type == value_t::number_float) in operator ==()
23802 … return static_cast<number_float_t>(lhs.m_value.number_unsigned) == rhs.m_value.number_float; in operator ==()
23804 else if (lhs_type == value_t::number_float && rhs_type == value_t::number_unsigned) in operator ==()
23806 … return lhs.m_value.number_float == static_cast<number_float_t>(rhs.m_value.number_unsigned); in operator ==()
23948 case value_t::number_float: in operator <()
23949 return (lhs.m_value.number_float) < (rhs.m_value.number_float); in operator <()
23959 else if (lhs_type == value_t::number_integer && rhs_type == value_t::number_float) in operator <()
23961 … return static_cast<number_float_t>(lhs.m_value.number_integer) < rhs.m_value.number_float; in operator <()
23963 else if (lhs_type == value_t::number_float && rhs_type == value_t::number_integer) in operator <()
23965 … return lhs.m_value.number_float < static_cast<number_float_t>(rhs.m_value.number_integer); in operator <()
23967 else if (lhs_type == value_t::number_unsigned && rhs_type == value_t::number_float) in operator <()
23969 … return static_cast<number_float_t>(lhs.m_value.number_unsigned) < rhs.m_value.number_float; in operator <()
23971 else if (lhs_type == value_t::number_float && rhs_type == value_t::number_unsigned) in operator <()
23973 … return lhs.m_value.number_float < static_cast<number_float_t>(rhs.m_value.number_unsigned); in operator <()
24581 case value_t::number_float: in type_name()
25923 case value_t::number_float: // LCOV_EXCL_LINE in patch()
26247 case value_t::number_float: in diff()