/external/chromium_org/chrome/browser/web_dev_style/ |
regex_check.py | 18 def _highlight(match): 22 return match.start(1) * ' ' + (match.end(1) - match.start(1)) * '^' 24 match = re.search(regex, line) 25 if match: 26 assert len(match.groups()) == 1 27 return ' line %d: %s\n%s\n%s' % (line_number, msg, line, _highlight(match))
|
/external/chromium_org/tools/binary_size/ |
binary_size_utils.py | 25 # Match lines with size, symbol, optional location, optional discriminator 31 # Match lines with addr but no size. 33 # Match lines that don't have an address at all -- typically external symbols. 35 # Match lines with no symbol name, only addr and type 40 match = sym_re.match(line) 41 if match: 42 size, sym_type, sym = match.groups()[0:3] 46 path = match.group(4) 49 match = addr_re.match(line [all...] |
/external/libunwind/tests/ |
check-namespace.sh.in | 46 match () { 91 match _UL${plat}_create_addr_space 92 match _UL${plat}_destroy_addr_space 93 match _UL${plat}_get_fpreg 94 match _UL${plat}_get_proc_info 95 match _UL${plat}_get_proc_info_by_ip 96 match _UL${plat}_get_proc_name 97 match _UL${plat}_get_reg 98 match _UL${plat}_get_save_loc 99 match _UL${plat}_init_loca [all...] |
/external/nist-sip/java/gov/nist/core/ |
Match.java | 28 /** Match template for pattern matching. 38 public interface Match { 39 /** Return true if a match occurs for searchString. 40 * This is used for pattern matching in the find and replace and match 45 public boolean match(String searchString); method in interface:Match
|
/external/chromium_org/third_party/skia/tools/ |
misc_utils.py | 20 Opens a file for reading and searches line by line for a match to 22 first match. Does not search across newlines. 33 default: what to return if no match 40 match = pattern_object.search(line) 41 if match: 42 return match.group('return') 52 default: what to return if no match 57 match = re.search(pattern, input_string) 58 return match.group('return') if match else defaul [all...] |
/external/chromium_org/v8/test/webkit/ |
regexp-zero-length-alternatives.js | 25 'Test regular expression processing with alternatives that match consuming no characters' 39 shouldBe('emptyStr.match(re1)', '[""]'); 40 shouldBe('s1.match(re1)', '[""]'); 41 shouldBe('s2.match(re1)', '["aaaa"]'); 42 shouldBe('s3.match(re1)', '["aa"]'); 46 shouldBe('emptyStr.match(re2)', '[""]'); 47 shouldBe('s1.match(re2)', '[""]'); 48 shouldBe('s2.match(re2)', '["aaaa"]'); 49 shouldBe('s3.match(re2)', '["aa"]'); 53 shouldBe('emptyStr.match(re3)', '[""]') [all...] |
/ndk/sources/host-tools/sed-4.2.1/testsuite/ |
bug-regex8.c | 38 int match[4]; local 49 match[0] = re_match_2(®ex,"xyz",3,NULL,0,0,NULL,2); 61 match[1] = re_search_2(®ex,"xyz",3,NULL,0,0,2,NULL,2); 74 match[2] = re_match_2(®ex,"xy ",4,NULL,0,0,NULL,3); 75 match[3] = re_match_2(®ex,"xy z",4,NULL,0,0,NULL,3); 78 if (match[0] != -1 || match[1] != -1 || match[2] != -1 || match[3] != 3) 80 printf ("re_{match,search}_2 returned %d,%d,%d,%d, expected -1,-1,-1,3\n" [all...] |
bug-regex10.c | 36 int match; local 49 match = re_match (®ex, "foacabdxy", 9, 2, ®s); 50 if (match != 5) 52 printf ("re_match returned %d, expected 5\n", match);
|
/external/lldb/test/pexpect-2.4/examples/ |
uptime.py | 34 duration, users, av1, av5, av15 = p.match.groups() 44 p.match = re.search('([0-9]+)\s+day',duration) 45 days = str(int(p.match.group(1))) 47 p.match = re.search('([0-9]+):([0-9]+)',duration) 48 hours = str(int(p.match.group(1))) 49 mins = str(int(p.match.group(2))) 51 p.match = re.search('([0-9]+)\s+min',duration) 52 mins = str(int(p.match.group(1)))
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/ |
Selector.java | 6 boolean match(Object obj); method in interface:Selector
|
/libcore/luni/src/main/java/java/security/cert/ |
CRLSelector.java | 40 * Checks whether the defined criteria of this instance match the specified 48 public boolean match(CRL crl); method in interface:CRLSelector
|
CertSelector.java | 40 * Checks whether the defined criteria of this instance match the specified 48 public boolean match(Certificate cert); method in interface:CertSelector
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/config/ |
urls.py | 79 match = re.search(bug_url_short, string) 80 if match: 81 return int(match.group('bug_id')) 82 match = re.search(bug_url_long, string) 83 if match: 84 return int(match.group('bug_id')) 91 match = re.search(attachment_url, string) 92 if match: 93 return int(match.group('attachment_id')) 94 match = re.search(direct_attachment_url, string [all...] |
/external/chromium_org/third_party/angle/src/compiler/translator/ |
SearchSymbol.cpp | 18 match = false; 30 match = true; 36 return match;
|
/external/elfutils/0.153/libdw/ |
dwarf_getsrc_file.c | 75 Dwarf_Line **match = *nsrcs == 0 ? NULL : *srcsp; local 103 no match is performed. */ 119 /* Match the name with the name the user provided. */ 129 /* See whether line and possibly column match. */ 133 /* Cannot match. */ 136 /* Determine whether this is the best match so far. */ 139 if (match[inner]->files == line->files 140 && match[inner]->file == line->file) 143 && (match[inner]->line != line->line 144 || match[inner]->line != linen [all...] |
/external/valgrind/main/none/tests/s390x/ |
stfle.c | 9 unsigned long long hoststfle[S390_NUM_FACILITY_DW], match; local 20 match = (hoststfle[0] & (1ULL << (63 - bit_to_test))); 22 match = (hoststfle[1] & (1ULL << (63 - bit_to_test))); 26 return match;
|
/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...] |
/ndk/build/awk/ |
extract-platform.awk | 33 if (match($0,android_regex)) { 36 else if (match($0,vendor_regex)) {
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/data/fixers/myfixes/ |
fix_explicit.py | 6 def match(self): return False member in class:FixExplicit
|
fix_first.py | 6 def match(self, node): return False member in class:FixFirst
|
fix_last.py | 7 def match(self, node): return False member in class:FixLast
|
fix_preorder.py | 6 def match(self, node): return False member in class:FixPreorder
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/tests/data/fixers/myfixes/ |
fix_explicit.py | 6 def match(self): return False member in class:FixExplicit
|
fix_first.py | 6 def match(self, node): return False member in class:FixFirst
|
fix_last.py | 7 def match(self, node): return False member in class:FixLast
|