Home
last modified time | relevance | path

Searched refs:Named (Results 1 – 25 of 113) sorted by relevance

12345

/external/chromium-trace/catapult/third_party/vinn/third_party/parse5/test/data/tokenization/
DnamedEntities.test5 "description": "Named entity: AElig without a semi-colon",
16 "description": "Named entity: AElig; with a semi-colon",
26 "description": "Named entity: AMP without a semi-colon",
37 "description": "Named entity: AMP; with a semi-colon",
47 "description": "Named entity: Aacute without a semi-colon",
58 "description": "Named entity: Aacute; with a semi-colon",
79 "description": "Named entity: Abreve; with a semi-colon",
89 "description": "Named entity: Acirc without a semi-colon",
100 "description": "Named entity: Acirc; with a semi-colon",
121 "description": "Named entity: Acy; with a semi-colon",
[all …]
/external/guice/core/test/com/google/inject/name/
DNamedEquivalanceTest.java55 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 …]
DNamesTest.java40 @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/clang/include/clang/Basic/
DDeclNodes.td15 def Named : Decl<1>;
16 def Namespace : DDecl<Named>, DeclContext;
17 def UsingDirective : DDecl<Named>;
18 def NamespaceAlias : DDecl<Named>;
19 def Label : DDecl<Named>;
20 def Type : DDecl<Named, 1>;
34 def Value : DDecl<Named, 1>;
55 def Template : DDecl<Named, 1>;
63 def Using : DDecl<Named>;
64 def UsingShadow : DDecl<Named>;
[all …]
/external/guice/core/test/com/google/inject/
DPrivateModuleTest.java25 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 …]
DBoundInstanceInjectionTest.java24 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()
DProviderInjectionTest.java21 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()
DErrorHandlingTest.java21 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/guice/core/src/com/google/inject/name/
DNamedImpl.java24 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/guice/core/test/com/google/inject/spi/
DModuleAnnotatedMethodScannerTest.java37 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 …]
DProviderMethodsTest.java45 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 …]
DInjectionPointTest.java33 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/skia/src/core/
DSkColorSpace.h43 enum Named { enum
55 static SkColorSpace* NewNamed(Named);
59 Named named() const { return fNamed; } in named()
78 SkColorSpace(const SkFloat3x3& toXYZ, const SkFloat3& gamma, Named);
84 const Named fNamed;
/external/testng/src/test/java/test/hook/
DHookSuccess862Test.java7 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/llvm/lib/Target/AMDGPU/
DSIInsertWaits.cpp39 } Named; member
149 Result.Named.VM = !!(TSFlags & SIInstrFlags::VM_CNT); in getHwCounts()
152 Result.Named.EXP = !!(TSFlags & SIInstrFlags::EXP_CNT && in getHwCounts()
167 Result.Named.LGKM = Size > 4 ? 2 : 1; in getHwCounts()
172 Result.Named.LGKM = 1; in getHwCounts()
176 Result.Named.LGKM = 1; in getHwCounts()
180 Result.Named.LGKM = 0; in getHwCounts()
282 (LastOpcodeType == VMEM && Increment.Named.VM)) { in pushInstruction()
291 else if (Increment.Named.VM) in pushInstruction()
296 if (Increment.Named.EXP) { in pushInstruction()
[all …]
/external/guice/extensions/multibindings/test/com/google/inject/multibindings/
DProvidesIntoTest.java33 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/
DJpaFinderProxy.java23 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/
DMiniGuiceTest.java26 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/
DExtractGV.cpp58 SetVector<GlobalValue *> Named; member in __anon7af956800111::GVExtractorPass
68 : ModulePass(ID), Named(GVs.begin(), GVs.end()), deleteStuff(deleteS) {} in GVExtractorPass()
86 deleteStuff == (bool)Named.count(&*I) && !I->isDeclaration(); in runOnModule()
106 deleteStuff == (bool)Named.count(&*I) && !I->isDeclaration(); in runOnModule()
127 bool Delete = deleteStuff == (bool)Named.count(&*CurI); in runOnModule()
/external/jsr330/tck/org/atinject/tck/auto/
DConvertible.java25 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/guice/extensions/assistedinject/test/com/google/inject/assistedinject/
DExtensionSpiTest.java33 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/guice/extensions/grapher/test/com/google/inject/grapher/demo/
DLightning.java20 import com.google.inject.name.Named;
23 @Inject @Named("year") String yearOfStrike;
/external/testng/src/test/java/test/dataprovider/
DFieldInjectionProvider.java4 import com.google.inject.name.Named;
10 @Inject @Named("test")
DConstructorInjectionProvider.java4 import com.google.inject.name.Named;
13 public ConstructorInjectionProvider(@Named("test") String value) { in ConstructorInjectionProvider()
/external/dagger2/compiler/src/it/functional-tests/src/main/java/test/tck/
DTireModule.java22 import javax.inject.Named;
27 @Named("spare")

12345