Lines Matching refs:FileSize
98 S.Header.PointerToRawData = FileSize; in layoutSections()
99 FileSize += S.Header.SizeOfRawData; // For executables, this is already in layoutSections()
104 S.Header.PointerToRelocations = FileSize; in layoutSections()
105 FileSize += sizeof(coff_relocation); in layoutSections()
108 S.Header.PointerToRelocations = S.Relocs.size() ? FileSize : 0; in layoutSections()
111 FileSize += S.Relocs.size() * sizeof(coff_relocation); in layoutSections()
112 FileSize = alignTo(FileSize, FileAlignment); in layoutSections()
201 FileSize = SizeOfHeaders; in finalize()
224 size_t PointerToSymbolTable = FileSize; in finalize()
237 FileSize += SymTabSize + StrTabSize; in finalize()
238 FileSize = alignTo(FileSize, FileAlignment); in finalize()
372 Buf = WritableMemoryBuffer::getNewMemBuffer(FileSize); in write()
376 Twine::utohexstr(FileSize) + " bytes."); in write()