Home | History | Annotate | Download | only in courgette

Lines Matching defs:lengths

38   // Maximum lengths of varint encoding of uint32
261 unsigned int lengths[kMaxStreams];
265 finger = Varint::Parse32WithLimit(finger, end, &lengths[i]);
268 accumulated_length += lengths[i];
271 // Remaining bytes should add up to sum of lengths.
277 stream(i)->Init(start + accumulated_length, lengths[i]);
278 accumulated_length += lengths[i];
295 uint32 lengths[kMaxStreams] = {}; // i.e. all zero.
298 if (!control_stream->ReadVarint32(&lengths[i]))
303 if (!this->stream(i)->ReadSubstream(lengths[i], set->stream(i)))
367 uint32 lengths[kMaxStreams];
373 lengths[i] = static_cast<uint32>(stream->Length());
374 if (lengths[i] > 0)
381 ret = control_stream->WriteSizeVarint32(lengths[i]);