Lines Matching refs:Read
100 bool PerfFileSection::Read(uint32_t &value) in Read() function in OHOS::Developtools::HiPerf::PerfFileSection
103 return Read((char *)&value, sizeof(uint32_t)); in Read()
106 bool PerfFileSection::Read(uint64_t &value) in Read() function in OHOS::Developtools::HiPerf::PerfFileSection
110 return Read((char *)&value, sizeof(uint64_t)); in Read()
113 bool PerfFileSection::Read(std::string &value) in Read() function in OHOS::Developtools::HiPerf::PerfFileSection
116 if (!Read(size)) { in Read()
125 if (!Read(buf, size)) { in Read()
140 bool PerfFileSection::Read(char *buf, size_t size) in Read() function in OHOS::Developtools::HiPerf::PerfFileSection
170 if (!Read(stdString_)) { in PerfFileSectionString()
227 if (!Read(symbolFileNumber)) { in ReadSymbolFileStructs()
242 Read(symbolFileStruct.filePath_); in ReadSymbolFileStructs()
245 Read(symbolFileStruct.symbolType_); in ReadSymbolFileStructs()
246 Read(symbolFileStruct.textExecVaddr_); in ReadSymbolFileStructs()
247 Read(symbolFileStruct.textExecVaddrFileOffset_); in ReadSymbolFileStructs()
248 Read(symbolFileStruct.buildId_); in ReadSymbolFileStructs()
251 if (!Read(symbolsNumber)) { in ReadSymbolFileStructs()
264 Read(symbolStruct.vaddr_); in ReadSymbolFileStructs()
265 Read(symbolStruct.len_); in ReadSymbolFileStructs()
266 Read(symbolStruct.symbolName_); in ReadSymbolFileStructs()
318 if (!Read(processTableCount)) { in PerfFileSectionUniStackTable()
326 Read(stackTable.pid); in PerfFileSectionUniStackTable()
328 Read(stackTable.tableSize); in PerfFileSectionUniStackTable()
330 Read(stackTable.numNodes); in PerfFileSectionUniStackTable()
334 Read(node.index); in PerfFileSectionUniStackTable()
335 Read(node.node.value); in PerfFileSectionUniStackTable()
377 if (!Read(nrCpusAvailable_) || !Read(nrCpusOnline_)) { in PerfFileSectionNrCpus()
415 if (!Read(value_)) { in PerfFileSectionU64()
459 if (!Read(nr)) { in PerfFileSectionEventDesc()
463 if (!Read(attrSize)) { in PerfFileSectionEventDesc()
475 if (!Read(reinterpret_cast<char*>(&(eventDesc.attr)), sizeof(perf_event_attr))) { in PerfFileSectionEventDesc()
481 } else if (!Read(reinterpret_cast<char*>(&(eventDesc.attr)), attrSize)) { in PerfFileSectionEventDesc()
486 if (!Read(nrIds)) { in PerfFileSectionEventDesc()
494 if (!Read(eventDesc.name)) { in PerfFileSectionEventDesc()
498 if (!Read(reinterpret_cast<char*>(eventDesc.ids.data()), sizeof(uint64_t) * nrIds)) { in PerfFileSectionEventDesc()