Searched refs:n_chars (Results 1 – 8 of 8) sorted by relevance
/third_party/python/Objects/stringlib/ |
D | localeutil.h | 48 Py_ssize_t n_chars, Py_ssize_t n_zeros, in InsertThousandsGrouping_fill() argument 70 *buffer_pos -= n_chars; in InsertThousandsGrouping_fill() 71 *digits_pos -= n_chars; in InsertThousandsGrouping_fill() 74 n_chars); in InsertThousandsGrouping_fill()
|
/third_party/glib/tests/ |
D | unicode-encoding.c | 216 gint n_chars; in process() local 234 n_chars = bytes_written / 2; in process() 237 n_chars--; in process() 238 utf16_expected = g_new (gunichar2, n_chars + 1); in process() 239 memcpy (utf16_expected, utf16_expected_tmp + 1, sizeof(gunichar2) * n_chars); in process() 248 utf16_expected = g_new (gunichar2, n_chars + 1); in process() 249 memcpy (utf16_expected, utf16_expected_tmp, sizeof(gunichar2) * n_chars); in process() 252 utf16_expected[n_chars] = '\0'; in process()
|
/third_party/glib/glib/ |
D | gutf8.c | 727 gint n_chars, i; in g_utf8_to_ucs4_fast() local 733 n_chars = 0; in g_utf8_to_ucs4_fast() 739 ++n_chars; in g_utf8_to_ucs4_fast() 747 ++n_chars; in g_utf8_to_ucs4_fast() 751 result = g_new (gunichar, n_chars + 1); in g_utf8_to_ucs4_fast() 754 for (i=0; i < n_chars; i++) in g_utf8_to_ucs4_fast() 855 gint n_chars, i; in g_utf8_to_ucs4() local 859 n_chars = 0; in g_utf8_to_ucs4() 880 n_chars++; in g_utf8_to_ucs4() 885 result = try_malloc_n (n_chars + 1, sizeof (gunichar), error); in g_utf8_to_ucs4() [all …]
|
/third_party/json/include/nlohmann/detail/output/ |
D | serializer.hpp | 707 unsigned int n_chars; in dump_integer() local 715 n_chars = 1 + count_digits(abs_value); in dump_integer() 720 n_chars = count_digits(abs_value); in dump_integer() 724 JSON_ASSERT(n_chars < number_buffer.size() - 1); in dump_integer() 728 buffer_ptr += n_chars; in dump_integer() 751 o->write_characters(number_buffer.data(), n_chars); in dump_integer()
|
/third_party/pixman/test/ |
D | utils.c | 1347 emit (const char *s, int *n_chars) in emit() argument 1349 *n_chars += printf ("%s,", s); in emit() 1350 if (*n_chars > 60) in emit() 1353 *n_chars = 0; in emit() 1358 (*n_chars)++; in emit() 1365 int n_chars; in list_formats() local 1370 n_chars = 0; in list_formats() 1378 emit (ent->name, &n_chars); in list_formats() 1388 int i, n_chars; in list_operators() local 1392 n_chars = 0; in list_operators() [all …]
|
/third_party/flutter/skia/third_party/externals/sdl/src/video/x11/ |
D | edid-parse.c | 358 decode_lf_string (const uchar *s, int n_chars, char *result) in decode_lf_string() argument 361 for (i = 0; i < n_chars; ++i) in decode_lf_string()
|
/third_party/python/Objects/ |
D | unicodeobject.c | 9865 Py_ssize_t n_chars; in _PyUnicode_InsertThousandsGrouping() local 9895 n_chars = Py_MAX(0, Py_MIN(remaining, len)); in _PyUnicode_InsertThousandsGrouping() 9900 count += (use_separator ? thousands_sep_len : 0) + n_zeros + n_chars; in _PyUnicode_InsertThousandsGrouping() 9905 n_chars, n_zeros, in _PyUnicode_InsertThousandsGrouping() 9912 remaining -= n_chars; in _PyUnicode_InsertThousandsGrouping() 9926 n_chars = Py_MAX(0, Py_MIN(remaining, len)); in _PyUnicode_InsertThousandsGrouping() 9929 count += (use_separator ? thousands_sep_len : 0) + n_zeros + n_chars; in _PyUnicode_InsertThousandsGrouping() 9934 n_chars, n_zeros, in _PyUnicode_InsertThousandsGrouping()
|
/third_party/json/single_include/nlohmann/ |
D | json.hpp | 16144 unsigned int n_chars; in dump_integer() local 16152 n_chars = 1 + count_digits(abs_value); in dump_integer() 16157 n_chars = count_digits(abs_value); in dump_integer() 16161 JSON_ASSERT(n_chars < number_buffer.size() - 1); in dump_integer() 16165 buffer_ptr += n_chars; in dump_integer() 16188 o->write_characters(number_buffer.data(), n_chars); in dump_integer()
|