/external/icu4c/i18n/ |
csrutf8.h | 33 * @see com.ibm.icu.text.CharsetRecognizer#match(com.ibm.icu.text.CharsetDetector) 35 UBool match(InputText *input, CharsetMatch *results) const;
|
/external/icu4c/test/perf/strsrchperf/ |
strsrchperf.h | 119 int32_t match; local 121 match = usearch_first(srch, status); 122 while (match != USEARCH_DONE) { 123 match = usearch_next(srch, status); 128 int32_t match; local 130 match = usearch_last(srch, status); 131 while (match != USEARCH_DONE) { 132 match = usearch_previous(srch, status);
|
/external/iptables/extensions/ |
libxt_dscp.man | 5 Match against a numeric (decimal or hex) value [0-63]. 8 Match the DiffServ class. This value may be any of the
|
libip6t_hl.c | 4 * Based on HW's ttl match 25 "hl match options:\n" 26 "[!] --hl-eq value Match hop limit value\n" 27 " --hl-lt value Match HL < value\n" 28 " --hl-gt value Match HL > value\n"); 53 "HL match: You must specify one of " 57 static void hl_print(const void *ip, const struct xt_entry_match *match, 67 (struct ip6t_hl_info *) match->data; 69 printf(" HL match HL %s %u", op[info->mode], info->hop_limit); 72 static void hl_save(const void *ip, const struct xt_entry_match *match) [all...] |
/external/llvm/unittests/Support/ |
RegexTest.cpp | 23 EXPECT_TRUE(r1.match("916")); 24 EXPECT_TRUE(r1.match("9")); 25 EXPECT_FALSE(r1.match("9a")); 29 EXPECT_TRUE(r2.match("aa216b", &Matches)); 34 EXPECT_TRUE(r3.match("9a:513b", &Matches)); 40 EXPECT_TRUE(r3.match("9:513b", &Matches)); 49 EXPECT_FALSE(r4.match("abb")); 50 EXPECT_TRUE(r4.match(String, &Matches)); 58 EXPECT_FALSE(r5.match(String)); 59 EXPECT_FALSE(r5.match("X9")) [all...] |
/external/regex-re2/re2/testing/ |
compile_test.cc | 31 "2. match! 0\n" }, 35 "3. match! 0\n" }, 40 "4. match! 0\n" }, 43 "2. match! 0\n" }, 46 "2. match! 0\n" }, 50 "3. match! 0\n" }, 54 "3. match! 0\n" }, 58 "3. match! 0\n" }, 61 "3. match! 0\n" 66 "3. match! 0\n" } [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
UriMatcherTest.java | 67 assertThat(matcher.match(Uri.withAppendedPath(URI, "bar")), is(1)); 70 assertThat(matcher.match(Uri.withAppendedPath(URI, "bar/1")), is(2)); 73 assertThat(matcher.match(Uri.withAppendedPath(URI, "bar")), is(1)); 74 assertThat(matcher.match(Uri.withAppendedPath(URI, "cat")), is(3)); 77 assertThat(matcher.match(Uri.withAppendedPath(URI, "transport/land/45/type")), is(4)); 82 assertThat(matcher.match(Uri.withAppendedPath(URI, "cat")), is(NO_MATCH)); 83 assertThat(matcher.match(Uri.withAppendedPath(URI, "bar")), is(NO_MATCH)); 84 assertThat(matcher.match(Uri.withAppendedPath(URI, "bar/cat")), is(NO_MATCH));
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
FakeHttpLayerTest.java | 65 HttpGet match = new HttpGet("example.com"); local 67 match.setHeader(new BasicHeader("header1", "header one")); 68 noMatch.setHeader(new BasicHeader("header1", "header not a match")); 72 assertTrue(requestMatcherBuilder.matches(match)); 86 HttpPut match = new HttpPut("example.com"); local 87 match.setEntity(new StringEntity(expectedText)); 90 noMatch.setEntity(new StringEntity("some text that does not match")); 94 assertTrue(requestMatcherBuilder.matches(match));
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/regexp/ |
control_characters.js | 42 // '?O? ?:i??'.match(new RegExp('.+')) 43 testcases[count++] = new TestCase ( SECTION, "'?O? ?:i??'.match(new RegExp('.+'))", 44 String(['?O? ?:i??']), String('?O? ?:i??'.match(new RegExp('.+')))); 46 // string1.match(new RegExp(string1)) 48 testcases[count++] = new TestCase ( SECTION, "string1 = " + string1 + " string1.match(string1)", 49 String([string1]), String(string1.match(string1))); 54 testcases[count++] = new TestCase ( SECTION, "string1 = " + string1 + " string1.match(string1)", 55 String([string1]), String(string1.match(string1)));
|
/external/webkit/Source/ThirdParty/ANGLE/src/libEGL/ |
Config.cpp | 304 bool match = true; 311 case EGL_BUFFER_SIZE: match = config->mBufferSize >= attribute[1]; break; 312 case EGL_ALPHA_SIZE: match = config->mAlphaSize >= attribute[1]; break; 313 case EGL_BLUE_SIZE: match = config->mBlueSize >= attribute[1]; break; 314 case EGL_GREEN_SIZE: match = config->mGreenSize >= attribute[1]; break; 315 case EGL_RED_SIZE: match = config->mRedSize >= attribute[1]; break; 316 case EGL_DEPTH_SIZE: match = config->mDepthSize >= attribute[1]; break; 317 case EGL_STENCIL_SIZE: match = config->mStencilSize >= attribute[1]; break; 318 case EGL_CONFIG_CAVEAT: match = config->mConfigCaveat == attribute[1]; break; 319 case EGL_CONFIG_ID: match = config->mConfigID == attribute[1]; break [all...] |
/external/webkit/Source/WebCore/inspector/front-end/ |
ScriptFormatterWorker.js | 56 var match = regexp.exec(formattedSource); 57 if (!match) 59 var position = source.indexOf(match[2], lastPosition); 61 throw "No match found in original source for " + match[2]; 63 mapping.formatted.push(match.index + match[1].length); 64 lastPosition = position + match[2].length;
|
/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...] |
UEventObserver.java | 28 * startObserving() with a match string. The UEvent thread will then call your 29 * onUEvent() method when a UEvent occurs that contains your match string.<p> 49 private static native void nativeAddMatch(String match); 50 private static native void nativeRemoveMatch(String match); 90 * @param match A substring of the UEvent to match. Try to be as specific 96 public final void startObserving(String match) { 97 if (match == null || match.isEmpty()) { 98 throw new IllegalArgumentException("match substring must be non-empty") 230 final String match = (String)mKeysAndObservers.remove(i); local [all...] |
/libcore/luni/src/test/java/libcore/java/security/cert/ |
X509CertSelectorTest.java | 35 byte[] match = { 127, 0, 0, 1 }; 36 assertTrue(certSelector.match(newCertWithSubjectAltNameIpAddress(match))); 39 assertFalse(certSelector.match(newCertWithSubjectAltNameIpAddress(noMatch))); 46 byte[] match = { 127, 0, 0, 1 }; 47 assertTrue(certSelector.match(newCertWithSubjectAltNameIpAddress(match))); 50 assertFalse(certSelector.match(newCertWithSubjectAltNameIpAddress(noMatch))); 58 byte[] match = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1 }; 59 assertTrue(certSelector.match(newCertWithSubjectAltNameIpAddress(match))) [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
HeadsetHalConstants.java | 26 // match up with bthf_connection_state_t enum of bt_hf.h 33 // match up with bthf_audio_state_t enum of bt_hf.h 39 // match up with bthf_vr_state_t enum of bt_hf.h 43 // match up with bthf_volume_type_t enum of bt_hf.h 47 // match up with bthf_network_state_t enum of bt_hf.h 51 // match up with bthf_service_type_t enum of bt_hf.h 55 // match up with bthf_at_response_t of bt_hf.h 59 // match up with bthf_call_state_t of bt_hf.h
|
/external/elfutils/libdw/ |
dwarf_getsrc_file.c | 74 Dwarf_Line **match = *nsrcs == 0 ? NULL : *srcsp; local 95 no match is performed. */ 111 /* Match the name with the name the user provided. */ 121 /* See whether line and possibly column match. */ 125 /* Cannot match. */ 128 /* Determine whether this is the best match so far. */ 131 if (match[inner]->files == line->files 132 && match[inner]->file == line->file) 135 && (match[inner]->line != line->line 136 || match[inner]->line != linen [all...] |
/external/openssh/ |
match.c | 1 /* $OpenBSD: match.c,v 1.27 2008/06/10 23:06:19 djm Exp $ */ 46 #include "match.h" 50 * and * as wildcards), and zero if it does not match. 73 * pattern, and try to match starting from 85 * match at each position. 112 * Tries to match the string against the 115 * a positive match, 0 if there is no match at all. 145 /* If subpattern too long, return failure (no match). */ 156 /* Try to match the subpattern against the string. * [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/common/layout/relative/ |
MoveHandler.java | 211 List<Match> horizontalMatches = findClosest(edge, mHorizontalEdges); 216 List<Match> verticalMatches = findClosest(edge, mVerticalEdges); 220 // Match center 226 // Match baseline 249 Match match = pickBestMatch(mHorizontalSuggestions); local 250 if (match != null) { 251 if (mHorizontalDeps.contains(match.edge.node)) { 252 match.cycle = true; 262 snapHorizontal(match.with, match.edge.at, mBounds) [all...] |
/external/chromium/chrome/browser/extensions/ |
extension_omnibox_unittest.cc | 14 const int kMatch = ACMatchClassification::MATCH; 38 // Test output key: n = character with no styling, d = dim, m = match, u = url 47 AppendStyle("match", 1, 4, &styles_value); 65 AppendStyle("match", 1, 4, &styles_value); 81 AppendStyle("match", 9, 2, &styles_value); 82 AppendStyle("match", 0, 4, &styles_value); 98 // Try moving the "dim/match" style pair at offset 9. Output should be the 102 AppendStyle("match", 0, 4, &styles_value); 104 AppendStyle("match", 9, 2, &styles_value); 120 AppendStyle("match", 0, 5, &styles_value) [all...] |
/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/clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.type.elab/ |
p3.cpp | 8 void a3(union A); // expected-error {{use of 'A' with tag type that does not match previous declaration}} 9 void a4(enum A); // expected-error {{use of 'A' with tag type that does not match previous declaration}} 14 friend union A; // expected-error {{use of 'A' with tag type that does not match previous declaration}} 16 friend enum A; // expected-error {{use of 'A' with tag type that does not match previous declaration}} 36 void b3(union B<float>); // expected-error {{use of 'B<float>' with tag type that does not match previous declaration}} 41 void c3(union B<float>::Member); // expected-error {{use of 'Member' with tag type that does not match previous declaration}} 42 void c4(enum B<float>::Member); // expected-error {{use of 'Member' with tag type that does not match previous declaration}} 49 void e1(struct B<A>::Member); // expected-error {{use of 'Member' with tag type that does not match previous declaration}} 50 void e2(class B<A>::Member); // expected-error {{use of 'Member' with tag type that does not match previous declaration}} 52 void e4(enum B<A>::Member); // expected-error {{use of 'Member' with tag type that does not match previous declaration} [all...] |
/external/iproute2/include/ |
iptables.h | 31 struct iptables_match *match; member in struct:iptables_rule_match 41 /* Revision of match (0 by default). */ 46 /* Size of match data. */ 49 /* Size of match data relevent for userspace comparison purposes */ 55 /* Initialize the match. */ 63 struct ipt_entry_match **match); 68 /* Prints out the match iff non-NULL: put space at end */ 70 const struct ipt_entry_match *match, int numeric); 72 /* Saves the match info in parsable form to stdout. */ 74 const struct ipt_entry_match *match); [all...] |
/external/skia/legacy/src/animator/ |
SkDisplayList.cpp | 53 int SkDisplayList::findGroup(SkDrawable* match, SkTDDrawableArray** list, 58 return SearchForMatch(match, list, parent, found, grandList); 71 int SkDisplayList::SearchForMatch(SkDrawable* match, SkTDDrawableArray** list, 76 if (draw == match) 80 if (apply->scope == match) 82 if (apply->scope->isGroup() && SearchGroupForMatch(apply->scope, match, list, parent, found, grandList, index)) 87 if (scope == match) 93 if (draw->isGroup() && SearchGroupForMatch(draw, match, list, parent, found, grandList, index)) 100 bool SkDisplayList::SearchGroupForMatch(SkDrawable* draw, SkDrawable* match, SkTDDrawableArray** list, 103 if (group->getOriginal() == match) [all...] |
/external/skia/src/animator/ |
SkDisplayList.cpp | 53 int SkDisplayList::findGroup(SkDrawable* match, SkTDDrawableArray** list, 58 return SearchForMatch(match, list, parent, found, grandList); 71 int SkDisplayList::SearchForMatch(SkDrawable* match, SkTDDrawableArray** list, 76 if (draw == match) 80 if (apply->scope == match) 82 if (apply->scope->isGroup() && SearchGroupForMatch(apply->scope, match, list, parent, found, grandList, index)) 87 if (scope == match) 93 if (draw->isGroup() && SearchGroupForMatch(draw, match, list, parent, found, grandList, index)) 100 bool SkDisplayList::SearchGroupForMatch(SkDrawable* draw, SkDrawable* match, SkTDDrawableArray** list, 103 if (group->getOriginal() == match) [all...] |
/libcore/luni/src/test/java/tests/security/cert/ |
X509CertSelectorTest.java | 530 assertTrue("Any certificate should match in the case of null " 532 selector.match(cert1) && selector.match(cert2)); 642 assertTrue("The certificate should match the selection criteria.", 643 selector.match(cert_1)); 648 selector.match(cert_1)); [all...] |