Home
last modified time | relevance | path

Searched refs:isSingleton (Results 1 – 15 of 15) sorted by relevance

/external/guice/core/test/com/google/inject/
DScopesTest.java657 assertFalse(Scopes.isSingleton(map.get(a))); // linked bindings are not followed by modules
658 assertFalse(Scopes.isSingleton(map.get(b)));
659 assertTrue(Scopes.isSingleton(map.get(c)));
660 assertTrue(Scopes.isSingleton(map.get(d)));
661 assertTrue(Scopes.isSingleton(map.get(e)));
662 assertTrue(Scopes.isSingleton(map.get(f)));
663 assertTrue(Scopes.isSingleton(map.get(g)));
664 assertFalse(Scopes.isSingleton(map.get(h))); // annotated classes are not followed by modules
665 assertTrue(Scopes.isSingleton(map.get(i)));
668 assertTrue(Scopes.isSingleton(injector.getBinding(a)));
[all …]
DProvisionListenerTest.java450 return Scopes.isSingleton(t); in testSingletonMatcher()
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/
DScope.java83 public boolean isSingleton() { in isSingleton() method in Scope
DBindingGraphValidator.java573 && scope.isSingleton()) { in validateDependencyScopes()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DSparseMultiSet.h152 bool isSingleton(const SMSNode &N) const { in isSingleton() function
491 if (isSingleton(N)) { in unlink()
DImmutableSet.h1073 bool isSingleton() const { return getHeight() == 1; }
1192 bool isSingleton() const { return getHeight() == 1; }
/external/llvm/include/llvm/ADT/
DSparseMultiSet.h149 bool isSingleton(const SMSNode &N) const { in isSingleton() function
486 if (isSingleton(N)) { in unlink()
DImmutableSet.h1070 bool isSingleton() const { return getHeight() == 1; }
1186 bool isSingleton() const { return getHeight() == 1; }
/external/guice/extensions/spring/src/com/google/inject/spring/
DSpringIntegration.java100 singleton = beanFactory.isSingleton(name); in initialize()
/external/guice/core/src/com/google/inject/
DScopes.java93 public static boolean isSingleton(Binding<?> binding) { in isSingleton() method in Scopes
/external/guice/extensions/servlet/src/com/google/inject/servlet/
DFilterDefinition.java93 if (!Scopes.isSingleton(injector.getBinding(filterKey))) { in init()
DServletDefinition.java103 if (!Scopes.isSingleton(injector.getBinding(servletKey))) { in init()
/external/guice/core/test/com/googlecode/guice/
DJsr330Test.java200 assertTrue(Scopes.isSingleton(injector.getBinding(J.class))); in testScopesIsSingleton()
201 assertTrue(Scopes.isSingleton(injector.getBinding(K.class))); in testScopesIsSingleton()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DImmutableSet.h1038 bool isSingleton() const { return getHeight() == 1; }
1170 bool isSingleton() const { return getHeight() == 1; }
/external/clang/lib/StaticAnalyzer/Core/
DRangeConstraintManager.cpp110 return ranges.isSingleton() ? ranges.begin()->getConcreteValue() : nullptr; in getConcreteValue()