Lines Matching refs:unicode_empty
101 static PyUnicodeObject *unicode_empty = NULL; variable
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; \
273 if (unicode == unicode_empty || in unicode_resize()
322 if (length == 0 && unicode_empty != NULL) { in _PyUnicode_New()
323 Py_INCREF(unicode_empty); in _PyUnicode_New()
324 return unicode_empty; in _PyUnicode_New()
433 (v == unicode_empty || v->length == 1)) { in _PyUnicode_Resize()
6372 if (v == unicode_empty) { in PyUnicode_Concat()
6376 if (u == unicode_empty) { in PyUnicode_Concat()
8950 if (!unicode_empty) { in _PyUnicode_Init()
8951 unicode_empty = _PyUnicode_New(0); in _PyUnicode_Init()
8952 if (!unicode_empty) in _PyUnicode_Init()
9000 Py_CLEAR(unicode_empty); in _PyUnicode_Fini()