Home
last modified time | relevance | path

Searched refs:StringPair (Results 1 – 25 of 26) sorted by relevance

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/MC/
DStringTableBuilder.cpp62 using StringPair = std::pair<CachedHashStringRef, size_t>; typedef
66 for (const StringPair &P : StringIndexMap) { in write()
77 static int charTailAt(StringPair *P, size_t Pos) { in charTailAt()
86 static void multikeySort(MutableArrayRef<StringPair *> Vec, int Pos) { in multikeySort()
132 std::vector<StringPair *> Strings; in finalizeStringTable()
134 for (StringPair &P : StringIndexMap) in finalizeStringTable()
141 for (StringPair *P : Strings) { in finalizeStringTable()
/external/llvm/lib/MC/
DStringTableBuilder.cpp37 typedef std::pair<CachedHash<StringRef>, size_t> StringPair; typedef
40 static int charTailAt(StringPair *P, size_t Pos) { in charTailAt()
49 static void multikey_qsort(StringPair **Begin, StringPair **End, int Pos) { in multikey_qsort()
57 StringPair **P = Begin; in multikey_qsort()
58 StringPair **Q = End; in multikey_qsort()
59 for (StringPair **R = Begin + 1; R < Q;) { in multikey_qsort()
/external/llvm/include/llvm/TableGen/
DStringMatcher.h33 typedef std::pair<std::string, std::string> StringPair; typedef
37 const std::vector<StringPair> &Matches;
42 const std::vector<StringPair> &matches, raw_ostream &os) in StringMatcher()
48 bool EmitStringMatcherForChar(const std::vector<const StringPair*> &Matches,
/external/swiftshader/third_party/LLVM/utils/TableGen/
DStringMatcher.h33 typedef std::pair<std::string, std::string> StringPair; typedef
36 const std::vector<StringPair> &Matches;
41 const std::vector<StringPair> &matches, raw_ostream &os) in StringMatcher()
48 bool EmitStringMatcherForChar(const std::vector<const StringPair*> &Matches,
DStringMatcher.cpp24 StringMatcher::StringPair*> &Matches) { in FindFirstNonCommonLetter()
44 EmitStringMatcherForChar(const std::vector<const StringPair*> &Matches, in EmitStringMatcherForChar()
70 std::map<char, std::vector<const StringPair*> > MatchesByLetter; in EmitStringMatcherForChar()
106 for (std::map<char, std::vector<const StringPair*> >::iterator LI = in EmitStringMatcherForChar()
129 std::map<unsigned, std::vector<const StringPair*> > MatchesByLength; in Emit()
139 for (std::map<unsigned, std::vector<const StringPair*> >::iterator LI = in Emit()
DIntrinsicEmitter.cpp121 std::vector<StringMatcher::StringPair> MatchTable; in EmitFnNameRecognizer()
664 std::vector<StringMatcher::StringPair> Results; in EmitTargetBuiltins()
670 Results.push_back(StringMatcher::StringPair(I->first, ResultCode)); in EmitTargetBuiltins()
DAsmMatcherEmitter.cpp1760 std::vector<StringMatcher::StringPair> Matches; in EmitMatchTokenString()
1766 Matches.push_back(StringMatcher::StringPair(CI.ValueName, in EmitMatchTokenString()
1783 std::vector<StringMatcher::StringPair> Matches; in EmitMatchRegisterName()
1791 Matches.push_back(StringMatcher::StringPair( in EmitMatchRegisterName()
1922 std::vector<StringMatcher::StringPair> Cases; in EmitMnemonicAliases()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/TableGen/
DStringMatcher.h34 using StringPair = std::pair<std::string, std::string>;
38 const std::vector<StringPair> &Matches;
43 const std::vector<StringPair> &matches, raw_ostream &os) in StringMatcher()
49 bool EmitStringMatcherForChar(const std::vector<const StringPair *> &Matches,
/external/llvm/lib/TableGen/
DStringMatcher.cpp24 StringMatcher::StringPair*> &Matches) { in FindFirstNonCommonLetter()
44 EmitStringMatcherForChar(const std::vector<const StringPair*> &Matches, in EmitStringMatcherForChar()
70 std::map<char, std::vector<const StringPair*> > MatchesByLetter; in EmitStringMatcherForChar()
106 for (std::map<char, std::vector<const StringPair*> >::iterator LI = in EmitStringMatcherForChar()
129 std::map<unsigned, std::vector<const StringPair*> > MatchesByLength; in Emit()
139 for (std::map<unsigned, std::vector<const StringPair*> >::iterator LI = in Emit()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/
DStringMatcher.cpp30 StringMatcher::StringPair*> &Matches) { in FindFirstNonCommonLetter()
50 const std::vector<const StringPair *> &Matches, unsigned CharNo, in EmitStringMatcherForChar()
77 std::map<char, std::vector<const StringPair*>> MatchesByLetter; in EmitStringMatcherForChar()
114 for (std::map<char, std::vector<const StringPair*>>::iterator LI = in EmitStringMatcherForChar()
137 std::map<unsigned, std::vector<const StringPair*>> MatchesByLength; in Emit()
147 for (std::map<unsigned, std::vector<const StringPair*>>::iterator LI = in Emit()
/external/clang/utils/TableGen/
DClangCommentHTMLTagsEmitter.cpp25 std::vector<StringMatcher::StringPair> Matches; in EmitClangCommentHTMLTags()
41 std::vector<StringMatcher::StringPair> MatchesEndTagOptional; in EmitClangCommentHTMLTagsProperties()
42 std::vector<StringMatcher::StringPair> MatchesEndTagForbidden; in EmitClangCommentHTMLTagsProperties()
45 StringMatcher::StringPair Match(Spelling, "return true;"); in EmitClangCommentHTMLTagsProperties()
DClangCommentHTMLNamedCharacterReferenceEmitter.cpp53 std::vector<StringMatcher::StringPair> NameToUTF8; in EmitClangCommentHTMLNamedCharacterReferences()
70 StringMatcher::StringPair Match(Spelling, CLiteral.str()); in EmitClangCommentHTMLNamedCharacterReferences()
DClangCommentCommandInfoEmitter.cpp63 std::vector<StringMatcher::StringPair> Matches; in EmitClangCommentCommandInfo()
/external/libchrome/mojo/public/interfaces/bindings/tests/
Dtest_export.mojom7 struct StringPair {
15 // InlinedStructPtr<StringPair>.
17 array<StringPair> pairs;
Dtest_export2.mojom7 struct StringPair {
Dtest_import.mojom10 mojo.test.test_export.StringPair strings;
/external/icu/icu4c/source/common/
Dserv.cpp296 StringPair*
297 StringPair::create(const UnicodeString& displayName, in create()
302 StringPair* sp = new StringPair(displayName, id); in create()
314 StringPair::isBogus() const { in isBogus()
318 StringPair::StringPair(const UnicodeString& _displayName, in StringPair() function in StringPair
328 U_NAMESPACE_USE delete (StringPair*) obj; in userv_deleteStringPair()
800 StringPair* sp = StringPair::create(*id, *dn, status); in getDisplayNames()
Dserv.h405 class U_COMMON_API StringPair : public UMemory {
425 static StringPair* create(const UnicodeString& displayName,
436 StringPair(const UnicodeString& displayName, const UnicodeString& id);
/external/icu/icu4c/source/test/intltest/
Dicusvtst.cpp708 const StringPair* pair = (const StringPair*)names[i]; in testAPI_Two()
748 const StringPair* pair = (const StringPair*)names[i]; in testAPI_Two()
920 const StringPair* pair = (const StringPair*)names[i]; in testRBF()
945 const StringPair* pair = (const StringPair*)names[i]; in testRBF()
Dtstnorm.cpp1453 struct StringPair { const char *input, *expected; }; argument
1457 static const StringPair pairs[]={ in TestCustomComp()
1480 const StringPair &pair=pairs[i]; in TestCustomComp()
1492 static const StringPair pairs[]={ in TestCustomFCC()
1517 const StringPair &pair=pairs[i]; in TestCustomFCC()
/external/libchrome/mojo/public/cpp/bindings/tests/
Dstruct_unittest.cc497 auto pair = test_export2::StringPair::New("hello", "world"); in TEST_F()
498 auto data = test_export2::StringPair::Serialize(&pair); in TEST_F()
501 ASSERT_TRUE(test_export2::StringPair::Deserialize(data, &output)); in TEST_F()
/external/libchrome/mojo/public/tools/bindings/
DREADME.md152 struct StringPair {
174 struct StringPair {
207 StringPair some_strings;
208 StringPair? maybe_some_more_strings;
235 map<StringPair, AllTheThings?>? maybe_a_pretty_weird_but_valid_map;
236 map<StringPair, map<int32, array<map<string, string>?>?>?> ridiculous;
273 StringPair pair;
/external/grpc-grpc/src/compiler/
Dpython_generator.cc60 typedef tuple<grpc::string, grpc::string> StringPair; typedef
61 typedef set<StringPair> StringPairSet;
/external/llvm/utils/TableGen/
DAsmMatcherEmitter.cpp2317 std::vector<StringMatcher::StringPair> Matches; in emitMatchTokenString()
2336 std::vector<StringMatcher::StringPair> Matches; in emitMatchRegisterName()
2359 std::vector<StringMatcher::StringPair> Matches; in emitMatchRegisterAltName()
2552 std::vector<StringMatcher::StringPair> Cases; in emitMnemonicAliasVariant()
/external/swiftshader/third_party/llvm-7.0/llvm/utils/TableGen/
DAsmMatcherEmitter.cpp2575 std::vector<StringMatcher::StringPair> Matches; in emitMatchTokenString()
2594 std::vector<StringMatcher::StringPair> Matches; in emitMatchRegisterName()
2619 std::vector<StringMatcher::StringPair> Matches; in emitMatchRegisterAltName()
2735 std::vector<StringMatcher::StringPair> Cases; in emitMnemonicAliasVariant()

12