Home
last modified time | relevance | path

Searched refs:Context (Results 1 – 25 of 43) sorted by relevance

12

/build/blueprint/
Dcontext.go70 type Context struct { struct
71 context.Context argument
308 func newContext() *Context {
309 return &Context{
310 Context: context.Background(),
327 func NewContext() *Context {
401 func (c *Context) RegisterModuleType(name string, factory ModuleFactory) { argument
421 func (c *Context) RegisterSingletonType(name string, factory SingletonFactory) { argument
443 func (c *Context) RegisterPreSingletonType(name string, factory SingletonFactory) { argument
457 func (c *Context) SetNameInterface(i NameInterface) { argument
[all …]
Dglob.go49 func (c *Context) glob(pattern string, excludes []string) ([]string, error) {
85 func (c *Context) Globs() []GlobPath {
/build/soong/ui/build/
Drbe.go38 func rbeCommand(ctx Context, config Config, rbeCmd string) string { argument
55 func getRBEVars(ctx Context, tmpDir string) map[string]string { argument
60 func startRBE(ctx Context, config Config) { argument
78 func stopRBE(ctx Context, config Config) { argument
89 func DumpRBEMetrics(ctx Context, config Config, filename string) { argument
Dkati.go40 func genKatiSuffix(ctx Context, config Config) { argument
63 func runKati(ctx Context, config Config, extraSuffix string, args []string, envFunc func(*Environme… argument
131 func runKatiBuild(ctx Context, config Config) { argument
165 func cleanCopyHeaders(ctx Context, config Config) { argument
202 func cleanOldInstalledFiles(ctx Context, config Config) { argument
219 func runKatiPackage(ctx Context, config Config) { argument
260 func runKatiCleanSpec(ctx Context, config Config) { argument
Dcleanbuild.go29 func removeGlobs(ctx Context, globs ...string) { argument
48 func clean(ctx Context, config Config, what int) { argument
53 func dataClean(ctx Context, config Config, what int) { argument
64 func installClean(ctx Context, config Config, what int) { argument
143 func installCleanIfNecessary(ctx Context, config Config) { argument
190 func cleanOldFiles(ctx Context, basePath, file string) { argument
265 func cleanEmptyDirs(ctx Context, dir string) { argument
Dbuild.go28 func SetupOutDir(ctx Context, config Config) { argument
62 func createCombinedBuildNinjaFile(ctx Context, config Config) { argument
91 func checkProblematicFiles(ctx Context) { argument
102 func checkCaseSensitivity(ctx Context, config Config) { argument
133 func help(ctx Context, config Config, what int) { argument
141 func Build(ctx Context, config Config, what int) { argument
264 func distGzipFile(ctx Context, config Config, src string, subDirs ...string) { argument
286 func distFile(ctx Context, config Config, src string, subDirs ...string) { argument
Dutil.go26 func absPath(ctx Context, p string) string { argument
62 func ensureDirectoriesExist(ctx Context, dirs ...string) { argument
72 func ensureEmptyDirectoriesExist(ctx Context, dirs ...string) { argument
101 func ensureEmptyFileExists(ctx Context, file string) { argument
Dcontext.go31 type Context struct{ *ContextImpl } argument
33 context.Context anonMember
Dfinder.go35 func NewSourceFinder(ctx Context, config Config) (f *finder.Finder) { argument
82 func FindSources(ctx Context, config Config, f *finder.Finder) { argument
136 func dumpListToFile(ctx Context, config Config, list []string, filePath string) (err error) { argument
Dgoma.go37 func ulimitOrFatal(ctx Context, config Config, opt string) int { argument
54 func startGoma(ctx Context, config Config) { argument
Dninja.go30 func runNinja(ctx Context, config Config) { argument
197 func (c *statusChecker) check(ctx Context, config Config, pathToCheck string) {
211 func dumpStucknessDiagnostics(ctx Context, config Config, statusPath string, lastUpdated time.Time)… argument
Dconfig.go85 func checkTopDir(ctx Context) { argument
94 func NewConfig(ctx Context, args ...string) Config { argument
273 func NewBuildActionConfig(action BuildAction, dir string, ctx Context, args ...string) Config { argument
279 func getConfigArgs(action BuildAction, dir string, ctx Context, args []string) []string { argument
355 func hasBuildFile(ctx Context, dir string) bool { argument
373 func findBuildFile(ctx Context, dir string) string { argument
445 func getTargetsFromDirs(ctx Context, relDir string, dirs []string, targetNamePrefix string) (target… argument
490 func (c *configImpl) parseArgs(ctx Context, args []string) {
539 func (c *configImpl) configureLocale(ctx Context) {
590 func (c *configImpl) Lunch(ctx Context, product, variant string) {
[all …]
Ddumpvars.go41 func DumpMakeVars(ctx Context, config Config, goals, vars []string) (map[string]string, error) { argument
83 func dumpMakeVars(ctx Context, config Config, goals, vars []string, write_soong_vars bool, tmpDir s… argument
183 func runMakeProductConfig(ctx Context, config Config) { argument
Dpath.go60 func SetupLitePath(ctx Context, config Config, tmpDir string) { argument
106 func SetupPath(ctx Context, config Config) { argument
129 entries, err := paths.LogListener(ctx.Context, interposer+"_log")
Dsoong.go33 func runSoong(ctx Context, config Config) { argument
154 func loadSoongBuildMetrics(ctx Context, config Config) *soong_metrics_proto.SoongBuildMetrics { argument
168 func logSoongBuildMetrics(ctx Context, metrics *soong_metrics_proto.SoongBuildMetrics) { argument
Dexec.go35 ctx Context
42 func Command(ctx Context, config Config, name string, executable string, args ...string) *Cmd { argument
44 Cmd: exec.CommandContext(ctx.Context, executable, args...),
Dconfig_linux.go19 func detectTotalRAM(ctx Context) uint64 { argument
Dconfig_darwin.go22 func detectTotalRAM(ctx Context) uint64 { argument
/build/soong/android/
Dregister.go82 type Context struct { struct
83 *blueprint.Context argument
86 func NewContext() *Context {
87 ctx := &Context{blueprint.NewContext()}
92 func (ctx *Context) Register() { argument
105 registerMutators(ctx.Context, preArch, preDeps, postDeps, finalDeps)
Dtesting.go35 Context: &Context{blueprint.NewContext()},
53 *Context anonMember
85 registerMutators(ctx.Context.Context, ctx.preArch, ctx.preDeps, ctx.postDeps, ctx.finalDeps)
95 return ctx.Context.ParseFileList(rootDir, filePaths, ctx.config)
101 return ctx.Context.ParseBlueprintsFiles(rootDir, ctx.config)
105 ctx.Context.RegisterModuleType(name, ModuleFactoryAdaptor(factory))
109 ctx.Context.RegisterSingletonType(name, SingletonFactoryAdaptor(factory))
/build/soong/cmd/soong_ui/
Dmain.go51 config func(ctx build.Context, args ...string) build.Config
57 run func(ctx build.Context, config build.Config, args []string, logsDir string)
67 config: func(ctx build.Context, args ...string) build.Config {
154 buildCtx := build.Context{ContextImpl: &build.ContextImpl{
155 Context: ctx,
219 func fixBadDanglingLink(ctx build.Context, name string) { argument
233 func dumpVar(ctx build.Context, config build.Config, args []string, _ string) { argument
283 func dumpVars(ctx build.Context, config build.Config, args []string, _ string) { argument
360 func dumpVarConfig(ctx build.Context, args ...string) build.Config { argument
364 func buildActionConfig(ctx build.Context, args ...string) build.Config { argument
[all …]
/build/soong/cmd/multiproduct_kati/
Dmain.go140 Context context.Context member
180 buildCtx := build.Context{ContextImpl: &build.ContextImpl{
181 Context: ctx,
305 Context: ctx,
404 ctx := build.Context{ContextImpl: &build.ContextImpl{
405 Context: mpctx.Context,
/build/soong/ui/build/paths/
Dlogs.go156 func LogListener(ctx context.Context, logSocket string) (chan *LogEntry, error) { argument
160 func logListener(ctx context.Context, logSocket string, lookup socketAddrFunc) (chan *LogEntry, err… argument
/build/soong/cuj/
Dcuj.go74 buildCtx := build.Context{ContextImpl: &build.ContextImpl{
75 Context: ctx,
/build/blueprint/bootstrap/
Dwritedocs.go18 func ModuleTypeDocs(ctx *blueprint.Context, factories map[string]reflect.Value) ([]*bpdoc.Package, … argument
78 func writeDocs(ctx *blueprint.Context, filename string) error { argument

12