Lines Matching refs:header
328 const char* header = buffer_.data(); in ReadPhysicalRecord() local
329 const uint32_t a = static_cast<uint32_t>(header[4]) & 0xff; in ReadPhysicalRecord()
330 const uint32_t b = static_cast<uint32_t>(header[5]) & 0xff; in ReadPhysicalRecord()
331 const unsigned int type = header[6]; in ReadPhysicalRecord()
347 const uint32_t log_num = DecodeFixed32(header + 7); in ReadPhysicalRecord()
379 uint32_t expected_crc = crc32c::Unmask(DecodeFixed32(header)); in ReadPhysicalRecord()
380 uint32_t actual_crc = crc32c::Value(header + 6, length + header_size - 6); in ReadPhysicalRecord()
394 *result = Slice(header + header_size, length); in ReadPhysicalRecord()
560 const char* header = buffer_.data(); in TryReadFragment() local
561 const uint32_t a = static_cast<uint32_t>(header[4]) & 0xff; in TryReadFragment()
562 const uint32_t b = static_cast<uint32_t>(header[5]) & 0xff; in TryReadFragment()
563 const unsigned int type = header[6]; in TryReadFragment()
581 const uint32_t log_num = DecodeFixed32(header + 7); in TryReadFragment()
606 uint32_t expected_crc = crc32c::Unmask(DecodeFixed32(header)); in TryReadFragment()
607 uint32_t actual_crc = crc32c::Value(header + 6, length + header_size - 6); in TryReadFragment()
618 *fragment = Slice(header + header_size, length); in TryReadFragment()