Home
last modified time | relevance | path

Searched refs:ModuleKind (Results 1 – 25 of 28) sorted by relevance

12

/external/dagger2/java/dagger/internal/codegen/binding/
DModuleKind.java38 public enum ModuleKind { enum
46 public static ImmutableSet<Class<? extends Annotation>> annotationsFor(Set<ModuleKind> kinds) { in annotationsFor()
47 return kinds.stream().map(ModuleKind::annotation).collect(toImmutableSet()); in annotationsFor()
57 public static Optional<ModuleKind> forAnnotatedElement(TypeElement element) { in forAnnotatedElement()
58 Set<ModuleKind> kinds = EnumSet.noneOf(ModuleKind.class); in forAnnotatedElement()
59 for (ModuleKind kind : values()) { in forAnnotatedElement()
84 ModuleKind(Class<? extends Annotation> moduleAnnotation) { in ModuleKind() method in ModuleKind
106 public ImmutableSet<ModuleKind> legalIncludedModuleKinds() { in legalIncludedModuleKinds()
DComponentKind.java134 public ImmutableSet<ModuleKind> legalModuleKinds() { in legalModuleKinds()
136 ? immutableEnumSet(allOf(ModuleKind.class)) in legalModuleKinds()
137 : immutableEnumSet(ModuleKind.MODULE); in legalModuleKinds()
DModuleDescriptor.java88 public abstract ModuleKind kind(); in kind()
181 ModuleKind.forAnnotatedElement(moduleElement).get()); in createUncached()
/external/rust/crates/bindgen/src/ir/
Dmodule.rs13 pub enum ModuleKind { enum
26 kind: ModuleKind,
33 pub fn new(name: Option<String>, kind: ModuleKind) -> Self { in new()
58 self.kind == ModuleKind::Inline in is_inline()
Dcontext.rs18 use super::module::{Module, ModuleKind};
1399 let module = Module::new(Some("root".into()), ModuleKind::Normal); in build_root_module()
2079 ) -> (Option<String>, ModuleKind) { in tokenize_namespace() argument
2094 let mut kind = ModuleKind::Normal; in tokenize_namespace()
2100 assert!(kind != ModuleKind::Inline); in tokenize_namespace()
2101 kind = ModuleKind::Inline; in tokenize_namespace()
/external/dagger2/java/dagger/internal/codegen/writing/
DModuleProxies.java34 import dagger.internal.codegen.binding.ModuleKind;
92 ModuleKind.checkIsModule(moduleElement, metadataUtil); in write()
113 ModuleKind.checkIsModule(moduleElement, metadataUtil); in constructorProxyTypeName()
126 ModuleKind.checkIsModule(moduleElement, metadataUtil); in nonPublicNullaryConstructor()
145 ModuleKind.checkIsModule(moduleElement, metadataUtil); in newModuleInstance()
/external/clang/include/clang/Serialization/
DModule.h46 enum ModuleKind { enum
102 ModuleFile(ModuleKind Kind, unsigned Generation);
111 ModuleKind Kind;
DModuleManager.h214 AddModuleResult addModule(StringRef FileName, ModuleKind Type,
DASTReader.h186 serialization::ModuleKind Kind) {} in visitModuleFile()
254 serialization::ModuleKind Kind) override;
358 typedef serialization::ModuleKind ModuleKind; typedef
1124 ASTReadResult ReadASTCore(StringRef FileName, ModuleKind Type,
1369 ASTReadResult ReadAST(StringRef FileName, ModuleKind Type,
/external/llvm-project/clang/include/clang/Serialization/
DModuleFile.h41 enum ModuleKind { enum
112 ModuleFile(ModuleKind Kind, unsigned Generation) in ModuleFile()
122 ModuleKind Kind;
DASTReader.h194 serialization::ModuleKind Kind) {} in visitModuleFile()
265 serialization::ModuleKind Kind) override;
392 using ModuleKind = serialization::ModuleKind; variable
1288 ASTReadResult ReadASTCore(StringRef FileName, ModuleKind Type,
1556 ASTReadResult ReadAST(StringRef FileName, ModuleKind Type,
DModuleManager.h248 AddModuleResult addModule(StringRef FileName, ModuleKind Type,
/external/dagger2/java/dagger/internal/codegen/validation/
DModuleValidator.java64 import dagger.internal.codegen.binding.ModuleKind;
183 ModuleKind moduleKind = ModuleKind.forAnnotatedElement(module).get(); in validateUncached()
257 ModuleKind moduleKind, in validateReferencedSubcomponents()
385 ModuleKind moduleKind, in validateReferencedModules()
413 ImmutableSet<ModuleKind> validModuleKinds, in validateReferencedModules()
417 validModuleKinds.stream().map(ModuleKind::annotation).collect(toImmutableSet()); in validateReferencedModules()
542 ModuleKind moduleKind, in validateModuleVisibility()
611 TypeElement module, ModuleKind moduleKind, ValidationReport.Builder<TypeElement> report) { in validateNoScopeAnnotationsOnModuleElement()
DComponentHierarchyValidator.java43 import dagger.internal.codegen.binding.ModuleKind;
180 .filter(module -> module.kind().equals(ModuleKind.PRODUCER_MODULE)) in validateProductionModuleUniqueness()
DComponentValidator.java67 import dagger.internal.codegen.binding.ModuleKind;
346 for (ModuleKind moduleKind : subcomponentKind.legalModuleKinds()) { in validateSubcomponentFactoryMethod()
/external/clang/lib/Frontend/
DDependencyFile.cpp101 serialization::ModuleKind Kind) override { in visitModuleFile()
224 serialization::ModuleKind Kind) override;
473 serialization::ModuleKind Kind) { in visitModuleFile()
/external/llvm-project/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/
DRenderScriptRuntime.h300 enum ModuleKind { enum
335 static ModuleKind GetModuleKind(const lldb::ModuleSP &module_sp);
437 void LoadRuntimeHooks(lldb::ModuleSP module, ModuleKind kind);
465 ModuleKind kind;
/external/clang/lib/Serialization/
DModule.cpp23 ModuleFile::ModuleFile(ModuleKind Kind, unsigned Generation) in ModuleFile()
DModuleManager.cpp57 ModuleManager::addModule(StringRef FileName, ModuleKind Type, in addModule()
DASTReader.cpp144 ModuleKind Kind) { in visitModuleFile()
2345 ModuleKind ImportedKind = (ModuleKind)Record[Idx++]; in ReadControlBlock()
3475 ModuleKind Type, in ReadAST()
3706 static unsigned moduleKindForDiagnostic(ModuleKind Kind) { in moduleKindForDiagnostic()
3722 ModuleKind Type, in ReadASTCore()
/external/llvm-project/clang/include/clang/Basic/
DModule.h104 enum ModuleKind { enum
120 ModuleKind Kind = ModuleMapModule;
/external/llvm-project/clang/lib/Serialization/
DModuleManager.cpp103 ModuleManager::addModule(StringRef FileName, ModuleKind Type, in addModule()
149 auto implicitModuleNamesMatch = [](ModuleKind Kind, const ModuleFile *MF, in addModule()
DASTReader.cpp231 ModuleKind Kind) { in visitModuleFile()
2271 static unsigned moduleKindForDiagnostic(ModuleKind Kind);
2767 ModuleKind ImportedKind = (ModuleKind)Record[Idx++]; in ReadControlBlock()
3829 ModuleKind Kind = static_cast<ModuleKind>( in ReadModuleOffsetMap()
4186 ModuleKind Type, in ReadAST()
4449 static unsigned moduleKindForDiagnostic(ModuleKind Kind) { in moduleKindForDiagnostic()
4466 ModuleKind Type, in ReadASTCore()
5483 Module::ModuleKind Kind = (Module::ModuleKind)Record[Idx++]; in ReadSubmoduleBlock()
/external/llvm-project/clang/lib/Frontend/
DDependencyFile.cpp118 serialization::ModuleKind Kind) override { in visitModuleFile()
/external/llvm-project/clang/lib/Frontend/Rewrite/
DFrontendActions.cpp214 serialization::ModuleKind Kind) override { in visitModuleFile()

12