/external/llvm-project/llvm/unittests/ADT/ |
D | StringSwitchTest.cpp | 116 enum class Suffix { Possible, PastTense, Process, InProgressAction, Unknown }; in TEST() enum 119 return llvm::StringSwitch<Suffix>(S) in TEST() 120 .EndsWith("able", Suffix::Possible) in TEST() 121 .EndsWith("ed", Suffix::PastTense) in TEST() 122 .EndsWith("ation", Suffix::Process) in TEST() 123 .EndsWith("ing", Suffix::InProgressAction) in TEST() 124 .Default(Suffix::Unknown); in TEST() 127 EXPECT_EQ(Suffix::Possible, Translate("optimizable")); in TEST() 128 EXPECT_EQ(Suffix::PastTense, Translate("optimized")); in TEST() 129 EXPECT_EQ(Suffix::Process, Translate("optimization")); in TEST() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/TableGen/ |
D | TableGenBackend.cpp | 22 StringRef Suffix) { in printLine() argument 24 assert((Prefix.str().size() + Suffix.size() <= MAX_LINE_LEN) && in printLine() 27 for (size_t i = (size_t)OS.tell() - Pos, e = MAX_LINE_LEN - Suffix.size(); in printLine() 30 OS << Suffix << '\n'; in printLine() 36 StringRef Suffix(" *|"); in emitSourceFileHeader() local 37 printLine(OS, Prefix, ' ', Suffix); in emitSourceFileHeader() 38 size_t PSLen = Prefix.size() + Suffix.size(); in emitSourceFileHeader() 43 printLine(OS, Prefix + Desc.substr(Pos, Length), ' ', Suffix); in emitSourceFileHeader() 46 printLine(OS, Prefix, ' ', Suffix); in emitSourceFileHeader() 48 Suffix); in emitSourceFileHeader() [all …]
|
/external/llvm-project/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/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/llvm-project/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()
|
D | Preprocessor.cpp | 1160 SmallVector<Token, 32> Suffix; in LexAfterModuleImport() local 1165 Suffix.push_back(Result); in LexAfterModuleImport() 1169 CollectPpImportSuffix(Suffix); in LexAfterModuleImport() 1170 if (Suffix.back().isNot(tok::semi)) { in LexAfterModuleImport() 1172 EnterTokens(Suffix); in LexAfterModuleImport() 1179 SourceLocation SemiLoc = Suffix.back().getLocation(); in LexAfterModuleImport() 1192 /*HashLoc*/ SourceLocation(), ImportTok, Suffix.front(), SemiLoc); in LexAfterModuleImport() 1199 Suffix.emplace_back(); in LexAfterModuleImport() 1200 Suffix.back().startToken(); in LexAfterModuleImport() 1201 Suffix.back().setKind(tok::annot_module_begin); in LexAfterModuleImport() [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/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/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/llvm-project/llvm/include/llvm/ADT/ |
D | Twine.h | 425 Twine concat(const Twine &Suffix) const; 488 inline Twine Twine::concat(const Twine &Suffix) const { in concat() argument 490 if (isNull() || Suffix.isNull()) in concat() 495 return Suffix; in concat() 496 if (Suffix.isEmpty()) in concat() 503 NewRHS.twine = &Suffix; in concat() 509 if (Suffix.isUnary()) { in concat() 510 NewRHS = Suffix.LHS; in concat() 511 NewRHSKind = Suffix.getLHSKind(); in concat()
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ADT/ |
D | Twine.h | 425 Twine concat(const Twine &Suffix) const; 488 inline Twine Twine::concat(const Twine &Suffix) const { in concat() argument 490 if (isNull() || Suffix.isNull()) in concat() 495 return Suffix; in concat() 496 if (Suffix.isEmpty()) in concat() 503 NewRHS.twine = &Suffix; in concat() 509 if (Suffix.isUnary()) { in concat() 510 NewRHS = Suffix.LHS; in concat() 511 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()
|
/external/llvm-project/clang/lib/Driver/ToolChains/ |
D | MipsLinux.cpp | 125 const char *Suffix; in getCompilerRT() local 128 Suffix = ".o"; in getCompilerRT() 131 Suffix = ".a"; in getCompilerRT() 134 Suffix = ".so"; in getCompilerRT() 138 Path, Twine("libclang_rt." + Component + "-" + "mips" + Suffix)); in getCompilerRT()
|
/external/rust/crates/bstr/src/search/ |
D | twoway.rs | 65 let min_suffix = Suffix::forward(needle, SuffixKind::Minimal); in forward() 66 let max_suffix = Suffix::forward(needle, SuffixKind::Maximal); in forward() 91 let min_suffix = Suffix::reverse(needle, SuffixKind::Minimal); in reverse() 92 let max_suffix = Suffix::reverse(needle, SuffixKind::Maximal); in reverse() 541 struct Suffix { struct 557 impl Suffix { implementation 558 fn forward(needle: &[u8], kind: SuffixKind) -> Suffix { in forward() argument 563 let mut suffix = Suffix { pos: 0, period: 1 }; in forward() 586 suffix = Suffix { pos: candidate_start, period: 1 }; in forward() 608 fn reverse(needle: &[u8], kind: SuffixKind) -> Suffix { in reverse() argument [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/ |
D | WindowsResource.h | 107 uint16_t getDataVersion() const { return Suffix->DataVersion; } in getDataVersion() 108 uint16_t getLanguage() const { return Suffix->Language; } in getLanguage() 109 uint16_t getMemoryFlags() const { return Suffix->MemoryFlags; } in getMemoryFlags() 110 uint16_t getMajorVersion() const { return Suffix->Version >> 16; } in getMajorVersion() 111 uint16_t getMinorVersion() const { return Suffix->Version; } in getMinorVersion() 112 uint32_t getCharacteristics() const { return Suffix->Characteristics; } in getCharacteristics() 132 const WinResHeaderSuffix *Suffix = nullptr; variable
|
/external/llvm-project/llvm/include/llvm/Object/ |
D | WindowsResource.h | 107 uint16_t getDataVersion() const { return Suffix->DataVersion; } in getDataVersion() 108 uint16_t getLanguage() const { return Suffix->Language; } in getLanguage() 109 uint16_t getMemoryFlags() const { return Suffix->MemoryFlags; } in getMemoryFlags() 110 uint16_t getMajorVersion() const { return Suffix->Version >> 16; } in getMajorVersion() 111 uint16_t getMinorVersion() const { return Suffix->Version; } in getMinorVersion() 112 uint32_t getCharacteristics() const { return Suffix->Characteristics; } in getCharacteristics() 132 const WinResHeaderSuffix *Suffix = nullptr; variable
|
/external/curl/include/curl/ |
D | system.h | 495 # define CURLINC_OFF_T_C_HLPR2(Val,Suffix) Val ## Suffix argument 497 # define CURLINC_OFF_T_C_HLPR2(Val,Suffix) Val/**/Suffix argument 499 # define CURLINC_OFF_T_C_HLPR1(Val,Suffix) CURLINC_OFF_T_C_HLPR2(Val,Suffix) argument
|
/external/selinux/mcstrans/share/examples/pipes/setrans.d/ |
D | pipes.conf | 3 Suffix=Pipes Only 4 Suffix=Pipes
|
/external/llvm-project/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/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/swiftshader/third_party/subzero/src/ |
D | IceTimerTree.cpp | 279 std::string Suffix = ""; in dump() local 281 if (Suffix.empty()) in dump() 282 Suffix = IDs[Nodes[Prefix].Interior]; in dump() 284 Suffix = IDs[Nodes[Prefix].Interior] + "." + Suffix; in dump() 290 CumulativeMap.insert(std::make_pair(Nodes[i].Time, PrefixStr + Suffix)); in dump()
|
/external/llvm-project/polly/lib/Support/ |
D | GICHelper.cpp | 181 const std::string &Suffix) { in getIslCompatibleName() argument 182 std::string S = Prefix + Middle + Suffix; in getIslCompatibleName() 189 const std::string &Suffix, in getIslCompatibleName() argument 198 S += Suffix; in getIslCompatibleName() 206 const std::string &Suffix, in getIslCompatibleName() argument 215 return getIslCompatibleName(Prefix, ValStr, Suffix); in getIslCompatibleName()
|
/external/llvm-project/clang/lib/Basic/Targets/ |
D | Hexagon.cpp | 183 llvm::StringLiteral Suffix; member 198 return Item->Suffix.data(); in getHexagonCPUSuffix() 203 for (const CPUSuffix &Suffix : Suffixes) in fillValidCPUList() local 204 Values.push_back(Suffix.Name); in fillValidCPUList()
|
/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 …]
|