Lines Matching refs:PatternObject

258 static PyObject*pattern_new_match(PatternObject*, SRE_STATE*, Py_ssize_t);
259 static PyObject *pattern_scanner(PatternObject *, PyObject *, Py_ssize_t, Py_ssize_t);
401 state_init(SRE_STATE* state, PatternObject* pattern, PyObject* string, in state_init()
553 pattern_dealloc(PatternObject* self) in pattern_dealloc()
596 _sre_SRE_Pattern_match_impl(PatternObject *self, PyObject *string, in _sre_SRE_Pattern_match_impl()
604 if (!state_init(&state, (PatternObject *)self, string, pos, endpos)) in _sre_SRE_Pattern_match_impl()
635 _sre_SRE_Pattern_fullmatch_impl(PatternObject *self, PyObject *string, in _sre_SRE_Pattern_fullmatch_impl()
677 _sre_SRE_Pattern_search_impl(PatternObject *self, PyObject *string, in _sre_SRE_Pattern_search_impl()
742 _sre_SRE_Pattern_findall_impl(PatternObject *self, PyObject *string, in _sre_SRE_Pattern_findall_impl()
841 _sre_SRE_Pattern_finditer_impl(PatternObject *self, PyObject *string, in _sre_SRE_Pattern_finditer_impl()
874 _sre_SRE_Pattern_scanner_impl(PatternObject *self, PyObject *string, in _sre_SRE_Pattern_scanner_impl()
891 _sre_SRE_Pattern_split_impl(PatternObject *self, PyObject *string, in _sre_SRE_Pattern_split_impl()
985 pattern_subx(PatternObject* self, PyObject* ptemplate, PyObject* string, in pattern_subx()
1177 _sre_SRE_Pattern_sub_impl(PatternObject *self, PyObject *repl, in _sre_SRE_Pattern_sub_impl()
1195 _sre_SRE_Pattern_subn_impl(PatternObject *self, PyObject *repl, in _sre_SRE_Pattern_subn_impl()
1208 _sre_SRE_Pattern___copy___impl(PatternObject *self) in _sre_SRE_Pattern___copy___impl()
1224 _sre_SRE_Pattern___deepcopy__(PatternObject *self, PyObject *memo) in _sre_SRE_Pattern___deepcopy__()
1232 pattern_repr(PatternObject *obj) in pattern_repr()
1315 pattern_groupindex(PatternObject *self, void *Py_UNUSED(ignored)) in pattern_groupindex()
1322 static int _validate(PatternObject *self); /* Forward */
1344 PatternObject* self; in _sre_compile_impl()
1349 self = PyObject_NEW_VAR(PatternObject, &Pattern_Type, n); in _sre_compile_impl()
1875 _validate(PatternObject *self) in _validate()
2331 pattern_new_match(PatternObject* pattern, SRE_STATE* state, Py_ssize_t status) in pattern_new_match()
2428 match = pattern_new_match((PatternObject*) self->pattern, in _sre_SRE_Scanner_match_impl()
2466 match = pattern_new_match((PatternObject*) self->pattern, in _sre_SRE_Scanner_search_impl()
2480 pattern_scanner(PatternObject *self, PyObject *string, Py_ssize_t pos, Py_ssize_t endpos) in pattern_scanner()
2503 pattern_hash(PatternObject *self) in pattern_hash()
2528 PatternObject *left, *right; in pattern_richcompare()
2544 left = (PatternObject *)lefto; in pattern_richcompare()
2545 right = (PatternObject *)righto; in pattern_richcompare()
2594 #define PAT_OFF(x) offsetof(PatternObject, x)
2608 sizeof(PatternObject), sizeof(SRE_CODE),
2629 offsetof(PatternObject, weakreflist), /* tp_weaklistoffset */