Lines Matching refs:header_size
227 Pickle::Pickle(int header_size) in Pickle() argument
229 header_size_(bits::Align(header_size, sizeof(uint32_t))), in Pickle()
232 DCHECK_GE(static_cast<size_t>(header_size), sizeof(Header)); in Pickle()
233 DCHECK_LE(header_size, kPayloadUnit); in Pickle()
358 const char* Pickle::FindNext(size_t header_size, in FindNext() argument
362 if (!PeekNext(header_size, start, end, &pickle_size)) in FindNext()
372 bool Pickle::PeekNext(size_t header_size, in PeekNext() argument
376 DCHECK_EQ(header_size, bits::Align(header_size, sizeof(uint32_t))); in PeekNext()
377 DCHECK_GE(header_size, sizeof(Header)); in PeekNext()
378 DCHECK_LE(header_size, static_cast<size_t>(kPayloadUnit)); in PeekNext()
385 if (length < header_size) in PeekNext()
390 *pickle_size = ClampAdd(header_size, hdr->payload_size); in PeekNext()