Home
last modified time | relevance | path

Searched refs:n_chars (Results 1 - 6 of 6) sorted by relevance

/third_party/python/Objects/stringlib/
H A Dlocaleutil.h48 Py_ssize_t n_chars, Py_ssize_t n_zeros, in InsertThousandsGrouping_fill()
70 *buffer_pos -= n_chars; in InsertThousandsGrouping_fill()
71 *digits_pos -= n_chars; in InsertThousandsGrouping_fill()
74 n_chars); in InsertThousandsGrouping_fill()
46 InsertThousandsGrouping_fill(_PyUnicodeWriter *writer, Py_ssize_t *buffer_pos, PyObject *digits, Py_ssize_t *digits_pos, Py_ssize_t n_chars, Py_ssize_t n_zeros, PyObject *thousands_sep, Py_ssize_t thousands_sep_len, Py_UCS4 *maxchar) InsertThousandsGrouping_fill() argument
/third_party/json/include/nlohmann/detail/output/
H A Dserializer.hpp744 unsigned int n_chars{}; in dump_integer()
752 n_chars = 1 + count_digits(abs_value); in dump_integer()
757 n_chars = count_digits(abs_value); in dump_integer()
761 JSON_ASSERT(n_chars < number_buffer.size() - 1); in dump_integer()
765 buffer_ptr += n_chars; in dump_integer()
788 o->write_characters(number_buffer.data(), n_chars); in dump_integer()
/third_party/python/Parser/
H A Dtokenizer.c839 int n_chars = (int)(tok->end - tok->inp); in tok_readline_raw() local
841 char *line = _Py_UniversalNewlineFgetsWithSize(tok->inp, n_chars, tok->fp, NULL, &line_size); in tok_readline_raw()
/third_party/python/Objects/
H A Dunicodeobject.c9538 Py_ssize_t n_chars; in _PyUnicode_InsertThousandsGrouping() local
9568 n_chars = Py_MAX(0, Py_MIN(remaining, len)); in _PyUnicode_InsertThousandsGrouping()
9570 /* Use n_zero zero's and n_chars chars */ in _PyUnicode_InsertThousandsGrouping()
9573 count += (use_separator ? thousands_sep_len : 0) + n_zeros + n_chars; in _PyUnicode_InsertThousandsGrouping()
9578 n_chars, n_zeros, in _PyUnicode_InsertThousandsGrouping()
9585 remaining -= n_chars; in _PyUnicode_InsertThousandsGrouping()
9599 n_chars = Py_MAX(0, Py_MIN(remaining, len)); in _PyUnicode_InsertThousandsGrouping()
9601 /* Use n_zero zero's and n_chars chars */ in _PyUnicode_InsertThousandsGrouping()
9602 count += (use_separator ? thousands_sep_len : 0) + n_zeros + n_chars; in _PyUnicode_InsertThousandsGrouping()
9607 n_chars, n_zero in _PyUnicode_InsertThousandsGrouping()
[all...]
/third_party/json/tests/abi/include/nlohmann/
H A Djson_v3_10_5.hpp16768 unsigned int n_chars{};
16776 n_chars = 1 + count_digits(abs_value);
16781 n_chars = count_digits(abs_value);
16785 JSON_ASSERT(n_chars < number_buffer.size() - 1);
16789 buffer_ptr += n_chars;
16812 o->write_characters(number_buffer.data(), n_chars);
/third_party/json/single_include/nlohmann/
H A Djson.hpp18628 unsigned int n_chars{};
18636 n_chars = 1 + count_digits(abs_value);
18641 n_chars = count_digits(abs_value);
18645 JSON_ASSERT(n_chars < number_buffer.size() - 1);
18649 buffer_ptr += n_chars;
18672 o->write_characters(number_buffer.data(), n_chars);

Completed in 63 milliseconds