Searched refs:PyUnicode_Resize (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython2/Objects/stringlib/ |
D | unicodedefs.h | 24 #define STRINGLIB_RESIZE PyUnicode_Resize
|
/external/python/cpython2/Include/ |
D | unicodeobject.h | 206 # define PyUnicode_Resize PyUnicodeUCS2_Resize macro 293 # define PyUnicode_Resize PyUnicodeUCS4_Resize macro 511 PyAPI_FUNC(int) PyUnicode_Resize(
|
/external/python/cpython2/Modules/ |
D | unicodedata.c | 534 if (PyUnicode_Resize(&result, newsize) == -1) in nfd_nfkd() 582 PyUnicode_Resize(&result, PyUnicode_GET_SIZE(result) - space); in nfd_nfkd() 733 PyUnicode_Resize(&result, o - PyUnicode_AS_UNICODE(result)); in nfc_nfkc()
|
/external/python/cpython2/Modules/cjkcodecs/ |
D | multibytecodec.c | 200 if (PyUnicode_Resize(&buf->outobj, orgsize + ( in expand_decodebuffer() 661 if (PyUnicode_Resize(&buf.outobj, finalsize) == -1) in MultibyteCodec_Decode() 1087 if (PyUnicode_Resize(&buf.outobj, finalsize) == -1) in mbidecoder_decode() 1327 if (PyUnicode_Resize(&buf.outobj, finalsize) == -1) in mbstreamreader_iread()
|
/external/python/cpython2/Modules/_io/ |
D | textio.c | 310 if (PyUnicode_Resize(&output, output_len - 1) < 0) in _PyIncrementalNewlineDecoder_decode() 457 if (PyUnicode_Resize(&output, out - out_str) < 0) in _PyIncrementalNewlineDecoder_decode() 1808 if (PyUnicode_Resize(&line, endpos) < 0) in _textiowrapper_readline()
|
/external/python/cpython2/Python/ |
D | bltinmodule.c | 3044 if (PyUnicode_Resize(&result, need) < 0) { in filterunicode() 3062 PyUnicode_Resize(&result, j); in filterunicode()
|
/external/python/cpython2/Objects/ |
D | unicodeobject.c | 448 int PyUnicode_Resize(PyObject **unicode, Py_ssize_t length) in PyUnicode_Resize() function 1055 PyUnicode_Resize(&string, s - PyUnicode_AS_UNICODE(string)); in PyUnicode_FromFormatV() 5002 if (PyUnicode_Resize(outobj, requiredsize) < 0) in charmaptranslate_makespace() 5182 if (PyUnicode_Resize(&res, respos) < 0) in PyUnicode_TranslateCharmap()
|
D | fileobject.c | 1621 PyUnicode_Resize(&result, len-1); in PyFile_GetLine()
|