Home
last modified time | relevance | path

Searched refs:FileContents (Results 1 – 12 of 12) sorted by relevance

/llvm-project-15.0.7/compiler-rt/test/asan/TestCases/Linux/
H A Dnohugepage_test.cpp28 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 DClangRenameTest.h55 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 DExternalASTSourceTest.cpp47 StringRef FileContents) { in testExternalASTSource() argument
53 "test.cc", MemoryBuffer::getMemBuffer(FileContents).release()); in testExternalASTSource()
H A DASTImporterTest.cpp6657 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 DChromiumCheckModelTest.cpp133 const tooling::FileContentMappings FileContents = { in runDataflow() local
148 FileContents), in runDataflow()
H A DUncheckedOptionalAccessModelTest.cpp1237 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 DIRSymtab.cpp373 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 DIRObjectFile.cpp147 Expected<irsymtab::FileContents> FCOrErr = irsymtab::readBitcode(*BFCOrErr); in readIRSymtab()
/llvm-project-15.0.7/clang/lib/Format/
H A DSortJavaScriptImports.cpp137 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 DIRSymtab.h369 struct FileContents { struct
375 Expected<FileContents> readBitcode(const BitcodeFileContents &BFC); argument
/llvm-project-15.0.7/clang/unittests/Tooling/
H A DTransformerTest.cpp99 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 Dllvm-rc.cpp607 std::unique_ptr<MemoryBuffer> FileContents = std::move(*File); in doRc() local
608 StringRef Contents = FileContents->getBuffer(); in doRc()