/aosp12/build/soong/android/ |
H A D | singleton.go | 69 VisitAllModulesIf(pred func(Module) bool, visit func(Module)) 71 VisitDirectDeps(module Module, visit func(Module)) 72 VisitDirectDepsIf(module Module, pred func(Module) bool, visit func(Module)) 75 VisitDepsDepthFirst(module Module, visit func(Module)) 77 VisitDepsDepthFirstIf(module Module, pred func(Module) bool, 80 VisitAllModuleVariants(module Module, visit func(Module)) 82 PrimaryModule(module Module) Module 83 FinalModule(module Module) Module 194 func visitAdaptor(visit func(Module)) func(blueprint.Module) { argument 231 … *singletonContextAdaptor) VisitDirectDepsIf(module Module, pred func(Module) bool, visit func(Mod… argument [all …]
|
H A D | mutator.go | 300 …AddDependency(module blueprint.Module, tag blueprint.DependencyTag, name ...string) []blueprint.Mo… 320 CreateVariations(...string) []Module 329 CreateLocalVariations(...string) []Module 433 if a, ok := ctx.Module().(Module); ok { 457 if a, ok := ctx.Module().(Module); ok { 504 if m := ctx.Module(); m.Enabled() { 510 if m := ctx.Module(); m.Enabled() { 643 aModules[i] = modules[i].(Module) 661 aModules[i] = modules[i].(Module) 679 names ...string) []blueprint.Module { [all …]
|
H A D | prebuilt.go | 111 srcs := srcsSupplier(ctx, ctx.Module()) 230 Module 241 func IsModulePreferred(module Module) bool { argument 255 func IsModulePrebuilt(module Module) bool { argument 283 m := ctx.Module() 296 m := ctx.Module() 311 m := ctx.Module() 319 } else if s, ok := ctx.Module().(Module); ok { 334 m := ctx.Module() 339 …ReplaceDependenciesIf(name, func(from blueprint.Module, tag blueprint.DependencyTag, to blueprint.… [all …]
|
H A D | mutator_test.go | 35 func mutatorTestModuleFactory() Module { 52 ctx.AddDependency(ctx.Module(), nil, m.props.Deps_missing_deps...) 98 moduleStrings = append(moduleStrings, ctx.Module().String()) 102 moduleStrings = append(moduleStrings, ctx.Module().String()) 103 ctx.Rename(ctx.Module().base().Name() + "_renamed1") 109 moduleStrings = append(moduleStrings, ctx.Module().String()) 116 moduleStrings = append(moduleStrings, ctx.Module().String()) 120 moduleStrings = append(moduleStrings, ctx.Module().String()) 121 ctx.Rename(ctx.Module().base().Name() + "_renamed2") 217 finalGot[ctx.Module().String()] += 1 [all …]
|
H A D | hooks.go | 36 CreateModule(ModuleFactory, ...interface{}) Module 48 func AddLoadHook(m blueprint.Module, hook func(LoadHookContext)) { argument 51 earlyModuleContext: m.(Module).base().earlyModuleContextFactory(ctx), 61 module Module 70 err := proptools.AppendMatchingProperties(l.Module().base().customizableProperties, 84 err := proptools.PrependMatchingProperties(l.Module().base().customizableProperties, 96 func (l *loadHookContext) CreateModule(factory ModuleFactory, props ...interface{}) Module { 97 inherited := []interface{}{&l.Module().base().commonProperties} 101 src := l.Module().base().variableProperties 131 func AddInstallHook(m blueprint.Module, hook func(InstallHookContext)) { argument [all …]
|
/aosp12/build/blueprint/ |
H A D | singleton_ctx.go | 104 VisitAllModulesIf(pred func(Module) bool, visit func(Module)) 112 VisitDirectDeps(module Module, visit func(Module)) 121 VisitDirectDepsIf(module Module, pred func(Module) bool, visit func(Module)) 126 VisitDepsDepthFirst(module Module, visit func(Module)) 131 VisitDepsDepthFirstIf(module Module, pred func(Module) bool, 135 VisitAllModuleVariants(module Module, visit func(Module)) 139 PrimaryModule(module Module) Module 143 FinalModule(module Module) Module 332 func (s *singletonContext) VisitDirectDepsIf(module Module, pred func(Module) bool, visit func(Modu… argument 343 pred func(Module) bool, visit func(Module)) { argument [all …]
|
H A D | module_ctx.go | 92 type Module interface { interface 116 Module 129 Module() Module 219 VisitDirectDepsIf(pred func(Module) bool, visit func(Module)) 238 VisitDepsDepthFirstIf(pred func(Module) bool, visit func(Module)) 247 WalkDeps(visit func(Module, Module) bool) 259 FinalModule() Module 384 func (d *baseModuleContext) Module() Module { func 854 AddDependency(module Module, tag DependencyTag, name ...string) []Module 1019 ret := []Module{} [all …]
|
/aosp12/build/soong/rust/ |
H A D | image.go | 24 var _ android.ImageInterface = (*Module)(nil) 28 func (mod *Module) VendorAvailable() bool { 32 func (mod *Module) OdmAvailable() bool { 36 func (mod *Module) ProductAvailable() bool { 40 func (mod *Module) RamdiskAvailable() bool { 139 func (mod *Module) InRecovery() bool { 148 func (mod *Module) OnlyInRamdisk() bool { 176 func (mod *Module) InProduct() bool { 181 func (mod *Module) InVendor() bool { 185 func (mod *Module) SetImageVariation(ctx android.BaseModuleContext, variant string, module android.… argument [all …]
|
H A D | rust.go | 103 type Module struct { struct 227 func (mod *Module) Rlib() bool { 603 func (mod *Module) Module() android.Module { func 633 func (mod *Module) Init() android.Module { 661 return &Module{ 690 RustModule() *Module 707 return ctx.Module().(*Module) 715 return ctx.Module().(*Module) 723 return ctx.Module().(*Module) 923 directRlibDeps := []*Module{} [all …]
|
H A D | library_test.go | 141 if !android.InList("libstd", libfoo.Module().(*Module).Properties.AndroidMkDylibs) { 143 libfoo.Module().(*Module).Properties.AndroidMkDylibs) 157 if !android.InList("libstd", libfoo.Module().(*Module).Properties.AndroidMkRlibs) { 159 libfoo.Module().(*Module).Properties.AndroidMkDylibs) 191 if !android.InList("libbar.rlib-std", static.Module().(*Module).Properties.AndroidMkRlibs) { 194 if android.InList("libbar", static.Module().(*Module).Properties.AndroidMkDylibs) { 200 if !android.InList("libbar", dyn.Module().(*Module).Properties.AndroidMkDylibs) { 203 if android.InList("libbar.dylib-std", dyn.Module().(*Module).Properties.AndroidMkRlibs) { 263 libfooDylib := ctx.ModuleForTests("libfoo", "android_arm64_armv8-a_dylib").Module().(*Module) 267 libbarShared := ctx.ModuleForTests("libbar", "android_arm64_armv8-a_shared").Module().(*Module) [all …]
|
/aosp12/build/soong/cc/ |
H A D | prebuilt_test.go | 131 hasDep := func(m android.Module, wantDep android.Module) bool { 184 shared := ctx.ModuleForTests("libtest", "android_arm64_armv8-a_shared").Module().(*Module) 198 static := ctx.ModuleForTests("libtest", "android_arm64_armv8-a_static").Module().(*Module) 221 shared := ctx.ModuleForTests("libtest", "android_arm64_armv8-a_shared").Module().(*Module) 224 static := ctx.ModuleForTests("libtest", "android_arm64_armv8-a_static").Module().(*Module) 248 static := ctx.ModuleForTests("libfoo", "android_arm64_armv8-a_static").Module().(*Module) 251 shared := ctx.ModuleForTests("libfoo", "android_arm64_armv8-a_shared").Module().(*Module) 269 shared := ctx.ModuleForTests("libfoo", "android_arm64_armv8-a_shared").Module().(*Module) 352 static := ctx.ModuleForTests("libtest", "android_arm64_armv8-a_static").Module().(*Module) 358 static2 := ctx.ModuleForTests("libtest_static", "android_arm64_armv8-a_static").Module().(*Module) [all …]
|
H A D | image.go | 123 func (c *Module) InProduct() bool { 128 func (c *Module) InVendor() bool { 132 func (c *Module) InRamdisk() bool { 140 func (c *Module) InRecovery() bool { 144 func (c *Module) OnlyInRamdisk() bool { 204 android.Module 319 func (m *Module) OdmAvailable() bool { 635 func squashVendorSrcs(m *Module) { argument 648 func squashProductSrcs(m *Module) { argument 661 func squashRecoverySrcs(m *Module) { argument [all …]
|
H A D | sdk.go | 32 switch m := ctx.Module().(type) { 44 modules[0].(*Module).Properties.Sdk_version = nil 47 modules[1].(*Module).Properties.IsSdkVariant = true 51 modules[0].(*Module).Properties.HideFromMake = true 52 modules[0].(*Module).Properties.PreventInstall = true 56 modules[1].(*Module).Properties.SdkAndPlatformVariantVisibleToMake = true 57 modules[1].(*Module).Properties.PreventInstall = true 61 if m, ok := ctx.Module().(*Module); ok { 69 case *genrule.Module:
|
H A D | cc.go | 770 type Module struct { struct 951 func (c *Module) SetStatic() { 961 func (c *Module) SetShared() { 989 func (c *Module) Module() android.Module { func 1033 func (c *Module) Init() android.Module { 1325 mod *Module 1519 return &Module{ 2276 if c, ok := ctx.Module().(*Module); ok && c.Enabled() { 2410 if c, ok := ctx.Module().(*Module); ok { 2427 to, ok := child.(*Module) [all …]
|
H A D | coverage.go | 111 ctx.VisitDirectDeps(func(m android.Module) { 114 if cc, ok := m.(*Module); ok && cc.coverage != nil { 125 ctx.VisitDirectDeps(func(m android.Module) { 126 cc, ok := m.(*Module) 205 android.Module 214 if c, ok := mctx.Module().(*Module); ok && c.coverage != nil { 222 m[0].(*Module).coverage.Properties.CoverageEnabled = false 223 m[0].(*Module).coverage.Properties.IsCoverageVariant = false 224 m[0].(*Module).Properties.HideFromMake = true 225 m[0].(*Module).Properties.PreventInstall = true [all …]
|
/aosp12/frameworks/compile/mclinker/include/mcld/Script/ |
H A D | BinaryOp.h | 20 class Module; variable 53 IntOperand* BinaryOp<Operator::MUL>::eval(const Module&, 56 IntOperand* BinaryOp<Operator::DIV>::eval(const Module&, 59 IntOperand* BinaryOp<Operator::MOD>::eval(const Module&, 62 IntOperand* BinaryOp<Operator::ADD>::eval(const Module&, 65 IntOperand* BinaryOp<Operator::SUB>::eval(const Module&, 68 IntOperand* BinaryOp<Operator::LSHIFT>::eval(const Module&, 71 IntOperand* BinaryOp<Operator::RSHIFT>::eval(const Module&, 106 const Module&, 109 IntOperand* BinaryOp<Operator::MAX>::eval(const Module&, [all …]
|
H A D | UnaryOp.h | 19 class Module; variable 46 IntOperand* UnaryOp<Operator::UNARY_PLUS>::eval(const Module&, 59 IntOperand* UnaryOp<Operator::ABSOLUTE>::eval(const Module&, 62 IntOperand* UnaryOp<Operator::ADDR>::eval(const Module&, 65 IntOperand* UnaryOp<Operator::ALIGNOF>::eval(const Module&, 71 IntOperand* UnaryOp<Operator::DEFINED>::eval(const Module&, 74 IntOperand* UnaryOp<Operator::LENGTH>::eval(const Module&, 77 IntOperand* UnaryOp<Operator::LOADADDR>::eval(const Module&, 80 IntOperand* UnaryOp<Operator::NEXT>::eval(const Module&, 83 IntOperand* UnaryOp<Operator::ORIGIN>::eval(const Module&, [all …]
|
/aosp12/build/soong/apex/ |
H A D | classpath_element_test.go | 32 module android.Module 204 artBaz := result.Module("baz", "android_common_apex10000") 208 myBar := result.Module("bar", "android_common_apex10000") 215 platformFoo := result.Module("quuz", "android_common") 227 …expectFragmentElement := func(module android.Module, contents ...android.Module) java.ClasspathEle… 241 …= java.CreateClasspathElements(ctx, []android.Module{artBaz, artQuuz, myBar, platformFoo}, []andro… 253 …elements := java.CreateClasspathElements(ctx, []android.Module{}, []android.Module{nonApexFragment… 262 …elements := java.CreateClasspathElements(ctx, []android.Module{}, []android.Module{artFragment, ar… 271 …elements := java.CreateClasspathElements(ctx, []android.Module{other}, []android.Module{artFragmen… 281 …= java.CreateClasspathElements(ctx, []android.Module{artBaz, myBar, artQuuz, platformFoo}, []andro… [all …]
|
/aosp12/build/soong/java/ |
H A D | classpath_element.go | 32 Module() android.Module 40 Fragment android.Module 41 Contents []android.Module 44 func (b *ClasspathFragmentElement) Module() android.Module { func 60 Library android.Module 63 func (b *ClasspathLibraryElement) Module() android.Module { func 119 …hElements(ctx ClasspathElementContext, libraries []android.Module, fragments []android.Module) Cla… argument 122 apexToFragment := map[string]android.Module{} 139 fragmentToElement := map[android.Module]*ClasspathFragmentElement{} 150 var fragment android.Module [all …]
|
/aosp12/frameworks/compile/mclinker/lib/Core/ |
H A D | Module.cpp | 21 static GCFactory<Module::AliasList, MCLD_SECTIONS_PER_INPUT> 27 Module::Module(LinkerScript& pScript) : m_Script(pScript), m_NamePool(1024) { in Module() function in mcld::Module 30 Module::Module(const std::string& pName, LinkerScript& pScript) in Module() function in mcld::Module 34 Module::~Module() { in ~Module() 38 LDSection* Module::getSection(const std::string& pName) { in getSection() 47 const LDSection* Module::getSection(const std::string& pName) const { in getSection() 56 void Module::CreateAliasList(const ResolveInfo& pSym) { in CreateAliasList() 63 void Module::addAlias(const ResolveInfo& pAlias) { in addAlias() 69 Module::AliasList* Module::getAliasList(const ResolveInfo& pSym) { in getAliasList()
|
/aosp12/frameworks/compile/mclinker/include/mcld/Target/ |
H A D | TargetLDBackend.h | 35 class Module; variable 73 virtual ArchiveReader* createArchiveReader(Module&) = 0; 82 virtual void layout(Module& pModule) = 0; 102 virtual void sizeNamePools(Module& pModule) = 0; 116 virtual bool allocateCommonSymbols(Module& pModule) = 0; 119 virtual void preMergeSections(Module& pModule) { } in preMergeSections() 122 virtual void postMergeSections(Module& pModule) { } in postMergeSections() 125 virtual bool mergeSection(Module& pModule, in mergeSection() 135 const Module& pModule, in setUpReachedSectionsForGC() 165 virtual bool relax(Module& pModule, IRBuilder& pBuilder) = 0; [all …]
|
H A D | GNULDBackend.h | 40 class Module; variable 110 void sizeShstrtab(Module& pModule); 115 virtual void sizeNamePools(Module& pModule); 147 virtual void orderSymbolTable(Module& pModule); 331 void createAndSizeEhFrameHdr(Module& pModule); 383 void createProgramHdrs(Module& pModule); 398 void setupGNUStackInfo(Module& pModule); 401 void setOutputSectionOffset(Module& pModule); 404 void setOutputSectionAddress(Module& pModule); 407 void placeOutputSections(Module& pModule); [all …]
|
/aosp12/frameworks/compile/mclinker/lib/Script/ |
H A D | BinaryOp.cpp | 27 IntOperand* BinaryOp<Operator::MUL>::eval(const Module& pModule, in eval() 35 IntOperand* BinaryOp<Operator::DIV>::eval(const Module& pModule, in eval() 43 IntOperand* BinaryOp<Operator::MOD>::eval(const Module& pModule, in eval() 51 IntOperand* BinaryOp<Operator::ADD>::eval(const Module& pModule, in eval() 132 const Module& pModule, in eval() 141 const Module& pModule, in eval() 150 const Module& pModule, in eval() 159 const Module& pModule, in eval() 168 const Module& pModule, in eval() 188 const Module& pModule, in eval() [all …]
|
H A D | UnaryOp.cpp | 27 const Module& pModule, in eval() 36 const Module& pModule, in eval() 45 const Module& pModule, in eval() 54 const Module& pModule, in eval() 62 IntOperand* UnaryOp<Operator::ABSOLUTE>::eval(const Module& pModule, in eval() 70 IntOperand* UnaryOp<Operator::ADDR>::eval(const Module& pModule, in eval() 92 IntOperand* UnaryOp<Operator::ALIGNOF>::eval(const Module& pModule, in eval() 115 const Module& pModule, in eval() 131 IntOperand* UnaryOp<Operator::LENGTH>::eval(const Module& pModule, in eval() 147 IntOperand* UnaryOp<Operator::NEXT>::eval(const Module& pModule, in eval() [all …]
|
/aosp12/frameworks/compile/mclinker/include/mcld/LD/ |
H A D | ELFObjectWriter.h | 22 class Module; variable 37 std::error_code writeObject(Module& pModule, FileOutputBuffer& pOutput); 39 size_t getOutputSize(const Module& pModule) const; 42 void writeSection(Module& pModule, 52 const Module& pModule, 56 const Module& pModule) const; 60 void emitSectionHeader(const Module& pModule, 70 const Module& pModule, 75 void emitEhFrame(Module& pModule, 107 uint64_t getLastStartOffset(const Module& pModule) const { in getLastStartOffset() [all …]
|