Home
last modified time | relevance | path

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

12345678910>>...15

/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/llvm/unittests/Support/
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()
DPath.cpp33 SmallString<128> MessageStorage; \
139 SmallString<128> temp_store; in TEST()
155 SmallString<32> Relative("foo.cpp"); in TEST()
162 SmallString<64> Path(StringRef("c/d/e/foo.txt")); in TEST()
182 SmallString<64> Path(StringRef(".c/.d/../.")); in TEST()
202 SmallString<64> Path(StringRef("/c/d/e/foo.txt")); in TEST()
225 SmallString<64> Path(StringRef("/.c/.d/../.")); in TEST()
249 SmallString<64> Path(StringRef("c:\\c\\e\\foo.txt")); in TEST()
318 SmallString<128> HomeDir; in TEST()
326 SmallString<13> CacheDir; in TEST()
[all …]
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()
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()
DProgramTest.cpp40 SmallString<128> MessageStorage; \
140 SmallString<128> TestDirectory; in TEST_F()
143 SmallString<256> LongPath(TestDirectory); in TEST_F()
324 SmallString<128> TestDirectory; in TEST()
328 SmallString<128> file_pathname(TestDirectory); in TEST()
/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/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/llvm/lib/Support/
DPath.cpp164 SmallString<128> ModelStorage; in createUniqueEntity()
170 SmallString<128> TDir; in createUniqueEntity()
447 SmallString<32> a_storage; in append()
448 SmallString<32> b_storage; in append()
449 SmallString<32> c_storage; in append()
450 SmallString<32> d_storage; in append()
504 SmallString<32> ext_storage; in replace_extension()
593 SmallString<128> path_storage; in has_root_name()
600 SmallString<128> path_storage; in has_root_directory()
607 SmallString<128> path_storage; in has_root_path()
[all …]
/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()
DTooling.cpp68 SmallString<256> error_msg; in getCC1Arguments()
126 SmallString<16> FileNameStorage; in runToolOnCodeWithArgs()
138 SmallString<1024> CodeStorage; in runToolOnCodeWithArgs()
159 SmallString<1024> AbsolutePath = RelativePath; in getAbsolutePath()
224 SmallString<1024> PathStorage; in mapVirtualFile()
351 llvm::SmallString<128> InitialDirectory; in run()
480 SmallString<16> FileNameStorage; in buildASTFromCodeWithArgs()
495 SmallString<1024> CodeStorage; in buildASTFromCodeWithArgs()
/external/llvm/unittests/Bitcode/
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/Support/
DLockFileManager.h53 SmallString<128> FileName;
54 SmallString<128> LockFileName;
55 SmallString<128> UniqueLockFileName;
DFileOutputBuffer.h84 SmallString<128> FinalPath;
85 SmallString<128> TempPath;
/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()
/external/clang/lib/Frontend/
DModuleDependencyCollector.cpp48 SmallString<256> Dest = getDest(); in writeFileMap()
64 SmallString<256> AbsoluteSrc = Src; in copyToRoot()
73 SmallString<256> Dest = Collector.getDest(); in copyToRoot()
/external/clang/lib/Driver/
DMinGWToolChain.cpp46 llvm::SmallVector<llvm::SmallString<32>, 2> Archs; in findGccLibDir()
55 llvm::SmallString<1024> LibDir(Base); in findGccLibDir()
190 SmallString<1024> P(getDriver().ResourceDir); in AddClangSystemIncludeArgs()
199 llvm::SmallString<1024> IncludeDir(GccLibDir); in AddClangSystemIncludeArgs()
227 llvm::SmallVector<llvm::SmallString<1024>, 4> CppIncludeBases; in AddClangCXXStdlibIncludeArgs()
DMSVCToolChain.cpp232 llvm::SmallString<128> IncludePath(SDKPath); in getWindows10SDKVersion()
276 llvm::SmallString<128> TestPath(Path); in getWindowsSDKDir()
307 llvm::SmallString<128> libPath(sdkPath); in getWindowsSDKLibraryPath()
338 llvm::SmallString<128> TestPath(VisualStudioDir); in useUniversalCRT()
368 llvm::SmallString<128> LibPath(UniversalCRTSdkPath); in getUniversalCRTLibraryPath()
382 SmallString<128> BinDir; in getVisualStudioBinariesFolder()
403 SmallString<128> FilePath(PathSegment); in getVisualStudioBinariesFolder()
428 SmallString<128> ClPath(BinDir); in getVisualStudioBinariesFolder()
515 llvm::SmallString<128> path(folder); in AddSystemIncludeWithSubfolder()
/external/clang/lib/Lex/
DHeaderSearch.cpp135 SmallString<256> Result(getModuleCachePath()); in getModuleFileName()
159 SmallString<128> HashStr; in getModuleFileName()
177 SmallString<128> FrameworkDirName; in lookupModule()
209 SmallString<128> NestedModuleMapDirName; in lookupModule()
286 SmallString<1024> TmpDir; in LookupFile()
313 SmallString<1024> Path; in LookupFile()
423 SmallString<1024> FrameworkName; in DoFrameworkLookup()
450 SmallString<1024> SystemFrameworkMarker(FrameworkName); in DoFrameworkLookup()
604 SmallString<1024> TmpDir; in LookupFile()
709 SmallString<64> MappedName; in LookupFile()
[all …]
/external/clang/include/clang/Lex/
DLiteralSupport.h54 SmallString<32> UDSuffixBuf;
159 SmallString<32> UDSuffixBuf;
193 SmallString<512> ResultBuf;
195 SmallString<32> UDSuffixBuf;
/external/llvm/include/llvm/MC/
DMCAssembler.h406 SmallString<8> Contents;
421 SmallString<8> &getContents() { return Contents; }
422 const SmallString<8> &getContents() const { return Contents; }
441 SmallString<8> Contents;
458 SmallString<8> &getContents() { return Contents; }
459 const SmallString<8> &getContents() const { return Contents; }
474 SmallString<8> Contents;
487 SmallString<8> &getContents() { return Contents; }
488 const SmallString<8> &getContents() const { return Contents; }
/external/clang/unittests/Lex/
DPPCallbacksTest.cpp74 SmallString<16> FileName;
78 SmallString<16> SearchPath;
79 SmallString<16> RelativePath;
87 SmallString<16> Name;
104 SmallString<16> Name;
/external/llvm/lib/Transforms/Utils/
DSymbolRewriter.cpp277 SmallString<32> KeyStorage; in parseEntry()
316 SmallString<32> KeyStorage; in parseRewriteFunctionDescriptor()
317 SmallString<32> ValueStorage; in parseRewriteFunctionDescriptor()
383 SmallString<32> KeyStorage; in parseRewriteGlobalVariableDescriptor()
384 SmallString<32> ValueStorage; in parseRewriteGlobalVariableDescriptor()
445 SmallString<32> KeyStorage; in parseRewriteGlobalAliasDescriptor()
446 SmallString<32> ValueStorage; in parseRewriteGlobalAliasDescriptor()

12345678910>>...15