Lines Matching refs:MaybeSwap
95 u64 MaybeSwap(u64 value, bool swap) { in MaybeSwap() function
101 u32 MaybeSwap(u32 value, bool swap) { in MaybeSwap() function
377 sample->id = MaybeSwap(*array++, swap_bytes); in ReadPerfSampleFromData()
383 sample->ip = MaybeSwap(*array++, swap_bytes); in ReadPerfSampleFromData()
389 sample->pid = MaybeSwap(val32[0], swap_bytes); in ReadPerfSampleFromData()
390 sample->tid = MaybeSwap(val32[1], swap_bytes); in ReadPerfSampleFromData()
395 sample->time = MaybeSwap(*array++, swap_bytes); in ReadPerfSampleFromData()
400 sample->addr = MaybeSwap(*array++, swap_bytes); in ReadPerfSampleFromData()
405 sample->id = MaybeSwap(*array++, swap_bytes); in ReadPerfSampleFromData()
410 sample->stream_id = MaybeSwap(*array++, swap_bytes); in ReadPerfSampleFromData()
416 sample->cpu = MaybeSwap(val32[0], swap_bytes); in ReadPerfSampleFromData()
424 sample->id = MaybeSwap(*array++, swap_bytes); in ReadPerfSampleFromData()
434 sample->period = MaybeSwap(*array++, swap_bytes); in ReadPerfSampleFromData()
920 return MaybeSwap(attr_size, is_cross_endian_); in ReadPerfEventAttrSize()