/external/regex-re2/re2/testing/ |
parse_test.cc | 203 Regexp** re = new Regexp*[ntests]; local 210 re[i] = Regexp::Parse(tests[i].regexp, f, &status); 211 CHECK(re[i] != NULL) << " " << tests[i].regexp << " " 213 string s = re[i]->Dump(); 221 RegexpEqualTestingOnly(re[i], re[j])) 227 re[i]->Decref(); 228 delete[] re; 367 Regexp* re = Regexp::Parse(only_posix[i], Regexp::NoParseFlags, NULL); local 368 CHECK(re) << " " << only_posix[i] 374 Regexp* re = Regexp::Parse(only_perl[i], Regexp::PerlX, NULL); local 388 Regexp* re = Regexp::Parse(tests[i].regexp, f, &status); local 420 Regexp* re; local [all...] |
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...] |
/ndk/sources/host-tools/sed-4.2.1/testsuite/ |
bug-regex11.c | 98 regex_t re; local 109 n = regcomp (&re, tests[i].pattern, tests[i].flags); 113 regerror (n, &re, buf, sizeof (buf)); 119 if (regexec (&re, tests[i].string, tests[i].nmatch, rm, 0)) 123 regfree (&re); 139 regfree (&re);
|
runptests.c | 61 regex_t re; local 69 err = regcomp (&re, tests[cnt].reg, tests[cnt].options); 77 regerror (err, &re, buf, sizeof (buf)); 92 err = regexec (&re, tests[cnt].str, 20, match, 0); 121 regfree (&re);
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/ecma_3/Object/ |
shell.js | 69 var re = /^\[.*\s+(\w+)\s*\]$/; 70 var a = sType.match(re);
|
/external/regex-re2/re2/ |
compile.cc | 131 static Prog *Compile(Regexp* re, bool reversed, int64 max_mem); 133 // Compiles alternation of all the re to a new Prog. 134 // Each re has a match with an id equal to its index in the vector. 136 Regexp* re); 146 Frag PreVisit(Regexp* re, Frag parent_arg, bool* stop); 147 Frag PostVisit(Regexp* re, Frag parent_arg, Frag pre_arg, Frag* child_args, 149 Frag ShortVisit(Regexp* re, Frag parent_arg); 668 // We're using WalkExponential; there should be no copying. 676 Frag Compiler::ShortVisit(Regexp* re, Frag) { 682 Frag Compiler::PreVisit(Regexp* re, Frag, bool* stop) 859 Regexp* re = *pre; local 907 Regexp* re = *pre; local [all...] |
filtered_re2.cc | 26 RE2* re = new RE2(pattern, options); local 27 RE2::ErrorCode code = re->error_code(); 29 if (!re->ok()) { 32 << re << " due to error " << re->error(); 34 delete re; 37 re2_vec_.push_back(re);
|
/cts/suite/audio_quality/lib/src/ |
SimpleScriptExec.cpp | 47 LOGV("re match %s", match.string()); 48 regex_t re; local 53 if (regcomp(&re, match.string(), cflags) != 0) { 58 if (regexec(&re, str.string(), nmatch, pmatch, 0) == 0) { 62 regfree(&re);
|
/external/clang/test/SemaCXX/ |
ref-init-ambiguous.cpp | 22 const E2 & re(C c) { function
|
/external/markdown/markdown/extensions/ |
fenced_code.py | 63 import markdown, re namespace 66 FENCED_BLOCK_RE = re.compile( \ 68 re.MULTILINE|re.DOTALL
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/regexp/ |
exec.js | 49 var re = new RegExp('3.{4}8'); 51 "re.exec('23 2 34 678 9 09')", 52 String(["34 678"]), String(re.exec('23 2 34 678 9 09'))); 58 re = new RegExp('3.{4}8'); 60 "(re.exec('23 2 34 678 9 09').length", 61 1, (re.exec('23 2 34 678 9 09')).length);
|
/external/webkit/Tools/Scripts/webkitpy/common/config/ |
build.py | 25 import re namespace 114 if re.search(r"(?:^|/)%s/" % directory, file): 119 if re.search(pattern, file): 123 match = re.match("LayoutTests/platform/(?P<platform>[^/]+)/", file)
|
/dalvik/tools/ |
deadcode.py | 4 import re namespace 16 headerPattern = re.compile(r'^\s+\|([a-z _]+)\:$', re.MULTILINE) 51 methodPattern = re.compile(r'^\s+\|\[\w{4}\] (.*)$', re.MULTILINE)
|
/frameworks/base/core/java/android/ddm/ |
DdmHandleProfiling.java | 45 * Register for the messages we're interested in. 108 } catch (RuntimeException re) { 109 return createFailChunk(1, re.getMessage()); 122 } catch (RuntimeException re) { 124 + re.getMessage()); 149 } catch (RuntimeException re) { 150 return createFailChunk(1, re.getMessage()); 167 } catch (RuntimeException re) { 169 + re.getMessage()); 170 return createFailChunk(1, re.getMessage()) [all...] |
/frameworks/base/core/java/android/view/accessibility/ |
AccessibilityManager.java | 202 } catch (RemoteException re) { 203 Log.e(LOG_TAG, "AccessibilityManagerService is dead", re); 270 } catch (RemoteException re) { 271 Log.e(LOG_TAG, "Error during sending " + event + " ", re); 291 } catch (RemoteException re) { 292 Log.e(LOG_TAG, "Error while requesting interrupt from all services. ", re); 327 } catch (RemoteException re) { 328 Log.e(LOG_TAG, "Error while obtaining the installed AccessibilityServices. ", re); 354 } catch (RemoteException re) { 355 Log.e(LOG_TAG, "Error while obtaining the installed AccessibilityServices. ", re); [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/treeparser/ |
LangDumpDecl.m | 174 @catch (ANTLRRecognitionException *re) { 175 [self reportError:re]; 176 [self recover:input Exception:re]; 207 @catch (ANTLRRecognitionException *re) { 208 [self reportError:re]; 209 [self recover:input Exception:re]; 244 @catch (ANTLRRecognitionException *re) { 245 [self reportError:re]; 246 [self recover:input Exception:re];
|
/frameworks/base/core/java/android/app/ |
UiAutomation.java | 189 } catch (RemoteException re) { 190 throw new RuntimeException("Error while connecting UiAutomation", re); 234 } catch (RemoteException re) { 235 throw new RuntimeException("Error while disconnecting UiAutomation", re); 288 } catch (RemoteException re) { 289 Log.w(LOG_TAG, "Error while calling performGlobalAction", re); 315 } catch (RemoteException re) { 316 Log.w(LOG_TAG, "Error while getting AccessibilityServiceInfo", re); 342 } catch (RemoteException re) { 343 Log.w(LOG_TAG, "Error while setting AccessibilityServiceInfo", re); [all...] |
/external/chromium/testing/gtest/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/gtest/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/libvpx/libvpx/third_party/googletest/src/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)
|
/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);
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_5/Regress/ |
regress-179524.js | 62 var re = /z/ig; variable 65 actual = str.match(re); 70 actual = str.match(re, 'i'); 75 actual = str.match(re, 'g', ''); 80 actual = str.match(re, 'z', new Object(), new Date()); 89 actual = str.search(re); 94 actual = str.search(re, 'i'); 99 actual = str.search(re, 'g', ''); 104 actual = str.search(re, 'z', new Object(), new Date()); 113 actual = str.replace(re, 'Z') [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):
|