Home
last modified time | relevance | path

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

/third_party/python/Python/
H A Dformatter_unicode.c838 if (_PyUnicodeWriter_Prepare(writer, total, maxchar) == -1) in format_string_internal()
1021 if (_PyUnicodeWriter_Prepare(writer, n_total, maxchar) == -1) in format_long_internal()
1171 if (_PyUnicodeWriter_Prepare(writer, n_total, maxchar) == -1) in format_float_internal()
1381 if (_PyUnicodeWriter_Prepare(writer, total, maxchar) == -1) in format_complex_internal()
/third_party/python/Modules/cjkcodecs/
H A Dcjkcodecs.h145 if (_PyUnicodeWriter_Prepare(writer, 2, Py_MAX(_c1, c2)) < 0) \
/third_party/python/Include/cpython/
H A Dunicodeobject.h752 #define _PyUnicodeWriter_Prepare(WRITER, LENGTH, MAXCHAR) \ macro
760 /* Don't call this function directly, use the _PyUnicodeWriter_Prepare() macro
/third_party/python/Objects/
H A Dunicodeobject.c2743 if (_PyUnicodeWriter_Prepare(writer, arglen, maxchar) == -1) in unicode_fromformat_write_str()
2933 if (_PyUnicodeWriter_Prepare(writer, arglen, 127) == -1) in unicode_fromformat_arg()
4583 if (_PyUnicodeWriter_Prepare(writer, writer->min_length - writer->pos, in unicode_decode_call_errorhandler_writer()
5713 if (_PyUnicodeWriter_Prepare(&writer, writer.min_length, 127) == -1) in PyUnicode_DecodeUTF32Stateful()
6029 if (_PyUnicodeWriter_Prepare(&writer, writer.min_length, 127) == -1) in PyUnicode_DecodeUTF16Stateful()
6329 if (_PyUnicodeWriter_Prepare(&writer, size, 127) < 0) { in _PyUnicode_DecodeUnicodeEscapeInternal()
6735 if (_PyUnicodeWriter_Prepare(&writer, size, 127) < 0) { in _PyUnicode_DecodeRawUnicodeEscapeStateful()
8144 if (_PyUnicodeWriter_Prepare(writer, 1, 0xff) == -1) in charmap_decode_string()
8342 if (_PyUnicodeWriter_Prepare(&writer, writer.min_length, 127) == -1) in PyUnicode_DecodeCharmap()
9225 if (_PyUnicodeWriter_Prepare( in _PyUnicode_TranslateCharmap()
[all...]
H A Dlongobject.c1818 if (_PyUnicodeWriter_Prepare(writer, strlen, '9') == -1) { in long_to_decimal_string_internal()
1988 if (_PyUnicodeWriter_Prepare(writer, sz, 'x') == -1) in long_format_binary()

Completed in 25 milliseconds