/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__()
|
D | java-layers.py | 179 for root, dirs, files in os.walk(d):
|
/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) 216 func (fs *osFs) ListDirsRecursive(name string, follow ShouldFollowSymlinks) (dirs []string, err err… 242 dirs map[string]bool member 298 if _, ok := m.dirs[name]; ok { [all …]
|
D | glob.go | 154 follow ShouldFollowSymlinks) (matches, dirs []string, err error) { 162 return matches, dirs, err 173 return matches, dirs, err 176 dirs = append(dirs, matchDirs...) 178 return matches, dirs, err 185 return matches, dirs, GlobMultipleRecursiveErr 189 return matches, dirs, GlobInvalidRecursiveErr 192 dirMatches, dirs, err := glob(fs, dir, hasRecursive, follow) 216 dirs = append(dirs, m) 229 return matches, dirs, nil
|
D | fs_test.go | 205 dirs []string 236 want := append([]string(nil), test.dirs...) 251 dirs []string 282 want := append([]string(nil), test.dirs...)
|
/build/soong/ui/build/ |
D | config_test.go | 335 func createDirectories(t *testing.T, topDir string, dirs []string) { 336 for _, dir := range dirs { 359 dirs []string 374 dirs: []string{"1/2/3"}, 381 dirs: []string{"1/2/3"}, 388 dirs: []string{"1/2/3:t1:t2"}, 395 dirs: []string{"1/2/3:"}, 402 dirs: []string{"1/2/3:t1,t2"}, 409 dirs: []string{"1/2/3:,"}, 416 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 | upload_test.go | 35 dirs := []string{ 47 for _, d := range dirs {
|
D | config.go | 409 newConfigArgs, dirs := splitArgs(configArgs) 411 targets = getTargetsFromDirs(ctx, relDir, dirs, targetNamePrefix) 488 func splitArgs(args []string) (newArgs []string, dirs []string) { 497 dirs = []string{} 511 dirs = append(dirs, arg) 514 return newArgs, dirs 521 func getTargetsFromDirs(ctx Context, relDir string, dirs []string, targetNamePrefix string) (target… 522 for _, dir := range dirs {
|
/build/soong/java/ |
D | java_resources.go | 42 dirs := ctx.Glob(android.PathForSource(ctx, ctx.ModuleDir()).Join(ctx, exclude).String(), nil) 43 for _, dir := range dirs { 55 …dirs := ctx.Glob(android.PathForSource(ctx, ctx.ModuleDir()).Join(ctx, resourceDir).String(), excl… 56 for _, dir := range dirs {
|
D | lint.go | 573 var dirs []string 593 dirs = android.SortedUniqueStrings(dirs)
|
/build/soong/cc/ |
D | library_sdk_member.go | 191 dirs bool member 203 dirs: true, 213 dirs: true, 224 dirs: true, 235 dirs: false, 292 if propertyInfo.dirs { 312 if propertyInfo.dirs { 444 dirs := append(android.Paths(nil), exportedInfo.SystemIncludeDirs...) 445 p.ExportedSystemIncludeDirs = android.FirstUniquePaths(dirs)
|
D | util.go | 28 func includeDirsToFlags(dirs android.Paths) string { 29 return android.JoinWithPrefix(dirs.Strings(), "-I") 32 func ldDirsToFlags(dirs []string) string { 33 return android.JoinWithPrefix(dirs, "-L")
|
D | makevars.go | 312 extract := func(flags string, dirs []string, prefix string) (string, []string, bool) { 317 dirs = append(dirs, s[0]) 319 return strings.TrimLeft(s[1], " "), dirs, true 321 return "", dirs, true 323 return flags, dirs, false
|
D | library.go | 378 dirs android.Paths // Include directories to be included with -I member 401 f.dirs = append(f.dirs, f.exportedIncludes(ctx)...) 415 func (f *flagExporter) reexportDirs(dirs ...android.Path) { 416 f.dirs = append(f.dirs, dirs...) 421 func (f *flagExporter) reexportSystemDirs(dirs ...android.Path) { 422 f.systemDirs = append(f.systemDirs, dirs...) 448 IncludeDirs: android.FirstUniquePaths(f.dirs), 603 …for _, path := range append(android.CopyOfPaths(l.flagExporter.dirs), l.flagExporter.systemDirs...…
|
/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/make/tools/fs_config/ |
D | test_fs_config_generator.py | 267 dirs = parser.dirs 271 self.assertEqual(len(dirs), 1) 276 dcap = dirs[0]
|
D | fs_config_generator.py | 739 def dirs(self): member in FSConfigFileParser 1091 dirs = self._oem_parser.dirs 1102 for dir_entry in dirs:
|
/build/soong/bazel/ |
D | properties.go | 74 dirs := []string{} 76 dirs = append(dirs, dir) 78 return dirs
|
/build/soong/bp2build/ |
D | build_conversion.go | 188 dirs := make(map[string]bool) 193 dirs[dir] = true 240 for dir, _ := range dirs {
|
/build/soong/androidmk/androidmk/ |
D | android.go | 900 dirs := []string{""} 902 dirs = strings.Fields(args[0]) 905 paths := make([]string, len(dirs)) 907 paths[i] = fmt.Sprintf("%s/**/"+wildcard, dirs[i])
|
/build/soong/apex/ |
D | apex_test.go | 2296 dirs := strings.Split(generateFsRule.Args["exec_paths"], " ") 2299 ensureListContains(t, dirs, "etc") 2300 ensureListContains(t, dirs, "etc/foo") 2301 ensureListContains(t, dirs, "etc/foo/bar") 2302 ensureListContains(t, dirs, "lib64") 2303 ensureListContains(t, dirs, "lib64/foo") 2304 ensureListContains(t, dirs, "lib64/foo/bar") 2305 ensureListContains(t, dirs, "lib") 2306 ensureListContains(t, dirs, "lib/foo") 2307 ensureListContains(t, dirs, "lib/foo/bar") [all …]
|
/build/soong/rust/ |
D | rust.go | 438 func (flagExporter *flagExporter) exportLinkDirs(dirs ...string) { 439 flagExporter.linkDirs = android.FirstUniqueStrings(append(flagExporter.linkDirs, dirs...))
|