Home | History | Annotate | Download | only in websockets

Lines Matching defs:payload_length

122   uint64 payload_length = second_byte & kPayloadLengthMask;
123 if (payload_length == kPayloadLengthWithTwoByteExtendedLengthField) {
129 payload_length = payload_length_16;
130 if (payload_length <= kMaxPayloadLengthWithoutExtendedLengthField)
132 } else if (payload_length == kPayloadLengthWithEightByteExtendedLengthField) {
135 base::ReadBigEndian(current, &payload_length);
137 if (payload_length <= kuint16max ||
138 payload_length > static_cast<uint64>(kint64max)) {
140 } else if (payload_length > static_cast<uint64>(kint32max)) {
167 current_frame_header_->payload_length = payload_length;
177 end - current, current_frame_header_->payload_length - frame_offset_);
178 // This check must pass because |payload_length| is already checked to be
202 DCHECK_LE(frame_offset_, current_frame_header_->payload_length);
203 if (frame_offset_ == current_frame_header_->payload_length) {