Home
last modified time | relevance | path

Searched refs:_PyUnicodeWriter_Prepare (Results 1 – 5 of 5) sorted by relevance

/third_party/python/Python/
Dformatter_unicode.c826 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/
Dcjkcodecs.h145 if (_PyUnicodeWriter_Prepare(writer, 2, Py_MAX(_c1, c2)) < 0) \
/third_party/python/Include/cpython/
Dunicodeobject.h637 #define _PyUnicodeWriter_Prepare(WRITER, LENGTH, MAXCHAR) \ macro
/third_party/python/Objects/
Dunicodeobject.c2797 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 …]
Dlongobject.c1664 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()