Lines Matching refs:header
409 TraceFileHeader header {}; in MergeStandaloneFile() local
411 header.data_.dataType = DataType::HIPERF_DATA; in MergeStandaloneFile()
413 header.data_.dataType = DataType::STANDALONE_DATA; in MergeStandaloneFile()
417 header.data_.length += fileSize; in MergeStandaloneFile()
418 size_t pluginSize = sizeof(header.data_.standalonePluginName); in MergeStandaloneFile()
419 …int ret = strncpy_s(header.data_.standalonePluginName, pluginSize, pluginName.c_str(), pluginSize … in MergeStandaloneFile()
424 pluginSize = sizeof(header.data_.pluginVersion); in MergeStandaloneFile()
425 ret = strncpy_s(header.data_.pluginVersion, pluginSize, pluginVersion.c_str(), pluginSize - 1); in MergeStandaloneFile()
430 fsTarget.write(reinterpret_cast<char*>(&header), sizeof(header)); in MergeStandaloneFile()
453 SHA256_Final(header.data_.sha256, &sha256Ctx); in MergeStandaloneFile()
455 fsTarget.write(reinterpret_cast<char*>(&header), sizeof(header)); in MergeStandaloneFile()