/build/make/tools/ |
D | findleaves.py | 32 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]
|
D | compare_builds.py | 472 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/ |
D | rbc_dashboard.py | 230 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/ |
D | fs.go | 44 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 …]
|
D | glob.go | 152 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
|
D | fs_test.go | 206 dirs []string 237 want := slices.Clone(test.dirs) 252 dirs []string 283 want := slices.Clone(test.dirs)
|
/build/soong/mk2rbc/ |
D | find_mockfs.go | 13 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/ |
D | config_test.go | 342 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 …]
|
D | util.go | 62 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...)
|
D | finder.go | 100 dirs := []string{"."} // always search from root of source tree. 103 dirs = append(dirs, config.ApiSurfacesOutDir()) 105 return dirs
|
/build/soong/android/ |
D | notices.go | 24 dirs := make([]string, 0, len(modules)) 32 dirs = append(dirs, filepath.Dir(path.String())) 36 return SortedUniqueStrings(dirs)
|
D | neverallow_test.go | 85 in dirs: ["other/"] 88 EXCEPT in dirs: ["top/"]
|
/build/soong/java/ |
D | java_resources.go | 47 dirs := ctx.Glob(android.PathForSource(ctx, ctx.ModuleDir()).Join(ctx, exclude).String(), nil) 48 for _, dir := range dirs { 60 …dirs := ctx.Glob(android.PathForSource(ctx, ctx.ModuleDir()).Join(ctx, resourceDir).String(), excl… 61 for _, dir := range dirs {
|
/build/make/tools/atree/ |
D | fs.cpp | 55 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()
|
D | files.cpp | 436 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/ |
D | library_sdk_member.go | 273 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)
|
D | makevars.go | 316 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
|
D | util.go | 26 func includeDirsToFlags(dirs android.Paths) string { 27 return android.JoinWithPrefix(dirs.Strings(), "-I")
|
/build/make/tools/releasetools/merge/ |
D | merge_utils.py | 64 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)
|
D | test_merge_utils.py | 79 for root_dir, dirs, files in os.walk(output_dir): 82 for dirname in dirs:
|
/build/soong/compliance/build_license_metadata/ |
D | build_license_metadata.go | 108 func findGitRoots(dirs []string) []string { 109 ret := make([]string, len(dirs)) 110 for i, dir := range dirs {
|
/build/make/tools/fs_config/ |
D | test_fs_config_generator.py | 283 dirs = parser.dirs 287 self.assertEqual(len(dirs), 1) 292 dcap = dirs[0]
|
/build/soong/cmd/release_config/crunch_flags/ |
D | main.go | 331 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 { 356 …dirs = rc_lib.StringList{"build/release", "vendor/google_shared/build/release", "vendor/google/rel… 391 for _, dir := range dirs {
|
/build/soong/scripts/ |
D | merge_directories.py | 38 for root, dirs, files in os.walk(in_dir):
|
/build/bazel/scripts/incremental_build/ |
D | perf_metrics.py | 282 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:
|