/external/protobuf/gtest/test/ |
gtest_help_test.py | 43 import re namespace 55 INCORRECT_FLAG_VARIANTS = [re.sub('^--', '-', LIST_TESTS_FLAG), 56 re.sub('^--', '/', LIST_TESTS_FLAG), 57 re.sub('_', '-', LIST_TESTS_FLAG)] 64 HELP_REGEX = re.compile( 76 re.DOTALL)
|
run_tests_util.py | 34 import re namespace 135 PYTHON_TEST_REGEX = re.compile(r'_(unit)?test\.py$', re.IGNORECASE) 136 BINARY_TEST_REGEX = re.compile(r'_(unit)?test(\.exe)?$', re.IGNORECASE) 137 BINARY_TEST_SEARCH_REGEX = re.compile(r'_(unit)?test\.exe$', re.IGNORECASE) 139 PYTHON_TEST_REGEX = re.compile(r'_(unit)?test\.py$') 140 BINARY_TEST_REGEX = re.compile(r'_(unit)?test$') 158 m = re.match(r'.*[\\/]([^\\/]+)[\\/][^\\/]+[\\/]scons[\\/]?$', build_dir [all...] |
/libcore/luni/src/main/java/java/util/regex/ |
Splitter.java | 39 public static String[] fastSplit(String re, String input, int limit) { 41 int len = re.length(); 45 char ch = re.charAt(0); 47 // We're looking for a single non-metacharacter. Easy. 49 // We're looking for a quoted character. 51 ch = re.charAt(1); 104 public static String[] split(Pattern pattern, String re, String input, int limit) { 105 String[] fastResult = fastSplit(re, input, limit);
|
/ndk/sources/third_party/googletest/googletest/test/ |
gtest_help_test.py | 43 import re namespace 56 INCORRECT_FLAG_VARIANTS = [re.sub('^--', '-', LIST_TESTS_FLAG), 57 re.sub('^--', '/', LIST_TESTS_FLAG), 58 re.sub('_', '-', LIST_TESTS_FLAG)] 65 HELP_REGEX = re.compile( 78 re.DOTALL)
|
/external/regex-re2/re2/testing/ |
re2_test.cc | 344 RE2 re("((\\w+):([0-9]+))"); // extracts host and port 349 CHECK(!re.Match(s, 0, s.size(), RE2::UNANCHORED, 354 CHECK(re.Match(s, 0, s.size(), RE2::UNANCHORED, 363 CHECK(RE2::PartialMatch("a chrisr:9000 here", re, &all, &host, &port)); 378 RE2 re("([a-zA-Z0-9]|-)+(\\.([a-zA-Z0-9]|-)+)*(\\.)?", RE2::Quiet); 379 RE2::FullMatch(domain, re); 387 RE2 re(quoted, options); 388 EXPECT_TRUE_M(RE2::FullMatch(unquoted, re), 397 RE2 re(quoted, options); 398 EXPECT_FALSE_M(RE2::FullMatch(should_not_match, re), [all...] |
possible_match_test.cc | 110 Regexp* re = Regexp::Parse(t.regexp, Regexp::LikePerl, NULL); local 111 CHECK(re); 112 Prog* prog = re->CompileToProg(0); 117 re->Decref(); 199 RE2 re(regexp, RE2::Latin1); 200 CHECK_EQ(re.error(), ""); 203 if(!re.PossibleMatchRange(&min, &max, 10)) { 216 if (!RE2::FullMatch(s, re))
|
/external/v8/tools/ |
gen-postmortem-metadata.py | 49 import re namespace 187 # for which we're going to emit descriptive constants. 232 # Construct a dictionary for the classes we're sure should be present. 253 line = re.sub('//.*', '', line.rstrip().lstrip()); 259 match = re.match('class (\w[^\s:]*)(: public (\w[^\s{]*))?\s*{', 272 types[re.sub('\s*=.*', '', entry).lstrip()] = True; 285 usetype = re.sub('SYMBOL_', 'STRING_', type); 290 usetype = re.sub('_REGEXP_', '_REG_EXP_', usetype); 336 # representation and encoding and add them if they're not 345 cctype = re.sub('OneByteString$' [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/LL-star/ |
SimpleCParser.m | 400 @catch (ANTLRRecognitionException *re) { 401 [self reportError:re]; 402 [self recover:input Exception:re]; 495 @catch (ANTLRRecognitionException *re) { 496 [self reportError:re]; 497 [self recover:input Exception:re]; 545 @catch (ANTLRRecognitionException *re) { 546 [self reportError:re]; 547 [self recover:input Exception:re]; 579 @catch (ANTLRRecognitionException *re) { [all...] |
/cts/suite/audio_quality/test_description/conf/ |
detect_usb_audio.py | 20 import os, re, sys namespace 37 m = re.search("card(\d+)$", sound_dev)
|
/external/antlr/antlr-3.4/runtime/Python/tests/ |
t034tokenLabelPropertyRef.py | 13 def recover(self, input, re): 22 def recover(self, input, re):
|
t035ruleLabelPropertyRef.py | 13 def recover(self, input, re): 22 def recover(self, input, re):
|
t036multipleReturnValues.py | 13 def recover(self, input, re): 22 def recover(self, input, re):
|
t037rulePropertyRef.py | 13 def recover(self, input, re): 22 def recover(self, input, re):
|
t041parameters.py | 13 def recover(self, input, re): 22 def recover(self, input, re):
|
t043synpred.py | 13 def recover(self, input, re): 22 def recover(self, input, re):
|
/external/compiler-rt/lib/sanitizer_common/scripts/ |
litlint.py | 11 import re namespace 15 runRegex = re.compile(r'(?<!-o)(?<!%run) %t\s')
|
/frameworks/data-binding/compilerCommon/src/main/xml-gen/android/databinding/parser/ |
XMLParser.java | 121 catch (RecognitionException re) { 122 _localctx.exception = re; 123 _errHandler.reportError(this, re); 124 _errHandler.recover(this, re); 185 catch (RecognitionException re) { 186 _localctx.exception = re; 187 _errHandler.reportError(this, re); 188 _errHandler.recover(this, re); 318 catch (RecognitionException re) { 319 _localctx.exception = re; [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/macholib/ |
dylib.py | 8 import re namespace 12 DYLIB_RE = re.compile(r"""(?x)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
ZoomHeight.py | 3 import re namespace 25 m = re.match(r"(\d+)x(\d+)\+(-?\d+)\+(-?\d+)", geom)
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_unicode.py | 5 import re namespace 10 _literal_re = re.compile(ur"[uU][rR]?[\'\"]")
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/macholib/ |
dylib.py | 8 import re namespace 12 DYLIB_RE = re.compile(r"""(?x)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
ZoomHeight.py | 3 import re namespace 25 m = re.match(r"(\d+)x(\d+)\+(-?\d+)\+(-?\d+)", geom)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_unicode.py | 5 import re namespace 10 _literal_re = re.compile(ur"[uU][rR]?[\'\"]")
|
/system/extras/tests/net_test/ |
net_test.sh | 18 test=$(cat /proc/cmdline | sed -re 's/.*net_test=([^ ]*).*/\1/g')
|
/external/droiddriver/src/io/appium/droiddriver/instrumentation/ |
RootFinder.java | 62 } catch (RuntimeException re) { 65 instanceMethod, VIEW_FIELD_NAME), re); 87 } catch (RuntimeException re) { 89 viewsField, windowManagerObj), re);
|