/external/swiftshader/third_party/LLVM/unittests/ADT/ |
TwineTest.cpp | 1 //===- TwineTest.cpp - Twine unit tests -----------------------------------===// 11 #include "llvm/ADT/Twine.h" 18 std::string repr(const Twine &Value) { 26 EXPECT_EQ("", Twine().str()); 27 EXPECT_EQ("hi", Twine("hi").str()); 28 EXPECT_EQ("hi", Twine(std::string("hi")).str()); 29 EXPECT_EQ("hi", Twine(StringRef("hi")).str()); 30 EXPECT_EQ("hi", Twine(StringRef(std::string("hi"))).str()); 31 EXPECT_EQ("hi", Twine(StringRef("hithere", 2)).str()); 35 EXPECT_EQ("123", Twine(123U).str()) [all...] |
/external/llvm/unittests/ADT/ |
TwineTest.cpp | 1 //===- TwineTest.cpp - Twine unit tests -----------------------------------===// 10 #include "llvm/ADT/Twine.h" 18 std::string repr(const Twine &Value) { 26 EXPECT_EQ("", Twine().str()); 27 EXPECT_EQ("hi", Twine("hi").str()); 28 EXPECT_EQ("hi", Twine(std::string("hi")).str()); 29 EXPECT_EQ("hi", Twine(StringRef("hi")).str()); 30 EXPECT_EQ("hi", Twine(StringRef(std::string("hi"))).str()); 31 EXPECT_EQ("hi", Twine(StringRef("hithere", 2)).str()); 32 EXPECT_EQ("hi", Twine(SmallString<4>("hi")).str()) [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/TableGen/ |
Error.h | 22 void PrintNote(ArrayRef<SMLoc> NoteLoc, const Twine &Msg); 24 void PrintWarning(ArrayRef<SMLoc> WarningLoc, const Twine &Msg); 25 void PrintWarning(const char *Loc, const Twine &Msg); 26 void PrintWarning(const Twine &Msg); 28 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg); 29 void PrintError(const char *Loc, const Twine &Msg); 30 void PrintError(const Twine &Msg); 32 LLVM_ATTRIBUTE_NORETURN void PrintFatalError(const Twine &Msg); 34 const Twine &Msg);
|
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ADT/ |
TwineTest.cpp | 1 //===- TwineTest.cpp - Twine unit tests -----------------------------------===// 10 #include "llvm/ADT/Twine.h" 20 std::string repr(const Twine &Value) { 28 EXPECT_EQ("", Twine().str()); 29 EXPECT_EQ("hi", Twine("hi").str()); 30 EXPECT_EQ("hi", Twine(std::string("hi")).str()); 31 EXPECT_EQ("hi", Twine(StringRef("hi")).str()); 32 EXPECT_EQ("hi", Twine(StringRef(std::string("hi"))).str()); 33 EXPECT_EQ("hi", Twine(StringRef("hithere", 2)).str()); 34 EXPECT_EQ("hi", Twine(SmallString<4>("hi")).str()) [all...] |
/external/clang/test/CodeGenCXX/ |
constructor-convert.cpp | 4 class Twine { 6 Twine(const char *Str) { } 9 static void error(const Twine &Message) {}
|
/external/llvm/include/llvm/TableGen/ |
Error.h | 22 void PrintWarning(ArrayRef<SMLoc> WarningLoc, const Twine &Msg); 23 void PrintWarning(const char *Loc, const Twine &Msg); 24 void PrintWarning(const Twine &Msg); 26 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg); 27 void PrintError(const char *Loc, const Twine &Msg); 28 void PrintError(const Twine &Msg); 30 LLVM_ATTRIBUTE_NORETURN void PrintFatalError(const Twine &Msg); 32 const Twine &Msg);
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Support/ |
Twine.cpp | 1 //===-- Twine.cpp - Fast Temporary String Concatenation -------------------===// 10 #include "llvm/ADT/Twine.h" 18 std::string Twine::str() const { 33 void Twine::toVector(SmallVectorImpl<char> &Out) const { 38 StringRef Twine::toNullTerminatedStringRef(SmallVectorImpl<char> &Out) const { 58 void Twine::printOneChild(raw_ostream &OS, Child Ptr, 61 case Twine::NullKind: break; 62 case Twine::EmptyKind: break; 63 case Twine::TwineKind: 64 Ptr.twine->print(OS) [all...] |
/external/swiftshader/third_party/llvm-subzero/lib/Support/ |
Twine.cpp | 1 //===-- Twine.cpp - Fast Temporary String Concatenation -------------------===// 10 #include "llvm/ADT/Twine.h" 17 std::string Twine::str() const { 32 void Twine::toVector(SmallVectorImpl<char> &Out) const { 37 StringRef Twine::toNullTerminatedStringRef(SmallVectorImpl<char> &Out) const { 57 void Twine::printOneChild(raw_ostream &OS, Child Ptr, 60 case Twine::NullKind: break; 61 case Twine::EmptyKind: break; 62 case Twine::TwineKind: 63 Ptr.twine->print(OS) [all...] |
/external/clang/include/clang/Basic/ |
MacroBuilder.h | 19 #include "llvm/ADT/Twine.h" 30 void defineMacro(const Twine &Name, const Twine &Value = "1") { 36 void undefineMacro(const Twine &Name) { 41 void append(const Twine &Str) {
|
/external/llvm/lib/Support/ |
Twine.cpp | 1 //===-- Twine.cpp - Fast Temporary String Concatenation -------------------===// 10 #include "llvm/ADT/Twine.h" 16 std::string Twine::str() const { 26 void Twine::toVector(SmallVectorImpl<char> &Out) const { 31 StringRef Twine::toNullTerminatedStringRef(SmallVectorImpl<char> &Out) const { 51 void Twine::printOneChild(raw_ostream &OS, Child Ptr, 54 case Twine::NullKind: break; 55 case Twine::EmptyKind: break; 56 case Twine::TwineKind: 57 Ptr.twine->print(OS) [all...] |
/external/swiftshader/third_party/LLVM/lib/Support/ |
Twine.cpp | 1 //===-- Twine.cpp - Fast Temporary String Concatenation -------------------===// 10 #include "llvm/ADT/Twine.h" 16 std::string Twine::str() const { 26 void Twine::toVector(SmallVectorImpl<char> &Out) const { 31 StringRef Twine::toStringRef(SmallVectorImpl<char> &Out) const { 38 StringRef Twine::toNullTerminatedStringRef(SmallVectorImpl<char> &Out) const { 58 void Twine::printOneChild(raw_ostream &OS, Child Ptr, 61 case Twine::NullKind: break; 62 case Twine::EmptyKind: break; 63 case Twine::TwineKind [all...] |
/external/llvm/lib/Linker/ |
LinkDiagnosticInfo.h | 17 const Twine &Msg; 20 LinkDiagnosticInfo(DiagnosticSeverity Severity, const Twine &Msg);
|
/external/llvm/lib/Target/PowerPC/ |
PPCMachineFunctionInfo.cpp | 22 return MF.getContext().getOrCreateSymbol(Twine(DL.getPrivateGlobalPrefix()) + 23 Twine(MF.getFunctionNumber()) + 29 return MF.getContext().getOrCreateSymbol(Twine(DL.getPrivateGlobalPrefix()) + 31 Twine(MF.getFunctionNumber())); 36 return MF.getContext().getOrCreateSymbol(Twine(DL.getPrivateGlobalPrefix()) + 38 Twine(MF.getFunctionNumber())); 43 return MF.getContext().getOrCreateSymbol(Twine(DL.getPrivateGlobalPrefix()) + 45 Twine(MF.getFunctionNumber()));
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Linker/ |
LinkDiagnosticInfo.h | 17 const Twine &Msg; 20 LinkDiagnosticInfo(DiagnosticSeverity Severity, const Twine &Msg);
|
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/ |
Twine.h | 1 //===- Twine.h - Fast Temporary String Concatenation ------------*- C++ -*-===// 25 /// Twine - A lightweight data structure for efficiently representing the 28 /// A Twine is a kind of rope, it represents a concatenated string using a 30 /// Twine can be efficiently rendered into a buffer when its result is used, 32 /// results -- particularly in cases when the Twine result is never 37 /// A Twine is not intended for use directly and should not be stored, its 49 /// Given the nature of a Twine, it is not possible for the Twine's 51 /// represented inside the returned value. For this reason a Twine object 53 /// concatenation. We also have nullary Twine objects, which are effectivel 139 const Twine *twine; member in union:llvm::Twine::Child [all...] |
/external/llvm/include/llvm/Support/ |
Path.h | 19 #include "llvm/ADT/Twine.h" 143 void replace_extension(SmallVectorImpl<char> &path, const Twine &extension); 172 void append(SmallVectorImpl<char> &path, const Twine &a, 173 const Twine &b = "", 174 const Twine &c = "", 175 const Twine &d = ""); 201 void native(const Twine &path, SmallVectorImpl<char> &result); 360 bool user_cache_directory(SmallVectorImpl<char> &Result, const Twine &Path1, 361 const Twine &Path2 = "", const Twine &Path3 = "") [all...] |
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/ |
Path.h | 19 #include "llvm/ADT/Twine.h" 143 void replace_extension(SmallVectorImpl<char> &path, const Twine &extension); 172 void append(SmallVectorImpl<char> &path, const Twine &a, 173 const Twine &b = "", 174 const Twine &c = "", 175 const Twine &d = ""); 201 void native(const Twine &path, SmallVectorImpl<char> &result); 360 bool user_cache_directory(SmallVectorImpl<char> &Result, const Twine &Path1, 361 const Twine &Path2 = "", const Twine &Path3 = "") [all...] |
/external/swiftshader/third_party/LLVM/include/llvm/ADT/ |
Twine.h | 1 //===-- Twine.h - Fast Temporary String Concatenation -----------*- C++ -*-===// 24 /// Twine - A lightweight data structure for efficiently representing the 27 /// A Twine is a kind of rope, it represents a concatenated string using a 29 /// Twine can be efficiently rendered into a buffer when its result is used, 31 /// results -- particularly in cases when the Twine result is never 36 /// A Twine is not intended for use directly and should not be stored, its 48 /// Given the nature of a Twine, it is not possible for the Twine's 50 /// represented inside the returned value. For this reason a Twine object 52 /// concatenation. We also have nullary Twine objects, which are effectivel 134 const Twine *twine; member in union:llvm::Twine::Child [all...] |
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Passes/ |
PassPlugin.cpp | 22 return make_error<StringError>(Twine("Could not load library '") + 33 return make_error<StringError>(Twine("Plugin entry point not found in '") + 41 Twine("Wrong API version on plugin '") + Filename + "'. Got version " + 42 Twine(P.Info.APIVersion) + ", supported version is " + 43 Twine(LLVM_PLUGIN_API_VERSION) + ".", 47 return make_error<StringError>(Twine("Empty entry callback in plugin '") +
|
/external/swiftshader/third_party/llvm-7.0/llvm/tools/dsymutil/ |
LinkUtils.h | 13 #include "llvm/ADT/Twine.h" 66 inline void warn(Twine Warning, Twine Context = {}) { 69 WithColor::note() << Twine("while processing ") + Context + "\n"; 72 inline bool error(Twine Error, Twine Context = {}) { 75 WithColor::note() << Twine("while processing ") + Context + "\n";
|
/external/swiftshader/third_party/LLVM/lib/TableGen/ |
Error.cpp | 16 #include "llvm/ADT/Twine.h" 23 void PrintError(SMLoc ErrorLoc, const Twine &Msg) { 27 void PrintError(const char *Loc, const Twine &Msg) { 31 void PrintError(const Twine &Msg) {
|
/external/swiftshader/third_party/LLVM/include/llvm/Support/ |
PathV2.h | 20 #include "llvm/ADT/Twine.h" 127 void replace_extension(SmallVectorImpl<char> &path, const Twine &extension); 137 void append(SmallVectorImpl<char> &path, const Twine &a, 138 const Twine &b = "", 139 const Twine &c = "", 140 const Twine &d = ""); 164 void native(const Twine &path, SmallVectorImpl<char> &result); 284 bool has_root_name(const Twine &path); 292 bool has_root_directory(const Twine &path); 300 bool has_root_path(const Twine &path) [all...] |
FileSystem.h | 31 #include "llvm/ADT/Twine.h" 130 error_code copy_file(const Twine &from, const Twine &to, 139 error_code create_directories(const Twine &path, bool &existed); 147 error_code create_directory(const Twine &path, bool &existed); 155 error_code create_hard_link(const Twine &to, const Twine &from); 163 error_code create_symlink(const Twine &to, const Twine &from); 179 error_code remove(const Twine &path, bool &existed) [all...] |
/external/llvm/lib/TableGen/ |
Error.cpp | 16 #include "llvm/ADT/Twine.h" 27 const Twine &Msg) { 42 void PrintWarning(ArrayRef<SMLoc> WarningLoc, const Twine &Msg) { 46 void PrintWarning(const char *Loc, const Twine &Msg) { 50 void PrintWarning(const Twine &Msg) { 54 void PrintError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg) { 58 void PrintError(const char *Loc, const Twine &Msg) { 62 void PrintError(const Twine &Msg) { 66 void PrintFatalError(const Twine &Msg) { 73 void PrintFatalError(ArrayRef<SMLoc> ErrorLoc, const Twine &Msg) [all...] |
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/ |
Twine.h | 1 //===-- Twine.h - Fast Temporary String Concatenation -----------*- C++ -*-===// 25 /// Twine - A lightweight data structure for efficiently representing the 28 /// A Twine is a kind of rope, it represents a concatenated string using a 30 /// Twine can be efficiently rendered into a buffer when its result is used, 32 /// results -- particularly in cases when the Twine result is never 37 /// A Twine is not intended for use directly and should not be stored, its 49 /// Given the nature of a Twine, it is not possible for the Twine's 51 /// represented inside the returned value. For this reason a Twine object 53 /// concatenation. We also have nullary Twine objects, which are effectivel 139 const Twine *twine; member in union:llvm::Twine::Child [all...] |