Searched refs:n_chars (Results 1 – 2 of 2) 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/libevent/ |
D | http.c | 4047 ev_ssize_t n_chars = eos-s-2; in bracket_addr_ok() local 4049 if (n_chars >= 64) /* way too long */ in bracket_addr_ok() 4051 memcpy(buf, s+1, n_chars); in bracket_addr_ok() 4052 buf[n_chars]='\0'; in bracket_addr_ok()
|