Home
last modified time | relevance | path

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

/aosp_15_r20/external/google-styleguide/cpplint/
H A Dcpplint.py544 _regexp_compile_cache = {} variable
662 if pattern not in _regexp_compile_cache:
663 _regexp_compile_cache[pattern] = sre_compile.compile(pattern)
664 return _regexp_compile_cache[pattern].match(s)
680 if pattern not in _regexp_compile_cache:
681 _regexp_compile_cache[pattern] = sre_compile.compile(pattern)
682 return _regexp_compile_cache[pattern].sub(rep, s)
687 if pattern not in _regexp_compile_cache:
688 _regexp_compile_cache[pattern] = sre_compile.compile(pattern)
689 return _regexp_compile_cache[pattern].search(s)
/aosp_15_r20/external/libaom/tools/
H A Dcpplint.py544 _regexp_compile_cache = {} variable
662 if pattern not in _regexp_compile_cache:
663 _regexp_compile_cache[pattern] = sre_compile.compile(pattern)
664 return _regexp_compile_cache[pattern].match(s)
680 if pattern not in _regexp_compile_cache:
681 _regexp_compile_cache[pattern] = sre_compile.compile(pattern)
682 return _regexp_compile_cache[pattern].sub(rep, s)
687 if pattern not in _regexp_compile_cache:
688 _regexp_compile_cache[pattern] = sre_compile.compile(pattern)
689 return _regexp_compile_cache[pattern].search(s)
/aosp_15_r20/external/libvpx/tools/
H A Dcpplint.py544 _regexp_compile_cache = {} variable
662 if pattern not in _regexp_compile_cache:
663 _regexp_compile_cache[pattern] = sre_compile.compile(pattern)
664 return _regexp_compile_cache[pattern].match(s)
680 if pattern not in _regexp_compile_cache:
681 _regexp_compile_cache[pattern] = sre_compile.compile(pattern)
682 return _regexp_compile_cache[pattern].sub(rep, s)
687 if pattern not in _regexp_compile_cache:
688 _regexp_compile_cache[pattern] = sre_compile.compile(pattern)
689 return _regexp_compile_cache[pattern].search(s)
/aosp_15_r20/external/compiler-rt/lib/sanitizer_common/scripts/
H A Dcpplint.py347 _regexp_compile_cache = {} variable
414 if not pattern in _regexp_compile_cache:
415 _regexp_compile_cache[pattern] = sre_compile.compile(pattern)
416 return _regexp_compile_cache[pattern].match(s)
421 if not pattern in _regexp_compile_cache:
422 _regexp_compile_cache[pattern] = sre_compile.compile(pattern)
423 return _regexp_compile_cache[pattern].search(s)
/aosp_15_r20/tools/repohooks/tools/
H A Dcpplint.py846 _regexp_compile_cache = {} variable
1035 if pattern not in _regexp_compile_cache:
1036 _regexp_compile_cache[pattern] = sre_compile.compile(pattern)
1037 return _regexp_compile_cache[pattern].match(s)
1053 if pattern not in _regexp_compile_cache:
1054 _regexp_compile_cache[pattern] = sre_compile.compile(pattern)
1055 return _regexp_compile_cache[pattern].sub(rep, s)
1060 if pattern not in _regexp_compile_cache:
1061 _regexp_compile_cache[pattern] = sre_compile.compile(pattern)
1062 return _regexp_compile_cache[pattern].search(s)