• Home
  • Raw
  • Download

Lines Matching refs:PatternObject

251 static PyObject*pattern_new_match(PatternObject*, SRE_STATE*, Py_ssize_t);
252 static PyObject *pattern_scanner(PatternObject *, PyObject *, Py_ssize_t, Py_ssize_t);
394 state_init(SRE_STATE* state, PatternObject* pattern, PyObject* string, in state_init()
546 pattern_dealloc(PatternObject* self) in pattern_dealloc()
589 _sre_SRE_Pattern_match_impl(PatternObject *self, PyObject *string, in _sre_SRE_Pattern_match_impl()
597 if (!state_init(&state, (PatternObject *)self, string, pos, endpos)) in _sre_SRE_Pattern_match_impl()
628 _sre_SRE_Pattern_fullmatch_impl(PatternObject *self, PyObject *string, in _sre_SRE_Pattern_fullmatch_impl()
670 _sre_SRE_Pattern_search_impl(PatternObject *self, PyObject *string, in _sre_SRE_Pattern_search_impl()
735 _sre_SRE_Pattern_findall_impl(PatternObject *self, PyObject *string, in _sre_SRE_Pattern_findall_impl()
834 _sre_SRE_Pattern_finditer_impl(PatternObject *self, PyObject *string, in _sre_SRE_Pattern_finditer_impl()
867 _sre_SRE_Pattern_scanner_impl(PatternObject *self, PyObject *string, in _sre_SRE_Pattern_scanner_impl()
884 _sre_SRE_Pattern_split_impl(PatternObject *self, PyObject *string, in _sre_SRE_Pattern_split_impl()
978 pattern_subx(PatternObject* self, PyObject* ptemplate, PyObject* string, in pattern_subx()
1170 _sre_SRE_Pattern_sub_impl(PatternObject *self, PyObject *repl, in _sre_SRE_Pattern_sub_impl()
1188 _sre_SRE_Pattern_subn_impl(PatternObject *self, PyObject *repl, in _sre_SRE_Pattern_subn_impl()
1201 _sre_SRE_Pattern___copy___impl(PatternObject *self) in _sre_SRE_Pattern___copy___impl()
1217 _sre_SRE_Pattern___deepcopy__(PatternObject *self, PyObject *memo) in _sre_SRE_Pattern___deepcopy__()
1225 pattern_repr(PatternObject *obj) in pattern_repr()
1308 pattern_groupindex(PatternObject *self, void *Py_UNUSED(ignored)) in pattern_groupindex()
1315 static int _validate(PatternObject *self); /* Forward */
1337 PatternObject* self; in _sre_compile_impl()
1342 self = PyObject_NEW_VAR(PatternObject, &Pattern_Type, n); in _sre_compile_impl()
1868 _validate(PatternObject *self) in _validate()
2318 pattern_new_match(PatternObject* pattern, SRE_STATE* state, Py_ssize_t status) in pattern_new_match()
2415 match = pattern_new_match((PatternObject*) self->pattern, in _sre_SRE_Scanner_match_impl()
2453 match = pattern_new_match((PatternObject*) self->pattern, in _sre_SRE_Scanner_search_impl()
2467 pattern_scanner(PatternObject *self, PyObject *string, Py_ssize_t pos, Py_ssize_t endpos) in pattern_scanner()
2490 pattern_hash(PatternObject *self) in pattern_hash()
2515 PatternObject *left, *right; in pattern_richcompare()
2531 left = (PatternObject *)lefto; in pattern_richcompare()
2532 right = (PatternObject *)righto; in pattern_richcompare()
2581 #define PAT_OFF(x) offsetof(PatternObject, x)
2595 sizeof(PatternObject), sizeof(SRE_CODE),
2616 offsetof(PatternObject, weakreflist), /* tp_weaklistoffset */