Home
last modified time | relevance | path

Searched refs:SmallString (Results 1 – 25 of 490) sorted by relevance

12345678910>>...20

/external/llvm/unittests/ADT/
DSmallStringTest.cpp27 typedef SmallString<40> StringType;
174 EXPECT_EQ(-1, SmallString<10>("aab").compare("aad")); in TEST()
175 EXPECT_EQ( 0, SmallString<10>("aab").compare("aab")); in TEST()
176 EXPECT_EQ( 1, SmallString<10>("aab").compare("aaa")); in TEST()
177 EXPECT_EQ(-1, SmallString<10>("aab").compare("aabb")); in TEST()
178 EXPECT_EQ( 1, SmallString<10>("aab").compare("aa")); in TEST()
179 EXPECT_EQ( 1, SmallString<10>("\xFF").compare("\1")); in TEST()
181 EXPECT_EQ(-1, SmallString<10>("AaB").compare_lower("aAd")); in TEST()
182 EXPECT_EQ( 0, SmallString<10>("AaB").compare_lower("aab")); in TEST()
183 EXPECT_EQ( 1, SmallString<10>("AaB").compare_lower("AAA")); in TEST()
[all …]
DTwineTest.cpp32 EXPECT_EQ("hi", Twine(SmallString<4>("hi")).str()); in TEST()
67 repr(Twine().concat(Twine(SmallString<5>("hi"))))); in TEST()
69 repr(Twine(SmallString<7>("hey")).concat(Twine("there")))); in TEST()
81 repr(Twine("a").concat(Twine(SmallString<3>("b")).concat(Twine("c"))))); in TEST()
85 SmallString<8> storage; in TEST()
89 EXPECT_EQ(0, *Twine(SmallString<11>("hello")) in TEST()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DSmallString.h25 class SmallString : public SmallVector<char, InternalLen> {
28 SmallString() {} in SmallString() function
31 SmallString(StringRef S) : SmallVector<char, InternalLen>(S.begin(), S.end()) {} in SmallString() function
35 SmallString(ItTy S, ItTy E) : SmallVector<char, InternalLen>(S, E) {} in SmallString() function
38 SmallString(const SmallString &RHS) : SmallVector<char, InternalLen>(RHS) {} in SmallString() function
55 const SmallString &operator=(StringRef RHS) {
60 SmallString &operator+=(StringRef RHS) {
64 SmallString &operator+=(char C) {
/external/llvm/unittests/Support/
DPath.cpp34 SmallString<128> MessageStorage; \
140 SmallString<128> temp_store; in TEST()
156 SmallString<32> Relative("foo.cpp"); in TEST()
163 SmallString<64> Path(StringRef("c/d/e/foo.txt")); in TEST()
183 SmallString<64> Path(StringRef(".c/.d/../.")); in TEST()
203 SmallString<64> Path(StringRef("/c/d/e/foo.txt")); in TEST()
226 SmallString<64> Path(StringRef("/.c/.d/../.")); in TEST()
250 SmallString<64> Path(StringRef("c:\\c\\e\\foo.txt")); in TEST()
319 SmallString<128> HomeDir; in TEST()
327 SmallString<13> CacheDir; in TEST()
[all …]
DLockFileManagerTest.cpp21 SmallString<64> TmpDir; in TEST()
26 SmallString<64> LockedFile(TmpDir); in TEST()
48 SmallString<64> TmpDir; in TEST()
53 SmallString<64> LockedFile(TmpDir); in TEST()
56 SmallString<64> FileLocK(TmpDir); in TEST()
59 SmallString<64> TmpFileLock(TmpDir); in TEST()
91 SmallString<64> TmpDir; in TEST()
101 SmallString<64> LockedFile("inner"); in TEST()
104 SmallString<64> FileLock(LockedFile); in TEST()
DEndianStreamTest.cpp20 SmallString<16> data; in TEST()
51 SmallString<16> data; in TEST()
81 SmallString<16> data; in TEST()
119 SmallString<16> data; in TEST()
157 SmallString<16> Data; in TEST()
172 SmallString<16> Data; in TEST()
188 SmallString<16> Data; in TEST()
DFileOutputBufferTest.cpp32 SmallString<128> TestDirectory; in TEST()
39 SmallString<128> File1(TestDirectory); in TEST()
61 SmallString<128> File2(TestDirectory); in TEST()
78 SmallString<128> File3(TestDirectory); in TEST()
99 SmallString<128> File4(TestDirectory); in TEST()
DReplaceFileTest.cpp31 std::error_code CreateFileWithContent(const SmallString<128> &FilePath, in CreateFileWithContent()
57 SmallString<128> TestDirectory; in TEST()
62 SmallString<128> SourceFileName(TestDirectory); in TEST()
65 SmallString<128> TargetFileName(TestDirectory); in TEST()
/external/swiftshader/third_party/LLVM/lib/Support/
DPathV2.cpp357 SmallString<32> a_storage; in append()
358 SmallString<32> b_storage; in append()
359 SmallString<32> c_storage; in append()
360 SmallString<32> d_storage; in append()
416 SmallString<32> ext_storage; in replace_extension()
436 SmallString<128> path_storage; in native()
524 SmallString<128> path_storage; in has_root_name()
531 SmallString<128> path_storage; in has_root_directory()
538 SmallString<128> path_storage; in has_root_path()
545 SmallString<128> path_storage; in has_relative_path()
[all …]
/external/clang/lib/Frontend/
DModuleDependencyCollector.cpp72 SmallString<128> AltHeaderFilename; in moduleMapAddUmbrellaHeader()
92 SmallString<256> RPath(CanonicalPath); in real_path()
111 SmallString<256> TmpDest = Path, UpperDest, RealDest; in isCaseSensitivePath()
147 SmallString<256> YAMLPath = VFSDir; in writeFileMap()
160 SmallString<256> RealPath; in getRealPath()
185 SmallString<256> AbsoluteSrc = Src; in copyToRoot()
193 SmallString<256> CanonicalPath = AbsoluteSrc; in copyToRoot()
199 SmallString<256> RealPath; in copyToRoot()
202 SmallString<256> Dest = getDest(); in copyToRoot()
/external/llvm/unittests/Bitcode/
DBitstreamWriterTest.cpp20 SmallString<64> Buffer; in TEST()
27 SmallString<64> Buffer; in TEST()
32 SmallString<64> Expected; in TEST()
46 SmallString<64> Buffer; in TEST()
53 SmallString<64> Buffer; in TEST()
DBitReaderTest.cpp55 SmallString<1024> &Mem, in getLazyModuleFromAssembly()
83 getStreamedModuleFromAssembly(LLVMContext &Context, SmallString<1024> &Mem, in getStreamedModuleFromAssembly()
130 SmallString<1024> Mem; in TEST()
145 SmallString<1024> Mem; in TEST()
208 SmallString<1024> Mem; in TEST()
222 SmallString<1024> Mem; in TEST()
249 SmallString<1024> Mem; in TEST()
/external/llvm/include/llvm/MC/
DMCFragment.h379 SmallString<8> Contents;
394 SmallString<8> &getContents() { return Contents; }
395 const SmallString<8> &getContents() const { return Contents; }
414 SmallString<8> Contents;
431 SmallString<8> &getContents() { return Contents; }
432 const SmallString<8> &getContents() const { return Contents; }
447 SmallString<8> Contents;
460 SmallString<8> &getContents() { return Contents; }
461 const SmallString<8> &getContents() const { return Contents; }
499 SmallString<8> Contents;
[all …]
/external/swiftshader/third_party/LLVM/lib/Support/Unix/
DPathV2.inc118 SmallString<128> from_storage;
119 SmallString<128> to_storage;
176 SmallString<128> path_storage;
191 SmallString<128> from_storage;
192 SmallString<128> to_storage;
204 SmallString<128> from_storage;
205 SmallString<128> to_storage;
216 SmallString<128> path_storage;
231 SmallString<128> from_storage;
232 SmallString<128> to_storage;
[all …]
/external/llvm/include/llvm/ADT/
DSmallString.h25 class SmallString : public SmallVector<char, InternalLen> {
28 SmallString() {} in SmallString() function
31 SmallString(StringRef S) : SmallVector<char, InternalLen>(S.begin(), S.end()) {} in SmallString() function
35 SmallString(ItTy S, ItTy E) : SmallVector<char, InternalLen>(S, E) {} in SmallString() function
280 const SmallString &operator=(StringRef RHS) {
285 SmallString &operator+=(StringRef RHS) {
289 SmallString &operator+=(char C) {
/external/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DSmallString.h26 class SmallString : public SmallVector<char, InternalLen> {
29 SmallString() = default;
32 SmallString(StringRef S) : SmallVector<char, InternalLen>(S.begin(), S.end()) {} in SmallString() function
36 SmallString(ItTy S, ItTy E) : SmallVector<char, InternalLen>(S, E) {} in SmallString() function
280 const SmallString &operator=(StringRef RHS) {
285 SmallString &operator+=(StringRef RHS) {
289 SmallString &operator+=(char C) {
/external/swiftshader/third_party/llvm-subzero/lib/Support/
DPath.cpp165 SmallString<128> ModelStorage; in createUniqueEntity()
171 SmallString<128> TDir; in createUniqueEntity()
452 SmallString<32> a_storage; in append()
453 SmallString<32> b_storage; in append()
454 SmallString<32> c_storage; in append()
455 SmallString<32> d_storage; in append()
509 SmallString<32> ext_storage; in replace_extension()
542 SmallString<256> NewPath; in replace_path_prefix()
621 SmallString<128> path_storage; in has_root_name()
628 SmallString<128> path_storage; in has_root_directory()
[all …]
/external/llvm/lib/Support/
DPath.cpp165 SmallString<128> ModelStorage; in createUniqueEntity()
171 SmallString<128> TDir; in createUniqueEntity()
452 SmallString<32> a_storage; in append()
453 SmallString<32> b_storage; in append()
454 SmallString<32> c_storage; in append()
455 SmallString<32> d_storage; in append()
509 SmallString<32> ext_storage; in replace_extension()
542 SmallString<256> NewPath; in replace_path_prefix()
621 SmallString<128> path_storage; in has_root_name()
628 SmallString<128> path_storage; in has_root_directory()
[all …]
/external/clang/tools/libclang/
DCIndexUSRs.cpp96 SmallString<128> Buf(getUSRSpacePrefix()); in clang_constructUSR_ObjCIvar()
106 SmallString<128> Buf(getUSRSpacePrefix()); in clang_constructUSR_ObjCMethod()
114 SmallString<128> Buf(getUSRSpacePrefix()); in clang_constructUSR_ObjCClass()
121 SmallString<128> Buf(getUSRSpacePrefix()); in clang_constructUSR_ObjCProtocol()
129 SmallString<128> Buf(getUSRSpacePrefix()); in clang_constructUSR_ObjCCategory()
137 SmallString<128> Buf(getUSRSpacePrefix()); in clang_constructUSR_ObjCProperty()
/external/clang/lib/Tooling/
DJSONCompilationDatabase.cpp123 SmallString<1024> JSONDatabasePath(Directory); in loadFromDirectory()
174 SmallString<128> NativeFilePath; in getCompileCommands()
215 SmallString<1024> Storage; in nodeToCommandLine()
230 SmallString<8> DirectoryStorage; in getCommands()
231 SmallString<32> FilenameStorage; in getCommands()
271 SmallString<10> KeyStorage; in parse()
324 SmallString<8> FileStorage; in parse()
326 SmallString<128> NativeFilePath; in parse()
328 SmallString<8> DirectoryStorage; in parse()
329 SmallString<128> AbsolutePath( in parse()
/external/swiftshader/third_party/LLVM/include/llvm/MC/
DMCAssembler.h109 SmallString<32> Contents;
124 SmallString<32> &getContents() { return Contents; } in getContents()
125 const SmallString<32> &getContents() const { return Contents; } in getContents()
167 SmallString<8> Code;
336 SmallString<8> Contents;
349 SmallString<8> &getContents() { return Contents; } in getContents()
350 const SmallString<8> &getContents() const { return Contents; } in getContents()
369 SmallString<8> Contents;
384 SmallString<8> &getContents() { return Contents; } in getContents()
385 const SmallString<8> &getContents() const { return Contents; } in getContents()
[all …]
/external/swiftshader/third_party/LLVM/lib/Support/Windows/
DPathV2.inc184 SmallString<128> from_storage;
185 SmallString<128> to_storage;
206 SmallString<128> path_storage;
227 SmallString<128> from_storage;
228 SmallString<128> to_storage;
250 SmallString<128> from_storage;
251 SmallString<128> to_storage;
268 SmallString<128> path_storage;
302 SmallString<128> from_storage;
303 SmallString<128> to_storage;
[all …]
/external/llvm/include/llvm/Support/
DLockFileManager.h54 SmallString<128> FileName;
55 SmallString<128> LockFileName;
56 SmallString<128> UniqueLockFileName;
/external/swiftshader/third_party/LLVM/unittests/Support/
DPath.cpp22 SmallString<128> MessageStorage; \
127 SmallString<128> temp_store; in TEST()
148 SmallString<128> TestDirectory;
171 SmallString<64> TempPath; in TEST_F()
182 SmallString<64> TempPath2; in TEST_F()
238 SmallString<128> file_pathname(TestDirectory); in TEST_F()
/external/llvm/lib/IR/
DValueSymbolTable.cpp36 SmallString<256> &UniqueName) { in makeUniqueName()
65 SmallString<256> UniqueName(V->getName().begin(), V->getName().end()); in reinsertValue()
93 SmallString<256> UniqueName(Name.begin(), Name.end()); in createValueName()

12345678910>>...20