Home
last modified time | relevance | path

Searched refs:SRE_FLAG_LOCALE (Results 1 – 12 of 12) sorted by relevance

/external/python/cpython3/Lib/
Dsre_compile.py82 if flags & SRE_FLAG_IGNORECASE and not flags & SRE_FLAG_LOCALE:
95 elif flags & SRE_FLAG_LOCALE:
121 if flags & SRE_FLAG_IGNORECASE and flags & SRE_FLAG_LOCALE:
197 if flags & SRE_FLAG_LOCALE:
218 if flags & SRE_FLAG_LOCALE:
226 elif flags & SRE_FLAG_LOCALE:
266 if flags & SRE_FLAG_LOCALE:
475 if flags1 & SRE_FLAG_IGNORECASE and flags1 & SRE_FLAG_LOCALE:
501 if flags & SRE_FLAG_IGNORECASE and flags & SRE_FLAG_LOCALE:
550 if not (flags & SRE_FLAG_IGNORECASE and flags & SRE_FLAG_LOCALE):
Dsre_constants.py204 SRE_FLAG_LOCALE = 4 # honour system locale variable
247 f.write("#define SRE_FLAG_LOCALE %d\n" % SRE_FLAG_LOCALE)
Dsre_parse.py58 "L": SRE_FLAG_LOCALE,
68 TYPE_FLAGS = SRE_FLAG_ASCII | SRE_FLAG_LOCALE | SRE_FLAG_UNICODE
924 if flags & SRE_FLAG_LOCALE:
933 if flags & SRE_FLAG_LOCALE and flags & SRE_FLAG_ASCII:
Dre.py148 LOCALE = L = sre_compile.SRE_FLAG_LOCALE # assume current 8-bit locale
/external/python/cpython2/Lib/
Dsre_constants.py209 SRE_FLAG_LOCALE = 4 # honour system locale variable
252 f.write("#define SRE_FLAG_LOCALE %d\n" % SRE_FLAG_LOCALE)
Dsre_compile.py73 not (flags & SRE_FLAG_LOCALE) and
180 if flags & SRE_FLAG_LOCALE:
201 if flags & SRE_FLAG_LOCALE:
246 if flags & SRE_FLAG_LOCALE:
Dre.py122 L = LOCALE = sre_compile.SRE_FLAG_LOCALE # assume current 8-bit locale
Dsre_parse.py57 "L": SRE_FLAG_LOCALE,
737 (p.pattern.flags & SRE_FLAG_LOCALE) and
/external/python/cpython2/Modules/
Dsre_constants.h79 #define SRE_FLAG_LOCALE 4 macro
D_sre.c1672 if (flags & SRE_FLAG_LOCALE) in sre_getlower()
1805 if (pattern->flags & SRE_FLAG_LOCALE) in state_init()
/external/python/cpython3/Modules/
Dsre_constants.h88 #define SRE_FLAG_LOCALE 4 macro
D_sre.c1232 {"re.LOCALE", SRE_FLAG_LOCALE}, in pattern_repr()
1247 (flags & (SRE_FLAG_LOCALE|SRE_FLAG_UNICODE|SRE_FLAG_ASCII)) == in pattern_repr()