Searched refs:n_prefix (Results 1 – 3 of 3) sorted by relevance
/external/python/cpython2/Objects/stringlib/ |
D | formatter.h | 381 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/python/cpython3/Python/ |
D | formatter_unicode.c | 411 Py_ssize_t n_prefix; member 470 calc_number_widths(NumberFieldWidths *spec, Py_ssize_t n_prefix, in calc_number_widths() argument 481 spec->n_prefix = n_prefix; in calc_number_widths() 528 n_non_digit_non_padding = spec->n_sign + spec->n_prefix + spec->n_decimal + in calc_number_widths() 590 return spec->n_lpadding + spec->n_sign + spec->n_prefix + in calc_number_widths() 620 if (spec->n_prefix) { in fill_number() 623 spec->n_prefix); in fill_number() 626 for (t = 0; t < spec->n_prefix; t++) { in fill_number() 633 writer->pos += spec->n_prefix; in fill_number() 858 Py_ssize_t n_prefix = 0; /* Count of prefix chars, (e.g., '0x') */ in format_long_internal() local [all …]
|
/external/libxml2/ |
D | testapi.c | 4133 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 …]
|