/build/soong/cmd/zip2zip/ |
D | zip2zip.go | 143 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/ |
D | allow_list.go | 108 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 …]
|
D | glob.go | 55 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
|
D | glob_test.go | 24 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)
|
D | target_files.go | 75 match, _ := Match(pattern, f.Name) 76 if match {
|
/build/blueprint/pathtools/ |
D | glob.go | 121 for i, match := range matches { 124 info, err = fs.Lstat(match) 126 info, err = fs.Stat(match) 129 info, err = fs.Lstat(match) 137 matches[i] = match + "/" 282 for _, match := range matches { 283 _, name := filepath.Split(match) 287 ret = append(ret, match) 325 if match, err := filepath.Match(pattern, name); err != nil { 327 } else if match { [all …]
|
D | glob_test.go | 810 match bool 935 match, err := Match(test.pattern, test.name) 939 if match != test.match { 940 t.Errorf("want: %v, got %v", test.match, match) 964 match := false 967 match = true 971 if match != test.match { 972 t.Errorf("want: %v, got %v", test.match, match)
|
/build/make/tools/ |
D | check_elf_file.py | 100 match = pattern.match(curr_ver) 101 if not match: 103 curr_rev = int(match.group(1)) 242 match = cls._DYNAMIC_SECTION_NEEDED_PATTERN.match(line) 243 if match: 244 dt_needed.append(match.group(1)) 247 match = cls._DYNAMIC_SECTION_SONAME_PATTERN.match(line) 248 if match: 249 dt_soname = match.group(1) 322 match = cls._SYMBOL_ENTRY_PATTERN.match(line) [all …]
|
D | checkowners.py | 73 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):
|
D | mk2bp_catalog.py | 27 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
|
/build/make/tools/compliance/ |
D | noticeindex.go | 364 match := r.FindString(licenseText) 365 if len(match) == 0 { 371 match = licenseText[len(match):] 374 match = licenseText[len(match)-len(prefix):] 377 li := strings.LastIndex(match, "/") 379 match = match[:li] 382 …if offsets := licensesPathRegexp.FindAllStringIndex(match, -1); offsets != nil && offsets[len(offs… 383 match = match[:offsets[len(offsets)-1][0]] 384 li = strings.LastIndex(match, "/") 386 match = match[:li] [all …]
|
D | policy_walk.go | 142 match := rmap[key][tn].Intersection(universe) 143 if !match.IsEmpty() { 147 result[tn][tn] = match
|
/build/make/tools/droiddoc/templates-pdk/assets/ |
D | search_autocomplete.js | 22 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];
|
D | prettify.js | 15 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)),… 19 …match(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)… 20 …match(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).… 21 …match(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/soong/scripts/ |
D | manifest_check.py | 176 for match in re.finditer(pattern, badging): 177 lines.append(match.group(0)) 178 libname = match.group(2) 179 if match.group(1) is None: 267 for match in re.finditer(pattern, badging): 268 return match.group(1)
|
/build/make/tools/warn/ |
D | warn_common.py | 120 if pattern.match(line): 130 if cpat.match(warning): 242 if warning_pattern.match(line) and ( 317 if warning_pattern.match(line): 323 result = re.match(r'.+Package:.+chromeos-base/chromeos-chrome-', line) 327 result = re.match(r'.+Source\sunpacked\sin\s(.+)', line) 331 result = re.match(r'.+USE:\s*([^\s]*).*', line) 389 if rustc_file_position.match(line): 402 if use_rbe and rbe_warning_pattern.match(line): 408 if warning_pattern.match(line): [all …]
|
/build/make/core/ |
D | checktree | 18 if e.match(str): 42 m = regex_compiled.match(s) 48 if filt_compiled.match(s):
|
/build/make/tools/releasetools/ |
D | find_shareduid_violation.py | 89 match = pattern.search(line) 90 if match: 91 return match.group(1)
|
/build/soong/mk2rbc/ |
D | soong_variables.go | 109 if match := callFuncRex.FindStringSubmatch(prefix); match != nil { 110 ctx.inferSoongVariableType(match[1], v)
|
/build/make/tools/fs_config/ |
D | fs_config_generator.py | 283 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)
|
/build/soong/android/ |
D | config_bp2build.go | 317 type match struct { struct 323 func variableReference(input string) (match, error) { 329 return match{}, nil 332 …return match{}, fmt.Errorf("Expected to only match 1 subexpression in %s, got %d", input, len(matc… 334 return match{
|
/build/soong/finder/cmd/ |
D | finder.go | 141 for _, match := range matches { 142 fmt.Println(match)
|
/build/soong/cmd/javac_wrapper/ |
D | javac_wrapper.go | 154 if match := warningCount.FindStringSubmatch(line); match != nil { 155 c, err := strconv.Atoi(match[1])
|
/build/soong/cmd/zipsync/ |
D | zipsync.go | 111 if match, err := filepath.Match(*filter, filepath.Base(name)); err != nil { 113 } else if !match {
|
/build/bazel/ci/ |
D | rbc_dashboard.py | 29 if not _PRODUCT_REGEX.match(str(self)): 339 match = _PRODUCT_REGEX.fullmatch(p) 340 if not match: 342 return Product(match.group(1), match.group(2) if match.group(2) else 'userdebug')
|