Lines Matching refs:number_buffer
702 auto buffer_ptr = number_buffer.begin(); in dump_integer()
724 JSON_ASSERT(n_chars < number_buffer.size() - 1); in dump_integer()
751 o->write_characters(number_buffer.data(), n_chars); in dump_integer()
785 char* begin = number_buffer.data(); in dump_float()
786 char* end = ::nlohmann::detail::to_chars(begin, begin + number_buffer.size(), x); in dump_float()
797 … std::ptrdiff_t len = (std::snprintf)(number_buffer.data(), number_buffer.size(), "%.*g", d, x); in dump_float()
802 JSON_ASSERT(static_cast<std::size_t>(len) < number_buffer.size()); in dump_float()
807 const auto end = std::remove(number_buffer.begin(), in dump_float()
808 number_buffer.begin() + len, thousands_sep); in dump_float()
809 std::fill(end, number_buffer.end(), '\0'); in dump_float()
810 JSON_ASSERT((end - number_buffer.begin()) <= len); in dump_float()
811 len = (end - number_buffer.begin()); in dump_float()
817 … const auto dec_pos = std::find(number_buffer.begin(), number_buffer.end(), decimal_point); in dump_float()
818 if (dec_pos != number_buffer.end()) in dump_float()
824 o->write_characters(number_buffer.data(), static_cast<std::size_t>(len)); in dump_float()
828 std::none_of(number_buffer.begin(), number_buffer.begin() + len + 1, in dump_float()
926 std::array<char, 64> number_buffer{{}}; member in nlohmann::detail::serializer