Home
last modified time | relevance | path

Searched refs:n_prefix (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Objects/stringlib/
Dformatter.h381 Py_ssize_t n_prefix; member
438 calc_number_widths(NumberFieldWidths *spec, Py_ssize_t n_prefix, in calc_number_widths() argument
449 spec->n_prefix = n_prefix; in calc_number_widths()
496 n_non_digit_non_padding = spec->n_sign + spec->n_prefix + spec->n_decimal + in calc_number_widths()
547 return spec->n_lpadding + spec->n_sign + spec->n_prefix + in calc_number_widths()
575 if (spec->n_prefix) { in fill_number()
578 spec->n_prefix * sizeof(STRINGLIB_CHAR)); in fill_number()
581 for (t = 0; t < spec->n_prefix; ++t) in fill_number()
584 buf += spec->n_prefix; in fill_number()
751 Py_ssize_t n_prefix = 0; /* Count of prefix chars, (e.g., '0x') */ in format_int_or_long_internal() local
[all …]
/external/libxml2/
Dtestapi.c4133 int n_prefix; in test_xmlSAX2EndElementNs() local
4139 for (n_prefix = 0;n_prefix < gen_nb_const_xmlChar_ptr;n_prefix++) { in test_xmlSAX2EndElementNs()
4144 prefix = gen_const_xmlChar_ptr(n_prefix, 2); in test_xmlSAX2EndElementNs()
4151 des_const_xmlChar_ptr(n_prefix, (const xmlChar *)prefix, 2); in test_xmlSAX2EndElementNs()
4160 printf(" %d", n_prefix); in test_xmlSAX2EndElementNs()
5108 int n_prefix; in test_xmlSAX2StartElementNs() local
5124 for (n_prefix = 0;n_prefix < gen_nb_const_xmlChar_ptr;n_prefix++) { in test_xmlSAX2StartElementNs()
5134 prefix = gen_const_xmlChar_ptr(n_prefix, 2); in test_xmlSAX2StartElementNs()
5146 des_const_xmlChar_ptr(n_prefix, (const xmlChar *)prefix, 2); in test_xmlSAX2StartElementNs()
5160 printf(" %d", n_prefix); in test_xmlSAX2StartElementNs()
[all …]