Home
last modified time | relevance | path

Searched refs:CopyInOrder (Results 1 – 3 of 3) sorted by relevance

/external/pigweed/pw_bytes/
Dendian_test.cc110 static_assert(Equal(CopyInOrder(std::endian::little, '?'),
112 static_assert(Equal(CopyInOrder(std::endian::little, uint8_t{0x10}),
114 static_assert(Equal(CopyInOrder(std::endian::little, static_cast<int8_t>(0x10)),
118 static_assert(Equal(CopyInOrder(std::endian::big, '?'),
120 static_assert(Equal(CopyInOrder(std::endian::big, static_cast<uint8_t>(0x10)),
122 static_assert(Equal(CopyInOrder(std::endian::big, static_cast<int8_t>(0x10)),
126 static_assert(Equal(CopyInOrder(std::endian::little, uint16_t{0xAB12}),
128 static_assert(Equal(CopyInOrder(std::endian::little, static_cast<int16_t>(0xAB12)),
132 static_assert(Equal(CopyInOrder(std::endian::big, uint16_t{0xAB12}),
134 static_assert(Equal(CopyInOrder(std::endian::big, static_cast<int16_t>(0xAB12)),
[all …]
/external/pigweed/pw_hdlc/
Dencoder.cc63 WriteData(bytes::CopyInOrder(std::endian::little, fcs_.value())); in FinishFrame()
/external/pigweed/pw_bytes/public/pw_bytes/
Dendian.h137 constexpr auto CopyInOrder(std::endian order, T value) { in CopyInOrder() function