/external/guice/extensions/servlet/test/com/google/inject/servlet/ |
D | ServletScopesTest.java | 102 assertTrue(ServletScopes.isRequestScoped(injector.getBinding(a))); in testIsRequestScopedPositive() 103 assertTrue(ServletScopes.isRequestScoped(injector.getBinding(b))); in testIsRequestScopedPositive() 104 assertTrue(ServletScopes.isRequestScoped(injector.getBinding(c))); in testIsRequestScopedPositive() 105 assertTrue(ServletScopes.isRequestScoped(injector.getBinding(d))); in testIsRequestScopedPositive() 106 assertTrue(ServletScopes.isRequestScoped(injector.getBinding(e))); in testIsRequestScopedPositive() 107 assertTrue(ServletScopes.isRequestScoped(injector.getBinding(f))); in testIsRequestScopedPositive() 108 assertTrue(ServletScopes.isRequestScoped(injector.getBinding(g))); in testIsRequestScopedPositive() 167 assertFalse(ServletScopes.isRequestScoped(injector.getBinding(a))); in testIsRequestScopedNegative() 168 assertFalse(ServletScopes.isRequestScoped(injector.getBinding(b))); in testIsRequestScopedNegative() 169 assertFalse(ServletScopes.isRequestScoped(injector.getBinding(c))); in testIsRequestScopedNegative() [all …]
|
D | FilterDefinitionTest.java | 48 expect(injector.getBinding(Key.get(Filter.class))) in testFilterInitAndConfig() 100 expect(injector.getBinding(Key.get(Filter.class))) in testFilterCreateDispatchDestroy() 161 expect(injector.getBinding(Key.get(Filter.class))) in testFilterCreateDispatchDestroySupressChain() 223 expect(injector.getBinding(Key.get(Filter.class))) in testGetFilterIfMatching() 258 expect(injector.getBinding(Key.get(Filter.class))) in testGetFilterIfMatchingNotMatching()
|
D | ServletDefinitionPathsTest.java | 74 expect(injector.getBinding(Key.get(HttpServlet.class))) in servletPath() 153 expect(injector.getBinding(Key.get(HttpServlet.class))) in pathInfoWithServletStyleMatching() 253 expect(injector.getBinding(Key.get(HttpServlet.class))) in pathInfoWithRegexMatching()
|
D | ServletPipelineRequestDispatcherTest.java | 95 expect(injector.getBinding(Key.get(HttpServlet.class))) in testIncludeManagedServlet() 165 expect(injector.getBinding(Key.get(HttpServlet.class))) in testForwardToManagedServlet() 236 expect(injector.getBinding(Key.get(HttpServlet.class))) in forwardToManagedServletFailureOnCommittedBuffer()
|
/external/guice/extensions/grapher/test/com/google/inject/grapher/ |
D | TransitiveDependencyVisitorTest.java | 60 Binding<?> binding = getBinding(Key.get(ConstructedClass.class)); in testVisitConstructor() 68 Binding<?> binding = getBinding(Key.get(Integer.class, Names.named("number")), in testVisitConvertedConstant() 77 Binding<?> binding = getBinding(Key.get(ConstructedClass.class), new InstanceModule()); in testVisitInstance() 86 Binding<?> binding = getBinding(Key.get(Interface.class), new HasDependenciesModule()); in testVisitInstance_instanceHasDependencies() 96 Binding<?> binding = getBinding(Key.get(Interface.class), new LinkedKeyModule()); in testVisitLinkedKey() 104 Binding<?> binding = getBinding(Key.get(new TypeLiteral<Provider<ConstructedClass>>() {})); in testVisitProviderBinding() 111 Binding<?> binding = getBinding(Key.get(ConstructedClass.class), in testVisitProviderInstance() 121 Binding<?> binding = getBinding(Key.get(ConstructedClass.class), new ProviderKeyModule()); in testVisitProviderKey() 128 private Binding<?> getBinding(Key<?> key, Module... modules) { in getBinding() method in TransitiveDependencyVisitorTest 129 return Guice.createInjector(modules).getBinding(key); in getBinding()
|
/external/guice/core/test/com/google/inject/ |
D | ImplicitBindingTest.java | 131 Binding v1 = injector.getBinding(Valid.class); in testCircularJitBindingsLeaveNoResidue() 132 Binding v2 = injector.getBinding(Valid2.class); in testCircularJitBindingsLeaveNoResidue() 133 Binding jv1 = injector.getBinding(JitValid.class); in testCircularJitBindingsLeaveNoResidue() 134 Binding jv2 = injector.getBinding(JitValid2.class); in testCircularJitBindingsLeaveNoResidue() 149 assertSame(v1, injector.getBinding(Valid.class)); in testCircularJitBindingsLeaveNoResidue() 150 assertSame(v2, injector.getBinding(Valid2.class)); in testCircularJitBindingsLeaveNoResidue() 153 assertSame(jv1, injector.getBinding(JitValid.class)); in testCircularJitBindingsLeaveNoResidue() 154 assertSame(jv2, injector.getBinding(JitValid2.class)); in testCircularJitBindingsLeaveNoResidue() 160 injector.getBinding(clazz); in assertFailure() 325 assertNotNull(injector.getBinding(Key.get(E.class))); in testRecursiveJitBindingsCleanupCorrectly()
|
D | ScopesTest.java | 591 assertTrue(Scopes.isSingleton(injector.getBinding(a))); 592 assertTrue(Scopes.isSingleton(injector.getBinding(b))); 593 assertTrue(Scopes.isSingleton(injector.getBinding(c))); 594 assertTrue(Scopes.isSingleton(injector.getBinding(d))); 595 assertTrue(Scopes.isSingleton(injector.getBinding(e))); 596 assertTrue(Scopes.isSingleton(injector.getBinding(f))); 597 assertTrue(Scopes.isSingleton(injector.getBinding(g))); 598 assertTrue(Scopes.isSingleton(injector.getBinding(h))); 599 assertTrue(Scopes.isSingleton(injector.getBinding(i))); 641 assertFalse(Scopes.isSingleton(injector.getBinding(a))); [all …]
|
D | ReflectionTest.java | 44 Binding<Foo> fooBinding = injector.getBinding(Key.get(Foo.class)); in testNormalBinding() 58 Binding<?> i = injector.getBinding(Key.get(int.class, I.class)); in testConstantBinding() 75 Binding<Foo> fooBinding = injector.getBinding(Key.get(Foo.class)); in testLinkedBinding()
|
D | JitBindingsTest.java | 605 injector.getBinding(classes[i]).getProvider().get(); in ensureWorks() 610 private void ensureFails(Injector injector, GetBindingCheck getBinding, Class<?>... classes) { in ensureFails() argument 628 if (getBinding == GetBindingCheck.ALLOW_BINDING in ensureFails() 629 || getBinding == GetBindingCheck.ALLOW_BINDING_PROVIDER) { in ensureFails() 630 Binding<?> binding = injector.getBinding(classes[i]); in ensureFails() 633 if (getBinding != GetBindingCheck.ALLOW_BINDING_PROVIDER) { in ensureFails() 637 if (getBinding == GetBindingCheck.ALLOW_BINDING_PROVIDER) { in ensureFails() 645 injector.getBinding(classes[i]); in ensureFails() 674 injector.getBinding(classes[i]); in ensureInChild()
|
D | ProvisionListenerTest.java | 390 provision.getBinding().getProvider().get(); // AGH! in testCallingBindingDotGetProviderDotGet() 472 keys.add(provision.getBinding().getKey()); in onProvision() 478 if (provision.getBinding() instanceof InstanceBinding) { in onProvision() 479 Class<? super T> expected = provision.getBinding().getKey().getRawType(); in onProvision() 483 assertEquals(provision.getBinding().getKey().getRawType(), provisioned.getClass()); in onProvision() 542 provisionList.add(provision.getBinding().getKey().getRawType()); in onProvision() 568 totalList.add(provision.getBinding().getKey().getRawType()); 672 assertEquals(notifyType, provision.getBinding().getKey().getRawType());
|
D | LoggerInjectionTest.java | 44 assertNull(injector.getBinding(Logger.class).getProvider().get().getName()); in testLoggerWithoutMember()
|
/external/guice/core/src/com/google/inject/internal/ |
D | BindingBuilder.java | 71 BindingImpl<T> base = getBinding(); in to() 94 BindingImpl<T> base = getBinding(); in toInstance() 116 BindingImpl<T> base = getBinding(); in toProvider() 137 BindingImpl<T> base = getBinding(); in toProvider() 153 BindingImpl<T> base = getBinding(); in toConstructor() 175 return "BindingBuilder<" + getBinding().getKey().getTypeLiteral() + ">"; in toString()
|
D | AbstractBindingBuilder.java | 62 protected BindingImpl<T> getBinding() { in getBinding() method in AbstractBindingBuilder 91 setBinding(getBinding().withScoping(Scoping.forAnnotation(scopeAnnotation))); in in() 97 setBinding(getBinding().withScoping(Scoping.forInstance(scope))); in in() 102 setBinding(getBinding().withScoping(Scoping.EAGER_SINGLETON)); in asEagerSingleton()
|
D | InternalInjectorCreator.java | 232 return isEagerSingleton(injector, injector.getBinding(linkedBinding), stage); in isEagerSingleton() 255 public <T> Binding<T> getBinding(Key<T> key) { in getBinding() method in InternalInjectorCreator.ToolStageInjector 256 return this.delegateInjector.getBinding(key); in getBinding() 258 public <T> Binding<T> getBinding(Class<T> type) { in getBinding() method in InternalInjectorCreator.ToolStageInjector 259 return this.delegateInjector.getBinding(type); in getBinding()
|
/external/guice/core/src/com/google/inject/ |
D | Scopes.java | 101 binding = injector.getBinding(linkedBinding.getLinkedKey()); in isSingleton() 108 binding = injector.getBinding(exposedBinding.getKey()); in isSingleton() 158 binding = injector.getBinding(linkedBinding.getLinkedKey()); in isScoped() 165 binding = injector.getBinding(exposedBinding.getKey()); in isScoped()
|
D | Injector.java | 132 <T> Binding<T> getBinding(Key<T> key); in getBinding() method 144 <T> Binding<T> getBinding(Class<T> type); in getBinding() method
|
/external/guice/core/test/com/google/inject/spi/ |
D | HasDependenciesTest.java | 47 InstanceBinding<?> binding = (InstanceBinding<?>) injector.getBinding(A.class); in testInstanceWithDependencies() 59 InstanceBinding<?> binding = (InstanceBinding<?>) injector.getBinding(A.class); in testInstanceWithoutDependencies() 71 ProviderInstanceBinding<?> binding = (ProviderInstanceBinding<?>) injector.getBinding(A.class); in testProvider()
|
D | SpiBindingsTest.java | 251 Binding<Integer> binding = injector.getBinding(Key.get(Integer.class, Names.named("one"))); in testConvertedConstantBinding() 273 Binding<Provider<String>> binding = injector.getBinding(providerOfStringKey); in testProviderBinding() 385 Binding<Provider<String>> providerBinding = injector.getBinding(providerOfStringKey); in testExtensionSpi() 397 Binding<String> binding = injector.getBinding(String.class); in testExtensionSpi()
|
D | ModuleAnnotatedMethodScannerTest.java | 69 Binding<String> fooBinding = injector.getBinding(Key.get(String.class, named("foo-munged"))); in testScanning() 70 Binding<String> foo2Binding = injector.getBinding(Key.get(String.class, named("foo2-munged"))); in testScanning() 168 Binding<?> fooBinding = injector.getBinding(Key.get(clazz, named(originalName + "-munged")));
|
/external/dagger2/compiler/src/main/java/dagger/internal/codegen/ |
D | InjectBindingRegistry.java | 84 B getBinding(Key key) { in getBinding() method in InjectBindingRegistry.BindingsCollection 203 ProvisionBinding binding = provisionBindings.getBinding(key); in getOrFindProvisionBinding() 236 MembersInjectionBinding binding = membersInjectionBindings.getBinding(key); in getOrFindMembersInjectionBinding()
|
/external/guice/extensions/throwingproviders/test/com/google/inject/throwingproviders/ |
D | CheckedProviderTest.java | 562 (HasDependencies)bindInjector.getBinding(Key.get(remoteProviderOfFoo)); in testDependencies_Bind() 564 (HasDependencies)bindInjector.getBinding( in testDependencies_Bind() 570 hasDependencies = (HasDependencies)bindInjector.getBinding(DependentRemoteProvider.class); in testDependencies_Bind() 596 (HasDependencies) providesInjector.getBinding(Key.get(remoteProviderOfFoo)); in testDependencies_Provides() 598 hasDependencies = (HasDependencies) providesInjector.getBinding( in testDependencies_Provides() 601 hasDependencies = (HasDependencies)providesInjector.getBinding( in testDependencies_Provides() 626 HasDependencies hasDependencies = (HasDependencies) cxtorInjector.getBinding(key); in testDependencies_Cxtor() 631 hasDependencies = (HasDependencies) cxtorInjector.getBinding(key); in testDependencies_Cxtor() 636 hasDependencies = (HasDependencies) cxtorInjector.getBinding(key); in testDependencies_Cxtor() 641 hasDependencies = (HasDependencies) cxtorInjector.getBinding(key); in testDependencies_Cxtor()
|
D | ThrowingProviderTest.java | 440 (HasDependencies)bindInjector.getBinding(Key.get(remoteProviderOfString)); in testDependencies_Bind() 442 (HasDependencies)bindInjector.getBinding( in testDependencies_Bind() 448 hasDependencies = (HasDependencies)bindInjector.getBinding(DependentRemoteProvider.class); in testDependencies_Bind() 478 (HasDependencies)providesInjector.getBinding(Key.get(remoteProviderOfString)); in testDependencies_Provides() 481 (HasDependencies)providesInjector.getBinding( in testDependencies_Provides() 484 hasDependencies = (HasDependencies)providesInjector.getBinding( in testDependencies_Provides()
|
/external/guice/core/src/com/google/inject/spi/ |
D | ProvisionListener.java | 65 public abstract Binding<T> getBinding(); in getBinding() method in ProvisionListener.ProvisionInvocation
|
/external/llvm/include/llvm/MC/ |
D | MCSymbolELF.h | 37 unsigned getBinding() const;
|
/external/llvm/include/llvm/Support/ |
D | ELF.h | 805 unsigned char getBinding() const { return st_info >> 4; } in getBinding() function 808 void setType(unsigned char t) { setBindingAndType(getBinding(), t); } in setType() 825 unsigned char getBinding() const { return st_info >> 4; } in getBinding() function 828 void setType(unsigned char t) { setBindingAndType(getBinding(), t); } in setType()
|