/external/apache-http/src/org/apache/http/conn/ssl/ |
AbstractVerifier.java | 186 boolean match = false; 208 match = hostName.endsWith(cn.substring(1)); 209 if(match && strictWithSubDomains) { 211 // allowed to match [a.b.foo.com] 212 match = countDots(hostName) == countDots(cn); 215 match = hostName.equals(cn); 217 if(match) { 221 if(!match) { 222 throw new SSLException("hostname in certificate didn't match: <" + host + "> !=" + buf);
|
/frameworks/base/core/java/com/google/android/mms/util/ |
PduCache.java | 120 int match = URI_MATCHER.match(uri); local 121 switch (match) { 139 purgeByMessageBox(MATCH_TO_MSGBOX_ID_MAP.get(match)); 172 int match = URI_MATCHER.match(uri); local 175 switch (match) {
|
/dalvik/libcore/nio_char/src/test/java/tests/api/java/nio/charset/ |
Charset_AbstractTest.java | 85 assertEquals("Name of charset must match!", charsetName, charset.name()); 152 // assertTrue("Decoded charactes must match!", 154 assertEqualChars("Decoded charactes must match!", 157 // assertEqualChars2("Decoded charactes must match!", 161 // assertTrue("Decoded charactes (REPLACEed ones INCLUSIVE) must match!", 164 // assertEqualChars("Decoded charactes (REPLACEed ones INCLUSIVE) must match!", 168 // assertEquals("Decoded charactes must match!", 193 // assertTrue("Encoded bytes must match!", 195 assertEqualBytes("Encoded bytes must match!", testBytes, outputBB); 253 boolean match = true [all...] |
/external/icu4c/i18n/ |
rbt_rule.cpp | 216 * set, or otherwise can match multiple keys, the index value is -1. 221 // match any key. 236 * then it will match any key. 240 // If there is neither then we match any key; return true. 329 * Attempt a match and replacement at the given position. Return 330 * the degree of match between this rule and the given text. The 331 * degree of match may be mismatch, a partial match, or a full 332 * match. A mismatch means at least one character of the text 333 * does not match the context or key. A partial match means som 386 UMatchDegree match; local [all...] |
/build/core/ |
checktree | 18 if e.match(str): 42 m = regex_compiled.match(s) 48 if filt_compiled.match(s):
|
/external/apache-http/src/org/apache/http/impl/cookie/ |
BestMatchSpec.java | 147 public boolean match(final Cookie cookie, final CookieOrigin origin) { method in class:BestMatchSpec 155 return getStrict().match(cookie, origin); 157 return getCompat().match(cookie, origin);
|
RFC2965DomainAttributeHandler.java | 85 * Performs domain-match as defined by the RFC2965. 100 boolean match = host.equals(domain) 103 return match; 143 // The effective host name must domain-match domain attribute. 148 + "domain-match domain attribute."); 161 // string match request host (case-insensitive). 172 * Match cookie domain attribute. 174 public boolean match(final Cookie cookie, final CookieOrigin origin) { method in class:RFC2965DomainAttributeHandler 184 // The effective host name MUST domain-match the Domain
|
RFC2965CommentUrlAttributeHandler.java | 62 public boolean match(final Cookie cookie, final CookieOrigin origin) { method in class:RFC2965CommentUrlAttributeHandler
|
RFC2965DiscardAttributeHandler.java | 62 public boolean match(final Cookie cookie, final CookieOrigin origin) { method in class:RFC2965DiscardAttributeHandler
|
/external/bluetooth/glib/tests/ |
regex-test.c | 106 g_print ("failed \t(pattern: \"%s\", compile: %d, match %d)\n", 181 gboolean match; local 185 match = g_regex_match_simple (pattern, string, compile_opts, match_opts); 186 if (match != expected) 188 g_print ("failed \t(unexpected %s)\n", match ? "match" : "mismatch"); 193 verbose ("passed (%s)\n", match ? "match" : "nomatch"); 217 gboolean match; local 223 match = g_regex_match_full (regex, string, string_len 274 Match *match = data; local 304 Match *match; local 323 Match *match = g_new0 (Match, 1); local 351 Match *match = l_match->data; local 1318 Match *match; local 1425 Match *match; local [all...] |
/external/webkit/WebCore/platform/text/ |
RegularExpression.cpp | 97 int RegularExpression::match(const String& str, int startFrom, int* matchLength) const function in class:WebCore::RegularExpression 116 // 1 means 1 match; 0 means more than one match. First match is recorded in offsets. 126 // Instead, it just searches forwards, multiple times until it finds the last match. 134 pos = match(str, start, &matchLength); 137 // replace last match if this one is later and not a subset of the last match 158 index = target.match(string, index, &matchLength);
|
/external/webkit/WebKitTools/Scripts/webkitpy/ |
credentials.py | 63 match = re.search("%s\"(?P<value>.+)\"" % label, 66 if match: 67 return match.group('value')
|
/packages/apps/Email/src/com/android/exchange/provider/ |
ExchangeProvider.java | 66 int match = sURIMatcher.match(uri); local 67 switch (match) {
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
SocialProvider.java | 153 final int match = sUriMatcher.match(uri); local 155 switch (match) { 298 final int match = sUriMatcher.match(uri); local 299 switch (match) { 329 final int match = sUriMatcher.match(uri); local 330 switch (match) { 389 final int match = sUriMatcher.match(uri) local [all...] |
/external/qemu/distrib/zlib-1.2.3/ |
deflate.c | 18 * string matches are performed only when the previous match ends. So it 22 * is used to find longer strings when a small match has been found. 97 local void check_match OF((deflate_state *s, IPos start, IPos match, 124 ush good_length; /* reduce lazy search above this match length */ 125 ush max_lazy; /* do not perform lazy search above this match length */ 126 ush nice_length; /* quit search above this match length */ 1033 register Bytef *match; \/* matched string *\/ local 1180 register Bytef *match; \/* matched string *\/ local [all...] |
/external/zlib/ |
deflate.c | 18 * string matches are performed only when the previous match ends. So it 22 * is used to find longer strings when a small match has been found. 97 local void check_match OF((deflate_state *s, IPos start, IPos match, 124 ush good_length; /* reduce lazy search above this match length */ 125 ush max_lazy; /* do not perform lazy search above this match length */ 126 ush nice_length; /* quit search above this match length */ 1033 register Bytef *match; \/* matched string *\/ local 1180 register Bytef *match; \/* matched string *\/ local [all...] |
/external/wpa_supplicant_6/wpa_supplicant/src/wps/ |
wps_upnp_web.c | 237 const char *match = item; local 254 if (!os_strncasecmp(tagname, match, match_len) && 1293 const char *match; local 1448 char *match; local 1658 char *match; local [all...] |
/bionic/libc/kernel/common/linux/ |
transport_class.h | 37 #define DECLARE_ANON_TRANSPORT_CLASS(cls, mtch, cfg) struct anon_transport_class cls = { .tclass = { .configure = cfg, }, . container = { .match = mtch, }, }
|
/bionic/libc/tools/ |
checksyscalls.py | 77 m = re_nr_line.match(line) 82 m = re_nr_clock_line.match(line) 87 m = re_arm_nr_line.match(line) 93 m = re_x86_line.match(line)
|
/external/icu4c/test/intltest/ |
regextst.h | 37 virtual UBool doRegexLMTest(const char *pat, const char *text, UBool looking, UBool match, int32_t line);
|
/external/iproute2/testsuite/tests/ |
policer | 5 $TC filter add dev $DEV parent 10:0 protocol ip prio 10 u32 match ip protocol 1 0xff police rate 2kbit buffer 10k drop flowid 10:12 12 $TC filter add dev $DEV parent 10:0 protocol ip prio 10 u32 match ip protocol 1 0xff police rate 2kbit buffer 10k drop flowid 10:12
|
/external/iptables/include/linux/netfilter_ipv4/ |
ipt_policy.h | 51 struct ipt_policy_spec match; member in struct:ipt_policy_elem
|
/external/iptables/include/linux/netfilter_ipv6/ |
ip6t_policy.h | 47 struct ip6t_policy_spec match; member in struct:ip6t_policy_elem
|
/external/skia/src/animator/ |
SkAnimatorScript2.h | 26 static bool MapEnums(const char* ptr, const char* match, size_t len, int* value);
|
/external/v8/tools/ |
utils.py | 70 elif (not id) or (not re.match('(x|i[3-6])86', id) is None):
|