Home
last modified time | relevance | path

Searched refs:SRE_CHAR (Results 1 – 3 of 3) sorted by relevance

/external/python/cpython3/Modules/
Dsre_lib.h16 SRE(at)(SRE_STATE* state, SRE_CHAR* ptr, SRE_CODE at) in SRE()
33 return (((SRE_CHAR *)state->end - ptr == 1 && in SRE()
208 SRE_CHAR c; in SRE()
209 SRE_CHAR* ptr = (SRE_CHAR *)state->ptr; in SRE()
210 SRE_CHAR* end = (SRE_CHAR *)state->end; in SRE()
244 c = (SRE_CHAR) chr; in SRE()
282 c = (SRE_CHAR) chr; in SRE()
319 while ((SRE_CHAR*) state->ptr < end) { in SRE()
327 (SRE_CHAR*) state->ptr - ptr)); in SRE()
328 return (SRE_CHAR*) state->ptr - ptr; in SRE()
[all …]
D_sre.c235 #define SRE_CHAR Py_UCS1 macro
242 #define SRE_CHAR Py_UCS2 macro
249 #define SRE_CHAR Py_UCS4 macro
/external/python/cpython2/Modules/
D_sre.c289 #define SRE_CHAR unsigned char macro
313 #undef SRE_CHAR
317 #define SRE_CHAR Py_UNICODE macro
337 SRE_AT(SRE_STATE* state, SRE_CHAR* ptr, SRE_CODE at) in SRE_AT()
354 return (((SRE_CHAR *)state->end - ptr == 1 && in SRE_AT()
522 SRE_CHAR* ptr = (SRE_CHAR *)state->ptr; in SRE_COUNT()
523 SRE_CHAR* end = (SRE_CHAR *)state->end; in SRE_COUNT()
588 while ((SRE_CHAR*) state->ptr < end) { in SRE_COUNT()
596 (SRE_CHAR*) state->ptr - ptr)); in SRE_COUNT()
597 return (SRE_CHAR*) state->ptr - ptr; in SRE_COUNT()
[all …]