Home
last modified time | relevance | path

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

/build/blueprint/
Dglob.go25 func verifyGlob(key globKey, pattern string, excludes []string, g pathtools.GlobResult) {
29 if len(excludes) != len(g.Excludes) {
30 panic(fmt.Errorf("Mismatched excludes %v and %v for glob key %q", excludes, g.Excludes, key))
33 for i := range excludes {
34 if g.Excludes[i] != excludes[i] {
35 panic(fmt.Errorf("Mismatched excludes %v and %v for glob key %q", excludes, g.Excludes, key))
40 func (c *Context) glob(pattern string, excludes []string) ([]string, error) {
43 excludes = append([]string(nil), excludes...)
44 sort.Strings(excludes)
46 key := globToKey(pattern, excludes)
[all …]
Dsingleton_ctx.go155 GlobWithDeps(pattern string, excludes []string) ([]string, error)
365 excludes []string) ([]string, error) {
366 return s.context.glob(pattern, excludes)
Dmodule_ctx.go172 GlobWithDeps(pattern string, excludes []string) ([]string, error)
466 excludes []string) ([]string, error) {
467 return d.context.glob(pattern, excludes)
/build/blueprint/pathtools/
Dglob_test.go30 excludes []string member
231 excludes: []string{"d.ext"},
237 excludes: []string{"a/b"},
243 excludes: []string{"a/b", "c/c"},
249 excludes: []string{"c/*", "*/a"},
255 excludes: []string{"*/*"},
263 excludes: []string{filepath.Join(pwd, "testdata/glob/c/*/f.ext")},
276 excludes: []string{filepath.Join(pwd, "testdata/glob/c/f/*.ext")},
291 excludes: []string{"**/*.ext"},
297 excludes: []string{"**/b"},
[all …]
Dglob.go92 func Glob(pattern string, excludes []string, follow ShouldFollowSymlinks) (GlobResult, error) {
93 return startGlob(OsFs, pattern, excludes, follow)
96 func startGlob(fs FileSystem, pattern string, excludes []string,
109 matches, err = filterExcludes(matches, excludes)
145 Excludes: excludes,
257 func filterExcludes(matches []string, excludes []string) ([]string, error) {
258 if len(excludes) == 0 {
265 for _, e := range excludes {
Dfs.go98 Glob(pattern string, excludes []string, follow ShouldFollowSymlinks) (GlobResult, error)
197 func (fs *osFs) Glob(pattern string, excludes []string, follow ShouldFollowSymlinks) (GlobResult, e…
198 return startGlob(fs, pattern, excludes, follow)
349 func (m *mockFs) Glob(pattern string, excludes []string, follow ShouldFollowSymlinks) (GlobResult, …
350 return startGlob(m, pattern, excludes, follow)
/build/soong/java/
Djacoco.go81excludes, err := jacocoFiltersToSpecs(append(j.properties.Jacoco.Exclude_filter, config.DefaultJac…
86 return jacocoFiltersToZipCommand(includes, excludes)
89 func jacocoFiltersToZipCommand(includes, excludes []string) string {
91 if len(excludes) > 0 {
92 specs += android.JoinWithPrefix(excludes, "-x ") + " "
Djacoco_test.go71 includes, excludes []string
92 excludes: []string{"package/Class.class"},
99 got := jacocoFiltersToZipCommand(testCase.includes, testCase.excludes)
/build/soong/cmd/zip2zip/
Dzip2zip_test.go33 excludes []string
225 excludes: []string{"a/a"},
239 excludes: []string{"a/a"},
253 excludes: []string{"a/*"},
265 excludes: []string{"a/*"},
278 excludes: []string{"a/*"},
441 testCase.args, testCase.excludes, testCase.includes, testCase.uncompresses)
Dzip2zip.go43 excludes multiFlag var
49 flag.Var(&excludes, "x", "exclude a filespec from the output")
101 flag.Args(), excludes, includes, uncompress); err != nil {
114 args []string, excludes, includes multiFlag, uncompresses []string) error { argument
185 if exclude, err := excludes.Match(match.File.Name); err != nil {
/build/blueprint/bootstrap/bpglob/
Dbpglob.go98 excludes []string member
125 glob.excludes = append(glob.excludes, s)
203 result, err := pathtools.Glob(glob.pattern, glob.excludes, pathtools.FollowSymlinks)
/build/make/tools/atree/
Dfiles.cpp181 vector<string>* excludes) in read_list_file() argument
254 excludes->push_back(string(p)); in read_list_file()
412 matches_excludes(const char* file, const vector<string>& excludes) in matches_excludes() argument
414 for (vector<string>::const_iterator it=excludes.begin(); in matches_excludes()
415 it!=excludes.end(); it++) { in matches_excludes()
425 const vector<string>& excludes, in list_dir() argument
444 if (matches_excludes(ent->d_name, excludes)) { in list_dir()
457 list_dir(*it, rec, excludes, more); in list_dir()
464 list_dir(const FileRecord& rec, const vector<string>& excludes, in list_dir() argument
467 return list_dir("", rec, excludes, files); in list_dir()
Dfiles.h43 vector<string>* excludes);
47 int list_dir(const FileRecord& rec, const vector<string>& excludes,
Datree.cpp207 vector<string> excludes; in main() local
214 err = read_list_file(*it, g_variables, &files, &excludes); in main()
231 err |= list_dir(*it, excludes, &more); in main()
/build/blueprint/bootstrap/
Dglob.go74 func GlobFile(ctx GlobFileContext, pattern string, excludes []string, fileListFile string) {
76 if len(excludes) > 0 {
77 args += " " + joinWithPrefixAndQuote(excludes, "-e ")
/build/soong/android/
Ddefs.go218 func GlobToListFileRule(ctx ModuleContext, pattern string, excludes []string, file WritablePath) {
219 bootstrap.GlobFile(ctx.blueprintModuleContext(), pattern, excludes, file.String())
Dpaths.go41 GlobWithDeps(globPattern string, excludes []string) ([]string, error)
69 func Glob(ctx EarlyModulePathContext, globPattern string, excludes []string) Paths {
70 ret, err := ctx.GlobWithDeps(globPattern, excludes)
79 func GlobFiles(ctx EarlyModulePathContext, globPattern string, excludes []string) Paths {
80 ret, err := ctx.GlobWithDeps(globPattern, excludes)
406 func PathsForModuleSrcExcludes(ctx ModuleMissingDepsPathContext, paths, excludes []string) Paths {
407 ret, missingDeps := PathsAndMissingDepsForModuleSrcExcludes(ctx, paths, excludes)
490 func PathsAndMissingDepsForModuleSrcExcludes(ctx ModuleWithDepsPathContext, paths, excludes []strin…
494 if excludes != nil {
495 expandedExcludes = make([]string, 0, len(excludes))
[all …]
Dbazel_paths.go123 func BazelLabelForModuleSrcExcludes(ctx BazelConversionPathContext, paths, excludes []string) bazel…
124 excludeLabels := expandSrcsForBazel(ctx, excludes, []string(nil))
Dmodule.go123 GlobWithDeps(pattern string, excludes []string) ([]string, error)
125 Glob(globPattern string, excludes []string) Paths
126 GlobFiles(globPattern string, excludes []string) Paths
347 ExpandSources(srcFiles, excludes []string) Paths
1938 func (e *earlyModuleContext) Glob(globPattern string, excludes []string) Paths {
1939 return Glob(e, globPattern, excludes)
1942 func (e *earlyModuleContext) GlobFiles(globPattern string, excludes []string) Paths {
1943 return GlobFiles(e, globPattern, excludes)
2942 func (m *moduleContext) ExpandSources(srcFiles, excludes []string) Paths {
2943 return PathsForModuleSrcExcludes(m, srcFiles, excludes)
Dsingleton.go91 GlobWithDeps(pattern string, excludes []string) ([]string, error)
Dmakevars.go58 GlobWithDeps(pattern string, excludes []string) ([]string, error)
/build/make/core/
Dchecktree5 excludes = [r'.*?/\.obj.*?', variable
14 excludes_compiled = map(re.compile, excludes)
/build/soong/cmd/soong_build/
Dmain.go406 excludes := []string{
415 excludes = append(excludes, bootstrap.CmdlineArgs.NinjaBuildDir)
419 topDir, workspaceRoot, generatedRoot, configuration.SrcDir(), excludes)
/build/soong/cmd/pom2mk/
Dpom2mk.go102 var excludes = make(Exclude) var
388 flag.Var(&excludes, "exclude", "Exclude module")
473 if excludes[key] {
/build/soong/cmd/pom2bp/
Dpom2bp.go107 var excludes = make(Exclude) var
629 flag.Var(&excludes, "exclude", "Exclude module")
718 if excludes[key] {