Searched refs:MaybeSwap64 (Results 1 – 2 of 2) sorted by relevance
/external/perf_data_converter/src/quipper/ |
D | test_perf_data.cc | 99 .magic = MaybeSwap64(header_.magic), in WriteTo() 100 .size = MaybeSwap64(header_.size), in WriteTo() 101 .attr_size = MaybeSwap64(header_.attr_size), in WriteTo() 102 .attrs = {.offset = MaybeSwap64(header_.attrs.offset), in WriteTo() 103 .size = MaybeSwap64(header_.attrs.size)}, in WriteTo() 104 .data = {.offset = MaybeSwap64(header_.data.offset), in WriteTo() 105 .size = MaybeSwap64(header_.data.size)}, in WriteTo() 106 .event_types = {.offset = MaybeSwap64(header_.event_types.offset), in WriteTo() 107 .size = MaybeSwap64(header_.event_types.size)}, in WriteTo() 114 reinterpret_cast<uint64_t*>(local_header.adds_features)[i] = MaybeSwap64( in WriteTo() [all …]
|
D | test_perf_data.h | 42 uint64_t MaybeSwap64(uint64_t value) const { return MaybeSwap(value); } in MaybeSwap64() function 173 ids_section_({.offset = MaybeSwap64(104), .size = MaybeSwap64(0)}) {} in ExamplePerfFileAttr_Hardware() 398 .offset = MaybeSwap64(index_entry_.offset), in WriteTo() 399 .size = MaybeSwap64(index_entry_.size), in WriteTo()
|