Lines Matching refs:PyUnicode_New
207 unicode_empty = PyUnicode_New(0, 0); \
1076 copy = PyUnicode_New(length, PyUnicode_MAX_CHAR_VALUE(unicode)); in resize_copy()
1262 PyUnicode_New(Py_ssize_t size, Py_UCS4 maxchar) in PyUnicode_New() function
1994 unicode = PyUnicode_New(1, ch); in get_latin1_char()
2015 unicode = PyUnicode_New(1, ch); in unicode_char()
2078 unicode = PyUnicode_New(size - num_surrogates, maxchar); in PyUnicode_FromWideChar()
2180 unicode = PyUnicode_New(size, 127); in _PyUnicode_FromASCII()
2216 res = PyUnicode_New(size, max_char); in _PyUnicode_FromUCS1()
2237 res = PyUnicode_New(size, max_char); in _PyUnicode_FromUCS2()
2263 res = PyUnicode_New(size, max_char); in _PyUnicode_FromUCS4()
2372 copy = PyUnicode_New(len, max_char); in unicode_adjust_maxchar()
2393 copy = PyUnicode_New(length, PyUnicode_MAX_CHAR_VALUE(unicode)); in _PyUnicode_Copy()
9091 PyObject *result = PyUnicode_New(len, 127); in _PyUnicode_TransformDecimalAndSpaceToASCII()
9146 decimal = PyUnicode_New(length, maxchar); in PyUnicode_TransformDecimalToASCII()
9667 res = PyUnicode_New(len, 127); in ascii_upper_or_lower()
9868 res = PyUnicode_New(newlength, maxchar); in case_operation()
10019 res = PyUnicode_New(sz, maxchar); in _PyUnicode_JoinArray()
10163 u = PyUnicode_New(left + _PyUnicode_LENGTH(self) + right, maxchar); in pad()
10507 u = PyUnicode_New(slen, maxchar); in replace()
10546 u = PyUnicode_New(slen, maxchar); in replace()
10625 u = PyUnicode_New(new_size, maxchar); in replace()
11283 result = PyUnicode_New(new_len, maxchar); in PyUnicode_Concat()
11358 res = PyUnicode_New(new_len, maxchar); in PyUnicode_Append()
11546 u = PyUnicode_New(j, PyUnicode_MAX_CHAR_VALUE(self)); in unicode_expandtabs_impl()
12529 u = PyUnicode_New(nchars, PyUnicode_MAX_CHAR_VALUE(str)); in unicode_repeat()
12675 repr = PyUnicode_New(osize, max); in unicode_repr()
13530 writer->buffer = PyUnicode_New(newlen, maxchar); in _PyUnicodeWriter_PrepareInternal()
13546 newbuffer = PyUnicode_New(newlen, maxchar); in _PyUnicodeWriter_PrepareInternal()
13563 newbuffer = PyUnicode_New(writer->size, maxchar); in _PyUnicodeWriter_PrepareInternal()
14016 result = PyUnicode_New(slicelength, max_char); in unicode_subscript()