/external/llvm/unittests/ADT/ |
SmallStringTest.cpp | 10 // SmallString unit tests. 14 #include "llvm/ADT/SmallString.h" 27 typedef SmallString<40> StringType; 163 EXPECT_EQ(-1, SmallString<10>("aab").compare("aad")); 164 EXPECT_EQ( 0, SmallString<10>("aab").compare("aab")); 165 EXPECT_EQ( 1, SmallString<10>("aab").compare("aaa")); 166 EXPECT_EQ(-1, SmallString<10>("aab").compare("aabb")); 167 EXPECT_EQ( 1, SmallString<10>("aab").compare("aa")); 168 EXPECT_EQ( 1, SmallString<10>("\xFF").compare("\1")); 170 EXPECT_EQ(-1, SmallString<10>("AaB").compare_lower("aAd")) [all...] |
TwineTest.cpp | 11 #include "llvm/ADT/SmallString.h" 32 EXPECT_EQ("hi", Twine(SmallString<4>("hi")).str()); 66 EXPECT_EQ("(Twine smallstring:\"hi\" empty)", 67 repr(Twine().concat(Twine(SmallString<5>("hi"))))); 68 EXPECT_EQ("(Twine smallstring:\"hey\" cstring:\"there\")", 69 repr(Twine(SmallString<7>("hey")).concat(Twine("there")))); 80 EXPECT_EQ("(Twine cstring:\"a\" rope:(Twine smallstring:\"b\" cstring:\"c\"))", 81 repr(Twine("a").concat(Twine(SmallString<3>("b")).concat(Twine("c"))))); 85 SmallString<8> storage; 89 EXPECT_EQ(0, *Twine(SmallString<11>("hello") [all...] |
/external/llvm/unittests/Support/ |
LockFileManagerTest.cpp | 21 SmallString<64> TmpDir; 26 SmallString<64> LockedFile(TmpDir); 48 SmallString<64> TmpDir; 53 SmallString<64> LockedFile(TmpDir); 56 SmallString<64> FileLocK(TmpDir); 59 SmallString<64> TmpFileLock(TmpDir); 91 SmallString<64> TmpDir; 101 SmallString<64> LockedFile("inner"); 104 SmallString<64> FileLock(LockedFile);
|
formatted_raw_ostream_test.cpp | 11 #include "llvm/ADT/SmallString.h" 21 SmallString<128> A;
|
raw_pwrite_stream_test.cpp | 11 #include "llvm/ADT/SmallString.h" 19 SmallString<64> Buffer;
|
MD5Test.cpp | 15 #include "llvm/ADT/SmallString.h" 28 SmallString<32> Res; 38 SmallString<32> Res;
|
FileOutputBufferTest.cpp | 32 SmallString<128> TestDirectory; 39 SmallString<128> File1(TestDirectory); 59 SmallString<128> File2(TestDirectory); 74 SmallString<128> File3(TestDirectory); 93 SmallString<128> File4(TestDirectory);
|
CompressionTest.cpp | 15 #include "llvm/ADT/SmallString.h" 27 SmallString<32> Compressed; 28 SmallString<32> Uncompressed;
|
Path.cpp | 28 SmallString<128> MessageStorage; \ 134 SmallString<128> temp_store; 152 SmallString<64> Path(StringRef("c/d/e/foo.txt")); 172 SmallString<64> Path(StringRef(".c/.d/../.")); 192 SmallString<64> Path(StringRef("/c/d/e/foo.txt")); 215 SmallString<64> Path(StringRef("/.c/.d/../.")); 239 SmallString<64> Path(StringRef("c:\\c\\e\\foo.txt")); 297 SmallString<128> HomeDir; 309 SmallString<128> TestDirectory; 325 SmallString<64> TempPath [all...] |
/external/llvm/include/llvm/Support/ |
LockFileManager.h | 13 #include "llvm/ADT/SmallString.h" 53 SmallString<128> FileName; 54 SmallString<128> LockFileName; 55 SmallString<128> UniqueLockFileName;
|
FileOutputBuffer.h | 17 #include "llvm/ADT/SmallString.h" 84 SmallString<128> FinalPath; 85 SmallString<128> TempPath;
|
MD5.h | 32 #include "llvm/ADT/SmallString.h" 62 static void stringifyResult(MD5Result &Result, SmallString<32> &Str);
|
FileUtilities.h | 41 SmallString<128> Filename;
|
/external/clang/include/clang/Basic/ |
LLVM.h | 33 template<unsigned InternalLen> class SmallString; 68 using llvm::SmallString;
|
/external/llvm/include/llvm/Transforms/Utils/ |
ASanStackFrameLayout.h | 15 #include "llvm/ADT/SmallString.h" 42 SmallString<64> DescriptionString;
|
/external/llvm/include/llvm/ADT/ |
SmallString.h | 1 //===- llvm/ADT/SmallString.h - 'Normally small' strings --------*- C++ -*-===// 10 // This file defines the SmallString class. 22 /// SmallString - A SmallString is just a SmallVector with methods and accessors 25 class SmallString : public SmallVector<char, InternalLen> { 28 SmallString() {} 31 SmallString(StringRef S) : SmallVector<char, InternalLen>(S.begin(), S.end()) {} 35 SmallString(ItTy S, ItTy E) : SmallVector<char, InternalLen>(S, E) {} 280 const SmallString &operator=(StringRef RHS) { 285 SmallString &operator+=(StringRef RHS) [all...] |
/external/clang/tools/libclang/ |
CIndexUSRs.cpp | 21 #include "llvm/ADT/SmallString.h" 96 SmallString<128> Buf(getUSRSpacePrefix()); 106 SmallString<128> Buf(getUSRSpacePrefix()); 114 SmallString<128> Buf(getUSRSpacePrefix()); 121 SmallString<128> Buf(getUSRSpacePrefix()); 129 SmallString<128> Buf(getUSRSpacePrefix()); 137 SmallString<128> Buf(getUSRSpacePrefix());
|
CXString.h | 19 #include "llvm/ADT/SmallString.h" 85 SmallString<128> Data;
|
/external/clang/lib/Frontend/ |
ModuleDependencyCollector.cpp | 48 SmallString<256> Dest = getDest(); 64 SmallString<256> AbsoluteSrc = Src; 73 SmallString<256> Dest = Collector.getDest();
|
/external/llvm/include/llvm/MC/ |
StringTableBuilder.h | 13 #include "llvm/ADT/SmallString.h" 21 SmallString<256> StringTable;
|
/external/llvm/unittests/Bitcode/ |
BitReaderTest.cpp | 10 #include "llvm/ADT/SmallString.h" 51 SmallString<1024> &Mem, 62 SmallString<1024> Mem; 86 SmallString<1024> Mem; 104 SmallString<1024> Mem; 136 SmallString<1024> Mem;
|
/external/clang/lib/Tooling/ |
JSONCompilationDatabase.cpp | 18 #include "llvm/ADT/SmallString.h" 123 SmallString<1024> JSONDatabasePath(Directory); 174 SmallString<128> NativeFilePath; 221 SmallString<8> DirectoryStorage; 222 SmallString<1024> CommandStorage; 277 SmallString<8> KeyStorage; 302 SmallString<8> FileStorage; 304 SmallString<128> NativeFilePath; 306 SmallString<8> DirectoryStorage; 307 SmallString<128> AbsolutePath [all...] |
/external/clang/include/clang/Lex/ |
LiteralSupport.h | 22 #include "llvm/ADT/SmallString.h" 54 SmallString<32> UDSuffixBuf; 159 SmallString<32> UDSuffixBuf; 193 SmallString<512> ResultBuf; 195 SmallString<32> UDSuffixBuf;
|
/external/clang/test/Modules/Inputs/ |
templates-top.h | 52 template<unsigned N> struct SmallString : SmallVector<char, N> {
|
/frameworks/compile/slang/ |
slang_diagnostic_buffer.cpp | 22 #include "llvm/ADT/SmallString.h" 70 llvm::SmallString<100> Buf;
|