Home
last modified time | relevance | path

Searched refs:nchars (Results 1 – 6 of 6) sorted by relevance

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/stringlib/
Dformatter.h308 calc_padding(Py_ssize_t nchars, Py_ssize_t width, STRINGLIB_CHAR align, in calc_padding() argument
313 if (nchars > width) in calc_padding()
314 *n_total = nchars; in calc_padding()
320 *n_total = nchars; in calc_padding()
326 *n_lpadding = *n_total - nchars; in calc_padding()
328 *n_lpadding = (*n_total - nchars) / 2; in calc_padding()
337 *n_rpadding = *n_total - nchars - *n_lpadding; in calc_padding()
343 fill_padding(STRINGLIB_CHAR *p, Py_ssize_t nchars, STRINGLIB_CHAR fill_char, in fill_padding() argument
352 STRINGLIB_FILL(p + nchars + n_lpadding, fill_char, n_rpadding); in fill_padding()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/stringlib/
Dformatter.h308 calc_padding(Py_ssize_t nchars, Py_ssize_t width, STRINGLIB_CHAR align, in calc_padding() argument
313 if (nchars > width) in calc_padding()
314 *n_total = nchars; in calc_padding()
320 *n_total = nchars; in calc_padding()
326 *n_lpadding = *n_total - nchars; in calc_padding()
328 *n_lpadding = (*n_total - nchars) / 2; in calc_padding()
337 *n_rpadding = *n_total - nchars - *n_lpadding; in calc_padding()
343 fill_padding(STRINGLIB_CHAR *p, Py_ssize_t nchars, STRINGLIB_CHAR fill_char, in fill_padding() argument
352 STRINGLIB_FILL(p + nchars + n_lpadding, fill_char, n_rpadding); in fill_padding()
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/
Dvfscanf.c487 int nchars; in __svfscanf_unlocked() local
494 nchars = 0; in __svfscanf_unlocked()
525 nchars++; in __svfscanf_unlocked()
540 n = nchars; in __svfscanf_unlocked()
Dvfwprintf.c427 size_t insize, nchars, nconv; in __mbsconv() local
442 insize = nchars = nconv = 0; in __mbsconv()
444 while (nchars != (size_t)prec) { in __mbsconv()
450 nchars++; in __mbsconv()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Objects/
Dunicodeobject.c7099 Py_ssize_t nchars; in unicode_repeat() local
7114 nchars = len * str->length; in unicode_repeat()
7115 if (len && nchars / len != str->length) { in unicode_repeat()
7120 nbytes = (nchars + 1) * sizeof(Py_UNICODE); in unicode_repeat()
7121 if (nbytes / sizeof(Py_UNICODE) != (size_t)(nchars + 1)) { in unicode_repeat()
7126 u = _PyUnicode_New(nchars); in unicode_repeat()
7136 if (done < nchars) { in unicode_repeat()
7140 while (done < nchars) { in unicode_repeat()
7141 Py_ssize_t n = (done <= nchars-done) ? done : nchars-done; in unicode_repeat()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Objects/
Dunicodeobject.c7207 Py_ssize_t nchars; in unicode_repeat() local
7222 nchars = len * str->length; in unicode_repeat()
7223 if (len && nchars / len != str->length) { in unicode_repeat()
7228 nbytes = (nchars + 1) * sizeof(Py_UNICODE); in unicode_repeat()
7229 if (nbytes / sizeof(Py_UNICODE) != (size_t)(nchars + 1)) { in unicode_repeat()
7234 u = _PyUnicode_New(nchars); in unicode_repeat()
7244 if (done < nchars) { in unicode_repeat()
7248 while (done < nchars) { in unicode_repeat()
7249 Py_ssize_t n = (done <= nchars-done) ? done : nchars-done; in unicode_repeat()