Home
last modified time | relevance | path

Searched refs:GetBE16 (Results 1 – 9 of 9) sorted by relevance

/external/webrtc/webrtc/p2p/base/
Dasyncstuntcpsocket.cc130 rtc::GetBE16(static_cast<const char*>(data) + kPacketLenOffset); in GetExpectedLength()
132 uint16_t msg_type = rtc::GetBE16(data); in GetExpectedLength()
Dstun.cc138 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()
Dturnserver.cc203 uint16_t msg_type = rtc::GetBE16(data); in OnInternalPacket()
770 uint16_t channel_id = rtc::GetBE16(data); in HandleChannelData()
Dturnport.cc561 uint16_t msg_type = rtc::GetBE16(data); in OnReadPacket()
837 uint16_t len = rtc::GetBE16(data + 2); in HandleChannelData()
/external/webrtc/webrtc/base/
Dbytebuffer_unittest.cc35 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()
Dbyteorder.h61 inline uint16_t GetBE16(const void* memory) { in GetBE16() function
153 return GetBE16(&n); in NetworkToHost16()
Dbyteorder_unittest.cc74 EXPECT_EQ(0x0123u, GetBE16(buf)); in TEST()
Dasynctcpsocket.cc285 PacketLength pkt_len = rtc::GetBE16(data); in ProcessInput()
/external/webrtc/talk/media/base/
Drtputils.cc53 rtc::GetBE16(static_cast<const uint8_t*>(data) + offset)); in GetUint16()
139 ((rtc::GetBE16(header + header_size + 2) + 1) * sizeof(uint32_t)); in GetRtpHeaderLen()