/external/chromium/webkit/glue/ |
regular_expression_unittest.cc | 17 struct Match { 25 const Match* matches, 30 EXPECT_EQ(matches[i].matchPosition, regex.match( 47 EXPECT_EQ(0, regex.match("the quick brown fox")); 48 EXPECT_EQ(1, regex.match(" the quick brown fox")); 49 EXPECT_EQ(3, regex.match("foothe quick brown foxbar")); 51 EXPECT_EQ(-1, regex.match("The quick brown FOX")); 52 EXPECT_EQ(-1, regex.match("the quick brown fo")); 66 const Match matches[] = { 88 const Match matches[] = [all...] |
/external/chromium_org/content/browser/service_worker/ |
service_worker_storage.cc | 50 PatternToRegistrationMap::const_iterator match = local 52 if (match == registration_by_pattern_.end()) { 65 base::Bind(callback, true /* found */, REGISTRATION_OK, match->second)); 143 PatternToRegistrationMap::iterator match = local 145 if (match != registration_by_pattern_.end()) { 146 match->second->Shutdown(); 147 registration_by_pattern_.erase(match);
|
/external/stlport/test/unit/cppunit/ |
cppunit_mini.h | 99 bool match = (strncmp(in_desiredTest, in_className, strlen(in_className)) == 0) && local 102 return invert ? (match ? !match : !explicit_test) 103 : match; 105 bool match = (strcmp(in_desiredTest, in_className) == 0); local 106 do_progress = match; 107 return !explicit_test && (match == !invert);
|
/ndk/tests/device/test-gnustl-full/unit/cppunit/ |
cppunit_mini.h | 99 bool match = (strncmp(in_desiredTest, in_className, strlen(in_className)) == 0) && local 102 return invert ? (match ? !match : !explicit_test) 103 : match; 105 bool match = (strcmp(in_desiredTest, in_className) == 0); local 106 do_progress = match; 107 return !explicit_test && (match == !invert);
|
/ndk/tests/device/test-stlport/unit/cppunit/ |
cppunit_mini.h | 99 bool match = (strncmp(in_desiredTest, in_className, strlen(in_className)) == 0) && local 102 return invert ? (match ? !match : !explicit_test) 103 : match; 105 bool match = (strcmp(in_desiredTest, in_className) == 0); local 106 do_progress = match; 107 return !explicit_test && (match == !invert);
|
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
SuggestionsProvider.java | 135 * match. 155 String match; local 157 match = cursor.getString(nameIndex); 158 match = !TextUtils.isEmpty(match) ? match : cursor.getString(addressIndex); 161 addRow(new Object[] {0, match, createQuery(match), emptyIcon}); 178 // Append the match as well.
|
/external/iproute2/examples/diffserv/ |
Edge31-ca-u32 | 54 match ip tos 0x88 0xfc \ 63 match ip tos 0x88 0xfc \ 71 match ip tos 0x88 0xfc \ 83 match ip tos 0x90 0xfc \ 91 match ip tos 0x90 0xfc \ 102 match ip tos 0x98 0xfc \ 114 match ip src 0/0\
|
Edge32-cb-u32 | 56 match ip src 10.2.0.0/24 $meter1 \ 59 match ip src 10.2.0.0/24 $meter1a \ 67 match ip src 10.2.0.0/24 $meter2 \ 70 match ip src 10.2.0.0/24 $meter2a \ 77 match ip src 10.2.0.0/24 $meter3 \ 80 match ip src 10.2.0.0/24 $meter3a \ 88 match ip src 0/0 $meter5 \
|
/external/chromium/chrome/browser/autocomplete/ |
search_provider.cc | 94 // description of the new first match in the call to 186 AutocompleteMatch match; local 187 match.provider = this; 188 match.contents.assign(l10n_util::GetStringUTF16(IDS_EMPTY_KEYWORD_VALUE)); 189 match.contents_class.push_back( 191 matches_.push_back(match); 530 // the most relevant match for each result. 613 // match having a relevance greater than the previous, but they might be 631 // match will outrank us for URL-like inputs anyway, so we need not do 635 AutocompleteMatch match; local 898 AutocompleteMatch& match = *i; local [all...] |
extension_app_provider.cc | 63 // We have a match, might be a partial match. 66 AutocompleteMatch match(this, 0, false, 68 match.fill_into_edit = UTF8ToUTF16(url); 69 match.destination_url = GURL(url); 70 match.inline_autocomplete_offset = string16::npos; 71 match.contents = UTF8ToUTF16(name); 72 HighlightMatch(input, &match.contents_class, name_iter, name); 73 match.description = UTF8ToUTF16(url); 74 HighlightMatch(input, &match.description_class, url_iter, url) [all...] |
/external/chromium_org/chrome/browser/autocomplete/ |
keyword_provider.cc | 221 // A verbatim match is allowed to be the default match. 311 // Any exact match is going to be the highest quality match, and thus at the 318 // Only create an exact match if |remaining_input| is empty or if 322 // then SearchProvider creates the exact (a.k.a. verbatim) match. 329 // When creating an exact match (either for the keyword itself, no 331 // input), allow the match to be the default match. 353 // ensure it is less than the main match's relevance 595 AutocompleteMatch* match = &extension_suggest_matches_.back(); local [all...] |
/external/llvm/utils/vim/ |
llvm.vim | 12 syn case match 20 syn match llvmType /\<i\d\+\>/ 65 syn match llvmNoName /[%@]\d\+\>/ 66 syn match llvmNumber /-\?\<\d\+\>/ 67 syn match llvmFloat /-\?\<\d\+\.\d*\(e[+-]\d\+\)\?\>/ 68 syn match llvmFloat /\<0x\x\+\>/ 71 syn match llvmComment /;.*$/ 73 syn match llvmLabel /[-a-zA-Z$._][-a-zA-Z$._0-9]*:/ 74 syn match llvmIdentifier /[%@][-a-zA-Z$._][-a-zA-Z$._0-9]*/ 77 syn match llvmSpecialComment /;\s*RUN:.*$ [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/ |
SimpleCTP.m | 396 [self match:input TokenType:FUNC_DECL Follow:FOLLOW_FUNC_DECL_in_declaration87]; 398 [self match:input TokenType:DOWN Follow:nil]; 407 [self match:input TokenType:UP Follow:nil]; 415 [self match:input TokenType:FUNC_DEF Follow:FOLLOW_FUNC_DEF_in_declaration101]; 417 [self match:input TokenType:DOWN Follow:nil]; 434 [self match:input TokenType:UP Follow:nil]; 470 [self match:input TokenType:VAR_DEF Follow:FOLLOW_VAR_DEF_in_variable126]; 472 [self match:input TokenType:DOWN Follow:nil]; 489 [self match:input TokenType:UP Follow:nil]; 523 [self match:input TokenType:K_ID Follow:FOLLOW_K_ID_in_declarator150]; [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/examples/simplecTreeParser/output1/ |
SimpleCTP.m | 378 [self match:input TokenType:FUNC_DECL Follow:FOLLOW_FUNC_DECL_in_declaration87]; /* element() */ 380 [self match:input TokenType:ANTLRTokenTypeDOWN Follow:nil]; 387 [self match:input TokenType:ANTLRTokenTypeUP Follow:nil]; /* element() */ 394 [self match:input TokenType:FUNC_DEF Follow:FOLLOW_FUNC_DEF_in_declaration101]; /* element() */ 396 [self match:input TokenType:ANTLRTokenTypeDOWN Follow:nil]; 408 [self match:input TokenType:ANTLRTokenTypeUP Follow:nil]; /* element() */ 437 [self match:input TokenType:VAR_DEF Follow:FOLLOW_VAR_DEF_in_variable126]; /* element() */ 439 [self match:input TokenType:ANTLRTokenTypeDOWN Follow:nil]; 451 [self match:input TokenType:ANTLRTokenTypeUP Follow:nil]; /* element() */ 478 [self match:input TokenType:K_ID Follow:FOLLOW_K_ID_in_declarator150]; /* element() * [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
Color.js | 60 var match = value.match(simple); 61 if (match) { 62 if (match[1]) { // hex 63 var hex = match[1].toUpperCase(); 76 if (match[2]) { // rgb 77 var rgbString = match[2].split(/\s*,\s*/); 84 if (match[3]) { // nickname 85 var nickname = match[3].toLowerCase(); 96 if (match[4]) { // hs [all...] |
/external/chromium/build/util/ |
lastchange.py | 137 match = re.search(r'^\w+://.*$', output, re.M) 138 if match: 139 return match.group(0) 160 match = re.search(r'\S+$', output) 161 if match: 162 return match.group(0) 179 match = git_re.match(line) 180 if match: 181 id = match.group(2 [all...] |
/external/chromium_org/cc/ |
PRESUBMIT.py | 130 match = re.search( 134 if match: 137 (f.LocalPath(), match.group('type')))) 156 match = re.search(r"(?<!\\)(?P<quote>\")", contents[pos:]) 157 return -1 if not match else match.start("quote") + pos 192 if re.match(w, contents[next:]): 208 match = re.search(r'namespace\s*cc\s*{', contents) 209 if match: 213 if FindNamespaceInBlock(match.end(), 'cc', contents, whitelist=whitelist) [all...] |
/external/chromium_org/content/test/data/media/ |
media_utils.js | 12 // Lambda function for decoding extracted match values. Replaces '+' with 15 var match; 16 while (match = r.exec(window.location.search.substring(1))) 17 params[d(match[1])] = d(match[2]);
|
/external/chromium_org/v8/test/webkit/fast/js/ |
regexp-bol-with-multiline.js | 29 shouldBeNull('s.match(/^abc/)'); 30 shouldBe('s.match(/^abc/m)', '["abc"]'); 31 shouldBeNull('s.match(/(^|X)abc/)'); 32 shouldBe('s.match(/(^|X)abc/m)', '["abc",""]'); 33 shouldBe('s.match(/(^a|Xa)bc/m)', '["abc","a"]');
|
regexp-lastindex.js | 30 var match; variable 31 shouldBe('while (match = re.exec(" abcdefg")) accumulate += match + "; "; accumulate', '"abcdefg; "'); 35 shouldBe('while (match = re.exec("123456789")) accumulate += match + "; "; accumulate', '"1; 2; 3; 4; 5; 6; 7; 8; 9; "');
|
/external/e2fsprogs/lib/ext2fs/ |
tst_badblocks.c | 123 int i, match, ok; local 126 match = ext2fs_badblocks_list_test(bb, vec[i]); 127 if (match == vec[i+1]) 134 match ? "present" : "absent", 141 int i, match; local 147 match = ext2fs_badblocks_list_test(bb, vec[i]); 149 match ? "present" : "absent"); 150 if (!match) { 157 match = ext2fs_badblocks_list_test(bb, vec[i]); 161 if (match) { [all...] |
/external/skia/tests/ |
PackBitsTest.cpp | 41 bool match = gTests[i].fCount == srcCount && memcmp(gTests[i].fSrc, src, local 43 REPORTER_ASSERT(reporter, match); 58 bool match = memcmp(src, src2, size * sizeof(uint16_t)) == 0; local 59 REPORTER_ASSERT(reporter, match); 94 bool match = gTests[i].fCount == srcCount && local 97 REPORTER_ASSERT(reporter, match); 112 bool match = memcmp(src, src2, size * sizeof(uint8_t)) == 0; local 113 REPORTER_ASSERT(reporter, match); 122 bool match = memcmp(src, src2 + skip, write) == 0; local 123 REPORTER_ASSERT(reporter, match); [all...] |
/external/valgrind/main/tests/ |
s390x_features.c | 19 // cpu model, if specified, does not match the machine 195 unsigned long long match; local 202 match = (facilities & (1ULL << 62) && (facilities & (1ULL << 61))); 204 match = (facilities & (1ULL << 63)); 206 match = (facilities & (1ULL << 56)); 208 match = (facilities & (1ULL << 45) && (facilities & (1ULL << 44))); 210 match = (facilities & (1ULL << 42)); 212 match = (facilities & (1ULL << 38)); 214 match = (facilities & (1ULL << 29)); 216 match = (facilities & (1ULL << 28)) [all...] |
/ndk/sources/host-tools/ndk-stack/ |
ndk-stack-parser.c | 96 * regex - Regular expression to match the string against. 97 * match - Upon successful match contains information about the part of the 100 * Boolean: 1 if a match has been found, or 0 if match has not been found in 103 static int MatchRegex(const char* line, const regex_t* regex, regmatch_t* match); 172 regmatch_t match; local 203 if (MatchRegex(line, &parser->re_pid_header, &match)) { 204 fprintf(parser->out_handle, "%s\n", line + match.rm_so); 212 if (MatchRegex(line, &parser->re_sig_header, &match)) { [all...] |
/packages/apps/UnifiedEmail/tests/src/com/android/mail/browse/ |
TestProvider.java | 128 int match = sURIMatcher.match(uri); local 129 if (match == UriMatcher.NO_MATCH) { 147 final int match = sURIMatcher.match(uri(uri)); local 149 switch (match) { 185 final int match = sURIMatcher.match(uri(uri)); local 188 switch (match) { 226 switch(match) { [all...] |