Home
last modified time | relevance | path

Searched refs:FileSize (Results 1 – 23 of 23) sorted by relevance

/external/llvm/lib/Support/
DMemoryBuffer.cpp101 getFileAux(const Twine &Filename, int64_t FileSize, uint64_t MapSize,
165 MemoryBuffer::getFileOrSTDIN(const Twine &Filename, int64_t FileSize, in getFileOrSTDIN() argument
172 return getFile(Filename, FileSize, RequiresNullTerminator); in getFileOrSTDIN()
248 MemoryBuffer::getFile(const Twine &Filename, int64_t FileSize, in getFile() argument
250 return getFileAux(Filename, FileSize, FileSize, 0, in getFile()
255 getOpenFileImpl(int FD, const Twine &Filename, uint64_t FileSize,
260 getFileAux(const Twine &Filename, int64_t FileSize, uint64_t MapSize, in getFileAux() argument
268 getOpenFileImpl(FD, Filename, FileSize, MapSize, Offset, in getFileAux()
275 size_t FileSize, in shouldUseMmap() argument
300 if (FileSize == size_t(-1)) { in shouldUseMmap()
[all …]
/external/llvm/test/tools/llvm-readobj/
Dprogram-headers.test16 ELF-I386-NEXT: FileSize: 308
29 ELF-I386-NEXT: FileSize: 0
45 ELF-X86-64-NEXT: FileSize: 312
58 ELF-X86-64-NEXT: FileSize: 20
70 ELF-X86-64-NEXT: FileSize: 0
90 ELF-MIPS-NEXT: FileSize: 24
102 ELF-MIPS-NEXT: FileSize: 24
114 ELF-MIPS-NEXT: FileSize: 224
134 ELF-MIPS64-NEXT: FileSize: 136
/external/llvm/include/llvm/Support/
DMemoryBuffer.h72 getFile(const Twine &Filename, int64_t FileSize = -1,
89 getOpenFile(int FD, const Twine &Filename, uint64_t FileSize,
124 getFileOrSTDIN(const Twine &Filename, int64_t FileSize = -1,
/external/clang/lib/Basic/
DFileManager.cpp415 uint64_t FileSize = Entry->getSize(); in getBufferForFile() local
419 FileSize = -1; in getBufferForFile()
425 Entry->File->getBuffer(Filename, FileSize, in getBufferForFile()
437 return FS->getBufferForFile(Filename, FileSize, in getBufferForFile()
442 return FS->getBufferForFile(FilePath, FileSize, in getBufferForFile()
DVirtualFileSystem.cpp92 FileSystem::getBufferForFile(const llvm::Twine &Name, int64_t FileSize, in getBufferForFile() argument
98 return (*F)->getBuffer(Name, FileSize, RequiresNullTerminator, IsVolatile); in getBufferForFile()
134 int64_t FileSize,
154 RealFile::getBuffer(const Twine &Name, int64_t FileSize, in getBuffer() argument
157 return MemoryBuffer::getOpenFile(FD, Name, FileSize, RequiresNullTerminator, in getBuffer()
433 getBuffer(const Twine &Name, int64_t FileSize, bool RequiresNullTerminator, in getBuffer() argument
1312 getBuffer(const Twine &Name, int64_t FileSize, bool RequiresNullTerminator, in getBuffer() argument
1314 return InnerFile->getBuffer(Name, FileSize, RequiresNullTerminator, in getBuffer()
DSourceManager.cpp576 unsigned FileSize = File->getSize(); in createFileID() local
577 assert(NextLocalOffset + FileSize + 1 > NextLocalOffset && in createFileID()
578 NextLocalOffset + FileSize + 1 <= CurrentLoadedOffset && in createFileID()
582 NextLocalOffset += FileSize + 1; in createFileID()
/external/clang/lib/Lex/
DHeaderMap.cpp81 unsigned FileSize = FE->getSize(); in Create() local
82 if (FileSize <= sizeof(HMapHeader)) return nullptr; in Create()
/external/lzma/CPP/7zip/UI/Common/
DOpenArchive.cpp969 AvailPhySize = FileSize - startPos; in ReadBasicProps()
1013 AvailPhySize = FileSize - globalOffset; in ReadBasicProps()
1017 if (endPos < FileSize) in ReadBasicProps()
1021 ErrorInfo.TailSize = FileSize - endPos; in ReadBasicProps()
1023 else if (endPos > FileSize) in ReadBasicProps()
1530 FileSize = fileSize; in OpenStream2()
1949 if (pi.Offset == 0 && !pi.LenIsUnknown && pi.Size >= FileSize) in OpenStream2()
2163 FileSize = fileSize; // why ???? in OpenStream2()
2371 UInt64 arcRem = FileSize - pi.Offset; in OpenStream2()
2376 if (pi.Offset + PhySize > FileSize) in OpenStream2()
[all …]
DOpenArchive.h247 UInt64 FileSize; variable
/external/llvm/include/llvm/Object/
DELF.h340 const uint64_t FileSize = Buf.size(); in ELFFile() local
342 if (sizeof(Elf_Ehdr) > FileSize) { in ELFFile()
355 if (SectionTableOffset + sizeof(Elf_Shdr) > FileSize) { in ELFFile()
366 if (SectionTableOffset + SectionTableSize > FileSize) { in ELFFile()
/external/llvm/tools/dsymutil/
DMachOUtils.cpp268 uint64_t FileSize, unsigned NumSections, in createDwarfSegment() argument
271 RoundUpToAlignment(FileSize, 0x1000), in createDwarfSegment()
272 FileOffset, FileSize, /* MaxProt */ 7, in createDwarfSegment()
/external/clang/include/clang/Basic/
DVirtualFileSystem.h95 getBuffer(const Twine &Name, int64_t FileSize = -1,
195 getBufferForFile(const Twine &Name, int64_t FileSize = -1,
/external/llvm/tools/llvm-pdbdump/
Dllvm-pdbdump.cpp429 uint64_t FileSize = 0; in dumpInput() local
433 if (!sys::fs::file_size(FileName, FileSize)) { in dumpInput()
434 Printer << ": " << FileSize << " bytes"; in dumpInput()
/external/llvm/utils/KillTheDoctor/
DKillTheDoctor.cpp183 LARGE_INTEGER FileSize; in GetFileNameFromHandle() local
184 Success = ::GetFileSizeEx(FileHandle, &FileSize); in GetFileNameFromHandle()
/external/jhead/
Djhead.h88 unsigned FileSize; member
Dmain.c97 ImageInfo.FileSize = st.st_size; in loadExifInfo()
Djhead.c799 ImageInfo.FileSize = st.st_size;
Dexif.c1681 printf("File size : %d bytes\n",ImageInfo.FileSize); in ShowImageInfo()
/external/webrtc/webrtc/base/
Dfileutils.cc121 size_t DirectoryIterator::FileSize() const { in DirectoryIterator() function in rtc::DirectoryIterator
Dfileutils.h67 virtual size_t FileSize() const;
/external/llvm/lib/MC/
DMachObjectWriter.cpp770 uint64_t FileSize = Layout.getSectionFileSize(&Sec); in writeObject() local
771 FileSize += getPaddingSize(&Sec, Layout); in writeObject()
779 SectionDataFileSize = std::max(SectionDataFileSize, Address + FileSize); in writeObject()
/external/llvm/lib/Object/
DMachOObjectFile.cpp509 uint64_t FileSize = getData().size(); in getSectionSize() local
510 if (SectOffset > FileSize) in getSectionSize()
512 if (FileSize - SectOffset < SectSize) in getSectionSize()
513 return FileSize - SectOffset; in getSectionSize()
/external/clang/unittests/Basic/
DVirtualFileSystemTest.cpp28 getBuffer(const Twine &Name, int64_t FileSize, bool RequiresNullTerminator, in getBuffer()