Home | History | Annotate | Download | only in spdy

Lines Matching refs:PRIORITY

50 // Wire sizes of priority payloads.
186 // control frame header + 2 * 4 (stream IDs) + 1 (priority)
329 // Size, in bytes, of a PRIORITY frame.
492 case PRIORITY:
493 return "PRIORITY";
991 case PRIORITY:
1355 SpdyPriority priority = 0;
1356 successful_read = reader.ReadUInt8(&priority);
1359 priority = priority >> 6;
1361 priority = priority >> 5;
1377 priority,
1422 uint32 priority = 0;
1429 priority = MapWeightToPriority(weight);
1434 // SPDY 4 reports HEADERS with PRIORITY as SYN_STREAM.
1455 priority,
1791 case PRIORITY: {
1793 // TODO(hkhalil): Process PRIORITY frames rather than ignore them.
2355 // Sanitize priority.
2356 uint8 priority = syn_stream.priority();
2357 if (priority > GetLowestPriority()) {
2358 DLOG(DFATAL) << "Priority out-of-bounds.";
2359 priority = GetLowestPriority();
2384 builder.WriteUInt8(priority << ((protocol_version() <= SPDY2) ? 6 : 5));
2393 builder.WriteUInt8(MapPriorityToWeight(priority));
2645 uint32 priority = headers.priority();
2647 if (priority > GetLowestPriority()) {
2648 DLOG(DFATAL) << "Priority out-of-bounds.";
2649 priority = GetLowestPriority();
2685 builder.WriteUInt8(MapPriorityToWeight(priority));
3076 uint8 SpdyFramer::MapPriorityToWeight(SpdyPriority priority) {
3078 return static_cast<uint8>(kSteps * (7.f - priority));