Home
last modified time | relevance | path

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

12

/build/bazel/ci/
Drbc_dashboard.py210 async def test_one_product(product: Product, dirs: Directories) -> ProductResult:
216 ], dirs.out_baseline),
221 ], dirs.out_product),
226 ], dirs.out_board),
229 product_dashboard_folder = os.path.join(dirs.results, str(product))
236 shutil.copy2(os.path.join(dirs.out_baseline, 'build.log'),
239 shutil.copy2(os.path.join(dirs.out_product, 'build.log'),
242 shutil.copy2(os.path.join(dirs.out_board, 'build.log'),
246 …product_files = [(os.path.join(dirs.out_baseline, x), os.path.join(dirs.out_product, x)) for x in …
247 …board_files = [(os.path.join(dirs.out_baseline, x), os.path.join(dirs.out_board, x)) for x in file…
[all …]
/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/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)
264 func (fs *osFs) ListDirsRecursive(name string, follow ShouldFollowSymlinks) (dirs []string, err err…
294 dirs map[string]bool member
350 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.go205 dirs []string
236 want := append([]string(nil), test.dirs...)
251 dirs []string
282 want := append([]string(nil), 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.go338 func createDirectories(t *testing.T, topDir string, dirs []string) {
339 for _, dir := range dirs {
362 dirs []string
377 dirs: []string{"1/2/3"},
384 dirs: []string{"1/2/3"},
391 dirs: []string{"1/2/3:t1:t2"},
398 dirs: []string{"1/2/3:"},
405 dirs: []string{"1/2/3:t1,t2"},
412 dirs: []string{"1/2/3:,"},
419 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...)
Dupload_test.go35 dirs := []string{
47 for _, d := range dirs {
Dconfig.go548 newConfigArgs, dirs := splitArgs(configArgs)
550 targets = getTargetsFromDirs(ctx, relDir, dirs, targetNamePrefix)
627 func splitArgs(args []string) (newArgs []string, dirs []string) {
636 dirs = []string{}
650 dirs = append(dirs, arg)
653 return newArgs, dirs
660 func getTargetsFromDirs(ctx Context, relDir string, dirs []string, targetNamePrefix string) (target…
661 for _, dir := range 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.go42 dirs := ctx.Glob(android.PathForSource(ctx, ctx.ModuleDir()).Join(ctx, exclude).String(), nil)
43 for _, dir := range dirs {
55dirs := ctx.Glob(android.PathForSource(ctx, ctx.ModuleDir()).Join(ctx, resourceDir).String(), excl…
56 for _, dir := range dirs {
/build/bazel/rules/apex/
Dbazel_apexer_wrapper.py94 dirs = d.split("/")
95 for i in range(0, len(dirs)):
96 apex_subdirs_set.add("/".join(dirs[:i]))
140 def _generate_canned_fs_config(work_dir, dirs, filepaths): argument
147 config_lines += ["/" + d + " 0 2000 0755" for d in dirs]
/build/soong/cc/
Dlibrary_sdk_member.go282 dirs bool member
294 dirs: true,
304 dirs: true,
315 dirs: true,
326 dirs: false,
383 if propertyInfo.dirs {
403 if propertyInfo.dirs {
542 dirs := append(android.Paths(nil), exportedInfo.SystemIncludeDirs...)
543 p.ExportedSystemIncludeDirs = android.FirstUniquePaths(dirs)
Dutil.go29 func includeDirsToFlags(dirs android.Paths) string {
30 return android.JoinWithPrefix(dirs.Strings(), "-I")
33 func ldDirsToFlags(dirs []string) string {
34 return android.JoinWithPrefix(dirs, "-L")
Dmakevars.go336 extract := func(flags string, dirs []string, prefix string) (string, []string, bool) {
341 dirs = append(dirs, s[0])
343 return strings.TrimLeft(s[1], " "), dirs, true
345 return "", dirs, true
347 return flags, dirs, false
Dtidy.go293 dirs, topDirs := android.AddAncestors(ctx, modulesInDir, mmTarget)
301 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/make/tools/fs_config/
Dtest_fs_config_generator.py267 dirs = parser.dirs
271 self.assertEqual(len(dirs), 1)
276 dcap = dirs[0]
/build/soong/compliance/build_license_metadata/
Dbuild_license_metadata.go106 func findGitRoots(dirs []string) []string {
107 ret := make([]string, len(dirs))
108 for i, dir := range dirs {
/build/make/orchestrator/core/
Dlunch.py96 dirs = ["vendor", "device"]
97 for d in dirs:
/build/bazel/rules/cc/
Dcc_library_common.bzl57 def get_includes_paths(ctx, dirs, package_relative = True):
59 for rel_dir in dirs:

12