Lines Matching refs:Header
237 struct CustomHeader : base::Pickle::Header {
249 // Data range doesn't contain header
256 // Data range contains header
264 // Data range contains header and some other data
282 struct CustomHeader : base::Pickle::Header {
286 CustomHeader header;
289 if (sizeof(size_t) > sizeof(header.payload_size))
292 const char* pickle_data = reinterpret_cast<const char*>(&header);
297 header.payload_size = static_cast<uint32_t>(
308 header.payload_size =
332 size_t header_size = sizeof(Pickle::Header);
347 size_t header_size = sizeof(Pickle::Header);
352 Pickle::Header* header = reinterpret_cast<Pickle::Header*>(buffer.get());
355 if (sizeof(size_t) > sizeof(header->payload_size) ||
356 sizeof(uintptr_t) > sizeof(header->payload_size))
359 header->payload_size = -(reinterpret_cast<uintptr_t>(start) + header_size2);
362 header->payload_size = -header_size2;
365 header->payload_size = 0;
400 // note that any data will have a 4-byte header indicating the size
411 // fill out a full page (noting data header)
426 struct CustomHeader : Pickle::Header {