Home
last modified time | relevance | path

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

/external/python/cpython3/Modules/
Dsre.h86 } SRE_STATE; typedef
91 SRE_STATE state;
D_sre.c196 data_stack_dealloc(SRE_STATE* state) in data_stack_dealloc()
206 data_stack_grow(SRE_STATE* state, Py_ssize_t size) in data_stack_grow()
251 static PyObject*pattern_new_match(PatternObject*, SRE_STATE*, Py_ssize_t);
341 state_reset(SRE_STATE* state) in state_reset()
394 state_init(SRE_STATE* state, PatternObject* pattern, PyObject* string, in state_init()
403 memset(state, 0, sizeof(SRE_STATE)); in state_init()
465 state_fini(SRE_STATE* state) in state_fini()
498 state_getslice(SRE_STATE* state, Py_ssize_t index, PyObject* string, int empty) in state_getslice()
557 sre_match(SRE_STATE* state, SRE_CODE* pattern) in sre_match()
568 sre_search(SRE_STATE* state, SRE_CODE* pattern) in sre_search()
[all …]
Dsre_lib.h16 SRE(at)(SRE_STATE* state, const SRE_CHAR* ptr, SRE_CODE at) in SRE()
104 SRE(charset)(SRE_STATE* state, const SRE_CODE* set, SRE_CODE ch) in SRE()
191 SRE(charset_loc_ignore)(SRE_STATE* state, const SRE_CODE* set, SRE_CODE ch) in SRE()
202 LOCAL(Py_ssize_t) SRE(match)(SRE_STATE* state, const SRE_CODE* pattern, int toplevel);
205 SRE(count)(SRE_STATE* state, const SRE_CODE* pattern, Py_ssize_t maxcount) in SRE()
338 SRE(info)(SRE_STATE* state, const SRE_CODE* pattern)
549 SRE(match)(SRE_STATE* state, const SRE_CODE* pattern, int toplevel) in SRE()
1371 SRE(search)(SRE_STATE* state, SRE_CODE* pattern) in SRE()
/external/python/cpython2/Modules/
Dsre.h96 } SRE_STATE; typedef
101 SRE_STATE state;
D_sre.c257 data_stack_dealloc(SRE_STATE* state) in data_stack_dealloc()
267 data_stack_grow(SRE_STATE* state, Py_ssize_t size) in data_stack_grow()
337 SRE_AT(SRE_STATE* state, SRE_CHAR* ptr, SRE_CODE at) in SRE_AT()
516 LOCAL(Py_ssize_t) SRE_MATCH(SRE_STATE* state, SRE_CODE* pattern);
519 SRE_COUNT(SRE_STATE* state, SRE_CODE* pattern, Py_ssize_t maxcount) in SRE_COUNT()
607 SRE_INFO(SRE_STATE* state, SRE_CODE* pattern)
812 SRE_MATCH(SRE_STATE* state, SRE_CODE* pattern) in SRE_MATCH()
1501 SRE_SEARCH(SRE_STATE* state, SRE_CODE* pattern) in SRE_SEARCH()
1657 static PyObject*pattern_new_match(PatternObject*, SRE_STATE*, int);
1684 state_reset(SRE_STATE* state) in state_reset()
[all …]