/llvm-project/llvm/lib/Support/ |
H A D | MemoryBuffer.cpp | 51 bool RequiresNullTerminator) { in init() 52 assert((!RequiresNullTerminator || BufEnd[0] == 0) && in init() argument 101 MemoryBufferMem(StringRef InputData, bool RequiresNullTerminator) { 103 RequiresNullTerminator); in MemoryBufferMem() 125 bool IsText, bool RequiresNullTerminator, bool IsVolatile, 130 bool RequiresNullTerminator) { in getMemBuffer() 132 MemoryBufferMem<MemoryBuffer>(InputData, RequiresNullTerminator); in getMemBuffer() 137 MemoryBuffer::getMemBuffer(MemoryBufferRef Ref, bool RequiresNullTerminator) { 139 Ref.getBuffer(), Ref.getBufferIdentifier(), RequiresNullTerminator)); in getMemBuffer() 164 bool RequiresNullTerminator, in getFileOrSTDIN() 102 MemoryBufferMem(StringRef InputData,bool RequiresNullTerminator) MemoryBufferMem() argument 131 getMemBuffer(StringRef InputData,StringRef BufferName,bool RequiresNullTerminator) getMemBuffer() argument 138 getMemBuffer(MemoryBufferRef Ref,bool RequiresNullTerminator) getMemBuffer() argument 165 getFileOrSTDIN(const Twine & Filename,bool IsText,bool RequiresNullTerminator,std::optional<Align> Alignment) getFileOrSTDIN() argument 224 MemoryBufferMMapFile(bool RequiresNullTerminator,sys::fs::file_t FD,uint64_t Len,uint64_t Offset,std::error_code & EC) MemoryBufferMMapFile() argument 262 getFile(const Twine & Filename,bool IsText,bool RequiresNullTerminator,bool IsVolatile,std::optional<Align> Alignment) getFile() argument 278 getFileAux(const Twine & Filename,uint64_t MapSize,uint64_t Offset,bool IsText,bool RequiresNullTerminator,bool IsVolatile,std::optional<Align> Alignment) getFileAux() argument 362 shouldUseMmap(sys::fs::file_t FD,size_t FileSize,size_t MapSize,off_t Offset,bool RequiresNullTerminator,int PageSize,bool IsVolatile) shouldUseMmap() argument 469 getOpenFileImpl(sys::fs::file_t FD,const Twine & Filename,uint64_t FileSize,uint64_t MapSize,int64_t Offset,bool RequiresNullTerminator,bool IsVolatile,std::optional<Align> Alignment) getOpenFileImpl() argument 540 getOpenFile(sys::fs::file_t FD,const Twine & Filename,uint64_t FileSize,bool RequiresNullTerminator,bool IsVolatile,std::optional<Align> Alignment) getOpenFile() argument [all...] |
H A D | VirtualFileSystem.cpp | 119 bool RequiresNullTerminator, bool IsVolatile, in getBufferForFile() 125 return (*F)->getBuffer(Name, FileSize, RequiresNullTerminator, IsVolatile); in getBufferForFile() 211 bool RequiresNullTerminator, 238 bool RequiresNullTerminator, bool IsVolatile) { in getBuffer() argument 240 return MemoryBuffer::getOpenFile(FD, Name, FileSize, RequiresNullTerminator, in getBuffer() 750 getBuffer(const Twine &Name, int64_t FileSize, bool RequiresNullTerminator, 754 Buf->getBuffer(), Buf->getBufferIdentifier(), RequiresNullTerminator); 2525 getBuffer(const Twine &Name, int64_t FileSize, bool RequiresNullTerminator, 2527 return InnerFile->getBuffer(Name, FileSize, RequiresNullTerminator, in getWithPath() 120 getBufferForFile(const llvm::Twine & Name,int64_t FileSize,bool RequiresNullTerminator,bool IsVolatile) getBufferForFile() argument 738 getBuffer(const Twine & Name,int64_t FileSize,bool RequiresNullTerminator,bool IsVolatile) getBuffer() argument 2512 getBuffer(const Twine & Name,int64_t FileSize,bool RequiresNullTerminator,bool IsVolatile) getBuffer() argument
|
/llvm-project/llvm/include/llvm/Support/ |
H A D | SmallVectorMemoryBuffer.h | 33 bool RequiresNullTerminator = true) 35 RequiresNullTerminator) {} 40 bool RequiresNullTerminator = true) 42 if (RequiresNullTerminator) { in SV()
|
H A D | MemoryBuffer.h | 59 bool RequiresNullTerminator); 99 bool RequiresNullTerminator = true, bool IsVolatile = false, 127 bool RequiresNullTerminator = true, bool IsVolatile = false, 134 bool RequiresNullTerminator = true); 137 getMemBuffer(MemoryBufferRef Ref, bool RequiresNullTerminator = true); 151 bool RequiresNullTerminator = true,
|
H A D | VirtualFileSystem.h | 132 bool RequiresNullTerminator = true, bool IsVolatile = false) = 0; 294 bool RequiresNullTerminator = true, bool IsVolatile = false,
|
/llvm-project/clang/include/clang/Basic/ |
H A D | FileManager.h | 299 bool RequiresNullTerminator = true, 304 bool RequiresNullTerminator = true, 309 isVolatile, RequiresNullTerminator, IsText); 315 bool RequiresNullTerminator, bool IsText) const;
|
/llvm-project/clang-tools-extra/clangd/support/ |
H A D | ThreadsafeFS.cpp | 57 bool RequiresNullTerminator, bool /*IsVolatile*/) override { in getBuffer() argument 58 return Wrapped->getBuffer(Name, FileSize, RequiresNullTerminator, in getBuffer()
|
/llvm-project/clang/lib/Basic/ |
H A D | FileManager.cpp | 535 bool RequiresNullTerminator, in getBufferForFile() 556 RequiresNullTerminator, isVolatile); in getBufferForFile() 563 RequiresNullTerminator, IsText); 568 bool isVolatile, bool RequiresNullTerminator, in getBufferForFileImpl() 571 return FS->getBufferForFile(Filename, FileSize, RequiresNullTerminator, in getBufferForFileImpl() 576 return FS->getBufferForFile(FilePath, FileSize, RequiresNullTerminator, in getBufferForFileImpl() 533 getBufferForFile(FileEntryRef FE,bool isVolatile,bool RequiresNullTerminator,std::optional<int64_t> MaybeLimit) getBufferForFile() argument
|
/llvm-project/clang-tools-extra/clangd/ |
H A D | Preamble.cpp | 458 getBuffer(const Twine &Name, int64_t FileSize, bool RequiresNullTerminator, in getBuffer() argument 461 return InnerFile->getBuffer(Name, FileSize, RequiresNullTerminator, in getBuffer()
|
/llvm-project/lldb/unittests/Host/ |
H A D | FileSystemTest.cpp | 28 getBuffer(const Twine &Name, int64_t FileSize, bool RequiresNullTerminator, in getBuffer()
|
/llvm-project/clang/lib/Tooling/DependencyScanning/ |
H A D | DependencyScanningFilesystem.cpp | 324 getBuffer(const Twine &Name, int64_t FileSize, bool RequiresNullTerminator, 348 /*RequiresNullTerminator=*/false), in create() 329 getBuffer(const Twine & Name,int64_t FileSize,bool RequiresNullTerminator,bool IsVolatile) getBuffer() argument
|
/llvm-project/llvm/include/llvm-c/ |
H A D | Core.h | 4747 LLVMBool RequiresNullTerminator);
|
/llvm-project/llvm/lib/IR/ |
H A D | Core.cpp | 4524 LLVMBool RequiresNullTerminator) { 4528 RequiresNullTerminator).release()); 4355 LLVMCreateMemoryBufferWithMemoryRange(const char * InputData,size_t InputDataLength,const char * BufferName,LLVMBool RequiresNullTerminator) LLVMCreateMemoryBufferWithMemoryRange() argument
|
/llvm-project/llvm/unittests/Support/ |
H A D | VirtualFileSystemTest.cpp | 41 getBuffer(const Twine &Name, int64_t FileSize, bool RequiresNullTerminator, in getBuffer()
|