Searched refs:HostSwap (Results 1 – 3 of 3) sorted by relevance
111 template <typename UintType> UintType HostSwap(UintType aValue);113 template <> inline uint8_t HostSwap(uint8_t aValue) { return aValue; } in HostSwap() function114 template <> inline uint16_t HostSwap(uint16_t aValue) { return HostSwap16(aValue); } in HostSwap() function115 template <> inline uint32_t HostSwap(uint32_t aValue) { return HostSwap32(aValue); } in HostSwap() function116 template <> inline uint64_t HostSwap(uint64_t aValue) { return HostSwap64(aValue); } in HostSwap() function283 template <typename UintType> UintType HostSwap(UintType aValue);285 template <> inline uint8_t HostSwap(uint8_t aValue) { return aValue; } in HostSwap() function286 template <> inline uint16_t HostSwap(uint16_t aValue) { return HostSwap16(aValue); } in HostSwap() function287 template <> inline uint32_t HostSwap(uint32_t aValue) { return HostSwap32(aValue); } in HostSwap() function288 template <> inline uint64_t HostSwap(uint64_t aValue) { return HostSwap64(aValue); } in HostSwap() function
185 aValue = BigEndian::HostSwap<UintType>(aValue); in ReadUintTlv()262 UintType value = BigEndian::HostSwap<UintType>(aValue); in AppendUintTlv()
400 typename UintTlvType::UintValueType value = BigEndian::HostSwap(aValue); in Write()