Lines Matching refs:strobj
2842 filterstring(PyObject *func, PyObject *strobj) in filterstring() argument
2846 Py_ssize_t len = PyString_Size(strobj); in filterstring()
2854 if (PyString_CheckExact(strobj)) { in filterstring()
2855 Py_INCREF(strobj); in filterstring()
2856 return strobj; in filterstring()
2866 item = (*strobj->ob_type->tp_as_sequence->sq_item)(strobj, i); in filterstring()
2971 filterunicode(PyObject *func, PyObject *strobj) in filterunicode() argument
2975 Py_ssize_t len = PyUnicode_GetSize(strobj); in filterunicode()
2983 if (PyUnicode_CheckExact(strobj)) { in filterunicode()
2984 Py_INCREF(strobj); in filterunicode()
2985 return strobj; in filterunicode()
2995 item = (*strobj->ob_type->tp_as_sequence->sq_item)(strobj, i); in filterunicode()