Lines Matching defs:substr
534 static int __Pyx_PyUnicode_Tailmatch(PyObject* s, PyObject* substr,
536 if (unlikely(PyTuple_Check(substr))) {
537 Py_ssize_t i, count = PyTuple_GET_SIZE(substr);
541 result = PyUnicode_Tailmatch(s, PyTuple_GET_ITEM(substr, i),
544 PyObject* sub = PySequence_GetItem(substr, i);
555 return PyUnicode_Tailmatch(s, substr, start, end, direction);
627 static int __Pyx_PyBytes_Tailmatch(PyObject* self, PyObject* substr, Py_ssize_t start,
630 if (unlikely(PyTuple_Check(substr))) {
631 Py_ssize_t i, count = PyTuple_GET_SIZE(substr);
635 result = __Pyx_PyBytes_SingleTailmatch(self, PyTuple_GET_ITEM(substr, i),
638 PyObject* sub = PySequence_GetItem(substr, i);
650 return __Pyx_PyBytes_SingleTailmatch(self, substr, start, end, direction);