• Home
  • Raw
  • Download

Lines Matching refs:headerStream

59 void FileA3D::parseHeader(IStream *headerStream) {  in parseHeader()  argument
60 mMajorVersion = headerStream->loadU32(); in parseHeader()
61 mMinorVersion = headerStream->loadU32(); in parseHeader()
62 uint32_t flags = headerStream->loadU32(); in parseHeader()
65 uint32_t numIndexEntries = headerStream->loadU32(); in parseHeader()
68 entry->mObjectName = headerStream->loadString(); in parseHeader()
71 entry->mType = (RsA3DClassID)headerStream->loadU32(); in parseHeader()
73 entry->mOffset = headerStream->loadOffset(); in parseHeader()
74 entry->mLength = headerStream->loadOffset(); in parseHeader()
76 entry->mOffset = headerStream->loadU32(); in parseHeader()
77 entry->mLength = headerStream->loadU32(); in parseHeader()
116 IStream headerStream(localData, false); in load() local
117 parseHeader(&headerStream); in load()
172 IStream headerStream(headerData, false); in load() local
173 parseHeader(&headerStream); in load()
313 OStream headerStream(5*1024, false); in writeFile() local
314 headerStream.addU32(mMajorVersion); in writeFile()
315 headerStream.addU32(mMinorVersion); in writeFile()
317 headerStream.addU32(is64Bit); in writeFile()
320 headerStream.addU32(writeIndexSize); in writeFile()
322 headerStream.addString(mWriteIndex[i]->mObjectName); in writeFile()
323 headerStream.addU32((uint32_t)mWriteIndex[i]->mType); in writeFile()
325 headerStream.addOffset(mWriteIndex[i]->mOffset); in writeFile()
326 headerStream.addOffset(mWriteIndex[i]->mLength); in writeFile()
329 headerStream.addU32(offset); in writeFile()
331 headerStream.addU32(offset); in writeFile()
339 uint64_t headerSize = headerStream.getPos(); in writeFile()
343 fwrite(headerStream.getPtr(), sizeof(uint8_t), headerStream.getPos(), writeHandle); in writeFile()