Lines Matching refs:unicode_empty
101 static PyUnicodeObject *unicode_empty = NULL;
105 if (unicode_empty != NULL) \
106 Py_INCREF(unicode_empty); \
108 unicode_empty = _PyUnicode_New(0); \
109 if (unicode_empty != NULL) \
110 Py_INCREF(unicode_empty); \
112 return (PyObject *)unicode_empty; \
269 /* Resizing shared object (unicode_empty or single character
273 if (unicode == unicode_empty ||
322 if (length == 0 && unicode_empty != NULL) {
323 Py_INCREF(unicode_empty);
324 return unicode_empty;
429 /* Resizing unicode_empty and single character objects is not
433 (v == unicode_empty || v->length == 1)) {
6372 if (v == unicode_empty) {
6376 if (u == unicode_empty) {
8950 if (!unicode_empty) {
8951 unicode_empty = _PyUnicode_New(0);
8952 if (!unicode_empty)
9000 Py_CLEAR(unicode_empty);