Lines Matching defs:empty

250 // Return a borrowed reference to the empty string singleton.
253 _Py_DECLARE_STR(empty, "");
254 return &_Py_STR(empty);
258 // Return a strong reference to the empty string singleton.
261 PyObject *empty = unicode_get_empty();
262 Py_INCREF(empty);
263 return empty;
659 PyObject *empty = unicode_get_empty();
660 if (unicode != empty) {
662 Py_INCREF(empty);
664 return empty;
1215 /* Optimization for empty strings */
1368 /* Optimization for empty strings */
1963 if (unicode == &_Py_STR(empty)) {
2018 PyObject *empty = unicode_new_empty();
2019 Py_SETREF(*p_unicode, empty);
2183 /* Optimization for empty strings */
2206 /* If not empty and not single character, copy the Unicode data
9548 should be an empty string */
10077 /* If empty sequence, return u"". */
11444 PyObject *empty = unicode_get_empty(); // Borrowed reference
11445 if (left == empty) {
11448 if (right == empty) {
11501 PyObject *empty = unicode_get_empty(); // Borrowed reference
11502 if (left == empty) {
11508 if (right == empty) {
11928 /* Special case for empty strings */
11973 /* Special case for empty strings */
12020 /* Special case for empty strings */
12075 /* Special case for empty strings */
12115 /* Special case for empty strings */
12156 /* Special case for empty strings */
12196 /* Special case for empty strings */
12236 /* Special case for empty strings */
12275 /* Special case for empty strings */
12295 /* an empty string is not a valid identifier */
12329 /* an empty string is not a valid identifier */
12337 /* an empty string is not a valid identifier */
12398 repr() or if it is empty.
12867 If the string ends with the suffix string and that suffix is not empty,
13163 empty strings from the result.
13207 PyObject *empty = unicode_get_empty(); // Borrowed reference
13208 return PyTuple_Pack(3, str_obj, empty, empty);
13259 PyObject *empty = unicode_get_empty(); // Borrowed reference
13260 return PyTuple_Pack(3, empty, empty, str_obj);
13307 and two empty strings.
13326 If the separator is not found, returns a 3-tuple containing two empty strings
15494 assert(_PyUnicode_CheckConsistency(&_Py_STR(empty), 1));