Home
last modified time | relevance | path

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

12345678910>>...22

/external/llvm/lib/CodeGen/
DTargetLoweringBase.cpp60 static void InitLibcallNames(const char **Names, const Triple &TT) { in InitLibcallNames() argument
61 Names[RTLIB::SHL_I16] = "__ashlhi3"; in InitLibcallNames()
62 Names[RTLIB::SHL_I32] = "__ashlsi3"; in InitLibcallNames()
63 Names[RTLIB::SHL_I64] = "__ashldi3"; in InitLibcallNames()
64 Names[RTLIB::SHL_I128] = "__ashlti3"; in InitLibcallNames()
65 Names[RTLIB::SRL_I16] = "__lshrhi3"; in InitLibcallNames()
66 Names[RTLIB::SRL_I32] = "__lshrsi3"; in InitLibcallNames()
67 Names[RTLIB::SRL_I64] = "__lshrdi3"; in InitLibcallNames()
68 Names[RTLIB::SRL_I128] = "__lshrti3"; in InitLibcallNames()
69 Names[RTLIB::SRA_I16] = "__ashrhi3"; in InitLibcallNames()
[all …]
/external/guice/core/test/com/google/inject/name/
DNamesTest.java47 Named actual = Names.named("foo"); in testConsistentEqualsAndHashcode()
53 assertEqualWhenReserialized(Names.named("foo")); in testNamedIsSerializable()
66 Names.bindProperties(binder(), teams); in testBindPropertiesUsingProperties()
70 assertEquals("Sharks", injector.getInstance(Key.get(String.class, Names.named("SanJose")))); in testBindPropertiesUsingProperties()
71 assertEquals("Oilers", injector.getInstance(Key.get(String.class, Names.named("Edmonton")))); in testBindPropertiesUsingProperties()
83 Names.bindProperties(binder(), properties); in testBindPropertiesUsingMap()
87 assertEquals("Sharks", injector.getInstance(Key.get(String.class, Names.named("SanJose")))); in testBindPropertiesUsingMap()
88 assertEquals("Oilers", injector.getInstance(Key.get(String.class, Names.named("Edmonton")))); in testBindPropertiesUsingMap()
105 Names.bindProperties(binder(), teams); in testBindPropertiesIncludesInheritedProperties()
109 assertEquals("Pats", injector.getInstance(Key.get(String.class, Names.named("Regina")))); in testBindPropertiesIncludesInheritedProperties()
[all …]
/external/guice/extensions/servlet/test/com/google/inject/servlet/
DExtensionSpiTest.java28 import com.google.inject.name.Names;
84 Key.get(DummyFilterImpl.class, Names.named("foo")), in validateVisitor()
89 Key.get(DummyFilterImpl.class, Names.named("foo")), in validateVisitor()
106 Key.get(DummyFilterImpl.class, Names.named("foo")), in validateVisitor()
111 Key.get(DummyFilterImpl.class, Names.named("foo")), in validateVisitor()
122 Key.get(DummyFilterImpl.class, Names.named("foo")), in validateVisitor()
127 Key.get(DummyFilterImpl.class, Names.named("foo")), in validateVisitor()
144 Key.get(DummyFilterImpl.class, Names.named("foo")), in validateVisitor()
149 Key.get(DummyFilterImpl.class, Names.named("foo")), in validateVisitor()
160 Key.get(DummyServlet.class, Names.named("foo")), in validateVisitor()
[all …]
/external/llvm-project/clang-tools-extra/clang-include-fixer/
DSymbolIndexManager.cpp77 llvm::SmallVector<llvm::StringRef, 8> Names; in search() local
78 Identifier.split(Names, "::"); in search()
82 Names.erase(Names.begin()); // Drop first (empty) element. in search()
95 auto Res = DB.get()->search(Names.back()); in search()
99 LLVM_DEBUG(llvm::dbgs() << "Searching " << Names.back() << "... got " in search()
107 auto IdentiferContext = Names.rbegin() + 1; // Skip identifier name. in search()
109 while (IdentiferContext != Names.rend() && in search()
131 if (IsMatched && IdentiferContext == Names.rend()) { in search()
145 Names.pop_back(); in search()
147 } while (MatchedSymbols.empty() && !Names.empty() && IsNestedSearch); in search()
/external/dokka/core/src/main/kotlin/Utilities/
DDokkaModules.kt7 import com.google.inject.name.Names
29 …binder.bind<DokkaResolutionFacade>().annotatedWith(Names.named("libraryResolutionFacade")).toInsta… in configure()
47 …binder.bind(File::class.java).annotatedWith(Names.named("outputDir")).toInstance(File(options.outp… in configure()
51 …binder.bind(StringListType).annotatedWith(Names.named(impliedPlatformsName)).toInstance(options.im… in configure()
52 … binder.bind<String>().annotatedWith(Names.named("outlineRoot")).toInstance(options.outlineRoot) in configure()
53 binder.bind<String>().annotatedWith(Names.named("dacRoot")).toInstance(options.dacRoot) in configure()
54 …binder.bind<Boolean>().annotatedWith(Names.named("generateClassIndex")).toInstance(options.generat… in configure()
55 …binder.bind<Boolean>().annotatedWith(Names.named("generatePackageIndex")).toInstance(options.gener… in configure()
65 …bind(T::class.java).annotatedWith(Names.named(it.name)).to(T::class.java.classLoader.loadClass(it.… in registerCategory()
70 bind(Base::class.java).annotatedWith(Names.named(name)).to(T::class.java) in bindNameAnnotated()
/external/llvm-project/clang-tools-extra/unittests/clang-move/
DClangMoveTests.cpp252 Spec.Names = {std::string("a::b::Foo")}; in TEST()
267 Spec.Names = {std::string("a::b::Foo")}; in TEST()
278 Spec.Names = {std::string("a::b::Foo")}; in TEST()
290 Spec.Names = {std::string("NonExistFoo")}; in TEST()
301 Spec.Names = {std::string("Foo")}; in TEST()
337 Spec.Names.push_back("A"); in TEST()
357 Spec.Names = {std::string("A"), std::string("B")}; in TEST()
383 Spec.Names.push_back("A"); in TEST()
404 Spec.Names.push_back("Bar"); in TEST()
426 Spec.Names.push_back("A"); in TEST()
[all …]
/external/guice/core/test/com/google/inject/spi/
DSpiBindingsTest.java37 import com.google.inject.name.Names;
56 bindConstant().annotatedWith(Names.named("one")).to(1); in testBindConstant()
63 assertEquals(Key.get(Integer.class, Names.named("one")), binding.getKey()); in testBindConstant()
160 final Key<String> aKey = Key.get(String.class, Names.named("a")); in testToKeyBinding()
161 final Key<String> bKey = Key.get(String.class, Names.named("b")); in testToKeyBinding()
231 bindConstant().annotatedWith(Names.named("one")).to(1); in testConstantBinding()
239 assertEquals(Key.get(Integer.class, Names.named("one")), binding.getKey()); in testConstantBinding()
259 bindConstant().annotatedWith(Names.named("one")).to("1"); in testConvertedConstantBinding()
263 Binding<Integer> binding = injector.getBinding(Key.get(Integer.class, Names.named("one"))); in testConvertedConstantBinding()
264 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;
91 .annotatedWith(Names.named("2")) in testGetProviderAvailableAtInjectMembersTime()
113 assertEquals("A", injector.getInstance(Key.get(String.class, Names.named("2")))); in testGetProviderAvailableAtInjectMembersTime()
119 assertEquals("A", replayedInjector.getInstance(Key.get(String.class, Names.named("2")))); in testGetProviderAvailableAtInjectMembersTime()
/external/llvm-project/clang-tools-extra/clang-tidy/zircon/
DTemporaryObjectsCheck.cpp23 AST_MATCHER_P(CXXRecordDecl, matchesAnyName, ArrayRef<std::string>, Names) { in AST_MATCHER_P() argument
25 return llvm::any_of(Names, in AST_MATCHER_P()
33 cxxRecordDecl(matchesAnyName(Names)))))) in registerMatchers()
42 cxxRecordDecl(matchesAnyName(Names)))))) in registerMatchers()
55 Options.store(Opts, "Names", utils::options::serializeStringList(Names)); in storeOptions()
/external/swiftshader/third_party/subzero/src/
DIceRangeSpec.cpp91 D->Names.insert(Token); in record()
123 if (!Includes.Names.empty() || !Excludes.Names.empty()) in init()
135 if (Excludes.Names.find(Name) != Excludes.Names.end()) in match()
143 if (Includes.Names.find(Name) != Includes.Names.end()) in match()
/external/pdfium/testing/resources/
Dcircular_viewer_ref.in3 <</Names 1 0 R
5 /Names 1 0 R
7 /Names 1 0 R
14 <</Names[(0) 7 0 R]>>
Drepeat_viewer_ref.in3 <</Names<</JavaScript 2 0 R>>/ViewerPreferences<<
4 <</Names<</JavaScript 2 0 R>>/ViewerPreferences<<
5 <</Names<</JavaScript 2 0 R>>/ViewerPreferences<<>>
9 <</Names[(0) 7 0 R]>>
/external/llvm-project/llvm/test/TableGen/
Dlisp.td29 class NameList<list<string> Names> :
30 List<Names>, CAR<!head(Names)>, CDR<!tail(Names), !empty(!tail(Names))>;
/external/llvm/test/TableGen/
Dlisp.td31 class NameList<list<string> Names> :
32 List<Names>, CAR<!head(Names)>, CDR<!tail(Names), !empty(!tail(Names))>;
/external/clang/lib/Basic/
DTargetInfo.cpp366 ArrayRef<const char *> Names = getGCCRegNames(); in isValidGCCRegisterName() local
372 return n < Names.size(); in isValidGCCRegisterName()
376 if (std::find(Names.begin(), Names.end(), Name) != Names.end()) in isValidGCCRegisterName()
381 for (const char *AN : ARN.Names) { in isValidGCCRegisterName()
386 if (AN == Name && ARN.RegNum < Names.size()) in isValidGCCRegisterName()
409 ArrayRef<const char *> Names = getGCCRegNames(); in getNormalizedGCCRegisterName() local
415 assert(n < Names.size() && "Out of bounds register number!"); in getNormalizedGCCRegisterName()
416 return Names[n]; in getNormalizedGCCRegisterName()
422 for (const char *AN : ARN.Names) { in getNormalizedGCCRegisterName()
427 if (AN == Name && ARN.RegNum < Names.size()) in getNormalizedGCCRegisterName()
/external/dokka/core/src/test/kotlin/format/
DDacFormatTestCase.kt6 import com.google.inject.name.Names in <lambda>()
43 … binder.bind<Boolean>().annotatedWith(Names.named("generateClassIndex")).toInstance(false) in <lambda>()
44 … binder.bind<Boolean>().annotatedWith(Names.named("generatePackageIndex")).toInstance(false) in <lambda>()
46 binder.bind<String>().annotatedWith(Names.named("dacRoot")).toInstance("") in <lambda>()
47 binder.bind<String>().annotatedWith(Names.named("outlineRoot")).toInstance("") in <lambda>()
48 binder.bind<File>().annotatedWith(Names.named("outputDir")).toInstance(folder.root) in <lambda>()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
DTypeTableCollection.cpp20 Names.resize(Records.size()); in TypeTableCollection()
47 if (Names[I].data() == nullptr) { in getTypeName()
49 Names[I] = Result; in getTypeName()
51 return Names[I]; in getTypeName()
/external/guice/core/src/com/google/inject/name/
DNames.java30 public class Names { class
32 private Names() {} in Names() method in Names
41 binder = binder.skipSources(Names.class); in bindProperties()
54 binder = binder.skipSources(Names.class); in bindProperties()
/external/llvm-project/llvm/lib/DebugInfo/CodeView/
DTypeTableCollection.cpp20 Names.resize(Records.size()); in TypeTableCollection()
47 if (Names[I].data() == nullptr) { in getTypeName()
49 Names[I] = Result; in getTypeName()
51 return Names[I]; in getTypeName()
/external/llvm-project/clang-tools-extra/clang-tidy/utils/
DOptionsUtils.cpp19 SmallVector<StringRef, 4> Names; in parseStringList() local
20 Option.split(Names, StringsDelimiter); in parseStringList()
22 for (StringRef &Name : Names) { in parseStringList()
/external/clang/lib/ASTMatchers/
DASTMatchersInternal.cpp298 std::vector<std::string> Names; in hasAnyNameFunc() local
300 Names.emplace_back(*Name); in hasAnyNameFunc()
302 new internal::HasNameMatcher(std::move(Names))); in hasAnyNameFunc()
309 Names(std::move(N)) {
311 for (StringRef Name : Names)
364 PatternSet(ArrayRef<std::string> Names) { in PatternSet() argument
365 for (StringRef Name : Names) in PatternSet()
408 return std::any_of(Names.begin(), Names.end(), [&](StringRef Name) { in matchesNodeUnqualified()
414 PatternSet Patterns(Names); in matchesNodeFullFast()
482 for (const StringRef Pattern : Names) { in matchesNodeFullSlow()
/external/llvm-project/llvm/lib/Analysis/
DConstraintSystem.cpp110 void ConstraintSystem::dump(ArrayRef<std::string> Names) const { in dump()
122 Parts.push_back(Coefficient + Names[I - 1]); in dump()
131 SmallVector<std::string, 16> Names; in dump() local
133 Names.push_back("x" + std::to_string(i)); in dump()
135 dump(Names); in dump()
/external/python/apitools/apitools/gen/
Dutil.py51 class Names(object): class
78 name = Names.__ToCamel(name, separator=separator)
112 '{%s}' % Names.CleanName(component[1:-1]))
141 name = Names.__ToCamel(name, separator=separator)
142 return Names.CleanName(name)
151 name = Names.__ToLowerCamel(name)
153 name = Names.__FromCamel(name)
154 return Names.CleanName(name)
/external/llvm-project/clang/lib/Basic/
DTargetInfo.cpp491 ArrayRef<const char *> Names = getGCCRegNames(); in isValidGCCRegisterName() local
497 return n < Names.size(); in isValidGCCRegisterName()
501 if (llvm::is_contained(Names, Name)) in isValidGCCRegisterName()
506 for (const char *AN : ARN.Names) { in isValidGCCRegisterName()
511 if (AN == Name && ARN.RegNum < Names.size()) in isValidGCCRegisterName()
534 ArrayRef<const char *> Names = getGCCRegNames(); in getNormalizedGCCRegisterName() local
540 assert(n < Names.size() && "Out of bounds register number!"); in getNormalizedGCCRegisterName()
541 return Names[n]; in getNormalizedGCCRegisterName()
547 for (const char *AN : ARN.Names) { in getNormalizedGCCRegisterName()
552 if (AN == Name && ARN.RegNum < Names.size()) in getNormalizedGCCRegisterName()
[all …]

12345678910>>...22