• Home
  • Raw
  • Download

Lines Matching refs:PatternObject

1657 static PyObject*pattern_new_match(PatternObject*, SRE_STATE*, int);
1658 static PyObject*pattern_scanner(PatternObject*, PyObject*);
1764 state_init(SRE_STATE* state, PatternObject* pattern, PyObject* string, in state_init()
1879 pattern_dealloc(PatternObject* self) in pattern_dealloc()
1927 pattern_match(PatternObject* self, PyObject* args, PyObject* kw) in pattern_match()
1973 pattern_search(PatternObject* self, PyObject* args, PyObject* kw) in pattern_search()
2112 pattern_findall(PatternObject* self, PyObject* args, PyObject* kw) in pattern_findall()
2223 pattern_finditer(PatternObject* pattern, PyObject* args) in pattern_finditer()
2246 pattern_split(PatternObject* self, PyObject* args, PyObject* kw) in pattern_split()
2366 pattern_subx(PatternObject* self, PyObject* ptemplate, PyObject* string, in pattern_subx()
2554 pattern_sub(PatternObject* self, PyObject* args, PyObject* kw) in pattern_sub()
2568 pattern_subn(PatternObject* self, PyObject* args, PyObject* kw) in pattern_subn()
2582 pattern_copy(PatternObject* self, PyObject *unused) in pattern_copy()
2585 PatternObject* copy; in pattern_copy()
2588 copy = PyObject_NEW_VAR(PatternObject, &Pattern_Type, self->codesize); in pattern_copy()
2592 offset = offsetof(PatternObject, groups); in pattern_copy()
2599 sizeof(PatternObject) + self->codesize * sizeof(SRE_CODE) - offset); in pattern_copy()
2610 pattern_deepcopy(PatternObject* self, PyObject* memo) in pattern_deepcopy()
2613 PatternObject* copy; in pattern_deepcopy()
2615 copy = (PatternObject*) pattern_copy(self); in pattern_deepcopy()
2691 #define PAT_OFF(x) offsetof(PatternObject, x)
2703 sizeof(PatternObject), sizeof(SRE_CODE),
2724 offsetof(PatternObject, weakreflist), /* tp_weaklistoffset */
2731 static int _validate(PatternObject *self); /* Forward */
2738 PatternObject* self; in _compile()
2754 self = PyObject_NEW_VAR(PatternObject, &Pattern_Type, n); in _compile()
3262 _validate(PatternObject *self) in _validate()
3775 pattern_new_match(PatternObject* pattern, SRE_STATE* state, int status) in pattern_new_match()
3873 match = pattern_new_match((PatternObject*) self->pattern, in scanner_match()
3913 match = pattern_new_match((PatternObject*) self->pattern, in scanner_search()
3973 pattern_scanner(PatternObject* pattern, PyObject* args) in pattern_scanner()