Searched refs:GetBE16 (Results 1 – 9 of 9) sorted by relevance
130 rtc::GetBE16(static_cast<const char*>(data) + kPacketLenOffset); in GetExpectedLength()132 uint16_t msg_type = rtc::GetBE16(data); in GetExpectedLength()
138 uint16_t msg_length = rtc::GetBE16(&data[2]); in ValidateMessageIntegrity()149 attr_type = rtc::GetBE16(&data[current_pos]); in ValidateMessageIntegrity()150 attr_length = rtc::GetBE16(&data[current_pos + sizeof(attr_type)]); in ValidateMessageIntegrity()263 if (rtc::GetBE16(fingerprint_attr_data) != STUN_ATTR_FINGERPRINT || in ValidateFingerprint()264 rtc::GetBE16(fingerprint_attr_data + sizeof(uint16_t)) != in ValidateFingerprint()
203 uint16_t msg_type = rtc::GetBE16(data); in OnInternalPacket()770 uint16_t channel_id = rtc::GetBE16(data); in HandleChannelData()
561 uint16_t msg_type = rtc::GetBE16(data); in OnReadPacket()837 uint16_t len = rtc::GetBE16(data + 2); in HandleChannelData()
35 EXPECT_EQ(n16 >> 8, GetBE16(&n16)); in TEST()45 EXPECT_EQ(GetBE16(&n16), HostToNetwork16(n16)); in TEST()50 EXPECT_EQ(n16 << 8, GetBE16(&n16)); in TEST()
61 inline uint16_t GetBE16(const void* memory) { in GetBE16() function153 return GetBE16(&n); in NetworkToHost16()
74 EXPECT_EQ(0x0123u, GetBE16(buf)); in TEST()
285 PacketLength pkt_len = rtc::GetBE16(data); in ProcessInput()
53 rtc::GetBE16(static_cast<const uint8_t*>(data) + offset)); in GetUint16()139 ((rtc::GetBE16(header + header_size + 2) + 1) * sizeof(uint32_t)); in GetRtpHeaderLen()