Home
last modified time | relevance | path

Searched refs:Names (Results 1 – 25 of 203) sorted by relevance

123456789

/external/llvm/lib/CodeGen/
DTargetLoweringBase.cpp48 static void InitLibcallNames(const char **Names, const Triple &TT) { in InitLibcallNames() argument
49 Names[RTLIB::SHL_I16] = "__ashlhi3"; in InitLibcallNames()
50 Names[RTLIB::SHL_I32] = "__ashlsi3"; in InitLibcallNames()
51 Names[RTLIB::SHL_I64] = "__ashldi3"; in InitLibcallNames()
52 Names[RTLIB::SHL_I128] = "__ashlti3"; in InitLibcallNames()
53 Names[RTLIB::SRL_I16] = "__lshrhi3"; in InitLibcallNames()
54 Names[RTLIB::SRL_I32] = "__lshrsi3"; in InitLibcallNames()
55 Names[RTLIB::SRL_I64] = "__lshrdi3"; in InitLibcallNames()
56 Names[RTLIB::SRL_I128] = "__lshrti3"; in InitLibcallNames()
57 Names[RTLIB::SRA_I16] = "__ashrhi3"; in InitLibcallNames()
[all …]
/external/guice/extensions/servlet/test/com/google/inject/servlet/
DExtensionSpiTest.java28 import com.google.inject.name.Names;
83 …new Params("/key", Key.get(DummyFilterImpl.class, Names.named("foo")), ImmutableMap.of(), SERVLET), in validateVisitor()
84 …new Params("/key/2", Key.get(DummyFilterImpl.class, Names.named("foo")), ImmutableMap.of(), SERVLE… in validateVisitor()
89 …new Params("/key/keyvalues", Key.get(DummyFilterImpl.class, Names.named("foo")), ImmutableMap.of("… in validateVisitor()
90 …new Params("/key/keyvalues/2", Key.get(DummyFilterImpl.class, Names.named("foo")), ImmutableMap.of… in validateVisitor()
96 …new Params("/key[0-9]", Key.get(DummyFilterImpl.class, Names.named("foo")), ImmutableMap.of(), REG… in validateVisitor()
97 …new Params("/key[0-9]/2", Key.get(DummyFilterImpl.class, Names.named("foo")), ImmutableMap.of(), R… in validateVisitor()
102 …new Params("/key[0-9]/keyvalues", Key.get(DummyFilterImpl.class, Names.named("foo")), ImmutableMap… in validateVisitor()
103 …new Params("/key[0-9]/keyvalues/2", Key.get(DummyFilterImpl.class, Names.named("foo")), ImmutableM… in validateVisitor()
109 … new Params("/key", Key.get(DummyServlet.class, Names.named("foo")), ImmutableMap.of(), SERVLET), in validateVisitor()
[all …]
DContextPathTest.java28 import com.google.inject.name.Names;
66 bind(TestServlet.class).annotatedWith(Names.named("foo")) in setUp()
68 bind(TestServlet.class).annotatedWith(Names.named("bar")) in setUp()
70 serve("/foo/*").with(Key.get(TestServlet.class, Names.named("foo"))); in setUp()
71 serve("/bar/*").with(Key.get(TestServlet.class, Names.named("bar"))); in setUp()
DScopeRequestIntegrationTest.java30 import com.google.inject.name.Names;
62 bindConstant().annotatedWith(Names.named(SomeObject.INVALID)).to(SHOULDNEVERBESEEN); in testNonHttpRequestScopedCallable()
95 bindConstant().annotatedWith(Names.named(SomeObject.INVALID)).to(SHOULDNEVERBESEEN); in testWrongValueClasses()
113 bindConstant().annotatedWith(Names.named(SomeObject.INVALID)).to(SHOULDNEVERBESEEN); in testNullReplacement()
/external/guice/core/test/com/google/inject/name/
DNamesTest.java49 Named actual = Names.named("foo"); in testConsistentEqualsAndHashcode()
55 assertEqualWhenReserialized(Names.named("foo")); in testNamedIsSerializable()
65 Names.bindProperties(binder(), teams); in testBindPropertiesUsingProperties()
69 assertEquals("Sharks", injector.getInstance(Key.get(String.class, Names.named("SanJose")))); in testBindPropertiesUsingProperties()
70 assertEquals("Oilers", injector.getInstance(Key.get(String.class, Names.named("Edmonton")))); in testBindPropertiesUsingProperties()
79 Names.bindProperties(binder(), properties); in testBindPropertiesUsingMap()
83 assertEquals("Sharks", injector.getInstance(Key.get(String.class, Names.named("SanJose")))); in testBindPropertiesUsingMap()
84 assertEquals("Oilers", injector.getInstance(Key.get(String.class, Names.named("Edmonton")))); in testBindPropertiesUsingMap()
98 Names.bindProperties(binder(), teams); in testBindPropertiesIncludesInheritedProperties()
102 assertEquals("Pats", injector.getInstance(Key.get(String.class, Names.named("Regina")))); in testBindPropertiesIncludesInheritedProperties()
[all …]
DNamedEquivalanceTest.java45 private static final Module GUICE_BINDING_MODULE = moduleWithAnnotation(Names.named("foo"));
52 assertEquals(keyForAnnotation(Names.named("foo")), keyForAnnotation(new GuiceNamed("foo"))); in testKeysCreatedWithDifferentTypesAreEqual()
53 assertEquals(keyForAnnotation(Names.named("foo")), keyForAnnotation(new JsrNamed("foo"))); in testKeysCreatedWithDifferentTypesAreEqual()
111 Names.bindProperties(binder(), properties); in testBindPropertiesWorksWithJsr330()
/external/guice/core/test/com/google/inject/spi/
DSpiBindingsTest.java37 import com.google.inject.name.Names;
59 bindConstant().annotatedWith(Names.named("one")).to(1); in testBindConstant()
66 assertEquals(Key.get(Integer.class, Names.named("one")), binding.getKey()); in testBindConstant()
157 final Key<String> aKey = Key.get(String.class, Names.named("a")); in testToKeyBinding()
158 final Key<String> bKey = Key.get(String.class, Names.named("b")); in testToKeyBinding()
223 bindConstant().annotatedWith(Names.named("one")).to(1); in testConstantBinding()
231 assertEquals(Key.get(Integer.class, Names.named("one")), binding.getKey()); in testConstantBinding()
247 bindConstant().annotatedWith(Names.named("one")).to("1"); in testConvertedConstantBinding()
251 Binding<Integer> binding = injector.getBinding(Key.get(Integer.class, Names.named("one"))); in testConvertedConstantBinding()
252 assertEquals(Key.get(Integer.class, Names.named("one")), binding.getKey()); in testConvertedConstantBinding()
[all …]
DElementsTest.java48 import com.google.inject.name.Names;
161 bindConstant().annotatedWith(Names.named("Bee")).to("B"); in testBindConstantAnnotations()
177 assertEquals(Key.get(String.class, Names.named("Bee")), command.getKey()); in testBindConstantAnnotations()
189 bindConstant().annotatedWith(Names.named("String")).to("A"); in testBindConstantTypes()
190 bindConstant().annotatedWith(Names.named("int")).to(2); in testBindConstantTypes()
191 bindConstant().annotatedWith(Names.named("long")).to(3L); in testBindConstantTypes()
192 bindConstant().annotatedWith(Names.named("boolean")).to(false); in testBindConstantTypes()
193 bindConstant().annotatedWith(Names.named("double")).to(5.0d); in testBindConstantTypes()
194 bindConstant().annotatedWith(Names.named("float")).to(6.0f); in testBindConstantTypes()
195 bindConstant().annotatedWith(Names.named("short")).to((short) 7); in testBindConstantTypes()
[all …]
DModuleRewriterTest.java29 import com.google.inject.name.Names;
88 bind(String.class).annotatedWith(Names.named("2")).toProvider(new Provider<String>() { in testGetProviderAvailableAtInjectMembersTime()
106 assertEquals("A", injector.getInstance(Key.get(String.class, Names.named("2")))); in testGetProviderAvailableAtInjectMembersTime()
112 assertEquals("A", replayedInjector.getInstance(Key.get(String.class, Names.named("2")))); in testGetProviderAvailableAtInjectMembersTime()
DProviderMethodsTest.java46 import com.google.inject.name.Names;
226 assertEquals("A", injector.getInstance(Key.get(String.class, Names.named("First"))));
227 assertEquals("B", injector.getInstance(Key.get(String.class, Names.named("Second"))));
231 assertEquals(1, injector.getInstance(Key.get(Integer.class, Names.named("First"))).intValue());
232 assertEquals(2, injector.getInstance(Key.get(Integer.class, Names.named("Second"))).intValue());
272 assertEquals(1, injector.getInstance(Key.get(Integer.class, Names.named("count"))).intValue());
273 assertEquals(2, injector.getInstance(Key.get(Integer.class, Names.named("count"))).intValue());
274 assertEquals(3, injector.getInstance(Key.get(Integer.class, Names.named("count"))).intValue());
330 bindConstant().annotatedWith(Names.named("units")).to("Kg");
339 Key.get(String.class, Names.named("weight")));
[all …]
/external/llvm/test/TableGen/
Dlisp.td31 class NameList<list<string> Names> :
32 List<Names>, CAR<!head(Names)>, CDR<!tail(Names), !empty(!tail(Names))>;
Dforeach.td21 list<string> Names = names;
30 class Names {
34 def People : Names;
/external/clang/lib/Basic/
DTargetInfo.cpp357 ArrayRef<const char *> Names = getGCCRegNames(); in isValidGCCRegisterName() local
363 return n < Names.size(); in isValidGCCRegisterName()
367 if (std::find(Names.begin(), Names.end(), Name) != Names.end()) in isValidGCCRegisterName()
372 for (const char *AN : ARN.Names) { in isValidGCCRegisterName()
377 if (AN == Name && ARN.RegNum < Names.size()) in isValidGCCRegisterName()
400 ArrayRef<const char *> Names = getGCCRegNames(); in getNormalizedGCCRegisterName() local
406 assert(n < Names.size() && "Out of bounds register number!"); in getNormalizedGCCRegisterName()
407 return Names[n]; in getNormalizedGCCRegisterName()
413 for (const char *AN : ARN.Names) { in getNormalizedGCCRegisterName()
418 if (AN == Name && ARN.RegNum < Names.size()) in getNormalizedGCCRegisterName()
/external/guice/core/src/com/google/inject/name/
DNames.java31 public class Names { class
33 private Names() {} in Names() method in Names
47 binder = binder.skipSources(Names.class); in bindProperties()
61 binder = binder.skipSources(Names.class); in bindProperties()
/external/chromium-trace/catapult/third_party/gsutil/third_party/apitools/apitools/gen/
Dutil.py32 class Names(object): class
59 name = Names.__ToCamel(name, separator=separator)
93 '{%s}' % Names.CleanName(component[1:-1]))
120 name = Names.__ToCamel(name, separator=separator)
121 return Names.CleanName(name)
130 name = Names.__ToLowerCamel(name)
132 name = Names.__FromCamel(name)
133 return Names.CleanName(name)
Dutil_test.py19 names = util.Names([''])
23 names = util.Names([''])
/external/guice/core/test/com/googlecode/guice/
DJsr330Test.java32 import com.google.inject.name.Names;
82 bind(B.class).annotatedWith(Names.named("jodie")).toInstance(b); in testQualifiedInject()
85 bind(E.class).annotatedWith(Names.named("jesse")).toInstance(e); in testQualifiedInject()
100 bind(B.class).annotatedWith(Names.named("jodie")).toInstance(b); in testProviderInject()
245 bind(B.class).annotatedWith(Names.named("1")).toProvider(BProvider.class); in testBindProviderClass()
246 bind(B.class).annotatedWith(Names.named("2")).toProvider(Key.get(BProvider.class)); in testBindProviderClass()
247 bind(B.class).annotatedWith(Names.named("3")).toProvider(TypeLiteral.get(BProvider.class)); in testBindProviderClass()
252 injector.getInstance(Key.get(B.class, Names.named("1"))); in testBindProviderClass()
253 injector.getInstance(Key.get(B.class, Names.named("2"))); in testBindProviderClass()
254 injector.getInstance(Key.get(B.class, Names.named("3"))); in testBindProviderClass()
/external/guice/core/test/com/google/inject/
DLoggerInjectionTest.java5 import com.google.inject.name.Names;
52 .annotatedWith(Names.named("anonymous")) in testCanBindAnnotatedLogger()
57 assertNull(injector.getInstance(Key.get(Logger.class, Names.named("anonymous"))).getName()); in testCanBindAnnotatedLogger()
DBinderTest.java28 import com.google.inject.name.Names;
98 bind(Date.class).annotatedWith(Names.named("date")); in testMissingBindings()
183 bindConstant().annotatedWith(Names.named("nullOne")).to(none); in testBindingNullConstant()
184 bind(String.class).annotatedWith(Names.named("nullTwo")).toInstance(none); in testBindingNullConstant()
207 bind(Integer.class).annotatedWith(Names.named("a")).toString()); in testToStringOnBinderApi()
210 bindConstant().annotatedWith(Names.named("b")).toString()); in testToStringOnBinderApi()
229 assertNotSerializable(bind(Integer.class).annotatedWith(Names.named("a"))); in testNothingIsSerializableInBinderApi()
231 assertNotSerializable(bindConstant().annotatedWith(Names.named("b"))); in testNothingIsSerializableInBinderApi()
484 final Named red = Names.named("red");
/external/llvm/lib/ExecutionEngine/Orc/
DIndirectionUtils.cpp73 auto I = Names.find(&Orig); in getRename()
74 if (I != Names.end()) in getRename()
81 unsigned ID = Names.size(); in getRename()
84 auto I = Names.insert(std::make_pair(&Orig, NameStream.str())); in getRename()
88 DenseMap<const Value*, std::string> Names; member in llvm::orc::GlobalRenamer
/external/pdfium/testing/resources/
Dnamed_dests.in5 /Names <<
52 /Names [
60 /Names [
/external/guice/extensions/spring/test/com/google/inject/spring/
DSpringIntegrationTest.java26 import com.google.inject.name.Names;
89 = Key.get(Singleton.class, Names.named("singleton")); in testBindAll()
91 = Key.get(Prototype.class, Names.named("prototype")); in testBindAll()
/external/clang/lib/Parse/
DParseStmtAsm.cpp680 SmallVector<IdentifierInfo *, 4> Names; in ParseAsmStatement() local
701 if (!AteExtraColon && ParseAsmOperandsOpt(Names, Constraints, Exprs)) in ParseAsmStatement()
705 unsigned NumOutputs = Names.size(); in ParseAsmStatement()
717 if (!AteExtraColon && ParseAsmOperandsOpt(Names, Constraints, Exprs)) in ParseAsmStatement()
721 assert(Names.size() == Constraints.size() && in ParseAsmStatement()
724 unsigned NumInputs = Names.size() - NumOutputs; in ParseAsmStatement()
749 AsmLoc, false, isVolatile, NumOutputs, NumInputs, Names.data(), in ParseAsmStatement()
766 bool Parser::ParseAsmOperandsOpt(SmallVectorImpl<IdentifierInfo *> &Names, in ParseAsmOperandsOpt() argument
788 Names.push_back(II); in ParseAsmOperandsOpt()
791 Names.push_back(nullptr); in ParseAsmOperandsOpt()
/external/guice/extensions/grapher/test/com/google/inject/grapher/demo/
DBackToTheFutureModule.java21 import com.google.inject.name.Names;
45 bindConstant().annotatedWith(Names.named("year")).to("1955"); in configure()
/external/testng/src/test/java/test/dataprovider/
DStaticDataProviderSampleTest.java4 import com.google.inject.name.Names;
37 bind(String.class).annotatedWith(Names.named("test")).toInstance("Cedric"); in configure()

123456789