/aosp_15_r20/external/google-breakpad/src/common/ |
H A D | module_unittest.cc | 52 using google_breakpad::Module; 58 static Module::Function* generate_duplicate_function(StringView name) { in generate_duplicate_function() 59 const Module::Address DUP_ADDRESS = 0xd35402aac7a7ad5cULL; in generate_duplicate_function() 60 const Module::Address DUP_SIZE = 0x200b26e605f99071ULL; in generate_duplicate_function() 61 const Module::Address DUP_PARAMETER_SIZE = 0xf14ac4fed48c4a99ULL; in generate_duplicate_function() 63 Module::Function* function = new Module::Function(name, DUP_ADDRESS); in generate_duplicate_function() 64 Module::Range range(DUP_ADDRESS, DUP_SIZE); in generate_duplicate_function() 76 TEST(Module, WriteHeader) { in TEST() argument 78 Module m(MODULE_NAME, MODULE_OS, MODULE_ARCH, MODULE_ID); in TEST() 85 TEST(Module, WriteHeaderCodeId) { in TEST() argument [all …]
|
H A D | dwarf_line_to_module_unittest.cc | 45 using google_breakpad::Module; 46 using google_breakpad::Module; 49 Module m("name", "os", "architecture", "id"); in TEST() 50 vector<Module::Line> lines; in TEST() 51 std::map<uint32_t, Module::File*> cu_files; in TEST() 58 vector<Module::File*> files; in TEST() 71 Module m("name", "os", "architecture", "id"); in TEST() 72 vector<Module::Line> lines; in TEST() 73 std::map<uint32_t, Module::File*> cu_files; in TEST() 94 vector<Module::File*> files; in TEST() [all …]
|
/aosp_15_r20/external/swiftshader/third_party/SPIRV-Tools/source/opt/ |
H A D | module.h | 45 class Module { 53 Module() : header_({}), contains_debug_info_(false) {} in Module() function 328 std::ostream& operator<<(std::ostream& str, const Module& module); 330 inline void Module::AddCapability(std::unique_ptr<Instruction> c) { in AddCapability() 334 inline void Module::AddExtension(std::unique_ptr<Instruction> e) { in AddExtension() 338 inline void Module::AddExtInstImport(std::unique_ptr<Instruction> e) { in AddExtInstImport() 342 inline void Module::SetMemoryModel(std::unique_ptr<Instruction> m) { in SetMemoryModel() 346 inline void Module::SetSampledImageAddressMode(std::unique_ptr<Instruction> m) { in SetSampledImageAddressMode() 350 inline void Module::AddEntryPoint(std::unique_ptr<Instruction> e) { in AddEntryPoint() 354 inline void Module::AddExecutionMode(std::unique_ptr<Instruction> e) { in AddExecutionMode() [all …]
|
/aosp_15_r20/external/angle/third_party/spirv-tools/src/source/opt/ |
H A D | module.h | 45 class Module { 53 Module() : header_({}), contains_debug_info_(false) {} in Module() function 328 std::ostream& operator<<(std::ostream& str, const Module& module); 330 inline void Module::AddCapability(std::unique_ptr<Instruction> c) { in AddCapability() 334 inline void Module::AddExtension(std::unique_ptr<Instruction> e) { in AddExtension() 338 inline void Module::AddExtInstImport(std::unique_ptr<Instruction> e) { in AddExtInstImport() 342 inline void Module::SetMemoryModel(std::unique_ptr<Instruction> m) { in SetMemoryModel() 346 inline void Module::SetSampledImageAddressMode(std::unique_ptr<Instruction> m) { in SetSampledImageAddressMode() 350 inline void Module::AddEntryPoint(std::unique_ptr<Instruction> e) { in AddEntryPoint() 354 inline void Module::AddExecutionMode(std::unique_ptr<Instruction> e) { in AddExecutionMode() [all …]
|
/aosp_15_r20/external/deqp-deps/SPIRV-Tools/source/opt/ |
D | module.h | 45 class Module { 53 Module() : header_({}), contains_debug_info_(false) {} in Module() function 328 std::ostream& operator<<(std::ostream& str, const Module& module); 330 inline void Module::AddCapability(std::unique_ptr<Instruction> c) { in AddCapability() 334 inline void Module::AddExtension(std::unique_ptr<Instruction> e) { in AddExtension() 338 inline void Module::AddExtInstImport(std::unique_ptr<Instruction> e) { in AddExtInstImport() 342 inline void Module::SetMemoryModel(std::unique_ptr<Instruction> m) { in SetMemoryModel() 346 inline void Module::SetSampledImageAddressMode(std::unique_ptr<Instruction> m) { in SetSampledImageAddressMode() 350 inline void Module::AddEntryPoint(std::unique_ptr<Instruction> e) { in AddEntryPoint() 354 inline void Module::AddExecutionMode(std::unique_ptr<Instruction> e) { in AddExecutionMode() [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/clang/Lex/ |
D | ModuleMap.h | 94 Module *SourceModule = nullptr; 98 llvm::SmallVector<std::unique_ptr<Module>, 8> PendingSubmodules; 101 llvm::StringMap<Module *> Modules; 105 llvm::DenseMap<const IdentifierInfo *, Module *> CachedModuleLoads; 108 llvm::SmallVector<Module*, 2> ShadowModules; 120 void resolveLinkAsDependencies(Module *Mod); 124 void addLinkAsDependency(Module *Mod); 149 static ModuleHeaderRole headerKindToRole(Module::HeaderKind Kind); 152 static Module::HeaderKind headerRoleToKind(ModuleHeaderRole Role); 160 llvm::PointerIntPair<Module *, 3, ModuleHeaderRole> Storage; [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/clang/Lex/ |
D | ModuleMap.h | 94 Module *SourceModule = nullptr; 98 llvm::SmallVector<std::unique_ptr<Module>, 8> PendingSubmodules; 101 llvm::StringMap<Module *> Modules; 105 llvm::DenseMap<const IdentifierInfo *, Module *> CachedModuleLoads; 108 llvm::SmallVector<Module*, 2> ShadowModules; 120 void resolveLinkAsDependencies(Module *Mod); 124 void addLinkAsDependency(Module *Mod); 149 static ModuleHeaderRole headerKindToRole(Module::HeaderKind Kind); 152 static Module::HeaderKind headerRoleToKind(ModuleHeaderRole Role); 160 llvm::PointerIntPair<Module *, 3, ModuleHeaderRole> Storage; [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/clang/Lex/ |
D | ModuleMap.h | 94 Module *SourceModule = nullptr; 98 llvm::SmallVector<std::unique_ptr<Module>, 8> PendingSubmodules; 101 llvm::StringMap<Module *> Modules; 105 llvm::DenseMap<const IdentifierInfo *, Module *> CachedModuleLoads; 108 llvm::SmallVector<Module*, 2> ShadowModules; 120 void resolveLinkAsDependencies(Module *Mod); 124 void addLinkAsDependency(Module *Mod); 149 static ModuleHeaderRole headerKindToRole(Module::HeaderKind Kind); 152 static Module::HeaderKind headerRoleToKind(ModuleHeaderRole Role); 160 llvm::PointerIntPair<Module *, 3, ModuleHeaderRole> Storage; [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/clang/Lex/ |
D | ModuleMap.h | 94 Module *SourceModule = nullptr; 98 llvm::SmallVector<std::unique_ptr<Module>, 8> PendingSubmodules; 101 llvm::StringMap<Module *> Modules; 105 llvm::DenseMap<const IdentifierInfo *, Module *> CachedModuleLoads; 108 llvm::SmallVector<Module*, 2> ShadowModules; 120 void resolveLinkAsDependencies(Module *Mod); 124 void addLinkAsDependency(Module *Mod); 149 static ModuleHeaderRole headerKindToRole(Module::HeaderKind Kind); 152 static Module::HeaderKind headerRoleToKind(ModuleHeaderRole Role); 160 llvm::PointerIntPair<Module *, 3, ModuleHeaderRole> Storage; [all …]
|
/aosp_15_r20/external/deqp/external/openglcts/scripts/ |
H A D | build_caselists.py | 38 class Module: class 44 Module("dEQP-EGL", "EGL"), 45 Module("dEQP-GLES2", "GLES2"), 46 Module("dEQP-GLES3", "GLES3"), 47 Module("dEQP-GLES31", "GLES31"), 48 Module("dEQP-GL45-ES3", "GL45"), 49 Module("dEQP-GL45-ES31","GL45"), 50 Module("KHR-GLES3", "GLES3"), 51 Module("KHR-GLES2", "GLES2"), 52 Module("KHR-GLES31", "GLES31"), [all …]
|
/aosp_15_r20/build/soong/android/ |
H A D | base_module_context.go | 37 EqualModules(m1, m2 Module) bool argument 41 OtherModuleName(m blueprint.Module) string argument 45 OtherModuleDir(m blueprint.Module) string argument 49 OtherModuleErrorf(m blueprint.Module, fmt string, args ...interface{}) argument 54 OtherModuleDependencyTag(m blueprint.Module) blueprint.DependencyTag argument 82 OtherModuleType(m blueprint.Module) string argument 89 otherModuleProvider(m blueprint.Module, provider blueprint.AnyProviderKey) (any, bool) argument 93 OtherModuleIsAutoGenerated(m blueprint.Module) bool argument 111 GetDirectDepsWithTag(tag blueprint.DependencyTag) []Module 116 GetDirectDepWithTag(name string, tag blueprint.DependencyTag) Module [all …]
|
H A D | singleton.go | 28 ModuleName(module blueprint.Module) string argument 29 ModuleDir(module blueprint.Module) string argument 30 ModuleSubDir(module blueprint.Module) string argument 31 ModuleType(module blueprint.Module) string argument 32 BlueprintFile(module blueprint.Module) string argument 36 ModuleVariantsFromName(referer Module, name string) []Module argument 38 otherModuleProvider(module blueprint.Module, provider blueprint.AnyProviderKey) (any, bool) argument 40 ModuleErrorf(module blueprint.Module, format string, args ...interface{}) argument 65 VisitAllModulesBlueprint(visit func(blueprint.Module)) argument 66 VisitAllModules(visit func(Module)) argument [all …]
|
/aosp_15_r20/external/swiftshader/third_party/llvm-16.0/llvm/lib/IR/ |
H A D | Module.cpp | 72 Module::Module(StringRef MID, LLVMContext &C) in Module() function in Module 78 Module::~Module() { in ~Module() 88 Module::createRNG(const StringRef Name) const { in createRNG() 110 GlobalValue *Module::getNamedValue(StringRef Name) const { in getNamedValue() 114 unsigned Module::getNumNamedValues() const { in getNumNamedValues() 120 unsigned Module::getMDKindID(StringRef Name) const { in getMDKindID() 127 void Module::getMDKindNames(SmallVectorImpl<StringRef> &Result) const { in getMDKindNames() 131 void Module::getOperandBundleTags(SmallVectorImpl<StringRef> &Result) const { in getOperandBundleTags() 144 FunctionCallee Module::getOrInsertFunction(StringRef Name, FunctionType *Ty, in getOrInsertFunction() 168 FunctionCallee Module::getOrInsertFunction(StringRef Name, FunctionType *Ty) { in getOrInsertFunction() [all …]
|
/aosp_15_r20/packages/modules/AdServices/adservices/tests/unittest/ui/src/com/android/adservices/service/ui/util/ |
D | EnrollmentDataTest.java | 23 import android.adservices.common.Module; 32 data.putModuleState(Module.MEASUREMENT, AdServicesCommonManager.MODULE_STATE_ENABLED); in moduleStateTest() 34 Module.PROTECTED_AUDIENCE, AdServicesCommonManager.MODULE_STATE_DISABLED); in moduleStateTest() 35 data.putModuleState(Module.TOPICS, AdServicesCommonManager.MODULE_STATE_UNKNOWN); in moduleStateTest() 37 assertThat(data.getModuleState(Module.MEASUREMENT)) in moduleStateTest() 39 assertThat(data.getModuleState(Module.PROTECTED_AUDIENCE)) in moduleStateTest() 41 assertThat(data.getModuleState(Module.TOPICS)) in moduleStateTest() 43 assertThat(data.getModuleState(Module.ADID)) in moduleStateTest() 45 assertThat(data.getModuleState(Module.PROTECTED_APP_SIGNALS)) in moduleStateTest() 47 assertThat(data.getModuleState(Module.ON_DEVICE_PERSONALIZATION)) in moduleStateTest() [all …]
|
/aosp_15_r20/build/blueprint/ |
H A D | singleton_ctx.go | 35 ModuleName(module Module) string argument 38 ModuleDir(module Module) string argument 42 ModuleSubDir(module Module) string argument 45 ModuleType(module Module) string argument 48 BlueprintFile(module Module) string argument 55 ModuleProvider(module Module, provider AnyProviderKey) (any, bool) argument 58 ModuleErrorf(module Module, format string, args ...interface{}) argument 64 OtherModulePropertyErrorf(module Module, property string, format string, args ...interface{}) argument 100 VisitAllModules(visit func(Module)) argument 107 VisitAllModulesIf(pred func(Module) bool, visit func(Module)) argument [all …]
|
/aosp_15_r20/external/pytorch/torch/csrc/api/src/nn/ |
H A D | module.cpp | 37 Module::Module() in Module() function in torch::nn::Module 40 Module::Module(std::string name) : Module() { in Module() function in torch::nn::Module 44 const std::string& Module::name() const noexcept { in name() 69 std::shared_ptr<Module> Module::clone( in clone() 79 void Module::apply(const ModuleApplyFunction& function) { in apply() 82 [&function](const std::string&, const std::shared_ptr<Module>& module) { in apply() 87 void Module::apply(const ConstModuleApplyFunction& function) const { in apply() 90 [&function](const std::string&, const std::shared_ptr<Module>& module) { in apply() 95 void Module::apply( in apply() 101 const std::string& name, const std::shared_ptr<Module>& module) { in apply() [all …]
|
/aosp_15_r20/external/swiftshader/third_party/llvm-10.0/llvm/lib/IR/ |
H A D | Module.cpp | 73 Module::Module(StringRef MID, LLVMContext &C) in Module() function in Module 80 Module::~Module() { in ~Module() 92 std::unique_ptr<RandomNumberGenerator> Module::createRNG(const Pass* P) const { in createRNG() 113 GlobalValue *Module::getNamedValue(StringRef Name) const { in getNamedValue() 119 unsigned Module::getMDKindID(StringRef Name) const { in getMDKindID() 126 void Module::getMDKindNames(SmallVectorImpl<StringRef> &Result) const { in getMDKindNames() 130 void Module::getOperandBundleTags(SmallVectorImpl<StringRef> &Result) const { in getOperandBundleTags() 143 FunctionCallee Module::getOrInsertFunction(StringRef Name, FunctionType *Ty, in getOrInsertFunction() 167 FunctionCallee Module::getOrInsertFunction(StringRef Name, FunctionType *Ty) { in getOrInsertFunction() 174 Function *Module::getFunction(StringRef Name) const { in getFunction() [all …]
|
/aosp_15_r20/build/soong/rust/ |
H A D | image.go | 24 var _ android.ImageInterface = (*Module)(nil) 26 var _ cc.ImageMutatableModule = (*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 { 44 func (mod *Module) VendorRamdiskAvailable() bool { 48 func (mod *Module) AndroidModuleBase() *android.ModuleBase { 52 func (mod *Module) RecoveryAvailable() bool { 56 func (mod *Module) ExtraVariants() []string { [all …]
|
H A D | rust.go | 145 type Module struct { struct 185 func (mod *Module) Header() bool { argument 190 func (mod *Module) SetPreventInstall() { argument 194 func (mod *Module) SetHideFromMake() { argument 198 func (mod *Module) HiddenFromMake() bool { argument 202 func (mod *Module) SanitizePropDefined() bool { argument 208 func (mod *Module) IsPrebuilt() bool { argument 215 func (mod *Module) SelectedStl() string { argument 219 func (mod *Module) NonCcVariants() bool { argument 228 func (mod *Module) Static() bool { argument [all …]
|
/aosp_15_r20/external/clang/include/clang/Lex/ |
H A D | ModuleMap.h | 87 Module *SourceModule; 90 llvm::StringMap<Module *> Modules; 116 llvm::PointerIntPair<Module *, 2, ModuleHeaderRole> Storage; 120 KnownHeader(Module *M, ModuleHeaderRole Role) : Storage(M, Role) { } in KnownHeader() 130 Module *getModule() const { return Storage.getPointer(); } in getModule() 141 bool isAccessibleFrom(Module *M) const { in isAccessibleFrom() 169 llvm::DenseMap<const DirectoryEntry *, Module *> UmbrellaDirs; 210 llvm::DenseMap<const Module *, const FileEntry *> InferredModuleAllowedBy; 212 llvm::DenseMap<const Module *, AdditionalModMapsSet> AdditionalModMaps; 232 Module::ExportDecl [all …]
|
/aosp_15_r20/external/llvm/lib/IR/ |
H A D | Module.cpp | 51 Module::Module(StringRef MID, LLVMContext &C) in Module() function in Module 58 Module::~Module() { in ~Module() 70 RandomNumberGenerator *Module::createRNG(const Pass* P) const { in createRNG() 91 GlobalValue *Module::getNamedValue(StringRef Name) const { in getNamedValue() 97 unsigned Module::getMDKindID(StringRef Name) const { in getMDKindID() 104 void Module::getMDKindNames(SmallVectorImpl<StringRef> &Result) const { in getMDKindNames() 108 void Module::getOperandBundleTags(SmallVectorImpl<StringRef> &Result) const { in getOperandBundleTags() 121 Constant *Module::getOrInsertFunction(StringRef Name, in getOrInsertFunction() 144 Constant *Module::getOrInsertFunction(StringRef Name, in getOrInsertFunction() 154 Constant *Module::getOrInsertFunction(StringRef Name, in getOrInsertFunction() [all …]
|
/aosp_15_r20/external/pytorch/torch/distributed/fsdp/ |
H A D | wrap.py | 44 root_module: nn.Module, argument 45 fn: Callable[[nn.Module], Optional[nn.Module]], argument 55 visited_modules: Set[nn.Module] = {root_module} 58 module: nn.Module, argument 60 parent_module: Optional[nn.Module], argument 68 assert isinstance(parent_module, nn.Module), ( 77 optional_module, nn.Module 85 root_module: nn.Module, argument 86 target_module_to_kwargs: Dict[nn.Module, Dict[str, Any]], argument 88 ) -> Callable[[nn.Module], Optional[nn.Module]]: [all …]
|
/aosp_15_r20/build/soong/cc/ |
H A D | prebuilt_test.go | 119 liba := ctx.ModuleForTests("liba", "android_arm64_armv8-a_shared").Module() 120 libb := ctx.ModuleForTests("libb", "android_arm64_armv8-a_static").Module() 121 libd := ctx.ModuleForTests("libd", "android_arm64_armv8-a_shared").Module() 122 libe := ctx.ModuleForTests("libe", "android_arm64_armv8-a_static").Module() 123 libfStatic := ctx.ModuleForTests("libf", "android_arm64_armv8-a_static").Module() 124 libfShared := ctx.ModuleForTests("libf", "android_arm64_armv8-a_shared").Module() 125 crtx := ctx.ModuleForTests("crtx", "android_arm64_armv8-a").Module() 127 prebuiltLiba := ctx.ModuleForTests("prebuilt_liba", "android_arm64_armv8-a_shared").Module() 128 prebuiltLibb := ctx.ModuleForTests("prebuilt_libb", "android_arm64_armv8-a_static").Module() 129 prebuiltLibd := ctx.ModuleForTests("prebuilt_libd", "android_arm64_armv8-a_shared").Module() [all …]
|
H A D | image.go | 27 var _ android.ImageInterface = (*Module)(nil) 71 func (c *Module) InstallInProduct() bool { 77 func (c *Module) InstallInVendor() bool { 84 func (c *Module) InstallInOdm() bool { 90 func (c *Module) HasVendorVariant() bool { 96 func (c *Module) VendorVariantToOdm() bool { 101 func (c *Module) HasProductVariant() bool { 106 func (c *Module) HasNonSystemVariants() bool { 111 func (c *Module) InProduct() bool { 116 func (c *Module) InVendor() bool { [all …]
|
/aosp_15_r20/external/pytorch/torch/csrc/jit/api/ |
H A D | module.cpp | 125 Module::Module(c10::QualifiedName class_name) in Module() function in torch::jit::Module 130 Module::Module( in Module() function in torch::jit::Module 137 Module::Module( in Module() function in torch::jit::Module 156 void Module::to(at::Device device, at::ScalarType dtype, bool non_blocking) { in to() 160 void Module::to(at::ScalarType dtype, bool non_blocking) { in to() 164 void Module::to(at::Device device, bool non_blocking) { in to() 182 void Module::to_impl( in to_impl() 197 Module Method::owner() const { in owner() 198 return Module(owner_); in owner() 240 IValue Module::operator()(std::vector<IValue> inputs) { in operator ()() [all …]
|