/external/chromium_org/third_party/mesa/src/src/gallium/drivers/r300/compiler/tests/ |
rc_test_helpers.c | 30 static int match_length(regmatch_t * matches, int index) 32 return matches[index].rm_eo - matches[index].rm_so; 38 regmatch_t * matches, 53 err_code = regexec(®ex, search_str, num_matches, matches, 0); 57 matches[i].rm_so, matches[i].rm_eo); 94 regmatch_t matches[REGEX_SRC_MATCHES]; local 100 if (!regex_helper(regex_str, src_str, matches, REGEX_SRC_MATCHES)) { 106 tokens.Negate.String = src_str + matches[1].rm_so 221 regmatch_t matches[REGEX_DST_MATCHES]; local 320 regmatch_t matches[REGEX_INST_MATCHES]; local [all...] |
/external/mesa3d/src/gallium/drivers/r300/compiler/tests/ |
rc_test_helpers.c | 30 static int match_length(regmatch_t * matches, int index) 32 return matches[index].rm_eo - matches[index].rm_so; 38 regmatch_t * matches, 53 err_code = regexec(®ex, search_str, num_matches, matches, 0); 57 matches[i].rm_so, matches[i].rm_eo); 94 regmatch_t matches[REGEX_SRC_MATCHES]; local 100 if (!regex_helper(regex_str, src_str, matches, REGEX_SRC_MATCHES)) { 106 tokens.Negate.String = src_str + matches[1].rm_so 221 regmatch_t matches[REGEX_DST_MATCHES]; local 320 regmatch_t matches[REGEX_INST_MATCHES]; local [all...] |
/external/lldb/source/Commands/ |
CommandObjectMultiword.cpp | 47 CommandObjectMultiword::GetSubcommandSP (const char *sub_cmd, StringList *matches) 56 // An exact match; append the sub_cmd to the 'matches' string list. 57 if (matches) 58 matches->AppendString(sub_cmd); 65 if (matches == NULL) 66 matches = &local_matches; 67 int num_matches = CommandObject::AddNamesMatchingPartialString (m_subcommand_dict, sub_cmd, *matches); 74 sub_cmd = matches->GetStringAtIndex(0); 85 CommandObjectMultiword::GetSubcommandObject (const char *sub_cmd, StringList *matches) 87 return GetSubcommandSP(sub_cmd, matches).get() 132 StringList matches; local [all...] |
CommandObjectHelp.cpp | 85 StringList matches; local 86 cmd_obj = m_interpreter.GetCommandObject (command.GetArgumentAtIndex (0), &matches); 92 StringList matches; local 100 matches.Clear(); 108 found_cmd = sub_cmd_obj->GetSubcommandObject(sub_command.c_str(), &matches); 111 else if (matches.GetSize() > 1) 122 if (matches.GetSize() >= 2) 126 size_t num_matches = matches.GetSize(); 129 s.Printf ("\n\t%s", matches.GetStringAtIndex(match_idx)); 163 else if (matches.GetSize() > 0 [all...] |
/external/apache-http/src/org/apache/http/conn/util/ |
InetAddressUtils.java | 62 return IPV4_PATTERN.matcher(input).matches(); 66 return IPV6_STD_PATTERN.matcher(input).matches(); 70 return IPV6_HEX_COMPRESSED_PATTERN.matcher(input).matches();
|
/external/chromium_org/mojo/public/tools/bindings/pylib/mojom_tests/support/ |
find_files.py | 14 matches = [] 17 matches.append(join(dirpath, filename)) 18 return matches
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/reftests/ |
extract_reference_link.py | 36 self.matches = [] 48 self.matches.append(attrs["href"]) 57 a tuple of two URL lists, (matches, mismatches). 63 return parser.matches, parser.mismatches
|
/external/libedit/src/ |
filecomplete.c | 286 size_t matches; local 288 matches = 0; 290 while ((retstr = (*genfunc) (text, (int)matches)) != NULL) { 292 if (matches + 3 >= match_list_len) { 294 while (matches + 3 >= match_list_len) 305 match_list[++matches] = retstr; 315 for (; which <= matches; which++) { 332 match_list[matches + 1] = NULL; 351 * 'matches' is list of strings, 'num' is number of strings in 'matches', 418 char **matches; local [all...] |
/external/chromium_org/chrome/browser/history/ |
in_memory_url_index_unittest.cc | 470 ScoredHistoryMatches matches = url_index_->HistoryItemsForTerms( local 472 ASSERT_EQ(1U, matches.size()); 475 EXPECT_EQ(5, matches[0].url_info.id()); 476 EXPECT_EQ("http://drudgereport.com/", matches[0].url_info.url().spec()); 477 EXPECT_EQ(ASCIIToUTF16("DRUDGE REPORT 2010"), matches[0].url_info.title()); 478 EXPECT_TRUE(matches[0].can_inline()); 482 matches = url_index_->HistoryItemsForTerms( 484 ASSERT_EQ(1U, matches.size()); 485 EXPECT_EQ(5, matches[0].url_info.id()); 486 EXPECT_EQ("http://drudgereport.com/", matches[0].url_info.url().spec()) 552 ScoredHistoryMatches matches = url_index_->HistoryItemsForTerms( local 594 ScoredHistoryMatches matches = url_index_->HistoryItemsForTerms( local 664 ScoredHistoryMatches matches = url_index_->HistoryItemsForTerms( local 683 ScoredHistoryMatches matches = url_index_->HistoryItemsForTerms( local 704 ScoredHistoryMatches matches = url_index_->HistoryItemsForTerms( local 721 ScoredHistoryMatches matches = url_index_->HistoryItemsForTerms( local 758 ScoredHistoryMatches matches = url_index_->HistoryItemsForTerms( local 877 ScoredHistoryMatches matches = url_index_->HistoryItemsForTerms( local 892 ScoredHistoryMatches matches = url_index_->HistoryItemsForTerms( local [all...] |
/external/clang/unittests/ASTMatchers/Dynamic/ |
RegistryTest.cpp | 139 EXPECT_TRUE(matches(ClassSnippet, IsArrowValue)); 140 EXPECT_TRUE(matches(BoolSnippet, BoolValue)); 141 EXPECT_FALSE(matches(ClassSnippet, BoolValue)); 142 EXPECT_FALSE(matches(BoolSnippet, IsArrowValue)); 149 EXPECT_TRUE(matches("class X {};", Value)); 150 EXPECT_FALSE(matches("int x;", Value)); 154 EXPECT_TRUE(matches("void foo(int,int);", Value)); 155 EXPECT_FALSE(matches("void foo(int);", Value)); 168 EXPECT_FALSE(matches(code, HasInitializerSimple)); 169 EXPECT_FALSE(matches(code, HasInitializerComplex)) [all...] |
/external/easymock/src/org/easymock/internal/ |
AlwaysMatcher.java | 25 public boolean matches(Object[] expected, Object[] actual) {
method in class:AlwaysMatcher
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
RequestMatcher.java | 6 public boolean matches(HttpRequest request); method in interface:RequestMatcher
|
/external/llvm/lib/Option/ |
ArgList.cpp | 29 if (O.matches(Id0) || 30 (Id1.isValid() && O.matches(Id1)) || 31 (Id2.isValid() && O.matches(Id2))) 45 [=](Arg *A) { return A->getOption().matches(Id); }), 52 if ((*it)->getOption().matches(Id)) 60 if ((*it)->getOption().matches(Id)) { 72 if ((*it)->getOption().matches(Id0) || 73 (*it)->getOption().matches(Id1)) { 87 if ((*it)->getOption().matches(Id0) || 88 (*it)->getOption().matches(Id1) | [all...] |
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
BluetoothDeviceFilter.java | 28 * passed to it matches the specified filter type constant from 36 boolean matches(BluetoothDevice device); method in interface:BluetoothDeviceFilter.Filter 77 /** Filter that matches all devices. */ 79 public boolean matches(BluetoothDevice device) { method in class:BluetoothDeviceFilter.AllFilter 84 /** Filter that matches only bonded devices. */ 86 public boolean matches(BluetoothDevice device) { method in class:BluetoothDeviceFilter.BondedDeviceFilter 91 /** Filter that matches only unbonded devices. */ 93 public boolean matches(BluetoothDevice device) { method in class:BluetoothDeviceFilter.UnbondedDeviceFilter 100 abstract boolean matches(ParcelUuid[] uuids, BluetoothClass btClass); method in class:BluetoothDeviceFilter.ClassUuidFilter 102 public boolean matches(BluetoothDevice device) method in class:BluetoothDeviceFilter.ClassUuidFilter 110 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { method in class:BluetoothDeviceFilter.AudioFilter 131 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { method in class:BluetoothDeviceFilter.TransferFilter 145 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { method in class:BluetoothDeviceFilter.PanuFilter 159 boolean matches(ParcelUuid[] uuids, BluetoothClass btClass) { method in class:BluetoothDeviceFilter.NapFilter [all...] |
/external/chromium_org/chrome/common/extensions/manifest_handlers/ |
automation.cc | 30 "Cannot specify matches for Automation if desktop=true is specified; " 31 "matches will be ignored."; 90 } else if (automation_info_->matches.MatchesAllURLs()) { 98 automation_info_->matches, ®ular_hosts, &message_set); 130 URLPatternSet matches; local 132 automation_info_->matches, other->automation_info_->matches, &matches); 134 make_scoped_ptr(new const AutomationInfo(desktop, matches, interact))); 145 URLPatternSet matches; local 160 URLPatternSet matches; local 247 URLPatternSet matches; local [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitruby/PrettyPatch/ |
PrettyPatch_test.rb | 72 matches = pretty.match("INVALID: Image lacks a checksum.") 76 assert(!matches, "Should have invalid checksums") 83 matches = pretty.match("INVALID: Image lacks a checksum.") 84 assert(!matches, "Should not have invalid checksums") 89 matches = pretty.match("INVALID: Image lacks a checksum.") 90 assert(!matches, "Png should lack a checksum without an error.") 95 matches = pretty.match("INVALID: Image lacks a checksum.") 96 assert(!matches, "Png should lack a checksum without an error.")
|
/external/easymock/src/org/easymock/internal/matchers/ |
Matches.java | 22 public class Matches implements IArgumentMatcher, Serializable {
28 public Matches(String regex) {
32 public boolean matches(Object actual) {
method in class:Matches 33 return (actual instanceof String) && ((String) actual).matches(regex);
37 buffer.append("matches(\"" + regex.replaceAll("\\\\", "\\\\\\\\")
|
Not.java | 32 public boolean matches(Object actual) {
method in class:Not 33 return !first.matches(actual);
|
/external/proguard/src/proguard/util/ |
FixedStringMatcher.java | 50 public boolean matches(String string) method in class:FixedStringMatcher 54 nextMatcher.matches(string.substring(fixedString.length())));
|
/external/chromium_org/components/bookmarks/browser/ |
bookmark_index_unittest.cc | 91 std::vector<BookmarkMatch> matches; local 92 model_->GetBookmarksMatching(ASCIIToUTF16(query), 1000, &matches); local 93 ASSERT_EQ(expected_titles.size(), matches.size()); 96 for (size_t j = 0; j < matches.size(); ++j) { 97 if (ASCIIToUTF16(expected_titles[i]) == matches[j].node->GetTitle()) { 98 matches.erase(matches.begin() + j); 108 BookmarkMatch::MatchPositions* matches) { 115 matches->push_back(BookmarkMatch::MatchPosition()); 119 matches->back().first = chunks0 275 std::vector<BookmarkMatch> matches; local 276 model_->GetBookmarksMatching(UTF8ToUTF16(data[i].query), 10, &matches); local 305 std::vector<BookmarkMatch> matches; local 306 model_->GetBookmarksMatching(ASCIIToUTF16(data[i].query), 1000, &matches); local 357 std::vector<BookmarkMatch> matches; local 358 model_->GetBookmarksMatching(UTF8ToUTF16(data[i].query), 1000, &matches); local 397 std::vector<BookmarkMatch> matches; local 409 std::vector<BookmarkMatch> matches; local 441 std::vector<BookmarkMatch> matches; local [all...] |
/external/iproute2/ip/ |
ip.c | 95 if (matches(argv0, c->cmd) == 0) { 168 if (matches(opt, "-loops") == 0) { 174 } else if (matches(opt, "-family") == 0) { 203 } else if (matches(opt, "-stats") == 0 || 204 matches(opt, "-statistics") == 0) { 206 } else if (matches(opt, "-details") == 0) { 208 } else if (matches(opt, "-resolve") == 0) { 210 } else if (matches(opt, "-oneline") == 0) { 212 } else if (matches(opt, "-timestamp") == 0) { 215 } else if (matches(opt, "-numeric") == 0) [all...] |
/external/lldb/include/lldb/Interpreter/ |
CommandCompletions.h | 32 // it is bound to (in the OptionDefinition table below). Return the total number of matches. 36 int match_start_point, // This is the point in the list of matches that you should start returning elements 37 int max_return_elements, // This is the number of matches requested. 40 lldb_private::StringList &matches); // The array of matches we return. 73 StringList &matches); 85 StringList &matches); 93 StringList &matches); 102 StringList &matches); 111 lldb_private::StringList &matches); [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/regex/ |
MatcherTest.java | 46 assertFalse(m.matches()); 51 assertTrue(m.matches()); 114 assertTrue(m.matches()); 116 assertFalse(m.matches()); 169 mat.matches(); 194 mat.matches(); 210 mat.matches(); 221 mat.matches(); 224 fail("IllegalStateException expected for <false> matches result"); 234 mat.matches(); 639 assertTrue(pattern.matcher("14pt").matches()); method [all...] |
/external/chromium_org/chrome/common/extensions/docs/server2/ |
link_converter.py | 23 def _Replace(matches, filename): 24 title = matches.group(3) 25 if matches.group(2).count('#') != 1: 26 return '<a%shref=%s>%s</a>' % (matches.group(1), 27 matches.group(2), 29 clean = (matches.group(2).replace('\\', '') 40 return '<a%shref=%s>%s</a>' % (matches.group(1), 41 matches.group(2), 46 if matches.group(1) == ' ': 49 padding = matches.group(1 [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
rlcompleter.py | 83 self.matches = self.attr_matches(text) 85 self.matches = self.global_matches(text) 87 return self.matches[state] 97 """Compute matches when text is a simple name. 104 matches = [] 108 matches.append(word) 112 matches.append(self._callable_postfix(val, word)) 113 return matches 116 """Compute matches when text contains a dot. 145 matches = [ [all...] |