| /llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Linux/ |
| H A D | nohugepage_test.cpp | 28 char FileContents[1 << 16]; variable 31 FileContents[0] = 0; in FileToString() 34 char *p = FileContents; in FileToString() 35 ssize_t size = sizeof(FileContents) - 1; in FileToString() 49 } while (size > 0 && res < sizeof(FileContents)); in FileToString() 51 FileContents[res] = 0; in FileToString() 57 char *s = strstr(FileContents, "2008fff7000-10007fff8000"); in ReadShadowRss()
|
| /llvm-project-15.0.7/clang/unittests/Rename/ |
| H A D | ClangRenameTest.h | 55 tooling::FileContentMappings FileContents = {{HeaderName, HeaderContent}, in runClangRenameOnCode() local 68 FileContents)) in runClangRenameOnCode() 81 FileContents)) in runClangRenameOnCode()
|
| /llvm-project-15.0.7/clang/unittests/AST/ |
| H A D | ExternalASTSourceTest.cpp | 47 StringRef FileContents) { in testExternalASTSource() argument 53 "test.cc", MemoryBuffer::getMemBuffer(FileContents).release()); in testExternalASTSource()
|
| H A D | ASTImporterTest.cpp | 6657 auto FileContents = std::make_unique<llvm::SmallVectorMemoryBuffer>( in TEST_P() local 6659 FromSM.overrideFileContents(&FE, std::move(FileContents)); in TEST_P()
|
| /llvm-project-15.0.7/clang/unittests/Analysis/FlowSensitive/ |
| H A D | ChromiumCheckModelTest.cpp | 133 const tooling::FileContentMappings FileContents = { in runDataflow() local 148 FileContents), in runDataflow()
|
| H A D | UncheckedOptionalAccessModelTest.cpp | 1237 const tooling::FileContentMappings FileContents(Headers.begin(), in ExpectDiagnosticsFor() local 1278 {"-fsyntax-only", "-std=c++17", "-Wno-undefined-inline"}, FileContents); in ExpectDiagnosticsFor()
|
| /llvm-project-15.0.7/llvm/lib/Object/ |
| H A D | IRSymtab.cpp | 373 static Expected<FileContents> upgrade(ArrayRef<BitcodeModule> BMs) { in upgrade() 374 FileContents FC; in upgrade() 404 Expected<FileContents> irsymtab::readBitcode(const BitcodeFileContents &BFC) { in readBitcode() 426 FileContents FC; in readBitcode()
|
| H A D | IRObjectFile.cpp | 147 Expected<irsymtab::FileContents> FCOrErr = irsymtab::readBitcode(*BFCOrErr); in readIRSymtab()
|
| /llvm-project-15.0.7/clang/lib/Format/ |
| H A D | SortJavaScriptImports.cpp | 137 FileContents(Env.getSourceManager().getBufferData(Env.getFileID())) { in JavaScriptImportSorter() 225 StringRef FileContents; member in clang::format::JavaScriptImportSorter 251 return FileContents.substr(SM.getFileOffset(Begin), in getSourceText()
|
| /llvm-project-15.0.7/llvm/include/llvm/Object/ |
| H A D | IRSymtab.h | 369 struct FileContents { struct 375 Expected<FileContents> readBitcode(const BitcodeFileContents &BFC); argument
|
| /llvm-project-15.0.7/clang/unittests/Tooling/ |
| H A D | TransformerTest.cpp | 99 void appendToHeader(StringRef S) { FileContents[0].second += S; } in appendToHeader() 102 FileContents.emplace_back(std::string(Filename), std::string(Content)); in addFile() 111 FileContents)) { in rewrite() 197 FileContentMappings FileContents = {{"header.h", ""}}; member in __anon7c89a2a40111::ClangRefactoringTestBase
|
| /llvm-project-15.0.7/llvm/tools/llvm-rc/ |
| H A D | llvm-rc.cpp | 607 std::unique_ptr<MemoryBuffer> FileContents = std::move(*File); in doRc() local 608 StringRef Contents = FileContents->getBuffer(); in doRc()
|