Lines Matching defs:fileStream
38 void PGOPandaFileInfos::ProcessToBinary(std::fstream &fileStream, SectionInfo *info) const
40 fileStream.seekp(info->offset_);
43 fileStream.write(reinterpret_cast<char *>(&localInfo), localInfo.Size());
45 info->size_ = static_cast<uint32_t>(fileStream.tellp()) - info->offset_;
808 const SaveTask *task, std::fstream &fileStream, PGOProfilerHeader *const header)
813 info->offset_ = static_cast<uint32_t>(fileStream.tellp());
821 if (curMethodInfos->ProcessToBinary(*this, ProfileTypeRef(*this, recordId), task, fileStream, header)) {
825 info->size_ = static_cast<uint32_t>(fileStream.tellp()) - info->offset_;
832 info->offset_ = static_cast<uint32_t>(fileStream.tellp());
834 if (!ProcessToBinaryForLayout(const_cast<NativeAreaAllocator *>(&nativeAreaAllocator_), task, fileStream)) {
839 info->size_ = static_cast<uint32_t>(fileStream.tellp()) - info->offset_;
841 PGOFileSectionInterface::ProcessSectionToBinary(*this, fileStream, header, *recordPool_);
842 PGOFileSectionInterface::ProcessSectionToBinary(*this, fileStream, header, *protoTransitionPool_);
844 PGOFileSectionInterface::ProcessSectionToBinary(*this, fileStream, header, *profileTypePool_->GetPool());