Searched defs:username_attr (Results 1 - 8 of 8) sorted by relevance

/external/chromium/third_party/libjingle/source/talk/p2p/base/
H A Drelayserver.cc276 const StunByteStringAttribute* username_attr = local
278 if (!username_attr) {
283 uint32 length = talk_base::_min(static_cast<uint32>(username_attr->length()),
285 std::string username(username_attr->bytes(), length);
325 const StunByteStringAttribute* username_attr = local
327 if (!username_attr) {
334 username->append(username_attr->bytes(), username_attr->length());
H A Dport.cc249 const StunByteStringAttribute* username_attr = local
252 int remote_frag_len = (username_attr ? username_attr->length() : 0);
261 } else if (std::memcmp(username_attr->bytes(), username_frag_.c_str(),
264 << std::string(username_attr->bytes(),
265 username_attr->length()) << " from "
272 out_username->assign(username_attr->bytes() + username_frag_.size(),
273 username_attr->bytes() + username_attr->length());
281 } else if (std::memcmp(username_attr
328 const StunByteStringAttribute* username_attr = local
377 const StunByteStringAttribute* username_attr = local
474 StunByteStringAttribute* username_attr = local
[all...]
H A Drelayport.cc546 StunByteStringAttribute* username_attr = local
548 username_attr->CopyBytes(port_->username_fragment().c_str(),
550 request.AddAttribute(username_attr);
741 StunByteStringAttribute* username_attr = local
743 username_attr->CopyBytes(
746 request->AddAttribute(username_attr);
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
H A Drelayserver.cc277 const StunByteStringAttribute* username_attr = local
279 if (!username_attr) {
284 uint32 length = talk_base::_min(static_cast<uint32>(username_attr->length()),
286 std::string username(username_attr->bytes(), length);
325 const StunByteStringAttribute* username_attr = local
327 if (!username_attr) {
334 username->append(username_attr->bytes(), username_attr->length());
H A Drelayport.cc590 StunByteStringAttribute* username_attr = local
592 username_attr->CopyBytes(port_->username_fragment().c_str(),
594 VERIFY(request.AddAttribute(username_attr));
790 StunByteStringAttribute* username_attr = local
792 username_attr->CopyBytes(
795 VERIFY(request->AddAttribute(username_attr));
H A Dturnserver.cc362 const StunByteStringAttribute* username_attr = local
364 if (!username_attr) {
368 std::string username = username_attr->GetString();
380 const StunByteStringAttribute* username_attr = local
395 if (!username_attr || !realm_attr || !nonce_attr) {
685 const StunByteStringAttribute* username_attr = local
687 ASSERT(username_attr != NULL);
688 username_ = username_attr->GetString();
H A Dport.cc462 const StunByteStringAttribute* username_attr = local
464 if (username_attr == NULL)
467 const std::string username_attr_str = username_attr->GetString();
567 const StunByteStringAttribute* username_attr = local
569 ASSERT(username_attr != NULL);
570 if (username_attr == NULL) {
605 STUN_ATTR_USERNAME, username_attr->GetString()));
655 const StunByteStringAttribute* username_attr = local
657 if (username_attr)
659 STUN_ATTR_USERNAME, username_attr
[all...]
H A Dport_unittest.cc1072 const StunByteStringAttribute* username_attr = msg->GetByteString( local
1075 STUN_ATTR_USERNAME, username_attr->GetString()));
1277 const StunByteStringAttribute* username_attr = msg->GetByteString( local
1279 ASSERT_TRUE(username_attr != NULL);
1280 EXPECT_EQ("rfraglfrag", username_attr->GetString());
1294 username_attr = msg->GetByteString(STUN_ATTR_USERNAME);
1295 ASSERT_TRUE(username_attr != NULL); // GICE has a username in the response.
1296 EXPECT_EQ("rfraglfrag", username_attr->GetString());
1316 username_attr = msg->GetByteString(STUN_ATTR_USERNAME);
1317 ASSERT_TRUE(username_attr !
1359 const StunByteStringAttribute* username_attr = local
[all...]

Completed in 235 milliseconds