Home
last modified time | relevance | path

Searched refs:GetByteString (Results 1 – 11 of 11) sorted by relevance

/external/webrtc/webrtc/p2p/base/
Dstun_unittest.cc604 msg.GetByteString(STUN_ATTR_SOFTWARE); in TEST_F()
609 msg.GetByteString(STUN_ATTR_USERNAME); in TEST_F()
614 ASSERT_TRUE(msg.GetByteString(STUN_ATTR_MESSAGE_INTEGRITY) != NULL); in TEST_F()
632 msg.GetByteString(STUN_ATTR_SOFTWARE); in TEST_F()
642 ASSERT_TRUE(msg.GetByteString(STUN_ATTR_MESSAGE_INTEGRITY) != NULL); in TEST_F()
655 msg.GetByteString(STUN_ATTR_SOFTWARE); in TEST_F()
665 ASSERT_TRUE(msg.GetByteString(STUN_ATTR_MESSAGE_INTEGRITY) != NULL); in TEST_F()
678 msg.GetByteString(STUN_ATTR_USERNAME); in TEST_F()
683 msg.GetByteString(STUN_ATTR_NONCE); in TEST_F()
688 msg.GetByteString(STUN_ATTR_REALM); in TEST_F()
[all …]
Dturnserver.cc265 msg.GetByteString(STUN_ATTR_USERNAME)->GetString() != in HandleStunMessage()
281 msg->GetByteString(STUN_ATTR_USERNAME); in GetKey()
297 msg->GetByteString(STUN_ATTR_MESSAGE_INTEGRITY); in CheckAuthorization()
299 msg->GetByteString(STUN_ATTR_USERNAME); in CheckAuthorization()
301 msg->GetByteString(STUN_ATTR_REALM); in CheckAuthorization()
303 msg->GetByteString(STUN_ATTR_NONCE); in CheckAuthorization()
617 msg->GetByteString(STUN_ATTR_USERNAME); in HandleAllocateRequest()
621 msg->GetByteString(STUN_ATTR_ORIGIN); in HandleAllocateRequest()
673 const StunByteStringAttribute* data_attr = msg->GetByteString(STUN_ATTR_DATA); in HandleSendIndication()
Dport_unittest.cc298 msg->GetByteString(STUN_ATTR_MESSAGE_INTEGRITY); in OnUnknownAddress()
1351 const StunByteStringAttribute* username_attr = msg->GetByteString( in TEST_F()
1618 msg->GetByteString(STUN_ATTR_USERNAME); in TEST_F()
1624 EXPECT_TRUE(msg->GetByteString(STUN_ATTR_MESSAGE_INTEGRITY) != NULL); in TEST_F()
1632 EXPECT_TRUE(msg->GetByteString(STUN_ATTR_ICE_CONTROLLED) == NULL); in TEST_F()
1633 EXPECT_TRUE(msg->GetByteString(STUN_ATTR_USE_CANDIDATE) != NULL); in TEST_F()
1656 EXPECT_TRUE(msg->GetByteString(STUN_ATTR_MESSAGE_INTEGRITY) != NULL); in TEST_F()
1664 EXPECT_TRUE(msg->GetByteString(STUN_ATTR_USERNAME) == NULL); in TEST_F()
1665 EXPECT_TRUE(msg->GetByteString(STUN_ATTR_PRIORITY) == NULL); in TEST_F()
1666 EXPECT_TRUE(msg->GetByteString(STUN_ATTR_MAPPED_ADDRESS) == NULL); in TEST_F()
[all …]
Dturnport.cc799 msg.GetByteString(STUN_ATTR_DATA); in HandleDataIndication()
911 response->GetByteString(STUN_ATTR_REALM); in UpdateNonce()
920 response->GetByteString(STUN_ATTR_NONCE); in UpdateNonce()
1133 response->GetByteString(STUN_ATTR_REALM); in OnAuthChallenge()
1142 response->GetByteString(STUN_ATTR_NONCE); in OnAuthChallenge()
1176 response->GetByteString(STUN_ATTR_REALM); in OnTryAlternate()
1184 response->GetByteString(STUN_ATTR_NONCE); in OnTryAlternate()
Dport.cc353 if (!stun_msg->GetByteString(STUN_ATTR_USERNAME) || in GetStunMessage()
354 !stun_msg->GetByteString(STUN_ATTR_MESSAGE_INTEGRITY)) { in GetStunMessage()
444 stun_msg->GetByteString(STUN_ATTR_USERNAME); in ParseStunUsername()
535 request->GetByteString(STUN_ATTR_USERNAME); in SendBindingResponse()
979 msg->GetByteString(STUN_ATTR_USE_CANDIDATE); in HandleBindingRequest()
1216 response->GetByteString(STUN_ATTR_USE_CANDIDATE) != nullptr); in OnConnectionRequestResponse()
Drelayserver.cc260 msg.GetByteString(STUN_ATTR_USERNAME); in OnExternalPacket()
308 msg->GetByteString(STUN_ATTR_USERNAME); in HandleStun()
461 request.GetByteString(STUN_ATTR_DATA); in HandleStunSend()
Drelayserver_unittest.cc302 res->GetByteString(STUN_ATTR_DATA); in TEST_F()
487 res->GetByteString(STUN_ATTR_DATA); in TEST_F()
Dstun.h155 const StunByteStringAttribute* GetByteString(int type) const;
Drelayport.cc744 const StunByteStringAttribute* data_attr = msg.GetByteString(STUN_ATTR_DATA); in OnReadPacket()
Dstun.cc114 const StunByteStringAttribute* StunMessage::GetByteString(int type) const { in GetByteString() function in cricket::StunMessage
/external/pdfium/core/fxcrt/
Dbytestring.cpp71 ByteString GetByteString(uint16_t codepage, const WideStringView& wstr) { in GetByteString() function
701 return GetByteString(0, str.AsStringView()); in FromUnicode()