Searched refs:n_chars (Results 1 – 4 of 4) sorted by relevance
/external/python/cpython2/Objects/stringlib/ |
D | localeutil.h | 52 Py_ssize_t n_chars, Py_ssize_t n_zeros, const char* thousands_sep, in fill() argument 74 *buffer_end -= n_chars; in fill() 75 *digits_end -= n_chars; in fill() 76 memcpy(*buffer_end, *digits_end, n_chars * sizeof(STRINGLIB_CHAR)); in fill() 130 Py_ssize_t n_chars; in _Py_InsertThousandsGrouping() local 147 n_chars = MAX(0, MIN(remaining, l)); in _Py_InsertThousandsGrouping() 152 count += (use_separator ? thousands_sep_len : 0) + n_zeros + n_chars; in _Py_InsertThousandsGrouping() 156 fill(&digits_end, &buffer_end, n_chars, n_zeros, in _Py_InsertThousandsGrouping() 163 remaining -= n_chars; in _Py_InsertThousandsGrouping() 177 n_chars = MAX(0, MIN(remaining, l)); in _Py_InsertThousandsGrouping() [all …]
|
/external/python/cpython3/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()
|
/external/libevent/ |
D | http.c | 4542 ev_ssize_t n_chars = eos-s-2; in bracket_addr_ok() local 4544 if (n_chars >= 64) /* way too long */ in bracket_addr_ok() 4546 memcpy(buf, s+1, n_chars); in bracket_addr_ok() 4547 buf[n_chars]='\0'; in bracket_addr_ok()
|
/external/python/cpython3/Objects/ |
D | unicodeobject.c | 9396 Py_ssize_t n_chars; in _PyUnicode_InsertThousandsGrouping() local 9426 n_chars = Py_MAX(0, Py_MIN(remaining, len)); in _PyUnicode_InsertThousandsGrouping() 9431 count += (use_separator ? thousands_sep_len : 0) + n_zeros + n_chars; in _PyUnicode_InsertThousandsGrouping() 9436 n_chars, n_zeros, in _PyUnicode_InsertThousandsGrouping() 9443 remaining -= n_chars; in _PyUnicode_InsertThousandsGrouping() 9457 n_chars = Py_MAX(0, Py_MIN(remaining, len)); in _PyUnicode_InsertThousandsGrouping() 9460 count += (use_separator ? thousands_sep_len : 0) + n_zeros + n_chars; in _PyUnicode_InsertThousandsGrouping() 9465 n_chars, n_zeros, in _PyUnicode_InsertThousandsGrouping()
|