Home
last modified time | relevance | path

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

/external/python/cpython2/Modules/
Dsre.h21 # define SRE_MAXREPEAT (~(SRE_CODE)0) macro
23 # define SRE_MAXREPEAT ((SRE_CODE)PY_SSIZE_T_MAX) macro
28 # define SRE_MAXREPEAT (~(SRE_CODE)0) macro
30 # define SRE_MAXREPEAT ((SRE_CODE)PY_SSIZE_T_MAX) macro
D_sre.c527 if (maxcount < end - ptr && maxcount != SRE_MAXREPEAT) in SRE_COUNT()
1148 while ((Py_ssize_t)ctx->pattern[2] == SRE_MAXREPEAT in SRE_MATCH()
1234 ctx->u.rep->pattern[2] == SRE_MAXREPEAT) && in SRE_MATCH()
1312 && ctx->u.rep->pattern[2] != SRE_MAXREPEAT) || in SRE_MATCH()
3148 if (max > SRE_MAXREPEAT) in _validate_inner()
3167 if (max > SRE_MAXREPEAT) in _validate_inner()
4056 x = PyLong_FromUnsignedLong(SRE_MAXREPEAT); in init_sre()
/external/python/cpython3/Modules/
Dsre.h20 # define SRE_MAXREPEAT (~(SRE_CODE)0) macro
23 # define SRE_MAXREPEAT ((SRE_CODE)PY_SSIZE_T_MAX) macro
Dsre_lib.h214 if (maxcount < end - ptr && maxcount != SRE_MAXREPEAT) in SRE()
960 while ((Py_ssize_t)ctx->pattern[2] == SRE_MAXREPEAT in SRE()
1046 ctx->u.rep->pattern[2] == SRE_MAXREPEAT) && in SRE()
1124 && ctx->u.rep->pattern[2] != SRE_MAXREPEAT) || in SRE()
D_sre.c1738 if (max > SRE_MAXREPEAT) in _validate_inner()
1757 if (max > SRE_MAXREPEAT) in _validate_inner()
2799 x = PyLong_FromUnsignedLong(SRE_MAXREPEAT); in PyInit__sre()