Lines Matching defs:buffer

29 void PGOPandaFileInfos::ParseFromBinary(void *buffer, SectionInfo *const info)
31 void *addr = reinterpret_cast<void *>(reinterpret_cast<uintptr_t>(buffer) + info->offset_);
290 bool PGOMethodInfoMap::ParseFromBinary(Chunk *chunk, PGOContext &context, void **buffer)
294 SectionInfo secInfo = base::ReadBuffer<SectionInfo>(buffer);
296 PGOMethodInfo *info = base::ReadBufferInSize<PGOMethodInfo>(buffer);
299 base::ReadBuffer<uint32_t>(buffer, sizeof(uint32_t));
302 PGOMethodTypeSet::SkipFromBinary(buffer);
311 auto checksum = base::ReadBuffer<uint32_t>(buffer, sizeof(uint32_t));
316 typeInfoSet->ParseFromBinary(context, buffer);
490 bool PGOMethodIdSet::ParseFromBinary(PGOContext &context, void **buffer)
494 SectionInfo secInfo = base::ReadBuffer<SectionInfo>(buffer);
496 PGOMethodInfo *info = base::ReadBufferInSize<PGOMethodInfo>(buffer);
499 base::ReadBuffer<uint32_t>(buffer, sizeof(uint32_t));
502 PGOMethodTypeSet::SkipFromBinary(buffer);
508 checksum = base::ReadBuffer<uint32_t>(buffer, sizeof(uint32_t));
517 methodInfo.GetPGOMethodTypeSet().ParseFromBinary(context, buffer);
742 bool PGORecordDetailInfos::ParseFromBinary(void *buffer, PGOProfilerHeader *const header)
746 PGOFileSectionInterface::ParseSectionFromBinary(*this, buffer, header, *profileTypePool_->GetPool());
752 PGOFileSectionInterface::ParseSectionFromBinary(*this, buffer, header, *protoTransitionPool_);
753 PGOFileSectionInterface::ParseSectionFromBinary(*this, buffer, header, *recordPool_);
755 void *addr = reinterpret_cast<void *>(reinterpret_cast<uintptr_t>(buffer) + info->offset_);
793 bool PGORecordDetailInfos::ParseFromBinaryForLayout(void **buffer)
795 SectionInfo secInfo = base::ReadBuffer<SectionInfo>(buffer);
797 auto *info = base::ReadBufferInSize<PGOHClassTreeDescInnerRef>(buffer);
1003 void PGORecordSimpleInfos::ParseFromBinary(void *buffer, PGOProfilerHeader *const header,
1008 if (!PGOFileSectionInterface::ParseSectionFromBinary(*this, buffer, header, *profileTypePool_->GetPool())) {
1017 if (!PGOFileSectionInterface::ParseSectionFromBinary(*this, buffer, header, *protoTransitionPool_)) {
1021 if (!PGOFileSectionInterface::ParseSectionFromBinary(*this, buffer, header, *recordPool_)) {
1026 void *addr = reinterpret_cast<void *>(reinterpret_cast<uintptr_t>(buffer) + info->offset_);
1095 bool PGORecordSimpleInfos::ParseFromBinaryForLayout(void **buffer)
1097 SectionInfo secInfo = base::ReadBuffer<SectionInfo>(buffer);
1099 auto *info = base::ReadBufferInSize<PGOHClassTreeDescInnerRef>(buffer);