/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/test/ |
call-stack.rb | 16 match = mstring.match( /`(.+)'/ ) 17 method = match ? match[ 1 ] : nil
|
/external/chromium_org/chrome/browser/autocomplete/ |
history_provider.h | 20 virtual void DeleteMatch(const AutocompleteMatch& match) OVERRIDE; 31 // Finds and removes the match from the current collection of matches and 33 void DeleteMatchFromMatches(const AutocompleteMatch& match);
|
shortcuts_provider.cc | 44 bool operator()(const AutocompleteMatch& match) const { 45 return match.destination_url == url_; 95 void ShortcutsProvider::DeleteMatch(const AutocompleteMatch& match) { 96 // Copy the URL since deleting from |matches_| will invalidate |match|. 97 GURL url(match.destination_url); 100 // When a user deletes a match, he probably means for the URL to disappear out 110 // NOTE: |match| is now dead! 112 // Delete the match from the history DB. This will eventually result in a 137 // completely match the search term. 190 AutocompleteMatch match; local [all...] |
/external/chromium_org/chrome/browser/ui/omnibox/ |
omnibox_current_page_delegate.h | 53 // ExtensionOmniboxEventRouter to process |match| for it and returns true. 56 const AutocompleteMatch& match, 66 // Performs prerendering for |match|. 67 virtual void DoPrerender(const AutocompleteMatch& match) = 0;
|
/external/chromium_org/third_party/icu/source/test/perf/strsrchperf/ |
strsrchperf.h | 62 int32_t match; local 64 match = usearch_first(srch, status); 65 while (match != USEARCH_DONE) { 66 match = usearch_next(srch, status); 71 int32_t match; local 73 match = usearch_last(srch, status); 74 while (match != USEARCH_DONE) { 75 match = usearch_previous(srch, status);
|
/external/icu/icu4c/source/test/perf/strsrchperf/ |
strsrchperf.h | 62 int32_t match; local 64 match = usearch_first(srch, status); 65 while (match != USEARCH_DONE) { 66 match = usearch_next(srch, status); 71 int32_t match; local 73 match = usearch_last(srch, status); 74 while (match != USEARCH_DONE) { 75 match = usearch_previous(srch, status);
|
/external/linux-tools-perf/perf-3.12.0/tools/perf/scripts/python/bin/ |
failed-syscalls-by-pid-report | 5 if ! expr match "$1" "-" > /dev/null ; then
|
syscall-counts-by-pid-report | 5 if ! expr match "$1" "-" > /dev/null ; then
|
/ndk/build/awk/ |
check-awk.awk | 17 # implements the match() and substr() functions appropriately. 26 if (! match(s1,"world")) { 27 print "Fail match"
|
/ndk/sources/host-tools/sed-4.2.1/testsuite/ |
runptests.c | 62 regmatch_t match[20]; local 92 err = regexec (&re, tests[cnt].str, 20, match, 0); 97 puts ("no match, OK"); 100 puts ("no match, FAIL"); 106 if (match[0].rm_so == 0 && tests[cnt].start == 0 107 && match[0].rm_eo == 0 && tests[cnt].end == 0) 108 puts ("match, OK"); 109 else if (match[0].rm_so + 1 == tests[cnt].start 110 && match[0].rm_eo == tests[cnt].end) 111 puts ("match, OK") [all...] |
/external/apache-http/src/org/apache/http/impl/cookie/ |
BasicPathHandler.java | 64 if (!match(cookie, origin)) { 71 public boolean match(final Cookie cookie, final CookieOrigin origin) { method in class:BasicPathHandler 86 boolean match = targetpath.startsWith (topmostPath); 87 // if there is a match and these values are not exactly the same we have 89 if (match && targetpath.length() != topmostPath.length()) { 91 match = (targetpath.charAt(topmostPath.length()) == '/'); 94 return match;
|
/external/chromium_org/v8/tools/ |
disasm.py | 47 # Keys must match constants in Logger::LogCodeInfo. 83 if _DISASM_HEADER_RE.match(line): 90 match = _DISASM_LINE_RE.match(line) 91 if match: 92 line_address = int(match.group(1), 16) 93 split_lines.append((line_address, match.group(2)))
|
/external/clang/unittests/AST/ |
ASTContextParentMapTest.cpp | 30 EXPECT_TRUE(Verifier.match("class C { void f(); };", 36 EXPECT_TRUE(Verifier.match("class C { void f() { if (true) {} } };", 42 EXPECT_TRUE(DeclVerifier.match( 47 EXPECT_TRUE(DeclVerifier.match( 52 EXPECT_FALSE(DeclVerifier.match( 62 EXPECT_TRUE(TemplateVerifier.match(
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
AcceptEncodingParser.java | 102 lexer.match(TokenTypes.ID); 108 this.lexer.match(';'); 110 this.lexer.match('q'); 112 this.lexer.match('='); 114 lexer.match(TokenTypes.ID); 129 this.lexer.match(',');
|
AcceptLanguageParser.java | 96 lexer.match(TokenTypes.ID); 102 this.lexer.match(';'); 104 this.lexer.match('q'); 106 this.lexer.match('='); 108 lexer.match(TokenTypes.ID); 123 this.lexer.match(',');
|
/external/vixl/tools/ |
git.py | 37 match = re.search("^\* (.*)$", branches, re.MULTILINE) 38 if not match: util.abort('Failed to find the current branch.') 40 branch = match.group(1); 48 match = re.search('^[0-9a-fA-F]{40}$', commit, re.MULTILINE) 49 if not match: util.abort('Failed to find the current revision.') 50 branch = match.group(0)
|
/external/llvm/unittests/IR/ |
PatternMatch.cpp | 61 EXPECT_TRUE(m_OneUse(m_Value(V)).match(One)); 64 EXPECT_FALSE(m_OneUse(m_Value()).match(Two)); 65 EXPECT_FALSE(m_OneUse(m_Value()).match(Leaf)); 76 .match(IRB.CreateSelect(IRB.CreateFCmpOLT(L, R), L, R))); 82 .match(IRB.CreateSelect(IRB.CreateFCmpOLE(L, R), L, R))); 86 // Test no match on OGE. 88 .match(IRB.CreateSelect(IRB.CreateFCmpOGE(L, R), L, R))); 90 // Test no match on OGT. 92 .match(IRB.CreateSelect(IRB.CreateFCmpOGT(L, R), L, R))); 94 // Test match on OGE with inverted select [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
PatternMatcherTest.java | 119 assertTrue(mPatternMatcher.match("test")); 120 assertFalse(mPatternMatcher.match("test1")); 123 assertTrue(mPatternMatcher.match("testHello")); 124 assertFalse(mPatternMatcher.match("atestHello")); 127 assertFalse(mPatternMatcher.match("testHello")); 128 assertFalse(mPatternMatcher.match("test")); 129 assertFalse(mPatternMatcher.match("atestHello")); 132 assertTrue(mPatternMatcher.match("")); 135 assertTrue(mPatternMatcher.match("test")); 138 assertFalse(mPatternMatcher.match("test")) [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/scripts/ |
check_injected_webgl_calls_info.py | 50 match = re.match(r"^\s*(\w[\w\s]*)\s+(\w+)\s*\(([^()]*)\)", line) 51 if not match: 54 return_type = match.group(1).strip() 55 function_name = match.group(2) 56 arguments_string = match.group(3) 61 match = re.match(r"^\s*(\w[\w\s]*)\s+(\w+)\s*$", argument) 62 if not match: 64 argument_types.append(match.group(1).strip() [all...] |
/external/clang/tools/clang-format/ |
clang-format-diff.py | 65 match = re.search('^\+\+\+\ (.*?/){%s}(\S*)' % args.p, line) 66 if match: 67 filename = match.group(2) 72 if not re.match('^%s$' % args.regex, filename): 75 if not re.match('^%s$' % args.iregex, filename, re.IGNORECASE): 78 match = re.search('^@@.*\+(\d+)(,(\d+))?', line) 79 if match: 80 start_line = int(match.group(1)) 82 if match.group(3): 83 line_count = int(match.group(3) [all...] |
/frameworks/av/media/libstagefright/foundation/ |
ADebug.cpp | 102 char *match = strcasestr(debugName, term); local 103 if (match != NULL && (match == debugName || match[-1] == '.' 104 || match[len] == '.' || match[len] == '\0')) { 105 char *src = match + len; 106 if (match == debugName || match[-1] == '.') { 109 memmove(match, src, debugName + strlen(debugName) - src + 1) [all...] |
/frameworks/base/core/java/android/os/ |
PatternMatcher.java | 26 * Pattern type: the given pattern must exactly match the string it is 32 * Pattern type: the given pattern must match the 40 * In this syntax, you can use the '*' character to match against zero or 42 * character before it is '.' it will match any character. The character 64 public boolean match(String str) { method in class:PatternMatcher 109 static boolean matchPattern(String pattern, String match, int type) { 110 if (match == null) return false; 112 return pattern.equals(match); 114 return match.startsWith(pattern); 121 return match.length() <= 0 [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/ |
versionpredicate.py | 21 res = re_splitComparison.match(pred) 105 match = re_validPackage.match(versionPredicateStr) 106 if not match: 108 self.name, paren = match.groups() 111 match = re_paren.match(paren) 112 if not match: 114 str = match.groups()[0] 158 m = _provision_rx.match(value [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/ |
versionpredicate.py | 21 res = re_splitComparison.match(pred) 105 match = re_validPackage.match(versionPredicateStr) 106 if not match: 108 self.name, paren = match.groups() 111 match = re_paren.match(paren) 112 if not match: 114 str = match.groups()[0] 158 m = _provision_rx.match(value [all...] |
/external/chromium_org/components/omnibox/ |
autocomplete_match.cc | 66 AutocompleteMatch::AutocompleteMatch(const AutocompleteMatch& match) 67 : provider(match.provider), 68 relevance(match.relevance), 69 typed_count(match.typed_count), 70 deletable(match.deletable), 71 fill_into_edit(match.fill_into_edit), 72 inline_autocompletion(match.inline_autocompletion), 73 allowed_to_be_default_match(match.allowed_to_be_default_match), 74 destination_url(match.destination_url), 75 stripped_destination_url(match.stripped_destination_url) [all...] |