Lines Matching refs:m_header
183 memset(&m_header, 0, sizeof(m_header)); in BackupDataReader()
240 amt = read(m_fd, &m_header, sizeof(m_header)); in ReadNextHeader()
245 CHECK_SIZE(amt, sizeof(m_header)); in ReadNextHeader()
246 m_pos += sizeof(m_header); in ReadNextHeader()
248 *type = m_header.type; in ReadNextHeader()
252 m_header.type = fromlel(m_header.type); in ReadNextHeader()
253 switch (m_header.type) in ReadNextHeader()
257 m_header.entity.keyLen = fromlel(m_header.entity.keyLen); in ReadNextHeader()
258 if (m_header.entity.keyLen <= 0) { in ReadNextHeader()
260 (int)m_header.entity.keyLen); in ReadNextHeader()
263 m_header.entity.dataSize = fromlel(m_header.entity.dataSize); in ReadNextHeader()
267 size_t size = m_header.entity.keyLen; in ReadNextHeader()
278 m_dataEndPos = m_pos + m_header.entity.dataSize; in ReadNextHeader()
284 (int)(m_pos - sizeof(m_header)), (int)m_header.type); in ReadNextHeader()
294 return m_status == NO_ERROR && m_header.type == BACKUP_HEADER_ENTITY_V1; in HasEntities()
303 if (m_header.type != BACKUP_HEADER_ENTITY_V1) { in ReadEntityHeader()
307 *dataSize = m_header.entity.dataSize; in ReadEntityHeader()
317 if (m_header.type != BACKUP_HEADER_ENTITY_V1) { in SkipEntityData()
320 if (m_header.entity.dataSize > 0) { in SkipEntityData()