/external/python/cpython2/Lib/distutils/ |
H A D | versionpredicate.py | 21 res = re_splitComparison.match(pred) 105 match = re_validPackage.match(versionPredicateStr) 106 if not match: 108 self.name, paren = match.groups() 111 match = re_paren.match(paren) 112 if not match: 114 str = match.groups()[0] 158 m = _provision_rx.match(valu [all...] |
/external/python/cpython3/Lib/distutils/ |
H A D | versionpredicate.py | 22 res = re_splitComparison.match(pred) 106 match = re_validPackage.match(versionPredicateStr) 107 if not match: 109 self.name, paren = match.groups() 112 match = re_paren.match(paren) 113 if not match: 115 str = match.groups()[0] 160 m = _provision_rx.match(valu [all...] |
/external/skia/tools/skpbench/ |
H A D | skiaperf.py | 75 match = BenchResult.match(line) 76 if not match: 78 if match.sample_ms != 50: 79 raise Exception("%s: unexpected sample_ms != 50" % match.sample_ms) 81 data['results'][match.bench][match.config] \ 82 ['%s_%s_%s' % (result, match.clock, match.metric)] = \ 83 getattr(match, resul [all...] |
/external/skqp/tools/skpbench/ |
H A D | skiaperf.py | 75 match = BenchResult.match(line) 76 if not match: 78 if match.sample_ms != 50: 79 raise Exception("%s: unexpected sample_ms != 50" % match.sample_ms) 81 data['results'][match.bench][match.config] \ 82 ['%s_%s_%s' % (result, match.clock, match.metric)] = \ 83 getattr(match, resul [all...] |
/external/python/cpython2/Lib/ |
H A D | sgmllib.py | 125 match = interesting.search(rawdata, i) 126 if match: j = match.start() 133 if starttagopen.match(rawdata, i): 183 match = charref.match(rawdata, i) 184 if match: 185 name = match.group(1) 187 i = match.end(0) 190 match [all...] |
/external/icu/icu4c/source/samples/csdet/ |
H A D | csdet.c | 33 int32_t inputLength, match, matchCount = 0; local 60 for(match = 0; match < matchCount; match += 1) { 61 const char *name = ucsdet_getName(csm[match], &status); 62 const char *lang = ucsdet_getLanguage(csm[match], &status); 63 int32_t confidence = ucsdet_getConfidence(csm[match], &status);
|
/external/mockito/src/main/java/org/mockito/internal/util/reflection/ |
H A D | GenericTypeExtractor.java | 39 Class<?> match = rootClass; 40 while(match != Object.class) { 42 if (match.getSuperclass() == targetBaseClass) { 43 return extractGeneric(match.getGenericSuperclass()); 46 Type genericInterface = findGenericInterface(match, targetBaseInterface); 51 match = match.getSuperclass();
|
/external/nist-sip/java/gov/nist/javax/sip/parser/ |
H A D | AcceptParser.java | 78 this.lexer.match(TokenTypes.ID); 81 this.lexer.match('/'); 82 this.lexer.match(TokenTypes.ID); 91 this.lexer.match(','); 96 this.lexer.match(TokenTypes.ID); 99 this.lexer.match('/'); 100 this.lexer.match(TokenTypes.ID);
|
H A D | InReplyToParser.java | 78 this.lexer.match(TokenTypes.ID); 81 this.lexer.match('@'); 82 this.lexer.match(TokenTypes.ID); 95 this.lexer.match(','); 100 this.lexer.match(TokenTypes.ID); 103 this.lexer.match('@'); 104 this.lexer.match(TokenTypes.ID);
|
H A D | FromParser.java | 55 this.lexer.match(TokenTypes.FROM); 57 this.lexer.match(':'); 60 this.lexer.match('\n');
|
/external/mesa3d/src/glx/ |
H A D | clientinfo.c | 88 char *match = strstr(haystack, "GLX_ARB_create_context"); local 90 if (match == NULL) 93 match += ext_length; 95 switch (match[0]) { 102 if (strncmp(match, "_profile", prof_length) == 0 103 && (match[prof_length] == '\0' 104 || match[prof_length] == ' ')) { 106 match += prof_length; 111 haystack = match;
|
/external/autotest/client/site_tests/platform_HighResTimers/ |
H A D | platform_HighResTimers.py | 15 match = re.search('^\s*\.resolution:\s(\d+)\s*nsecs$', line) 16 if match: 17 res = int(match.group(1))
|
/external/autotest/server/site_tests/kernel_EmptyLines/ |
H A D | kernel_EmptyLines.py | 30 match = re.search('^\[[\s0-9\.]+\]\s*$', result.stdout, re.M) 34 if match: 36 match.group(0))
|
/external/owasp/sanitizer/src/main/org/owasp/html/ |
H A D | HtmlToken.java | 43 boolean tokenInContextMatches(String context, String match) { argument 45 if (n != match.length()) { return false; } 46 return context.regionMatches(start, match, 0, n);
|
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/bench/ |
H A D | cssmin.py | 84 match = regex.search(css) 85 while match: 87 css[:match.start()], 88 match.group().replace(":", "___PSEUDOCLASSCOLON___"), 89 css[match.end():]]) 90 match = regex.search(css) 130 match = regex.search(css) 131 while match: 132 colors = map(lambda s: s.strip(), match.group(1).split(",")) 134 css = css.replace(match [all...] |
/external/python/cpython2/Lib/test/ |
H A D | test_re.py | 39 self.assertEqual(re.match('a*', 'xxx').span(0), (0, 0)) 40 self.assertEqual(re.match('a*', 'xxx').span(), (0, 0)) 41 self.assertEqual(re.match('x*', 'xxxa').span(0), (0, 3)) 42 self.assertEqual(re.match('x*', 'xxxa').span(), (0, 3)) 43 self.assertIsNone(re.match('a+', 'xxx')) 122 self.assertRaises(ValueError, re.match, pattern, 'A', re.I) 261 self.assertEqual(re.match('a', 'a').groups(), ()) 262 self.assertEqual(re.match('(a)', 'a').groups(), ('a',)) 263 self.assertEqual(re.match(r'(a)', 'a').group(0), 'a') 264 self.assertEqual(re.match( [all...] |
/external/autotest/client/site_tests/hardware_GPS/ |
H A D | hardware_GPS.py | 20 match = False 43 match = re.search( 48 if match: 55 if not match:
|
/external/autotest/server/site_tests/brillo_StorageWriteSpeedTest/ |
H A D | brillo_StorageWriteSpeedTest.py | 42 match = re.match('.*\(([0-9]+) bytes/sec\)$', line) 43 if match: 44 actual_speed = int(match.group(1))
|
/external/elfutils/libdwfl/ |
H A D | dwfl_module_getsrc_file.c | 71 Dwfl_Line **match = *nsrcs == 0 ? NULL : *srcsp; local 81 no match is performed. */ 107 /* See whether line and possibly column match. */ 111 /* Cannot match. */ 114 /* Determine whether this is the best match so far. */ 117 if (dwfl_line_file (match[inner]) 121 && (dwfl_line (match[inner])->line != line->line 122 || dwfl_line (match[inner])->line != lineno 124 && (dwfl_line (match[inner])->column != line->column 125 || dwfl_line (match[inne [all...] |
/external/icu/icu4c/source/i18n/ |
H A D | csrutf8.h | 35 * @see com.ibm.icu.text.CharsetRecognizer#match(com.ibm.icu.text.CharsetDetector) 37 UBool match(InputText *input, CharsetMatch *results) const;
|
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/match/ |
H A D | SourceMatcher.java | 16 package com.google.currysrc.api.match;
|
/external/iptables/include/linux/netfilter/ |
H A D | xt_owner.h | 15 __u8 match, invert; member in struct:xt_owner_match_info
|
/external/kernel-headers/original/uapi/linux/netfilter/ |
H A D | xt_owner.h | 16 __u8 match, invert; member in struct:xt_owner_match_info
|
/external/libnl/doc/ |
H A D | doxygen-link.py | 14 m = re.match('^([^=]+)=([^\n]+)$', line); 21 m = rc_script.match(name) 36 def translate(match): 37 return links[match.group(1)] 39 # match for all names, with word boundaries \b
|
/external/mesa3d/src/mesa/drivers/dri/ |
H A D | gen-symbol-redefs.py | 50 m = re.match("[0-9a-z]+ [BT] (.*)", line) 56 has_good_prefix = re.match(args.newprefix, symbol) != None 58 if re.match(prefix, symbol): 65 if re.match("__driDriverGetExtensions", symbol):
|