Searched refs:is_cross_endian (Results 1 – 7 of 7) sorted by relevance
156 if (data->is_cross_endian()) { in ReadPerfEventHeader()171 if (data->is_cross_endian()) { in ReadPerfFileSection()575 if (data->is_cross_endian()) { in ReadHeader()663 if (data->is_cross_endian()) { in ReadEventAttr()782 MaybeSwapEventFields(event.get(), data->is_cross_endian()); in ReadDataSection()945 if (data->is_cross_endian()) ByteSwap(&event->pid); in ReadBuildIDMetadataWithoutHeader()1304 MaybeSwapEventFields(event.get(), data->is_cross_endian()); in ReadPipedData()1374 if (data->is_cross_endian()) { in ReadAuxtraceTraceData()1789 void PerfReader::MaybeSwapEventFields(event_t* event, bool is_cross_endian) { in MaybeSwapEventFields() argument1790 if (!is_cross_endian) return; in MaybeSwapEventFields()
58 bool is_cross_endian() const { return is_cross_endian_; } in is_cross_endian() function
135 if (reader->is_cross_endian()) { in ReadBranchStack()150 bool is_cross_endian, in ReadPerfSampleFromData() argument153 reader.set_is_cross_endian(is_cross_endian); in ReadPerfSampleFromData()
1654 for (bool is_cross_endian : {true, false}) { in TEST()1655 LOG(INFO) << "Testing with cross endianness = " << is_cross_endian; in TEST()1663 .WithCrossEndianness(is_cross_endian) in TEST()1674 .WithCrossEndianness(is_cross_endian) in TEST()1679 .WithCrossEndianness(is_cross_endian) in TEST()1684 .WithCrossEndianness(is_cross_endian) in TEST()
48 bool is_cross_endian() const { return is_cross_endian_; } in is_cross_endian() function53 if (is_cross_endian()) ByteSwap(&value); in MaybeSwap()
234 void MaybeSwapEventFields(event_t* event, bool is_cross_endian);
181 if (is_cross_endian()) { in WriteTo()