/external/llvm/unittests/ADT/ |
D | SmallStringTest.cpp | 27 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 …]
|
D | TwineTest.cpp | 32 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/ |
D | LockFileManagerTest.cpp | 21 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()
|
D | Path.cpp | 33 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 …]
|
D | FileOutputBufferTest.cpp | 32 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()
|
D | ReplaceFileTest.cpp | 31 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()
|
D | EndianStreamTest.cpp | 20 SmallString<16> data; in TEST() 51 SmallString<16> data; in TEST() 81 SmallString<16> data; in TEST() 119 SmallString<16> data; in TEST()
|
D | ProgramTest.cpp | 40 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/ |
D | SmallString.h | 25 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/ |
D | CIndexUSRs.cpp | 96 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/ |
D | Path.cpp | 164 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/ |
D | JSONCompilationDatabase.cpp | 123 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()
|
D | Tooling.cpp | 68 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/ |
D | BitReaderTest.cpp | 55 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/ |
D | LockFileManager.h | 53 SmallString<128> FileName; 54 SmallString<128> LockFileName; 55 SmallString<128> UniqueLockFileName;
|
D | FileOutputBuffer.h | 84 SmallString<128> FinalPath; 85 SmallString<128> TempPath;
|
/external/llvm/lib/IR/ |
D | ValueSymbolTable.cpp | 36 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/ |
D | ModuleDependencyCollector.cpp | 48 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/ |
D | MinGWToolChain.cpp | 46 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()
|
D | MSVCToolChain.cpp | 232 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/ |
D | HeaderSearch.cpp | 135 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/ |
D | LiteralSupport.h | 54 SmallString<32> UDSuffixBuf; 159 SmallString<32> UDSuffixBuf; 193 SmallString<512> ResultBuf; 195 SmallString<32> UDSuffixBuf;
|
/external/llvm/include/llvm/MC/ |
D | MCAssembler.h | 406 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/ |
D | PPCallbacksTest.cpp | 74 SmallString<16> FileName; 78 SmallString<16> SearchPath; 79 SmallString<16> RelativePath; 87 SmallString<16> Name; 104 SmallString<16> Name;
|
/external/llvm/lib/Transforms/Utils/ |
D | SymbolRewriter.cpp | 277 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()
|