/external/guice/extensions/spring/test/com/google/inject/spring/ |
D | SpringIntegrationTest.java | 38 RootBeanDefinition singleton = new RootBeanDefinition(Singleton.class); in testBindFromSpring() 50 bind(Singleton.class).toProvider(fromSpring(Singleton.class, "singleton")); in testBindFromSpring() 55 assertNotNull(injector.getInstance(Singleton.class)); in testBindFromSpring() 56 assertSame(injector.getInstance(Singleton.class), injector.getInstance(Singleton.class)); in testBindFromSpring() 65 RootBeanDefinition singleton = new RootBeanDefinition(Singleton.class); in testBindAll() 80 Key<Singleton> singletonKey = Key.get(Singleton.class, Names.named("singleton")); in testBindAll() 90 static class Singleton {} class in SpringIntegrationTest
|
/external/clang/test/SemaObjC/ |
D | property-dot-receiver.m | 6 @interface Singleton { interface 8 + (Singleton*) instance; 11 @implementation Singleton implementation 15 + (Singleton*) instance { return 0; } 19 [Singleton.instance someSelector]; // clang issues error here
|
/external/llvm-project/clang/test/SemaObjC/ |
D | property-dot-receiver.m | 6 @interface Singleton { interface 8 + (Singleton*) instance; 11 @implementation Singleton implementation 15 + (Singleton*) instance { return 0; } 19 [Singleton.instance someSelector]; // clang issues error here
|
/external/catch2/include/internal/ |
D | catch_singletons.hpp | 22 class Singleton : SingletonImplT, public ISingleton { class 24 static auto getInternal() -> Singleton* { in getInternal() 25 static Singleton* s_instance = nullptr; in getInternal() 27 s_instance = new Singleton; in getInternal()
|
/external/guice/extensions/mini/test/com/google/inject/mini/ |
D | MiniGuiceTest.java | 24 import javax.inject.Singleton; 64 @Singleton 70 @Singleton 120 @Singleton in testSingletons() 129 @Singleton 190 @Singleton in testSingletonBindingAnnotationAndProvider() 205 @Singleton 220 @Singleton in testSingletonInGraph() 298 @Singleton in testSingletonsAreEager() 309 @Singleton
|
/external/guice/core/test/com/google/inject/ |
D | ScopesTest.java | 165 A.class.getName() + " is annotated with " + Singleton.class.getName(), in testScopingAnnotationsOnAbstractTypeViaBind() 171 @Singleton 180 @Singleton 202 D.class.getName() + " is annotated with " + Singleton.class.getName(), in testScopingAnnotationsOnAbstractTypeViaImplementedBy() 208 @Singleton 221 E.class.getName() + " is annotated with " + Singleton.class.getName(), in testScopingAnnotationsOnAbstractTypeViaProvidedBy() 227 @Singleton 459 @Singleton in testNullScopedAsASingleton() 493 @Singleton 516 @Singleton [all …]
|
D | CircularDependencyTest.java | 63 @Singleton in testCircularlyDependentConstructorsWithProviderMethods() 92 .in(Singleton.class); in testCircularlyDependentConstructorsWithProviderInstances() 114 bind(A.class).toProvider(AP.class).in(Singleton.class); in testCircularlyDependentConstructorsWithProviderKeys() 144 @Singleton 176 @Singleton 477 @Singleton 517 @Singleton 541 @Singleton 576 @Singleton in testCircularDependenciesDetectedEarlyWhenDependenciesHaveDifferentTypes()
|
/external/guice/core/src/com/google/inject/internal/ |
D | Scoping.java | 24 import com.google.inject.Singleton; 97 return visitor.visitScopeAnnotation(Singleton.class); 102 return Singleton.class; 107 return Singleton.class.getName(); 112 scopedBindingBuilder.in(Singleton.class); 163 if (scopingAnnotation == Singleton.class || scopingAnnotation == javax.inject.Singleton.class) { in forAnnotation()
|
/external/dagger2/javatests/dagger/functional/subcomponent/ |
D | ParentModule.java | 23 import javax.inject.Singleton; 39 @Singleton 49 @Singleton
|
D | SingletonType.java | 20 import javax.inject.Singleton; 22 @Singleton
|
D | ParentOfGenericComponent.java | 20 import javax.inject.Singleton; 23 @Singleton
|
/external/libchrome/base/memory/ |
D | singleton_unittest.cc | 30 return Singleton<IntSingleton>::get(); in GetInstance() 41 return Singleton<Init5Singleton, Trait>::get(); in GetInstance() 85 return Singleton<CallbackSingletonWithNoLeakTrait, Trait>::get(); in GetInstance() 98 return Singleton<CallbackSingletonWithLeakTrait, Trait>::get(); in GetInstance() 109 return Singleton<CallbackSingletonWithStaticTrait, Trait>::get(); in GetInstance() 129 return Singleton<AlignedTestSingleton, in GetInstance()
|
/external/guice/extensions/grapher/test/com/google/inject/grapher/demo/ |
D | BackToTheFutureModule.java | 20 import com.google.inject.Singleton; 41 bind(Person.class).annotatedWith(Driver.class).to(MartyMcFly.class).in(Singleton.class); in configure() 42 bind(Person.class).annotatedWith(Inventor.class).to(DocBrown.class).in(Singleton.class); in configure()
|
/external/dagger2/javatests/dagger/functional/ |
D | LazyMaps.java | 28 import javax.inject.Singleton; 40 @Singleton 65 @Singleton
|
D | ScopedSimpleGeneric.java | 20 import javax.inject.Singleton; 29 @Singleton
|
D | ScopedGeneric.java | 20 import javax.inject.Singleton; 22 @Singleton
|
/external/tensorflow/tensorflow/compiler/xla/client/ |
D | client_library.cc | 74 /* static */ ClientLibrary& ClientLibrary::Singleton() { in Singleton() function in xla::ClientLibrary 94 ClientLibrary& client_library = Singleton(); in GetOrCreateLocalClient() 131 ClientLibrary& client_library = Singleton(); in GetXlaService() 140 ClientLibrary& client_library = Singleton(); in GetOrCreateCompileOnlyClient() 165 ClientLibrary& client_library = Singleton(); in DestroyLocalInstances()
|
/external/llvm-project/clang/include/clang/AST/ |
D | DeclContextInternals.h | 108 if (NamedDecl *Singleton = getAsDecl()) { in remove() local 109 assert(Singleton == D && "list is different singleton"); in remove() 110 (void)Singleton; in remove() 128 } else if (NamedDecl *Singleton = getAsDecl()) { in removeExternalDecls() local 129 if (Singleton->isFromASTFile()) in removeExternalDecls()
|
/external/clang/include/clang/AST/ |
D | DeclContextInternals.h | 107 if (NamedDecl *Singleton = getAsDecl()) { in remove() local 108 assert(Singleton == D && "list is different singleton"); in remove() 109 (void)Singleton; in remove() 128 } else if (NamedDecl *Singleton = getAsDecl()) { in removeExternalDecls() local 129 if (Singleton->isFromASTFile()) in removeExternalDecls()
|
/external/dagger2/java/dagger/hilt/components/ |
D | SingletonComponent.java | 20 import javax.inject.Singleton; 23 @Singleton
|
/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
D | ServletDispatchIntegrationTest.java | 28 import com.google.inject.Singleton; 159 @Singleton 178 @Singleton 197 @Singleton 218 @Singleton 229 @Singleton
|
D | DummyServlet.java | 18 import com.google.inject.Singleton; 26 @Singleton
|
/external/dagger2/javatests/dagger/functional/binds/subpackage/ |
D | NotExposed.java | 20 import javax.inject.Singleton; 22 @Singleton // force a Provider, which will not have a type parameter since this is not public
|
/external/dagger2/javatests/dagger/functional/builder/ |
D | ParentOfGenericComponent.java | 20 import javax.inject.Singleton; 23 @Singleton
|
/external/dagger2/examples/maven/coffee/src/main/java/example/dagger/ |
D | HeaterModule.java | 21 import javax.inject.Singleton; 26 @Singleton
|