Lines Matching refs:PyUnicode_New

1178         copy = PyUnicode_New(length, PyUnicode_MAX_CHAR_VALUE(unicode));  in resize_copy()
1366 PyUnicode_New(Py_ssize_t size, Py_UCS4 maxchar) in PyUnicode_New() function
2127 unicode = PyUnicode_New(1, ch); in unicode_char()
2212 unicode = PyUnicode_New(size - num_surrogates, maxchar); in PyUnicode_FromWideChar()
2371 unicode = PyUnicode_New(size, 127); in _PyUnicode_FromASCII()
2409 res = PyUnicode_New(size, max_char); in _PyUnicode_FromUCS1()
2430 res = PyUnicode_New(size, max_char); in _PyUnicode_FromUCS2()
2456 res = PyUnicode_New(size, max_char); in _PyUnicode_FromUCS4()
2567 copy = PyUnicode_New(len, max_char); in unicode_adjust_maxchar()
2588 copy = PyUnicode_New(length, PyUnicode_MAX_CHAR_VALUE(unicode)); in _PyUnicode_Copy()
5117 PyObject *u = PyUnicode_New(size, 127); in unicode_decode_utf8()
7276 PyObject *u = PyUnicode_New(size, 127); in PyUnicode_DecodeASCII()
9336 PyObject *result = PyUnicode_New(len, 127); in _PyUnicode_TransformDecimalAndSpaceToASCII()
9812 res = PyUnicode_New(len, 127); in ascii_upper_or_lower()
10014 res = PyUnicode_New(newlength, maxchar); in case_operation()
10165 res = PyUnicode_New(sz, maxchar); in _PyUnicode_JoinArray()
10309 u = PyUnicode_New(left + _PyUnicode_LENGTH(self) + right, maxchar); in pad()
10658 u = PyUnicode_New(slen, maxchar); in replace()
10701 u = PyUnicode_New(slen, maxchar); in replace()
10781 u = PyUnicode_New(new_size, maxchar); in replace()
11466 result = PyUnicode_New(new_len, maxchar); in PyUnicode_Concat()
11543 res = PyUnicode_New(new_len, maxchar); in PyUnicode_Append()
11733 u = PyUnicode_New(j, PyUnicode_MAX_CHAR_VALUE(self)); in unicode_expandtabs_impl()
12760 u = PyUnicode_New(nchars, PyUnicode_MAX_CHAR_VALUE(str)); in unicode_repeat()
12955 repr = PyUnicode_New(osize, max); in unicode_repr()
13809 writer->buffer = PyUnicode_New(newlen, maxchar); in _PyUnicodeWriter_PrepareInternal()
13825 newbuffer = PyUnicode_New(newlen, maxchar); in _PyUnicodeWriter_PrepareInternal()
13842 newbuffer = PyUnicode_New(writer->size, maxchar); in _PyUnicodeWriter_PrepareInternal()
14294 result = PyUnicode_New(slicelength, max_char); in unicode_subscript()