Lines Matching refs:m_header
184 memset(&m_header, 0, sizeof(m_header)); in BackupDataReader()
241 amt = read(m_fd, &m_header, sizeof(m_header)); in ReadNextHeader()
246 CHECK_SIZE(amt, sizeof(m_header)); in ReadNextHeader()
247 m_pos += sizeof(m_header); in ReadNextHeader()
249 *type = m_header.type; in ReadNextHeader()
253 m_header.type = fromlel(m_header.type); in ReadNextHeader()
254 switch (m_header.type) in ReadNextHeader()
258 m_header.entity.keyLen = fromlel(m_header.entity.keyLen); in ReadNextHeader()
259 if (m_header.entity.keyLen <= 0) { in ReadNextHeader()
261 (int)m_header.entity.keyLen); in ReadNextHeader()
264 m_header.entity.dataSize = fromlel(m_header.entity.dataSize); in ReadNextHeader()
268 size_t size = m_header.entity.keyLen; in ReadNextHeader()
279 m_dataEndPos = m_pos + m_header.entity.dataSize; in ReadNextHeader()
285 (int)(m_pos - sizeof(m_header)), (int)m_header.type); in ReadNextHeader()
295 return m_status == NO_ERROR && m_header.type == BACKUP_HEADER_ENTITY_V1; in HasEntities()
304 if (m_header.type != BACKUP_HEADER_ENTITY_V1) { in ReadEntityHeader()
308 *dataSize = m_header.entity.dataSize; in ReadEntityHeader()
318 if (m_header.type != BACKUP_HEADER_ENTITY_V1) { in SkipEntityData()
321 if (m_header.entity.dataSize > 0) { in SkipEntityData()