Lines Matching refs:str_obj
5380 PyUnicodeObject* str_obj; in PyUnicode_Count() local
5383 str_obj = (PyUnicodeObject*) PyUnicode_FromObject(str); in PyUnicode_Count()
5384 if (!str_obj) in PyUnicode_Count()
5388 Py_DECREF(str_obj); in PyUnicode_Count()
5392 ADJUST_INDICES(start, end, str_obj->length); in PyUnicode_Count()
5394 str_obj->str + start, end - start, sub_obj->str, sub_obj->length, in PyUnicode_Count()
5399 Py_DECREF(str_obj); in PyUnicode_Count()
7503 PyObject* str_obj; in PyUnicode_Partition() local
7507 str_obj = PyUnicode_FromObject(str_in); in PyUnicode_Partition()
7508 if (!str_obj) in PyUnicode_Partition()
7512 Py_DECREF(str_obj); in PyUnicode_Partition()
7517 str_obj, PyUnicode_AS_UNICODE(str_obj), PyUnicode_GET_SIZE(str_obj), in PyUnicode_Partition()
7522 Py_DECREF(str_obj); in PyUnicode_Partition()
7531 PyObject* str_obj; in PyUnicode_RPartition() local
7535 str_obj = PyUnicode_FromObject(str_in); in PyUnicode_RPartition()
7536 if (!str_obj) in PyUnicode_RPartition()
7540 Py_DECREF(str_obj); in PyUnicode_RPartition()
7545 str_obj, PyUnicode_AS_UNICODE(str_obj), PyUnicode_GET_SIZE(str_obj), in PyUnicode_RPartition()
7550 Py_DECREF(str_obj); in PyUnicode_RPartition()