/external/guice/core/test/com/google/inject/name/ |
D | NamedEquivalanceTest.java | 55 assertEquals(keyForAnnotationType(com.google.inject.name.Named.class), in testKeysCreatedWithDifferentTypesAreEqual() 56 keyForAnnotationType(javax.inject.Named.class)); in testKeysCreatedWithDifferentTypesAreEqual() 164 @SuppressWarnings("unused") @Provides @javax.inject.Named("foo") String provideFoo() { 173 @SuppressWarnings("unused") @Provides @Named("foo") String provideFoo() { 180 @Inject @Named("foo") String foo; 184 @Inject @javax.inject.Named("foo") String foo; 187 private static class JsrNamed implements javax.inject.Named, Serializable { 204 if (!(o instanceof javax.inject.Named)) { 208 javax.inject.Named other = (javax.inject.Named) o; 213 return "@" + javax.inject.Named.class.getName() + "(value=" + value + ")"; [all …]
|
D | NamesTest.java | 40 @Named("foo") private String foo; 41 private Named namedFoo; 45 namedFoo = getClass().getDeclaredField("foo").getAnnotation(Named.class); in setUp() 49 Named actual = Names.named("foo"); in testConsistentEqualsAndHashcode()
|
/external/guice/core/test/com/google/inject/ |
D | PrivateModuleTest.java | 25 import com.google.inject.name.Named; 137 @Provides @Named("a") String providePublicA() { in testPrivateModulesAndProvidesMethods() 141 @Provides @Named("b") String providePrivateB() { in testPrivateModulesAndProvidesMethods() 149 @Provides @Named("c") String providePrivateC() { in testPrivateModulesAndProvidesMethods() 153 @Provides @Exposed @Named("d") String providePublicD() { in testPrivateModulesAndProvidesMethods() 331 @Provides @Exposed @Named("a") String provideA() { in testDependenciesBetweenPrivateAndPublic() 335 @Provides @Exposed @Named("abc") String provideAbc(@Named("ab") String ab) { in testDependenciesBetweenPrivateAndPublic() 342 @Provides @Named("ab") String provideAb(@Named("a") String a) { in testDependenciesBetweenPrivateAndPublic() 346 @Provides @Named("abcd") String provideAbcd(@Named("abc") String abc) { in testDependenciesBetweenPrivateAndPublic() 360 @Provides @Exposed @Named("a") String provideA() { in testDependenciesBetweenPrivateAndPublicWithPublicEagerSingleton() [all …]
|
D | BoundInstanceInjectionTest.java | 24 import com.google.inject.name.Named; 86 Named.class.getName() + " and " + Another.class.getName()); in testMalformedInstance() 101 Named.class.getName() + " and " + Another.class.getName()); in testMalformedProvider() 106 @Inject void doublyAnnotated(@Named("a") @Another String unused) {} in doublyAnnotated() 110 @Inject void doublyAnnotated(@Named("a") @Another String s) {} in doublyAnnotated()
|
D | ProviderInjectionTest.java | 21 import com.google.inject.name.Named; 124 @Inject void initialize(@Named("b") Count bCount) { in testCreationTimeInjectionOrdering() 132 @Inject void initialize(@Named("c") Count cCount) { in testCreationTimeInjectionOrdering() 142 @Inject @Named("d") Count dCount; in testCreationTimeInjectionOrdering() 143 @Inject void initialize(@Named("e") Count eCount) { in testCreationTimeInjectionOrdering() 171 @Inject static void initialize(@Named("c") Count cCount) { in initialize()
|
D | ErrorHandlingTest.java | 21 import com.google.inject.name.Named; 72 @Inject @Named("missing") 86 @Inject void setNumbers(@Named("numbers") List<Integer> numbers) {} in setNumbers() 88 @Inject void bar(@Named("foo") String s) {} in bar() 126 bind(String.class).annotatedWith(Names.named("foo")).in(Named.class); in configure()
|
/external/clang/include/clang/Basic/ |
D | DeclNodes.td | 17 def Named : Decl<1>; 18 def Namespace : DDecl<Named>, DeclContext; 19 def UsingDirective : DDecl<Named>; 20 def NamespaceAlias : DDecl<Named>; 21 def Label : DDecl<Named>; 22 def Type : DDecl<Named, 1>; 36 def Value : DDecl<Named, 1>; 59 def Template : DDecl<Named, 1>; 67 def Using : DDecl<Named>; 68 def UsingShadow : DDecl<Named>; [all …]
|
/external/guice/core/test/com/google/inject/spi/ |
D | ModuleAnnotatedMethodScannerTest.java | 37 import com.google.inject.name.Named; 55 @TestProvides @Named("foo") String foo() { in testScanning() 59 @TestProvides @Named("foo2") String foo2() { in testScanning() 84 @TestProvides @Named("foo") String foo() { return "foo"; } in testSkipSources() 98 @TestProvides @Named("foo") String foo() { return "foo"; } in testWithSource() 161 Names.named(((Named) key.getAnnotation()).value() + "-munged")); in prepareMethod() 222 @TestProvides @Named("foo") String foo() { 234 @TestProvides @Named("foo") String foo() { 252 @Exposed @TestProvides @Named("foo") String foo() { 264 @Exposed @TestProvides @Named("foo") String foo() { [all …]
|
D | ProviderMethodsTest.java | 45 import com.google.inject.name.Named; 205 @Provides @Named("A") @Blue 248 @Named("First") @Provides T provideFirst() { 252 @Named("Second") @Provides T provideSecond() { 256 @Provides Set<T> provideBoth(@Named("First") T first, @Named("Second") T second) { 266 @Provides @Named("count") 332 @Provides @Named("weight") String provideWeight(Integer count, @Named("units") String units) { 351 @Provides @Named("foo") String provideFoo() { 430 @Provides @Named("foo") String provideFoo(Integer dep) { return "foo"; } 434 @Provides Integer provideInt(@Named("foo") String dep) { return 42; } [all …]
|
D | InjectionPointTest.java | 33 import com.google.inject.name.Named; 52 public @Inject @Named("a") String foo; 53 public @Inject void bar(@Named("b") String param) {} in bar() 56 @Inject public Constructable(@Named("c") String param) {} in Constructable() 196 @Inject public static void staticMethod(@Named("a") String a) {} in staticMethod() 197 @Inject @Named("c") public static String staticField; 198 @Inject public void instanceMethod(@Named("d") String d) {} in instanceMethod() 199 @Inject @Named("f") public String instanceField;
|
/external/guice/core/src/com/google/inject/name/ |
D | NamedImpl.java | 24 class NamedImpl implements Named, Serializable { 42 if (!(o instanceof Named)) { in equals() 46 Named other = (Named) o; in equals() 51 return "@" + Named.class.getName() + "(value=" + value + ")"; in toString() 55 return Named.class; in annotationType()
|
/external/llvm/lib/Target/AMDGPU/ |
D | SIInsertWaits.cpp | 41 } Named; member 181 return WaitedOn.Named.LGKM != LastIssued.Named.LGKM; in hasOutstandingLGKM() 188 Result.Named.VM = !!(TSFlags & SIInstrFlags::VM_CNT); in getHwCounts() 191 Result.Named.EXP = !!(TSFlags & SIInstrFlags::EXP_CNT && in getHwCounts() 206 Result.Named.LGKM = Size > 4 ? 2 : 1; in getHwCounts() 211 Result.Named.LGKM = 1; in getHwCounts() 215 Result.Named.LGKM = 1; in getHwCounts() 219 Result.Named.LGKM = 0; in getHwCounts() 318 if (LastOpcodeType == VMEM && Increment.Named.VM) { in pushInstruction() 327 else if (Increment.Named.VM) in pushInstruction() [all …]
|
/external/desugar/test/java/com/google/devtools/build/android/desugar/ |
D | class_with_inherited_abstract_method_disassembled_golden.txt | 1 Compiled from "Named.java" 2 …Named$AbstractName extends com.google.devtools.build.android.desugar.testdata.java8.Named$Abstract… 3 public com.google.devtools.build.android.desugar.testdata.java8.Named$AbstractName();
|
/external/desugar/test/java/com/google/devtools/build/android/desugar/testdata/java8/ |
D | Named.java | 17 public interface Named { interface 36 public static class ExplicitName extends ExplicitNameBase implements Named { 43 public static class DefaultName extends ExplicitNameBase implements Named { 50 return Named.super.name() + "-once"; in name() 71 public abstract static class AbstractName extends AbstractNameBase implements Named {}
|
/external/testng/src/test/java/test/hook/ |
D | HookSuccess862Test.java | 7 import javax.inject.Named; 19 if (annotation instanceof Named) { in run() 20 Named named = (Named) annotation; in run() 36 public void verify(@Named("bar") String bar, String test) { in verify()
|
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/ |
D | ProvidesIntoTest.java | 33 import com.google.inject.name.Named; 54 @Named("foo") in testAnnotation() 58 @Named("foo") in testAnnotation() 62 @Named("bar") in testAnnotation() 66 @Named("bar") in testAnnotation() 77 @Named("foo") in testAnnotation() 82 @Named("foo") in testAnnotation() 87 @Named("bar") in testAnnotation() 92 @Named("bar") in testAnnotation() 112 @Named("foo") in testAnnotation() [all …]
|
/external/guice/extensions/persist/src/com/google/inject/persist/jpa/ |
D | JpaFinderProxy.java | 23 import com.google.inject.name.Named; 118 } else if (annotation instanceof Named) { in bindQueryNamedParameters() 119 Named named = (Named) annotation; in bindQueryNamedParameters() 121 } else if (annotation instanceof javax.inject.Named) { in bindQueryNamedParameters() 122 javax.inject.Named named = (javax.inject.Named) annotation; in bindQueryNamedParameters() 182 if (Named.class.equals(annotationType) || javax.inject.Named.class.equals(annotationType)) { in getFinderDescriptor()
|
/external/guice/extensions/mini/test/com/google/inject/mini/ |
D | MiniGuiceTest.java | 26 import javax.inject.Named; 127 @Provides @Named("one") A getOne() { in testBindingAnnotations() 130 @Provides @Named("two") A getTwo() { in testBindingAnnotations() 142 @Inject @Named("one") A aOne; 143 @Inject @Named("two") A aTwo; 151 @Provides @Singleton @Named("one") F provideF(Provider<A> aProvider) { in testSingletonBindingAnnotationAndProvider() 166 @Inject @Named("one") F f; 208 @Inject @Named("a") A a;
|
/external/llvm/lib/Transforms/IPO/ |
D | ExtractGV.cpp | 58 SetVector<GlobalValue *> Named; member in __anon62ab0bbc0111::GVExtractorPass 68 : ModulePass(ID), Named(GVs.begin(), GVs.end()), deleteStuff(deleteS) {} in GVExtractorPass() 89 deleteStuff == (bool)Named.count(&*I) && !I->isDeclaration(); in runOnModule() 109 deleteStuff == (bool)Named.count(&F) && !F.isDeclaration(); in runOnModule() 130 bool Delete = deleteStuff == (bool)Named.count(&*CurI); in runOnModule()
|
/external/swiftshader/third_party/LLVM/lib/Transforms/IPO/ |
D | ExtractGV.cpp | 27 SetVector<GlobalValue *> Named; member in __anon0ba2f9e80111::GVExtractorPass 37 : ModulePass(ID), Named(GVs.begin(), GVs.end()), deleteStuff(deleteS) {} in GVExtractorPass() 54 if (deleteStuff == (bool)Named.count(I) && !I->isDeclaration()) { in runOnModule() 70 if (deleteStuff == (bool)Named.count(I) && !I->isDeclaration()) { in runOnModule()
|
/external/jsr330/tck/org/atinject/tck/auto/ |
D | Convertible.java | 25 import javax.inject.Named; 52 @Inject @Named("spare") Tire fieldSpareTire; 56 @Inject @Named("spare") Provider<Tire> fieldSpareTireProvider = nullProvider(); 70 @Inject @Named("spare") static Tire staticFieldSpareTire; 74 @Inject @Named("spare") static Provider<Tire> staticFieldSpareTireProvider = nullProvider(); 89 @Named("spare") Tire spareTire, in Convertible() 93 @Named("spare") Provider<Tire> spareTireProvider) { in Convertible() 125 @Named("spare") Tire spareTire, in injectInstanceMethodWithManyArgs() 129 @Named("spare") Provider<Tire> spareTireProvider) { in injectInstanceMethodWithManyArgs() 146 @Named("spare") Tire spareTire, in injectStaticMethodWithManyArgs() [all …]
|
/external/flatbuffers/include/flatbuffers/ |
D | minireflect.h | 315 template<typename T> void Named(T x, const char *name) { in Named() function 319 void UType(uint8_t x, const char *name) { Named(x, name); } in UType() 321 void Char(int8_t x, const char *name) { Named(x, name); } in Char() 322 void UChar(uint8_t x, const char *name) { Named(x, name); } in UChar() 323 void Short(int16_t x, const char *name) { Named(x, name); } in Short() 324 void UShort(uint16_t x, const char *name) { Named(x, name); } in UShort() 325 void Int(int32_t x, const char *name) { Named(x, name); } in Int() 326 void UInt(uint32_t x, const char *name) { Named(x, name); } in UInt()
|
/external/guice/extensions/assistedinject/test/com/google/inject/assistedinject/ |
D | ExtensionSpiTest.java | 33 import com.google.inject.name.Named; 136 @Named("SimpleCat") Animal createASimpleCatAsAnimal(String owner); in createASimpleCatAsAnimal() 160 @Inject public ExplodingCat(@Named("catName1") String name, @Assisted String owner, in ExplodingCat() 161 @Named("age") Integer age, @Named("petName") String petName) {} in ExplodingCat() 165 @Inject CatWithAName(@Assisted String owner, @Named("catName2") String name) { in CatWithAName()
|
/external/spirv-llvm/lib/SPIRV/ |
D | SPIRVMDWalker.h | 56 NamedMDWrapper(NamedMDNode *Named, SPIRVMDWalker& WW) in NamedMDWrapper() 57 :NMD(Named), W(WW), I(0), Q(true){ in NamedMDWrapper() 58 E = Named ? Named->getNumOperands() : 0; in NamedMDWrapper()
|
/external/guice/extensions/grapher/test/com/google/inject/grapher/demo/ |
D | Lightning.java | 20 import com.google.inject.name.Named; 23 @Inject @Named("year") String yearOfStrike;
|