/external/python/cpython3/Lib/lib2to3/fixes/ |
fix_renames.py | 48 # Don't match the node if it's within another match 49 def match(self, node): member in class:FixRenames 50 match = super(FixRenames, self).match 51 results = match(node) 53 if any(match(obj) for obj in attr_chain(node, "parent")):
|
/external/tensorflow/tensorflow/core/lib/strings/ |
scanner_test.cc | 39 StringPiece remaining, match; local 44 .GetResult(&remaining, &match)); 45 EXPECT_EQ(" horse", match.ToString()); 52 .GetResult(&remaining, &match)); 54 EXPECT_EQ("", match.ToString()); 60 .GetResult(&remaining, &match)); 62 EXPECT_EQ("", match.ToString()); 66 StringPiece remaining, match; local 71 .GetResult(&remaining, &match)); 72 EXPECT_EQ(" a ", match.ToString()) 77 StringPiece remaining, match; local 86 StringPiece remaining, match; local 102 StringPiece remaining, match; local 118 StringPiece remaining, match; local 140 StringPiece remaining, match; local 167 StringPiece remaining, match; local 187 StringPiece remaining, match; local 208 StringPiece remaining, match; local 241 StringPiece remaining, match; local 259 StringPiece match = "match"; local 269 StringPiece match = "match"; local [all...] |
/external/toybox/toys/posix/ |
nl.c | 51 int match = *TT.b != 'n'; local 58 if (*TT.b == 'p') match = !regexec((void *)(toybuf+16), line, 0, 0, 0); 60 if (*line == '\n') match = TT.l && ++TT.lcount >= TT.l; 61 if (match) {
|
/external/v8/src/inspector/ |
v8-regex.cc | 40 int V8Regex::match(const String16& string, int startFrom, function in class:v8_inspector::V8Regex 69 // RegExp#exec returns null if there's no match, otherwise it returns an 70 // Array of strings with the first being the whole match string and others 72 // "index" which is the offset of the match. 85 v8::Local<v8::Value> match; local 86 if (!result->Get(context, 0).ToLocal(&match)) return -1; 87 *matchLength = match.As<v8::String>()->Length();
|
/frameworks/opt/chips/src/com/android/ex/chips/ |
PhoneUtil.java | 31 // parens, so numbers such as "1 (425) 222-2342" match. 44 // comes from the CurrentCountryIso. For now, let's just do this simple match. 49 Matcher match = PHONE_PATTERN.matcher(number); local 50 return match.matches();
|
/prebuilts/gdb/darwin-x86/lib/python2.7/lib2to3/fixes/ |
fix_idioms.py | 79 def match(self, node): member in class:FixIdioms 80 r = super(FixIdioms, self).match(node) 98 raise RuntimeError("Invalid match")
|
fix_renames.py | 48 # Don't match the node if it's within another match 49 def match(self, node): member in class:FixRenames 50 match = super(FixRenames, self).match 51 results = match(node) 53 if any(match(obj) for obj in attr_chain(node, "parent")):
|
/prebuilts/gdb/linux-x86/lib/python2.7/lib2to3/fixes/ |
fix_idioms.py | 79 def match(self, node): member in class:FixIdioms 80 r = super(FixIdioms, self).match(node) 98 raise RuntimeError("Invalid match")
|
fix_renames.py | 48 # Don't match the node if it's within another match 49 def match(self, node): member in class:FixRenames 50 match = super(FixRenames, self).match 51 results = match(node) 53 if any(match(obj) for obj in attr_chain(node, "parent")):
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_idioms.py | 79 def match(self, node): member in class:FixIdioms 80 r = super(FixIdioms, self).match(node) 98 raise RuntimeError("Invalid match")
|
fix_renames.py | 48 # Don't match the node if it's within another match 49 def match(self, node): member in class:FixRenames 50 match = super(FixRenames, self).match 51 results = match(node) 53 if any(match(obj) for obj in attr_chain(node, "parent")):
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/fixes/ |
fix_idioms.py | 79 def match(self, node): member in class:FixIdioms 80 r = super(FixIdioms, self).match(node) 98 raise RuntimeError("Invalid match")
|
fix_renames.py | 48 # Don't match the node if it's within another match 49 def match(self, node): member in class:FixRenames 50 match = super(FixRenames, self).match 51 results = match(node) 53 if any(match(obj) for obj in attr_chain(node, "parent")):
|
/system/libvintf/ |
Regex.cpp | 42 regmatch_t match; local 44 regexec(mImpl.get(), s.c_str(), 1 /* nmatch */, &match /* pmatch */, 0 /* flags */); 45 return status == 0 && match.rm_so == 0 && match.rm_eo >= 0 && 46 static_cast<size_t>(match.rm_eo) == s.length();
|
/external/robolectric/v1/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/robolectric-shadows/shadows/httpclient/src/test/java/org/robolectric/shadows/httpclient/ |
FakeHttpLayerTest.java | 57 HttpGet match = new HttpGet("example.com"); local 59 match.setHeader(new BasicHeader("header1", "header one")); 60 noMatch.setHeader(new BasicHeader("header1", "header not a match")); 64 assertThat(requestMatcherBuilder.matches(match)).isTrue(); 78 HttpPut match = new HttpPut("example.com"); local 79 match.setEntity(new StringEntity(expectedText)); 82 noMatch.setEntity(new StringEntity("some text that does not match")); 86 assertThat(requestMatcherBuilder.matches(match)).isTrue();
|
/bionic/libc/kernel/uapi/linux/netfilter/ |
xt_owner.h | 30 __u8 match, invert; member in struct:xt_owner_match_info
|
/build/kati/ |
rule_parser.go | 32 func (p pattern) match(s string) bool { func
|
/cts/suite/audio_quality/lib/src/ |
SimpleScriptExec.cpp | 44 android::String8 match; local 45 match.append(PASS_MAGIC_WORD); 46 match.append(reMatch); 47 LOGV("re match %s", match.string()); 53 if (regcomp(&re, match.string(), cflags) != 0) { 59 // match found. passed
|
/development/tools/bugreport/src/com/android/bugreport/util/ |
Utils.java | 57 public static Matcher match(Matcher matcher, String text) { method in class:Utils
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/lib2to3/fixes/ |
fix_imports.py | 105 # Don't match the node if it's within another match.
106 def match(self, node):
member in class:FixImports 107 match = super(FixImports, self).match
108 results = match(node)
113 any(match(obj) for obj in attr_chain(node, "parent")):
137 results = self.match(node)
|
/external/apache-http/src/org/apache/http/cookie/ |
CookieSpec.java | 102 boolean match(Cookie cookie, CookieOrigin origin); method in interface:CookieSpec
|
/external/apache-http/src/org/apache/http/impl/cookie/ |
BasicDomainHandler.java | 75 // have DNS names. Since they have no dots, to domain-match the 87 // domain must match host 107 public boolean match(final Cookie cookie, final CookieOrigin origin) { method in class:BasicDomainHandler
|
BasicPathHandler.java | 64 if (!match(cookie, origin)) { 71 public boolean match(final Cookie cookie, final CookieOrigin origin) { method in class:BasicPathHandler 86 boolean match = targetpath.startsWith (topmostPath); 87 // if there is a match and these values are not exactly the same we have 89 if (match && targetpath.length() != topmostPath.length()) { 91 match = (targetpath.charAt(topmostPath.length()) == '/'); 94 return match;
|
NetscapeDomainHandler.java | 97 public boolean match(Cookie cookie, CookieOrigin origin) { method in class:NetscapeDomainHandler
|