Home
last modified time | relevance | path

Searched refs:PatternObject (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython3/Modules/clinic/
D_sre.c.h190 _sre_SRE_Pattern_match_impl(PatternObject *self, PyObject *string,
194 _sre_SRE_Pattern_match(PatternObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwna… in _sre_SRE_Pattern_match()
269 _sre_SRE_Pattern_fullmatch_impl(PatternObject *self, PyObject *string,
273 _sre_SRE_Pattern_fullmatch(PatternObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *… in _sre_SRE_Pattern_fullmatch()
350 _sre_SRE_Pattern_search_impl(PatternObject *self, PyObject *string,
354 _sre_SRE_Pattern_search(PatternObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kwn… in _sre_SRE_Pattern_search()
429 _sre_SRE_Pattern_findall_impl(PatternObject *self, PyObject *string,
433 _sre_SRE_Pattern_findall(PatternObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *kw… in _sre_SRE_Pattern_findall()
510 _sre_SRE_Pattern_finditer_impl(PatternObject *self, PyObject *string,
514 _sre_SRE_Pattern_finditer(PatternObject *self, PyObject *const *args, Py_ssize_t nargs, PyObject *k… in _sre_SRE_Pattern_finditer()
[all …]
/external/python/cpython3/Modules/
D_sre.c251 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()
[all …]
Dsre.h40 } PatternObject; typedef
42 #define PatternObject_GetCode(o) (((PatternObject*)(o))->code)
48 PatternObject* pattern; /* link to the regex (pattern) object */
/external/python/cpython2/Modules/
Dsre.h46 } PatternObject; typedef
48 #define PatternObject_GetCode(o) (((PatternObject*)(o))->code)
54 PatternObject* pattern; /* link to the regex (pattern) object */
D_sre.c1657 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()
2380 pattern_subx(PatternObject* self, PyObject* ptemplate, PyObject* string, in pattern_subx()
[all …]