/build/blueprint/pathtools/ |
D | lists.go | 25 func PrefixPaths(paths []string, prefix string) []string { 26 result := make([]string, len(paths)) 27 for i, path := range paths { 33 func ReplaceExtensions(paths []string, extension string) []string { 34 result := make([]string, len(paths)) 35 for i, path := range paths {
|
/build/soong/android/ |
D | paths.go | 223 func (paths Paths) containsPath(path Path) bool { 224 for _, p := range paths { 233 func PathsForSource(ctx PathContext, paths []string) Paths { 234 ret := make(Paths, len(paths)) 235 for i, path := range paths { 244 func ExistentPathsForSources(ctx PathContext, paths []string) Paths { 245 ret := make(Paths, 0, len(paths)) 246 for _, path := range paths { 261 func PathsForModuleSrc(ctx ModuleContext, paths []string) Paths { 262 return PathsForModuleSrcExcludes(ctx, paths, nil) [all …]
|
D | rule_builder.go | 627 func (c *RuleBuilderCommand) Inputs(paths Paths) *RuleBuilderCommand { 628 for _, path := range paths { 643 func (c *RuleBuilderCommand) Implicits(paths Paths) *RuleBuilderCommand { 644 for _, path := range paths { 664 func (c *RuleBuilderCommand) OrderOnlys(paths Paths) *RuleBuilderCommand { 665 for _, path := range paths { 680 func (c *RuleBuilderCommand) Outputs(paths WritablePaths) *RuleBuilderCommand { 681 for _, path := range paths { 713 func (c *RuleBuilderCommand) ImplicitOutputs(paths WritablePaths) *RuleBuilderCommand { 714 c.outputs = append(c.outputs, paths...) [all …]
|
D | neverallow.go | 69 paths := []string{ 89 rules := make([]Rule, 0, len(paths)) 90 for _, path := range paths { 381 paths []string member 401 r.paths = append(r.paths, cleanPaths(path)...) 470 for _, v := range r.paths { 501 includePath := len(r.paths) == 0 || HasAnyPrefix(dir, r.paths) 560 func cleanPaths(paths []string) []string { 561 res := make([]string, len(paths)) 562 for i, v := range paths {
|
D | makevars.go | 94 DistForGoal(goal string, paths ...Path) 103 DistForGoals(goals []string, paths ...Path) 178 paths []string member 330 strings.Join(dist.goals, " "), strings.Join(dist.paths, " ")) 373 func (c *makeVarsContext) addDist(goals []string, paths []string) { 376 paths: paths, 404 func (c *makeVarsContext) DistForGoal(goal string, paths ...Path) { 405 c.DistForGoals([]string{goal}, paths...) 412 func (c *makeVarsContext) DistForGoals(goals []string, paths ...Path) { 413 c.addDist(goals, Paths(paths).Strings())
|
D | util.go | 381 func ShardPaths(paths Paths, shardSize int) []Paths { 382 if len(paths) == 0 { 385 ret := make([]Paths, 0, (len(paths)+shardSize-1)/shardSize) 386 for len(paths) > shardSize { 387 ret = append(ret, paths[0:shardSize]) 388 paths = paths[shardSize:] 390 if len(paths) > 0 { 391 ret = append(ret, paths)
|
D | package_ctx.go | 139 func (p PackageContext) SourcePathsVariable(name, separator string, paths ...string) blueprint.Vari… 142 for _, path := range paths { 213 name, prefix string, paths []string) blueprint.Variable { 216 paths := ExistentPathsForSources(ctx, paths) 217 return JoinWithPrefix(paths.Strings(), prefix)
|
/build/soong/java/ |
D | android_resources.go | 58 paths android.DirectorySortedPaths member 78 files := data.paths.PathsInDirectory(filepath.Join(data.dir, dir.String())) 122 var paths android.Paths 125 paths = append(paths, android.PathForSource(ctx, f)) 128 result.paths = android.PathsToDirectorySortedPaths(paths)
|
D | sdk_library.go | 516 func (paths *scopePaths) extractStubsLibraryInfoFromDependency(dep android.Module) error { 518 paths.stubsHeaderPath = lib.HeaderJars() 519 paths.stubsImplPath = lib.ImplementationJars() 526 func (paths *scopePaths) treatDepAsApiStubsProvider(dep android.Module, action func(provider ApiStu… 535 func (paths *scopePaths) treatDepAsApiStubsSrcProvider(dep android.Module, action func(provider Api… 544 func (paths *scopePaths) extractApiInfoFromApiStubsProvider(provider ApiStubsProvider) { 545 paths.currentApiFilePath = android.OptionalPathForPath(provider.ApiFilePath()) 546 paths.removedApiFilePath = android.OptionalPathForPath(provider.RemovedApiFilePath()) 549 func (paths *scopePaths) extractApiInfoFromDep(dep android.Module) error { 550 return paths.treatDepAsApiStubsProvider(dep, func(provider ApiStubsProvider) { [all …]
|
D | lint.go | 468 var paths android.Paths 472 paths = append(paths, p) 476 lintZip(ctx, paths, outputPath) 504 func lintZip(ctx android.BuilderContext, paths android.Paths, outputPath android.WritablePath) { 505 paths = android.SortedUniquePaths(android.CopyOfPaths(paths)) 507 sort.Slice(paths, func(i, j int) bool { 508 return paths[i].String() < paths[j].String() 516 FlagWithRspFileInputList("-l ", paths)
|
/build/soong/cmd/path_interposer/ |
D | main.go | 57 sendLog: paths.SendLog, 58 config: paths.GetConfig, 75 sendLog func(logSocket string, entry *paths.LogEntry, done chan interface{}) 76 config func(name string) paths.PathConfig 77 lookupParents func() []paths.LogProcess 111 var procs []paths.LogProcess 118 opts.sendLog(interposer+"_log", &paths.LogEntry{ 213 func lookupParents() []paths.LogProcess { 219 list := []paths.LogProcess{} 227 list = append([]paths.LogProcess{
|
D | main_test.go | 66 logConfig := func(name string) paths.PathConfig { 68 return paths.PathConfig{ 73 return paths.PathConfig{ 78 return paths.PathConfig{ 149 logFunc := func(logSocket string, entry *paths.LogEntry, done chan interface{}) {
|
/build/make/tools/fs_config/ |
D | fs_config.go | 39 paths android.Paths member 46 t.paths = android.PathsForSource(ctx, ret) 49 t.paths = android.Paths{path} 59 return t.paths
|
/build/soong/ui/build/ |
D | Android.bp | 16 name: "soong-ui-build-paths", 17 pkgPath: "android/soong/ui/build/paths", 19 "paths/config.go", 20 "paths/logs.go", 23 "paths/logs_test.go", 31 "soong-ui-build-paths",
|
D | path.go | 77 for name, pathConfig := range paths.Configuration { 129 entries, err := paths.LogListener(ctx.Context, interposer+"_log") 153 config := paths.GetConfig(log.Basename) 189 if !paths.GetConfig(name).Symlink {
|
/build/make/target/product/gsi/ |
D | Android.mk | 101 define find-abi-dump-paths 110 define filter-abi-dump-paths 118 VNDK_ABI_DUMPS := $(call find-abi-dump-paths,$(VNDK_ABI_DUMP_DIR)) 119 NDK_ABI_DUMPS := $(call find-abi-dump-paths,$(NDK_ABI_DUMP_DIR)) 120 PLATFORM_ABI_DUMPS := $(call find-abi-dump-paths,$(PLATFORM_ABI_DUMP_DIR)) 125 $(call filter-abi-dump-paths,LLNDK VNDK-SP VNDK-core,$(PRIVATE_LSDUMP_PATHS)), \ 131 $(call filter-abi-dump-paths,NDK,$(PRIVATE_LSDUMP_PATHS)), \ 137 $(call filter-abi-dump-paths,PLATFORM,$(PRIVATE_LSDUMP_PATHS)), \
|
/build/soong/genrule/ |
D | genrule.go | 207 addLocationLabel := func(label string, paths []string) { 212 locationLabels[label] = paths 215 label, strings.Join(locationLabels[label], " "), strings.Join(paths, " ")) 279 paths := android.PathsForModuleSrc(ctx, []string{toolFile}) 280 g.deps = append(g.deps, paths...) 281 addLocationLabel(toolFile, paths.Strings()) 286 …paths, missingDeps := android.PathsAndMissingDepsForModuleSrcExcludes(ctx, []string{in}, g.propert… 301 srcFiles = append(srcFiles, paths...) 302 addLocationLabel(in, paths.Strings()) 331 paths := locationLabels[firstLabel] [all …]
|
/build/soong/cmd/sbox/ |
D | sbox.go | 89 func findAllFilesUnder(root string) (paths []string) { 90 paths = []string{} 98 paths = append(paths, relPath) 102 return paths
|
/build/make/tools/releasetools/ |
D | check_target_files_vintf.py | 179 paths = out.strip().split('\n') 180 paths = sum((PathToPatterns(path) for path in paths if path), []) 181 return paths
|
/build/make/tools/atree/ |
D | files.cpp | 269 string paths[2]; in read_list_file() local 288 paths[pcount++] = replace_variables(word, variables, &error); in read_list_file() 310 paths[1] = paths[0]; in read_list_file() 313 add_file(files, op, filename, i+1, paths[0], paths[1]); in read_list_file()
|
/build/soong/ui/status/build_error_proto/ |
D | regen.sh | 3 aprotoc --go_out=paths=source_relative:. build_error.proto
|
/build/soong/ui/metrics/metrics_proto/ |
D | regen.sh | 3 aprotoc --go_out=paths=source_relative:. metrics.proto
|
/build/soong/ui/status/ninja_frontend/ |
D | regen.sh | 3 aprotoc --go_out=paths=source_relative:. frontend.proto
|
/build/soong/shared/ |
D | Android.bp | 5 "paths.go",
|
/build/soong/cc/ |
D | snapshot_utils.go | 84 func combineNotices(ctx android.SingletonContext, paths android.Paths, out string) android.OutputPa… 88 Inputs: paths,
|