Searched refs:fmtcnt (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython3/Objects/ |
D | bytesobject.c | 604 Py_ssize_t fmtcnt; in _PyBytes_FormatEx() local 614 fmtcnt = format_len; in _PyBytes_FormatEx() 619 res = _PyBytesWriter_Alloc(&writer, fmtcnt); in _PyBytes_FormatEx() 639 while (--fmtcnt >= 0) { in _PyBytes_FormatEx() 644 pos = (char *)memchr(fmt + 1, '%', fmtcnt); in _PyBytes_FormatEx() 648 len = fmtcnt + 1; in _PyBytes_FormatEx() 654 fmtcnt -= (len - 1); in _PyBytes_FormatEx() 675 fmtcnt--; in _PyBytes_FormatEx() 690 --fmtcnt; in _PyBytes_FormatEx() 693 while (pcount > 0 && --fmtcnt >= 0) { in _PyBytes_FormatEx() [all …]
|
D | unicodeobject.c | 14075 Py_ssize_t fmtcnt, fmtpos; member 14473 --ctx->fmtcnt; in unicode_format_arg_parse() 14476 while (pcount > 0 && --ctx->fmtcnt >= 0) { in unicode_format_arg_parse() 14485 if (ctx->fmtcnt < 0 || pcount > 0) { in unicode_format_arg_parse() 14508 while (--ctx->fmtcnt >= 0) { in unicode_format_arg_parse() 14538 if (--ctx->fmtcnt >= 0) { in unicode_format_arg_parse() 14545 while (--ctx->fmtcnt >= 0) { in unicode_format_arg_parse() 14565 if (--ctx->fmtcnt >= 0) { in unicode_format_arg_parse() 14583 if (--ctx->fmtcnt >= 0) { in unicode_format_arg_parse() 14590 while (--ctx->fmtcnt >= 0) { in unicode_format_arg_parse() [all …]
|
/external/python/cpython2/Objects/ |
D | bytesobject.c | 597 Py_ssize_t fmtcnt; in _PyBytes_FormatEx() local 607 fmtcnt = format_len; in _PyBytes_FormatEx() 612 res = _PyBytesWriter_Alloc(&writer, fmtcnt); in _PyBytes_FormatEx() 632 while (--fmtcnt >= 0) { in _PyBytes_FormatEx() 637 pos = (char *)memchr(fmt + 1, '%', fmtcnt); in _PyBytes_FormatEx() 641 len = fmtcnt + 1; in _PyBytes_FormatEx() 647 fmtcnt -= (len - 1); in _PyBytes_FormatEx() 671 fmtcnt--; in _PyBytes_FormatEx() 686 --fmtcnt; in _PyBytes_FormatEx() 689 while (pcount > 0 && --fmtcnt >= 0) { in _PyBytes_FormatEx() [all …]
|
D | stringobject.c | 4247 Py_ssize_t reslen, rescnt, fmtcnt; in PyString_Format() local 4260 fmtcnt = PyString_GET_SIZE(format); in PyString_Format() 4261 reslen = rescnt = fmtcnt + 100; in PyString_Format() 4277 while (--fmtcnt >= 0) { in PyString_Format() 4280 rescnt = fmtcnt + 100; in PyString_Format() 4323 --fmtcnt; in PyString_Format() 4326 while (pcount > 0 && --fmtcnt >= 0) { in PyString_Format() 4334 if (fmtcnt < 0 || pcount > 0) { in PyString_Format() 4356 while (--fmtcnt >= 0) { in PyString_Format() 4382 if (--fmtcnt >= 0) in PyString_Format() [all …]
|
D | unicodeobject.c | 8357 Py_ssize_t fmtcnt, rescnt, reslen, arglen, argidx; in PyUnicode_Format() local 8371 fmtcnt = PyUnicode_GET_SIZE(uformat); in PyUnicode_Format() 8373 reslen = rescnt = fmtcnt + 100; in PyUnicode_Format() 8391 while (--fmtcnt >= 0) { in PyUnicode_Format() 8394 rescnt = fmtcnt + 100; in PyUnicode_Format() 8431 --fmtcnt; in PyUnicode_Format() 8434 while (pcount > 0 && --fmtcnt >= 0) { in PyUnicode_Format() 8442 if (fmtcnt < 0 || pcount > 0) { in PyUnicode_Format() 8473 while (--fmtcnt >= 0) { in PyUnicode_Format() 8499 if (--fmtcnt >= 0) in PyUnicode_Format() [all …]
|