Home
last modified time | relevance | path

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

123

/build/make/tools/
Dfindleaves.py32 for root, dirs, files in os.walk(rootdir, followlinks=True):
35 for d in dirs:
41 while i < len(dirs):
42 if dirs[i] in prune:
43 del dirs[i]
55 del dirs[:]
59 while i < len(dirs):
60 st = os.stat(os.path.join(root, dirs[i]))
63 del dirs[i]
Dcompare_builds.py472 for root, dirs, files in os.walk(".", followlinks=False):
474 RemoveItemsFromList(dirs, (".repo", "out", "out_full", "out_incremental"))
486 for root, dirs, files in os.walk(directory, followlinks=False):
487 result += [os.path.sep.join((root, x, "")) for x in dirs]
575 root, dirs, files = self._walker.__next__()
/build/bazel/ci/
Drbc_dashboard.py230 async def test_one_product(product: Product, dirs: Directories) -> ProductResult:
237 ], dirs.out_baseline),
243 ], dirs.out_product),
246 product_dashboard_folder = os.path.join(dirs.results, str(product))
252 shutil.copy2(os.path.join(dirs.out_baseline, 'build.log'),
255 shutil.copy2(os.path.join(dirs.out_product, 'build.log'),
266 …product_files = [(os.path.join(dirs.out_baseline, x), os.path.join(dirs.out_product, x)) for x in …
271 for out_folder in [dirs.out_baseline, dirs.out_product]:
283 async def test_one_product_quick(product: Product, dirs: Directories) -> ProductResult:
289 dirs.out_baseline),
[all …]
/build/blueprint/pathtools/
Dfs.go44 dirs: make(map[string]bool),
58 fs.dirs[dir] = true
61 fs.dirs[dir] = true
64 fs.dirs["."] = true
65 fs.dirs["/"] = true
71 for d := range fs.dirs {
116 ListDirsRecursive(name string, follow ShouldFollowSymlinks) (dirs []string, err error)
254 func (fs *osFs) ListDirsRecursive(name string, follow ShouldFollowSymlinks) (dirs []string, err err…
282 dirs map[string]bool member
338 if _, ok := m.dirs[name]; ok {
[all …]
Dglob.go152 follow ShouldFollowSymlinks) (matches, dirs []string, err error) {
160 return matches, dirs, err
171 return matches, dirs, err
174 dirs = append(dirs, matchDirs...)
176 return matches, dirs, err
183 return matches, dirs, GlobMultipleRecursiveErr
187 return matches, dirs, GlobInvalidRecursiveErr
190 dirMatches, dirs, err := glob(fs, dir, hasRecursive, follow)
214 dirs = append(dirs, m)
227 return matches, dirs, nil
Dfs_test.go206 dirs []string
237 want := slices.Clone(test.dirs)
252 dirs []string
283 want := slices.Clone(test.dirs)
/build/soong/mk2rbc/
Dfind_mockfs.go13 dirs map[string][]myFileInfo member
22 if entries, ok := m.dirs[dir]; ok {
34 m.dirs[dir] = append(m.dirs[dir], myFileInfo{filepath.Base(name), isDir})
98 if d, ok := m.dirs[name]; ok {
/build/soong/ui/build/
Dconfig_test.go342 func createDirectories(t *testing.T, topDir string, dirs []string) {
343 for _, dir := range dirs {
366 dirs []string
381 dirs: []string{"1/2/3"},
388 dirs: []string{"1/2/3"},
395 dirs: []string{"1/2/3:t1:t2"},
402 dirs: []string{"1/2/3:"},
409 dirs: []string{"1/2/3:t1,t2"},
416 dirs: []string{"1/2/3:,"},
423 dirs: []string{"1/2/3:,t1"},
[all …]
Dutil.go62 func ensureDirectoriesExist(ctx Context, dirs ...string) {
63 for _, dir := range dirs {
72 func ensureEmptyDirectoriesExist(ctx Context, dirs ...string) {
74 for _, dir := range dirs {
96 ensureDirectoriesExist(ctx, dirs...)
Dfinder.go100 dirs := []string{"."} // always search from root of source tree.
103 dirs = append(dirs, config.ApiSurfacesOutDir())
105 return dirs
/build/soong/android/
Dnotices.go24 dirs := make([]string, 0, len(modules))
32 dirs = append(dirs, filepath.Dir(path.String()))
36 return SortedUniqueStrings(dirs)
Dneverallow_test.go85 in dirs: ["other/"]
88 EXCEPT in dirs: ["top/"]
/build/soong/java/
Djava_resources.go47 dirs := ctx.Glob(android.PathForSource(ctx, ctx.ModuleDir()).Join(ctx, exclude).String(), nil)
48 for _, dir := range dirs {
60dirs := ctx.Glob(android.PathForSource(ctx, ctx.ModuleDir()).Join(ctx, resourceDir).String(), excl…
61 for _, dir := range dirs {
/build/make/tools/atree/
Dfs.cpp55 vector<string> dirs; in remove_recursively() local
68 dirs.push_back(full); in remove_recursively()
82 for (vector<string>::iterator it=dirs.begin(); it!=dirs.end(); it++) { in remove_recursively()
Dfiles.cpp436 vector<string> dirs; in list_dir() local
451 dirs.push_back(entry); in list_dir()
456 for (vector<string>::iterator it=dirs.begin(); it!=dirs.end(); it++) { in list_dir()
/build/soong/cc/
Dlibrary_sdk_member.go273 dirs bool member
285 dirs: true,
295 dirs: true,
306 dirs: true,
317 dirs: false,
374 if propertyInfo.dirs {
394 if propertyInfo.dirs {
533 dirs := append(android.Paths(nil), exportedInfo.SystemIncludeDirs...)
534 p.ExportedSystemIncludeDirs = android.FirstUniquePaths(dirs)
Dmakevars.go316 extract := func(flags string, dirs []string, prefix string) (string, []string, bool) {
321 dirs = append(dirs, s[0])
323 return strings.TrimLeft(s[1], " "), dirs, true
325 return "", dirs, true
327 return flags, dirs, false
Dutil.go26 func includeDirsToFlags(dirs android.Paths) string {
27 return android.JoinWithPrefix(dirs.Strings(), "-I")
/build/make/tools/releasetools/merge/
Dmerge_utils.py64 for root, dirs, files in os.walk(from_dir):
67 for item_name in files + dirs)
95 for root, dirs, files in os.walk(target_files_zipfile_or_dir):
99 for item in dirs + files)
Dtest_merge_utils.py79 for root_dir, dirs, files in os.walk(output_dir):
82 for dirname in dirs:
/build/soong/compliance/build_license_metadata/
Dbuild_license_metadata.go108 func findGitRoots(dirs []string) []string {
109 ret := make([]string, len(dirs))
110 for i, dir := range dirs {
/build/make/tools/fs_config/
Dtest_fs_config_generator.py283 dirs = parser.dirs
287 self.assertEqual(len(dirs), 1)
292 dcap = dirs[0]
/build/soong/cmd/release_config/crunch_flags/
Dmain.go331 var dirs rc_lib.StringList
338 flag.Var(&dirs, "dir", "directory to process, relative to the top of the workspace")
355 if len(dirs) == 0 {
356dirs = rc_lib.StringList{"build/release", "vendor/google_shared/build/release", "vendor/google/rel…
391 for _, dir := range dirs {
/build/soong/scripts/
Dmerge_directories.py38 for root, dirs, files in os.walk(in_dir):
/build/bazel/scripts/incremental_build/
Dperf_metrics.py282 dirs = glob.glob(f"{util.RUN_DIR_PREFIX}*", root_dir=log_dir)
283 dirs.sort(key=lambda x: int(x[1 + len(util.RUN_DIR_PREFIX) :]))
284 for d in dirs:

123