Lines Matching refs:str_obj
54 STRINGLIB(split_whitespace)(PyObject* str_obj, in STRINGLIB()
74 if (j == 0 && i == str_len && STRINGLIB_CHECK_EXACT(str_obj)) { in STRINGLIB()
76 Py_INCREF(str_obj); in STRINGLIB()
77 PyList_SET_ITEM(list, 0, (PyObject *)str_obj); in STRINGLIB()
102 STRINGLIB(split_char)(PyObject* str_obj, in STRINGLIB()
126 if (count == 0 && STRINGLIB_CHECK_EXACT(str_obj)) { in STRINGLIB()
128 Py_INCREF(str_obj); in STRINGLIB()
129 PyList_SET_ITEM(list, 0, (PyObject *)str_obj); in STRINGLIB()
145 STRINGLIB(split)(PyObject* str_obj, in STRINGLIB()
158 return STRINGLIB(split_char)(str_obj, str, str_len, sep[0], maxcount); in STRINGLIB()
174 if (count == 0 && STRINGLIB_CHECK_EXACT(str_obj)) { in STRINGLIB()
176 Py_INCREF(str_obj); in STRINGLIB()
177 PyList_SET_ITEM(list, 0, (PyObject *)str_obj); in STRINGLIB()
193 STRINGLIB(rsplit_whitespace)(PyObject* str_obj, in STRINGLIB()
213 if (j == str_len - 1 && i < 0 && STRINGLIB_CHECK_EXACT(str_obj)) { in STRINGLIB()
215 Py_INCREF(str_obj); in STRINGLIB()
216 PyList_SET_ITEM(list, 0, (PyObject *)str_obj); in STRINGLIB()
243 STRINGLIB(rsplit_char)(PyObject* str_obj, in STRINGLIB()
266 if (count == 0 && STRINGLIB_CHECK_EXACT(str_obj)) { in STRINGLIB()
268 Py_INCREF(str_obj); in STRINGLIB()
269 PyList_SET_ITEM(list, 0, (PyObject *)str_obj); in STRINGLIB()
287 STRINGLIB(rsplit)(PyObject* str_obj, in STRINGLIB()
300 return STRINGLIB(rsplit_char)(str_obj, str, str_len, sep[0], maxcount); in STRINGLIB()
315 if (count == 0 && STRINGLIB_CHECK_EXACT(str_obj)) { in STRINGLIB()
317 Py_INCREF(str_obj); in STRINGLIB()
318 PyList_SET_ITEM(list, 0, (PyObject *)str_obj); in STRINGLIB()
336 STRINGLIB(splitlines)(PyObject* str_obj, in STRINGLIB()
374 if (j == 0 && eol == str_len && STRINGLIB_CHECK_EXACT(str_obj)) { in STRINGLIB()
376 if (PyList_Append(list, str_obj)) in STRINGLIB()