Searched refs:_PyUnicodeWriter_Prepare (Results 1 – 5 of 5) sorted by relevance
/third_party/python/Python/ |
D | formatter_unicode.c | 826 if (_PyUnicodeWriter_Prepare(writer, total, maxchar) == -1) in format_string_internal() 1002 if (_PyUnicodeWriter_Prepare(writer, n_total, maxchar) == -1) in format_long_internal() 1150 if (_PyUnicodeWriter_Prepare(writer, n_total, maxchar) == -1) in format_float_internal() 1358 if (_PyUnicodeWriter_Prepare(writer, total, maxchar) == -1) in format_complex_internal()
|
/third_party/python/Modules/cjkcodecs/ |
D | cjkcodecs.h | 145 if (_PyUnicodeWriter_Prepare(writer, 2, Py_MAX(_c1, c2)) < 0) \
|
/third_party/python/Include/cpython/ |
D | unicodeobject.h | 637 #define _PyUnicodeWriter_Prepare(WRITER, LENGTH, MAXCHAR) \ macro
|
/third_party/python/Objects/ |
D | unicodeobject.c | 2797 if (_PyUnicodeWriter_Prepare(writer, arglen, maxchar) == -1) in unicode_fromformat_write_str() 2987 if (_PyUnicodeWriter_Prepare(writer, arglen, 127) == -1) in unicode_fromformat_arg() 4653 if (_PyUnicodeWriter_Prepare(writer, writer->min_length - writer->pos, in unicode_decode_call_errorhandler_writer() 5814 if (_PyUnicodeWriter_Prepare(&writer, writer.min_length, 127) == -1) in PyUnicode_DecodeUTF32Stateful() 6143 if (_PyUnicodeWriter_Prepare(&writer, writer.min_length, 127) == -1) in PyUnicode_DecodeUTF16Stateful() 6456 if (_PyUnicodeWriter_Prepare(&writer, size, 127) < 0) { in _PyUnicode_DecodeUnicodeEscapeInternal() 6858 if (_PyUnicodeWriter_Prepare(&writer, size, 127) < 0) { in _PyUnicode_DecodeRawUnicodeEscapeStateful() 8310 if (_PyUnicodeWriter_Prepare(writer, 1, 0xff) == -1) in charmap_decode_string() 8508 if (_PyUnicodeWriter_Prepare(&writer, writer.min_length, 127) == -1) in PyUnicode_DecodeCharmap() 9432 if (_PyUnicodeWriter_Prepare(&writer, size, 127) == -1) in _PyUnicode_TranslateCharmap() [all …]
|
D | longobject.c | 1664 if (_PyUnicodeWriter_Prepare(writer, strlen, '9') == -1) { in long_to_decimal_string_internal() 1834 if (_PyUnicodeWriter_Prepare(writer, sz, 'x') == -1) in long_format_binary()
|