Home
last modified time | relevance | path

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

/external/guice/core/test/com/google/inject/
DScopesTest.java580 assertFalse(Scopes.isSingleton(map.get(a))); // linked bindings are not followed by modules
581 assertFalse(Scopes.isSingleton(map.get(b)));
582 assertTrue(Scopes.isSingleton(map.get(c)));
583 assertTrue(Scopes.isSingleton(map.get(d)));
584 assertTrue(Scopes.isSingleton(map.get(e)));
585 assertTrue(Scopes.isSingleton(map.get(f)));
586 assertTrue(Scopes.isSingleton(map.get(g)));
587 assertFalse(Scopes.isSingleton(map.get(h))); // annotated classes are not followed by modules
588 assertTrue(Scopes.isSingleton(map.get(i)));
591 assertTrue(Scopes.isSingleton(injector.getBinding(a)));
[all …]
DProvisionListenerTest.java369 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/guice/core/src/com/google/inject/
DScopes.java90 public static boolean isSingleton(Binding<?> binding) { in isSingleton() method in Scopes
/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.java107 singleton = beanFactory.isSingleton(name); in initialize()
/external/guice/extensions/servlet/src/com/google/inject/servlet/
DFilterDefinition.java97 if (!Scopes.isSingleton(injector.getBinding(filterKey))) { in init()
DServletDefinition.java107 if (!Scopes.isSingleton(injector.getBinding(servletKey))) { in init()
/external/guice/core/test/com/googlecode/guice/
DJsr330Test.java181 assertTrue(Scopes.isSingleton(injector.getBinding(J.class))); in testScopesIsSingleton()
182 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()