/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
D | StringSwitchTest.cpp | 117 enum class Suffix { Possible, PastTense, Process, InProgressAction, Unknown }; in TEST() enum 120 return llvm::StringSwitch<Suffix>(S) in TEST() 121 .EndsWith("able", Suffix::Possible) in TEST() 122 .EndsWith("ed", Suffix::PastTense) in TEST() 123 .EndsWith("ation", Suffix::Process) in TEST() 124 .EndsWith("ing", Suffix::InProgressAction) in TEST() 125 .Default(Suffix::Unknown); in TEST() 128 EXPECT_EQ(Suffix::Possible, Translate("optimizable")); in TEST() 129 EXPECT_EQ(Suffix::PastTense, Translate("optimized")); in TEST() 130 EXPECT_EQ(Suffix::Process, Translate("optimization")); in TEST() [all …]
|
/external/llvm/lib/TableGen/ |
D | TableGenBackend.cpp | 23 StringRef Suffix) { in printLine() argument 25 assert((Prefix.str().size() + Suffix.size() <= MAX_LINE_LEN) && in printLine() 28 for (size_t i = (size_t)OS.tell() - Pos, e = MAX_LINE_LEN - Suffix.size(); in printLine() 31 OS << Suffix << '\n'; in printLine() 37 StringRef Suffix(" *|"); in emitSourceFileHeader() local 38 printLine(OS, Prefix, ' ', Suffix); in emitSourceFileHeader() 39 size_t PSLen = Prefix.size() + Suffix.size(); in emitSourceFileHeader() 44 printLine(OS, Prefix + Desc.substr(Pos, Length), ' ', Suffix); in emitSourceFileHeader() 47 printLine(OS, Prefix, ' ', Suffix); in emitSourceFileHeader() 49 Suffix); in emitSourceFileHeader() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/TableGen/ |
D | TableGenBackend.cpp | 23 StringRef Suffix) { in printLine() argument 25 assert((Prefix.str().size() + Suffix.size() <= MAX_LINE_LEN) && in printLine() 28 for (size_t i = (size_t)OS.tell() - Pos, e = MAX_LINE_LEN - Suffix.size(); in printLine() 31 OS << Suffix << '\n'; in printLine() 37 StringRef Suffix(" *|"); in emitSourceFileHeader() local 38 printLine(OS, Prefix, ' ', Suffix); in emitSourceFileHeader() 39 size_t PSLen = Prefix.size() + Suffix.size(); in emitSourceFileHeader() 44 printLine(OS, Prefix + Desc.substr(Pos, Length), ' ', Suffix); in emitSourceFileHeader() 47 printLine(OS, Prefix, ' ', Suffix); in emitSourceFileHeader() 49 Suffix); in emitSourceFileHeader() [all …]
|
/external/clang/lib/Lex/ |
D | HeaderMap.cpp | 144 Result.Suffix = getEndianAdjustedWord(BucketPtr->Suffix); in getBucket() 191 StringRef Suffix = getStringOrInvalid(B.Suffix); in dump() local 193 << Suffix << "'\n"; in dump() 233 Optional<StringRef> Suffix = getString(B.Suffix); in lookupFilename() local 236 if (LLVM_LIKELY(Prefix && Suffix)) { in lookupFilename() 238 DestPath.append(Suffix->begin(), Suffix->end()); in lookupFilename()
|
/external/google-breakpad/src/third_party/curl/ |
D | curlrules.h | 221 # define __CURL_OFF_T_C_HELPER2(Val,Suffix) Val ## Suffix argument 223 # define __CURL_OFF_T_C_HELPER2(Val,Suffix) Val/**/Suffix argument 225 #define __CURL_OFF_T_C_HELPER1(Val,Suffix) __CURL_OFF_T_C_HELPER2(Val,Suffix) argument
|
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
D | Twine.h | 410 Twine concat(const Twine &Suffix) const; 468 inline Twine Twine::concat(const Twine &Suffix) const { in concat() argument 470 if (isNull() || Suffix.isNull()) in concat() 475 return Suffix; in concat() 476 if (Suffix.isEmpty()) in concat() 483 NewRHS.twine = &Suffix; in concat() 489 if (Suffix.isUnary()) { in concat() 490 NewRHS = Suffix.LHS; in concat() 491 NewRHSKind = Suffix.getLHSKind(); in concat()
|
D | StringRef.h | 203 bool endswith(StringRef Suffix) const { in endswith() argument 204 return Length >= Suffix.Length && in endswith() 205 compareMemory(end() - Suffix.Length, Suffix.Data, Suffix.Length) == 0; in endswith()
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
D | Twine.h | 423 Twine concat(const Twine &Suffix) const; 486 inline Twine Twine::concat(const Twine &Suffix) const { in concat() argument 488 if (isNull() || Suffix.isNull()) in concat() 493 return Suffix; in concat() 494 if (Suffix.isEmpty()) in concat() 501 NewRHS.twine = &Suffix; in concat() 507 if (Suffix.isUnary()) { in concat() 508 NewRHS = Suffix.LHS; in concat() 509 NewRHSKind = Suffix.getLHSKind(); in concat()
|
D | StringRef.h | 279 bool endswith(StringRef Suffix) const { in endswith() argument 280 return Length >= Suffix.Length && in endswith() 281 compareMemory(end() - Suffix.Length, Suffix.Data, Suffix.Length) == 0; in endswith() 286 bool endswith_lower(StringRef Suffix) const; 689 bool consume_back(StringRef Suffix) { in consume_back() argument 690 if (!endswith(Suffix)) in consume_back() 693 *this = drop_back(Suffix.size()); in consume_back()
|
/external/llvm/include/llvm/ADT/ |
D | Twine.h | 422 Twine concat(const Twine &Suffix) const; 485 inline Twine Twine::concat(const Twine &Suffix) const { in concat() argument 487 if (isNull() || Suffix.isNull()) in concat() 492 return Suffix; in concat() 493 if (Suffix.isEmpty()) in concat() 500 NewRHS.twine = &Suffix; in concat() 506 if (Suffix.isUnary()) { in concat() 507 NewRHS = Suffix.LHS; in concat() 508 NewRHSKind = Suffix.getLHSKind(); in concat()
|
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
D | Twine.h | 433 Twine concat(const Twine &Suffix) const; 496 inline Twine Twine::concat(const Twine &Suffix) const { in concat() argument 498 if (isNull() || Suffix.isNull()) in concat() 503 return Suffix; in concat() 504 if (Suffix.isEmpty()) in concat() 511 NewRHS.twine = &Suffix; in concat() 517 if (Suffix.isUnary()) { in concat() 518 NewRHS = Suffix.LHS; in concat() 519 NewRHSKind = Suffix.getLHSKind(); in concat()
|
D | StringRef.h | 276 bool endswith(StringRef Suffix) const { in endswith() argument 277 return Length >= Suffix.Length && in endswith() 278 compareMemory(end() - Suffix.Length, Suffix.Data, Suffix.Length) == 0; in endswith() 283 bool endswith_lower(StringRef Suffix) const; 678 bool consume_back(StringRef Suffix) { in consume_back() argument 679 if (!endswith(Suffix)) in consume_back() 682 *this = drop_back(Suffix.size()); in consume_back()
|
/external/Reactive-Extensions/RxCpp/Rx/v2/examples/win_text/ |
D | unwinder.h | 41 #define UNWIND_MAKE_IDENTIFIER_EXPLICIT_PASTER(Prefix, Suffix) Prefix ## Suffix argument 42 …efine UNWIND_MAKE_IDENTIFIER_EXPLICIT(Prefix, Suffix) UNWIND_MAKE_IDENTIFIER_EXPLICIT_PASTER(Prefi… argument
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/ |
D | WindowsResource.h | 103 uint16_t getDataVersion() const { return Suffix->DataVersion; } in getDataVersion() 104 uint16_t getLanguage() const { return Suffix->Language; } in getLanguage() 105 uint16_t getMemoryFlags() const { return Suffix->MemoryFlags; } in getMemoryFlags() 106 uint16_t getMajorVersion() const { return Suffix->Version >> 16; } in getMajorVersion() 107 uint16_t getMinorVersion() const { return Suffix->Version; } in getMinorVersion() 108 uint32_t getCharacteristics() const { return Suffix->Characteristics; } in getCharacteristics() 127 const WinResHeaderSuffix *Suffix = nullptr; variable
|
/external/swiftshader/third_party/LLVM/tools/bugpoint/ |
D | Miscompilation.cpp | 52 std::vector<std::string> &Suffix, 62 std::vector<std::string> &Suffix, in doTest() argument 66 outs() << "Checking to see if '" << getPassesString(Suffix) in doTest() 70 if (BD.runPasses(BD.getProgram(), Suffix, BitcodeResult, false/*delete*/, in doTest() 74 BD.setPassesToRun(Suffix); in doTest() 86 if (Suffix.empty()) { in doTest() 141 if (Suffix.empty()) in doTest() 144 outs() << "Checking to see if '" << getPassesString(Suffix) in doTest() 149 if (BD.runPasses(BD.getProgram(), Suffix, BitcodeResult, false/*delete*/, in doTest() 153 BD.setPassesToRun(Suffix); in doTest() [all …]
|
D | ListReducer.h | 117 std::vector<ElTy> Suffix(TheList.begin()+Mid, TheList.end()); in reduceList() 119 switch (doTest(Prefix, Suffix, Error)) { in reduceList() 123 TheList.swap(Suffix); in reduceList()
|
/external/curl/include/curl/ |
D | system.h | 484 # define __CURL_OFF_T_C_HLPR2(Val,Suffix) Val ## Suffix argument 486 # define __CURL_OFF_T_C_HLPR2(Val,Suffix) Val/**/Suffix argument 488 # define __CURL_OFF_T_C_HLPR1(Val,Suffix) __CURL_OFF_T_C_HLPR2(Val,Suffix) argument
|
/external/swiftshader/third_party/subzero/src/ |
D | IceTimerTree.cpp | 277 std::string Suffix = ""; in dump() local 279 if (Suffix.empty()) in dump() 280 Suffix = IDs[Nodes[Prefix].Interior]; in dump() 282 Suffix = IDs[Nodes[Prefix].Interior] + "." + Suffix; in dump() 288 CumulativeMap.insert(std::make_pair(Nodes[i].Time, PrefixStr + Suffix)); in dump()
|
/external/clang/test/Index/ |
D | recursive-cxx-member-calls.cpp | 56 bool endswith(StringRef Suffix) const { in endswith() 57 return Length >= Suffix.Length && in endswith() 58 memcmp(end() - Suffix.Length, Suffix.Data, Suffix.Length) == 0; in endswith()
|
/external/llvm/tools/bugpoint/ |
D | Miscompilation.cpp | 53 std::vector<std::string> &Suffix, 63 std::vector<std::string> &Suffix, in doTest() argument 67 outs() << "Checking to see if '" << getPassesString(Suffix) in doTest() 71 if (BD.runPasses(BD.getProgram(), Suffix, BitcodeResult, false/*delete*/, in doTest() 75 BD.setPassesToRun(Suffix); in doTest() 87 if (Suffix.empty()) { in doTest() 142 if (Suffix.empty()) in doTest() 145 outs() << "Checking to see if '" << getPassesString(Suffix) in doTest() 151 if (BD.runPasses(BD.getProgram(), Suffix, BitcodeResult, false/*delete*/, in doTest() 155 BD.setPassesToRun(Suffix); in doTest() [all …]
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/bugpoint/ |
D | Miscompilation.cpp | 54 std::vector<std::string> &Suffix) override; 63 std::vector<std::string> &Suffix) { in doTest() argument 66 outs() << "Checking to see if '" << getPassesString(Suffix) in doTest() 70 if (BD.runPasses(BD.getProgram(), Suffix, BitcodeResult, false /*delete*/, in doTest() 74 BD.setPassesToRun(Suffix); in doTest() 89 if (Suffix.empty()) { in doTest() 148 if (Suffix.empty()) in doTest() 151 outs() << "Checking to see if '" << getPassesString(Suffix) in doTest() 157 if (BD.runPasses(BD.getProgram(), Suffix, BitcodeResult, false /*delete*/, in doTest() 161 BD.setPassesToRun(Suffix); in doTest() [all …]
|
/external/selinux/mcstrans/share/examples/pipes/setrans.d/ |
D | pipes.conf | 3 Suffix=Pipes Only 4 Suffix=Pipes
|
/external/pdfium/third_party/lcms/src/ |
D | cmsnamed.c | 532 …ontextID, cmsUInt32Number n, cmsUInt32Number ColorantCount, const char* Prefix, const char* Suffix) in cmsAllocNamedColorList() argument 550 strncpy(v ->Suffix, Suffix, sizeof(v ->Suffix)-1); in cmsAllocNamedColorList() 551 v->Prefix[32] = v->Suffix[32] = 0; in cmsAllocNamedColorList() 572 …NC= cmsAllocNamedColorList(v ->ContextID, v -> nColors, v ->ColorantCount, v ->Prefix, v ->Suffix); in cmsDupNamedColorList() 584 memmove(NewNC ->Suffix, v ->Suffix, sizeof(v ->Suffix)); in cmsDupNamedColorList() 636 char* Suffix, in cmsNamedColorInfo() argument 646 if (Suffix) strcpy(Suffix, NamedColorList->Suffix); in cmsNamedColorInfo()
|
/external/llvm/lib/Target/PowerPC/ |
D | PPCMCInstLower.cpp | 45 StringRef Suffix; in GetSymbolFromOperand() local 47 Suffix = "$non_lazy_ptr"; in GetSymbolFromOperand() 49 if (!Suffix.empty()) in GetSymbolFromOperand() 60 Name += Suffix; in GetSymbolFromOperand()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Orc/ |
D | CompileOnDemandLayer.cpp | 75 extractAndClone(Module &M, LLVMContext &NewContext, StringRef Suffix, in extractAndClone() argument 117 ClonedModule->setModuleIdentifier((M.getName() + Suffix).str()); in extractAndClone() 158 std::string Suffix; in materialize() local 165 Suffix += "."; in materialize() 166 Suffix += *Name; in materialize() 171 extractAndClone(*M, Parent.GetAvailableContext(), Suffix, in materialize()
|