/external/webkit/WebKitTools/simplejson/ |
scanner.py | 35 Yield match, end_idx for each match 37 match = self.scanner.scanner(string, idx).match 42 m = match() 54 match = self.scanner.scanner(string, matchend).match
|
/packages/apps/Email/src/com/android/email/mail/internet/ |
EmailHtmlUtil.java | 91 Matcher match = pattern.matcher(text); local 93 if (match.find()) { 97 int start = match.start(); 99 end = match.end(); 116 } while (match.find());
|
/packages/apps/AlarmClock/src/com/android/alarmclock/ |
AlarmProvider.java | 101 int match = sURLMatcher.match(url); local 102 switch (match) { 130 int match = sURLMatcher.match(url); local 131 switch (match) { 145 int match = sURLMatcher.match(url); local 147 switch (match) { 166 if (sURLMatcher.match(url) != ALARMS) [all...] |
/packages/apps/DeskClock/src/com/android/deskclock/ |
AlarmProvider.java | 100 int match = sURLMatcher.match(url); local 101 switch (match) { 129 int match = sURLMatcher.match(url); local 130 switch (match) { 144 int match = sURLMatcher.match(url); local 146 switch (match) { 165 if (sURLMatcher.match(url) != ALARMS) [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
IntentFilter_AuthorityEntryTest.java | 78 method = "match", 83 assertEquals(IntentFilter.NO_MATCH_DATA, mAuthorityEntry.match(uri)); 85 assertEquals(IntentFilter.NO_MATCH_DATA, mAuthorityEntry.match(uri)); 88 assertEquals(IntentFilter.NO_MATCH_DATA, mAuthorityEntry.match(uri)); 91 assertEquals(IntentFilter.MATCH_CATEGORY_HOST, mAuthorityEntry.match(uri)); 95 assertEquals(IntentFilter.MATCH_CATEGORY_HOST, mAuthorityEntry.match(uri)); 99 assertEquals(IntentFilter.MATCH_CATEGORY_PORT, mAuthorityEntry.match(uri)); 103 assertEquals(IntentFilter.MATCH_CATEGORY_HOST, mAuthorityEntry.match(uri));
|
/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);
|
/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 \
|
/dalvik/libcore/security/src/test/java/tests/security/cert/ |
X509CertSelectorTest.java | 653 assertTrue("Any certificate should match in the case of null " 655 .match(cert1) 656 && selector.match(cert2)); 803 assertTrue("The certificate should match the selection criteria.", 804 selector.match(cert_1)); 808 + "of internal object.", selector.match(cert_1)); [all...] |
/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 | 33 bool match = gTests[i].fCount == srcCount && memcmp(gTests[i].fSrc, src, local 35 REPORTER_ASSERT(reporter, match); 50 bool match = memcmp(src, src2, size * sizeof(uint16_t)) == 0; local 51 REPORTER_ASSERT(reporter, match); 86 bool match = gTests[i].fCount == srcCount && local 89 REPORTER_ASSERT(reporter, match); 104 bool match = memcmp(src, src2, size * sizeof(uint8_t)) == 0; local 105 REPORTER_ASSERT(reporter, match); 114 bool match = memcmp(src, src2 + skip, write) == 0; local 115 REPORTER_ASSERT(reporter, match); [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/JAJP/ |
Romkan.java | 183 String match = Romkan.romkanTable.get(key.toString().toLowerCase()); local 184 if (match != null) { 186 match = match.toUpperCase(); 189 if (match.length() == 1) { 191 out[0] = new StrSegment(match, str[start].from, str[MAX_LENGTH - 1].to); 195 out[0] = new StrSegment(match.substring(0, match.length() - 1), 197 out[1] = new StrSegment(match.substring(match.length() - 1) [all...] |
RomkanFullKatakana.java | 187 String match = table.get(key.toString().toLowerCase()); local 188 if (match != null) { 190 match = match.toUpperCase(); 193 if (match.length() == 1) { 195 out[0] = new StrSegment(match, str[start].from, str[MAX_LENGTH - 1].to); 199 out[0] = new StrSegment(match.substring(0, match.length() - 1), 201 out[1] = new StrSegment(match.substring(match.length() - 1) [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
BluetoothOppProvider.java | 200 int match = sURIMatcher.match(uri); local 201 switch (match) { 233 if (sURIMatcher.match(uri) != SHARES) { 306 int match = sURIMatcher.match(uri); local 307 switch (match) { 393 int match = sURIMatcher.match(uri); local 394 switch (match) { 434 int match = sURIMatcher.match(uri); local [all...] |
/dalvik/libcore/nio_char/src/test/java/tests/api/java/nio/charset/ |
Charset_SingleByteAbstractTest.java | 78 assertEqualChars2("Decoded charactes must match!", 82 // assertTrue("Decoded charactes (REPLACEed ones INCLUSIVE) must match!", 85 // assertEqualChars("Decoded charactes (REPLACEed ones INCLUSIVE) must match!", 89 // assertEquals("Decoded charactes must match!", 107 // assertEqualChars("Decoded charactes must match!", 110 //// assertEquals("Decoded charactes must match!", 127 assertEqualBytes2("Encoded bytes must match!", allBytes, outputBB.array(), allChars); 139 //// System.out.format("Match index %d: %d = %d\n", 147 boolean match = true; 168 match = false [all...] |
/external/iptables/extensions/ |
libip6t_ah.c | 17 " --ahspi [!] spi[:spi] match spi (range)\n" 73 /* Initialize the match. */ 90 struct ip6t_entry_match **match) 92 struct ip6t_ah *ahinfo = (struct ip6t_ah *)(*match)->data; 161 const struct ip6t_entry_match *match, int numeric) 163 const struct ip6t_ah *ah = (struct ip6t_ah *)match->data; 180 static void save(const struct ip6t_ip6 *ip, const struct ip6t_entry_match *match) 182 const struct ip6t_ah *ahinfo = (struct ip6t_ah *)match->data;
|
libip6t_esp.c | 17 " --espspi [!] spi[:spi] match spi (range)\n", 71 /* Initialize the match. */ 88 struct ip6t_entry_match **match) 90 struct ip6t_esp *espinfo = (struct ip6t_esp *)(*match)->data; 133 const struct ip6t_entry_match *match, int numeric) 135 const struct ip6t_esp *esp = (struct ip6t_esp *)match->data; 146 static void save(const struct ip6t_ip6 *ip, const struct ip6t_entry_match *match) 148 const struct ip6t_esp *espinfo = (struct ip6t_esp *)match->data;
|
libip6t_limit.c | 26 "--limit avg max average match rate: default "IP6T_LIMIT_AVG"\n" 29 "--limit-burst number number to match in a burst, default %u\n" 75 /* Initialize the match. */ 98 struct ip6t_entry_match **match) 100 struct ip6t_rateinfo *r = (struct ip6t_rateinfo *)(*match)->data; 160 const struct ip6t_entry_match *match, 163 struct ip6t_rateinfo *r = (struct ip6t_rateinfo *)match->data; 169 static void save(const struct ip6t_ip6 *ip, const struct ip6t_entry_match *match) 171 struct ip6t_rateinfo *r = (struct ip6t_rateinfo *)match->data;
|
libip6t_physdev.c | 46 struct ip6t_entry_match **match) 49 (struct ip6t_physdev_info*)(*match)->data; 125 const struct ip6t_entry_match *match, 129 (struct ip6t_physdev_info*)match->data; 131 printf("PHYSDEV match"); 151 static void save(const struct ip6t_ip6 *ip, const struct ip6t_entry_match *match) 154 (struct ip6t_physdev_info*)match->data;
|
libip6t_udp.c | 18 " match source port(s)\n" 21 " match destination port(s)\n", 56 /* Initialize the match. */ 74 struct ip6t_entry_match **match) 76 struct ip6t_udp *udpinfo = (struct ip6t_udp *)(*match)->data; 160 const struct ip6t_entry_match *match, int numeric) 162 const struct ip6t_udp *udp = (struct ip6t_udp *)match->data; 177 static void save(const struct ip6t_ip6 *ip, const struct ip6t_entry_match *match) 179 const struct ip6t_udp *udpinfo = (struct ip6t_udp *)match->data;
|
libipt_addrtype.c | 14 /* from linux/rtnetlink.h, must match order of enumeration */ 42 "Address type match v%s options:\n" 43 " [!] --src-type type[,...] Match source address type\n" 44 " [!] --dst-type type[,...] Match destination address type\n" 86 struct ipt_entry_match **match) 89 (struct ipt_addrtype_info *) (*match)->data; 141 const struct ipt_entry_match *match, 145 (struct ipt_addrtype_info *) match->data; 147 printf("ADDRTYPE match "); 163 const struct ipt_entry_match *match) [all...] |
libipt_ah.c | 18 " match spi (range)\n", 69 /* Initialize the match. */ 86 struct ipt_entry_match **match) 88 struct ipt_ah *ahinfo = (struct ipt_ah *)(*match)->data; 138 const struct ipt_entry_match *match, int numeric) 140 const struct ipt_ah *ah = (struct ipt_ah *)match->data; 151 static void save(const struct ipt_ip *ip, const struct ipt_entry_match *match) 153 const struct ipt_ah *ahinfo = (struct ipt_ah *)match->data;
|
libipt_connbytes.c | 54 struct ipt_entry_match **match) 56 struct ipt_connbytes_info *sinfo = (struct ipt_connbytes_info *)(*match)->data; 150 const struct ipt_entry_match *match, 153 struct ipt_connbytes_info *sinfo = (struct ipt_connbytes_info *)match->data; 170 static void save(const struct ipt_ip *ip, const struct ipt_entry_match *match) 172 struct ipt_connbytes_info *sinfo = (struct ipt_connbytes_info *)match->data;
|
libipt_connrate.c | 26 " Match connection transfer rate in bytes\n" 81 struct ipt_entry_match **match) 83 struct ipt_connrate_info *sinfo = (struct ipt_connrate_info *)(*match)->data; 112 "connrate match: You must specify `--connrate'"); 142 const struct ipt_entry_match *match, 145 struct ipt_connrate_info *sinfo = (struct ipt_connrate_info *)match->data; 153 static void save(const struct ipt_ip *ip, const struct ipt_entry_match *match) 155 struct ipt_connrate_info *sinfo = (struct ipt_connrate_info *)match->data;
|
libipt_esp.c | 18 " match spi (range)\n", 72 /* Initialize the match. */ 89 struct ipt_entry_match **match) 91 struct ipt_esp *espinfo = (struct ipt_esp *)(*match)->data; 141 const struct ipt_entry_match *match, int numeric) 143 const struct ipt_esp *esp = (struct ipt_esp *)match->data; 154 static void save(const struct ipt_ip *ip, const struct ipt_entry_match *match) 156 const struct ipt_esp *espinfo = (struct ipt_esp *)match->data;
|