Home
last modified time | relevance | path

Searched refs:attr_length (Results 1 – 2 of 2) sorted by relevance

/external/webrtc/webrtc/p2p/base/
Dstun.cc81 size_t attr_length = attr->length(); in AddAttribute() local
82 if (attr_length % 4 != 0) { in AddAttribute()
83 attr_length += (4 - (attr_length % 4)); in AddAttribute()
85 length_ += static_cast<uint16_t>(attr_length + 4); in AddAttribute()
147 uint16_t attr_type, attr_length; in ValidateMessageIntegrity() local
150 attr_length = rtc::GetBE16(&data[current_pos + sizeof(attr_type)]); in ValidateMessageIntegrity()
154 if (attr_length != kStunMessageIntegritySize || in ValidateMessageIntegrity()
155 current_pos + attr_length > size) { in ValidateMessageIntegrity()
163 current_pos += sizeof(attr_type) + sizeof(attr_length) + attr_length; in ValidateMessageIntegrity()
164 if ((attr_length % 4) != 0) { in ValidateMessageIntegrity()
[all …]
/external/valgrind/coregrind/m_syswrap/
Dsyswrap-darwin.c3164 MIN(ref->attr_length, dend - (d + ref->attr_dataoffset))); in scan_attrlist()