Searched refs:_PyUnicodeWriter_Prepare (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython3/Python/ |
D | formatter_unicode.c | 818 if (_PyUnicodeWriter_Prepare(writer, total, maxchar) == -1) in format_string_internal() 994 if (_PyUnicodeWriter_Prepare(writer, n_total, maxchar) == -1) in format_long_internal() 1142 if (_PyUnicodeWriter_Prepare(writer, n_total, maxchar) == -1) in format_float_internal() 1350 if (_PyUnicodeWriter_Prepare(writer, total, maxchar) == -1) in format_complex_internal()
|
/external/python/cpython3/Modules/cjkcodecs/ |
D | cjkcodecs.h | 145 if (_PyUnicodeWriter_Prepare(writer, 2, Py_MAX(_c1, c2)) < 0) \
|
/external/python/cpython3/Objects/ |
D | unicodeobject.c | 2600 if (_PyUnicodeWriter_Prepare(writer, arglen, maxchar) == -1) in unicode_fromformat_write_str() 2790 if (_PyUnicodeWriter_Prepare(writer, arglen, 127) == -1) in unicode_fromformat_arg() 4344 if (_PyUnicodeWriter_Prepare(writer, writer->min_length - writer->pos, in unicode_decode_call_errorhandler_writer() 4911 if (_PyUnicodeWriter_Prepare(&writer, writer.min_length, 127) == -1) in unicode_decode_utf8() 5448 if (_PyUnicodeWriter_Prepare(&writer, writer.min_length, 127) == -1) in PyUnicode_DecodeUTF32Stateful() 5777 if (_PyUnicodeWriter_Prepare(&writer, writer.min_length, 127) == -1) in PyUnicode_DecodeUTF16Stateful() 6086 if (_PyUnicodeWriter_Prepare(&writer, size, 127) < 0) { in _PyUnicode_DecodeUnicodeEscape() 6465 if (_PyUnicodeWriter_Prepare(&writer, size, 127) < 0) { in PyUnicode_DecodeRawUnicodeEscape() 7008 if (_PyUnicodeWriter_Prepare(&writer, writer.min_length, 127) < 0) in PyUnicode_DecodeASCII() 7877 if (_PyUnicodeWriter_Prepare(writer, 1, 0xff) == -1) in charmap_decode_string() [all …]
|
D | longobject.c | 1828 if (_PyUnicodeWriter_Prepare(writer, strlen, '9') == -1) { in long_to_decimal_string_internal() 1998 if (_PyUnicodeWriter_Prepare(writer, sz, 'x') == -1) in long_format_binary()
|
/external/python/cpython3/Include/cpython/ |
D | unicodeobject.h | 639 #define _PyUnicodeWriter_Prepare(WRITER, LENGTH, MAXCHAR) \ macro
|