Home
last modified time | relevance | path

Searched refs:match (Results 1 – 25 of 57) sorted by relevance

123

/build/soong/cmd/zip2zip/
Dzip2zip.go143 if match, err := pathtools.Match(input, file.Name); err != nil {
145 } else if match {
182 for _, match := range matches {
185 if exclude, err := excludes.Match(match.File.Name); err != nil {
188 if include, err := includes.Match(match.File.Name); err != nil {
196 if prev, exists := seen[match.newName]; exists {
197 if prev != match.File {
198 return fmt.Errorf("multiple entries for %q with different contents", match.newName)
202 seen[match.newName] = match.File
205 if uncompressMatch, err := pathtools.Match(u, match.newName); err != nil {
[all …]
/build/soong/cmd/diff_target_files/
Dallow_list.go108 if match, err := Match(w.path, l[i][0].Name); err != nil {
110 } else if match {
111 … if match, err := diffIgnoringMatchingLines(l[i][0], l[i][1], w.ignoreMatchingLines); err != nil {
113 } else if match || len(w.ignoreMatchingLines) == 0 {
133 if match, err := Match(w.path, l[i].Name); err != nil {
135 } else if match && len(w.ignoreMatchingLines) == 0 {
150 …nes(a *ZipArtifactFile, b *ZipArtifactFile, ignoreMatchingLines []string) (match bool, err error) {
153 if match, err := regexp.Match(m, b); err != nil {
155 } else if match {
156 return match, nil
[all …]
Dglob.go55 if match, err := filepath.Match(pattern, name); err != nil {
57 } else if match {
76 match, err := filepath.Match(patternFile, nameFile)
77 if err != nil || !match {
78 return match, err
Dglob_test.go24 match bool
149 match, err := Match(test.pattern, test.name)
153 if match != test.match {
154 t.Errorf("want: %v, got %v", test.match, match)
Dtarget_files.go75 match, _ := Match(pattern, f.Name)
76 if match {
/build/blueprint/pathtools/
Dglob.go127 for i, match := range matches {
130 info, err = fs.Lstat(match)
132 info, err = fs.Stat(match)
139 matches[i] = match + "/"
284 for _, match := range matches {
285 _, name := filepath.Split(match)
289 ret = append(ret, match)
327 if match, err := filepath.Match(pattern, name); err != nil {
329 } else if match {
348 match, err := filepath.Match(patternFile, nameFile)
[all …]
/build/make/tools/
Dcheck_elf_file.py100 match = pattern.match(curr_ver)
101 if not match:
103 curr_rev = int(match.group(1))
240 match = cls._DYNAMIC_SECTION_NEEDED_PATTERN.match(line)
241 if match:
242 dt_needed.append(match.group(1))
245 match = cls._DYNAMIC_SECTION_SONAME_PATTERN.match(line)
246 if match:
247 dt_soname = match.group(1)
320 match = cls._SYMBOL_ENTRY_PATTERN.match(line)
[all …]
Dcheckowners.py73 if not patterns.match(stripped_line):
77 if perfile_pattern.match(stripped_line):
78 for addr in perfile_pattern.match(stripped_line).group(1).split(','):
82 elif address_pattern.match(stripped_line):
Dmk2bp_catalog.py27 match = []
35 match.append(filename_segment)
38 if match:
39 return os.path.sep.join(match)
45 match = match_directory_group(pattern, filename)
46 if match:
47 return match
Dfilter-product-graph.py9 m = reg.match(line)
/build/make/tools/droiddoc/templates-pdk/assets/
Dsearch_autocomplete.js22 function set_row_values(toroot, row, match) argument
25 link.innerHTML = match.__hilabel || match.label;
26 link.href = toroot + match.link
191 var queryAlnum = (queryLower.match(/\w+/) || [''])[0];
237 var queryAlnumDot = (queryLower.match(/[\w\.]+/) || [''])[0];
Dprettify.js15 f===L||f===Tb)f=Q+f;return f}function q(j){for(var f=j.substring(1,j.length-1).match(new RegExp(Ub,…
16 …D.push(n(A[1]))}}D.push(Tb);return D.join(P)}function v(j){var f=j.source.match(new RegExp(cc,R)),…
19match(Vd),c=[],d=0,g=[];if(b)for(var i=0,m=b.length;i<m;++i){var l=b[i];if(l.length>1&&l.charAt(0)…
20match(Qa);if(w&&w[2]===n)if(w[1]===ra){if(--q===0)break a}else++q}if(v<m){g.push(d,b.slice(i,v+1).…
21match(d)||[],j={},f=0,s=w.length;f<s;++f){var k=w[f],h=j[k],e,p;if(typeof h===nc)p=z;else{var t=c[…
/build/make/tools/rbcrun/testdata/
Dregex.star8 assert.true(rblf_regex(pattern, w), "%s should match %s" % (w, pattern))
10 assert.true(not rblf_regex(pattern, w), "%s should not match %s" % (w, pattern))
/build/soong/scripts/
Dmanifest_check.py129 for match in re.finditer(pattern, badging):
130 lines.append(match.group(0))
131 libname = match.group(2)
132 if match.group(1) == None:
216 for match in re.finditer(pattern, badging):
217 return match.group(1)
/build/make/tools/warn/
Dwarn_common.py120 if pattern.match(line):
130 if cpat.match(warning):
239 if warning_pattern.match(line):
312 if warning_pattern.match(line):
318 result = re.match(r'.+Package:.+chromeos-base/chromeos-chrome-', line)
322 result = re.match(r'.+Source\sunpacked\sin\s(.+)', line)
326 result = re.match(r'.+USE:\s*([^\s]*).*', line)
374 if rustc_file_position.match(line):
387 if warning_pattern.match(line):
388 if warning_without_file.match(line):
/build/make/core/
Dchecktree18 if e.match(str):
42 m = regex_compiled.match(s)
48 if filt_compiled.match(s):
/build/make/tools/releasetools/
Dfind_shareduid_violation.py89 match = pattern.search(line)
90 if match:
91 return match.group(1)
Dtest_apex_utils.py169 match = re.search(r"^package:.* name='([\w|\.]+)'", line, re.IGNORECASE)
170 if match:
171 package_name = match.group(1)
Dmerge_target_files.py554 match = PARTITION_ITEM_PATTERN.search(item.strip())
555 partition_tag = match.group(1).lower() if match else None
598 match = MODULE_KEY_PATTERN.search(name)
599 temp[match.group(1)] = line.strip()
608 match = PARTITION_TAG_PATTERN.search(value)
610 if match is None:
613 partition_tag = match.group(1)
/build/make/tools/fs_config/
Dfs_config_generator.py283 match = CapabilityHeaderParser._CAP_DEFINE.match(line)
284 if match:
285 cap = match.group(1)
286 value = match.group(2)
356 range_match = self._RESERVED_RANGE.match(line)
373 if AIDHeaderParser._AID_DEFINE.match(line):
379 x.match(identifier)
628 match = FSConfigFileParser._AID_MATCH.match(section_name)
629 invalid = match.end() if match else len(AID.PREFIX)
DREADME.md47 * specified path before prefix match
60 Thus the `fs_config` tools will match on specified paths before attempting prefix, and match on the
/build/soong/finder/cmd/
Dfinder.go141 for _, match := range matches {
142 fmt.Println(match)
/build/soong/cmd/javac_wrapper/
Djavac_wrapper.go154 if match := warningCount.FindStringSubmatch(line); match != nil {
155 c, err := strconv.Atoi(match[1])
/build/soong/cmd/zipsync/
Dzipsync.go111 if match, err := filepath.Match(*filter, filepath.Base(name)); err != nil {
113 } else if !match {
/build/make/tools/droiddoc/templates-pdk/assets/design/
Ddefault.js11 if (SITE_ROOT.match(/\.\.\//) || SITE_ROOT == '') {
17 var upDirs = (SITE_ROOT.match(/(\.\.\/)+/) || [''])[0].length / 3;

123