Lines Matching refs:ByteSwap
75 void ByteSwap(T* input) { in ByteSwap() function
237 ByteSwap(&dest->len); in ReadStringFromBuffer()
262 ByteSwap(&sample->read.time_enabled); in ReadReadInfo()
263 ByteSwap(&sample->read.time_running); in ReadReadInfo()
264 ByteSwap(&sample->read.one.id); in ReadReadInfo()
282 ByteSwap(&callchain_size); in ReadCallchain()
289 ByteSwap(&callchain->ips[i]); in ReadCallchain()
305 ByteSwap(&sample->raw_size); in ReadRawData()
332 ByteSwap(&branch_stack_size); in ReadBranchStack()
342 ByteSwap(&branch_stack->entries[i].from); in ReadBranchStack()
343 ByteSwap(&branch_stack->entries[i].to); in ReadBranchStack()
856 ByteSwap(&piped_header_.size); in ReadHeader()
869 ByteSwap(&header_.size); in ReadHeader()
896 ByteSwap(&ids.offset); in ReadAttr()
897 ByteSwap(&ids.size); in ReadAttr()
945 ByteSwap(&attr->type); in ReadEventAttr()
946 ByteSwap(&attr->size); in ReadEventAttr()
947 ByteSwap(&attr->config); in ReadEventAttr()
948 ByteSwap(&attr->sample_period); in ReadEventAttr()
949 ByteSwap(&attr->sample_type); in ReadEventAttr()
950 ByteSwap(&attr->read_format); in ReadEventAttr()
960 ByteSwap(&attr->wakeup_events); // union with wakeup_watermark in ReadEventAttr()
961 ByteSwap(&attr->bp_type); in ReadEventAttr()
962 ByteSwap(&attr->bp_addr); // union with config1 in ReadEventAttr()
963 ByteSwap(&attr->bp_len); // union with config2 in ReadEventAttr()
964 ByteSwap(&attr->branch_sample_type); in ReadEventAttr()
965 ByteSwap(&attr->sample_regs_user); in ReadEventAttr()
966 ByteSwap(&attr->sample_stack_user); in ReadEventAttr()
1004 ByteSwap(&ids->at(j)); in ReadUniqueIDs()
1162 ByteSwap(&event_size); in ReadBuildIDMetadata()
1177 ByteSwap(&event->header.type); in ReadBuildIDMetadata()
1178 ByteSwap(&event->header.misc); in ReadBuildIDMetadata()
1179 ByteSwap(&event->header.size); in ReadBuildIDMetadata()
1180 ByteSwap(&event->pid); in ReadBuildIDMetadata()
1227 ByteSwap(&item); in ReadUint32Metadata()
1249 ByteSwap(&item); in ReadUint64Metadata()
1266 ByteSwap(&num_core_siblings); in ReadCPUTopologyMetadata()
1282 ByteSwap(&num_thread_siblings); in ReadCPUTopologyMetadata()
1303 ByteSwap(&num_nodes); in ReadNUMATopologyMetadata()
1319 ByteSwap(&node.id); in ReadNUMATopologyMetadata()
1320 ByteSwap(&node.total_memory); in ReadNUMATopologyMetadata()
1321 ByteSwap(&node.free_memory); in ReadNUMATopologyMetadata()
1347 ByteSwap(&tracing_event.header.type); in ReadTracingMetadataEvent()
1348 ByteSwap(&tracing_event.header.misc); in ReadTracingMetadataEvent()
1349 ByteSwap(&tracing_event.header.size); in ReadTracingMetadataEvent()
1350 ByteSwap(&tracing_event.size); in ReadTracingMetadataEvent()
1392 ByteSwap(&size); in ReadPerfEventBlock()
1404 ByteSwap(&event_copy->header.type); in ReadPerfEventBlock()
1405 ByteSwap(&event_copy->header.misc); in ReadPerfEventBlock()
1406 ByteSwap(&event_copy->header.size); in ReadPerfEventBlock()
1415 ByteSwap(&event_copy->mmap.pid); in ReadPerfEventBlock()
1416 ByteSwap(&event_copy->mmap.tid); in ReadPerfEventBlock()
1417 ByteSwap(&event_copy->mmap.start); in ReadPerfEventBlock()
1418 ByteSwap(&event_copy->mmap.len); in ReadPerfEventBlock()
1419 ByteSwap(&event_copy->mmap.pgoff); in ReadPerfEventBlock()
1422 ByteSwap(&event_copy->mmap2.pid); in ReadPerfEventBlock()
1423 ByteSwap(&event_copy->mmap2.tid); in ReadPerfEventBlock()
1424 ByteSwap(&event_copy->mmap2.start); in ReadPerfEventBlock()
1425 ByteSwap(&event_copy->mmap2.len); in ReadPerfEventBlock()
1426 ByteSwap(&event_copy->mmap2.pgoff); in ReadPerfEventBlock()
1427 ByteSwap(&event_copy->mmap2.maj); in ReadPerfEventBlock()
1428 ByteSwap(&event_copy->mmap2.min); in ReadPerfEventBlock()
1429 ByteSwap(&event_copy->mmap2.ino); in ReadPerfEventBlock()
1430 ByteSwap(&event_copy->mmap2.ino_generation); in ReadPerfEventBlock()
1434 ByteSwap(&event_copy->fork.pid); in ReadPerfEventBlock()
1435 ByteSwap(&event_copy->fork.tid); in ReadPerfEventBlock()
1436 ByteSwap(&event_copy->fork.ppid); in ReadPerfEventBlock()
1437 ByteSwap(&event_copy->fork.ptid); in ReadPerfEventBlock()
1440 ByteSwap(&event_copy->comm.pid); in ReadPerfEventBlock()
1441 ByteSwap(&event_copy->comm.tid); in ReadPerfEventBlock()
1444 ByteSwap(&event_copy->lost.id); in ReadPerfEventBlock()
1445 ByteSwap(&event_copy->lost.lost); in ReadPerfEventBlock()
1448 ByteSwap(&event_copy->read.pid); in ReadPerfEventBlock()
1449 ByteSwap(&event_copy->read.tid); in ReadPerfEventBlock()
1450 ByteSwap(&event_copy->read.value); in ReadPerfEventBlock()
1451 ByteSwap(&event_copy->read.time_enabled); in ReadPerfEventBlock()
1452 ByteSwap(&event_copy->read.time_running); in ReadPerfEventBlock()
1453 ByteSwap(&event_copy->read.id); in ReadPerfEventBlock()