Lines Matching refs:m_pos
57 m_pos = (ssize_t) lseek(fd, 0, SEEK_CUR); in BackupDataWriter()
58 if (kIsDebug) ALOGI("BackupDataWriter(%d) @ %ld", fd, (long)m_pos); in BackupDataWriter()
81 m_pos += amt; in write_padding_for()
95 amt = write_padding_for(m_pos); in WriteEntityHeader()
128 m_pos += amt; in WriteEntityHeader()
136 m_pos += amt; in WriteEntityHeader()
166 m_pos += amt; in WriteEntityData()
184 m_pos = (ssize_t) lseek(fd, 0, SEEK_CUR); in BackupDataReader()
185 if (kIsDebug) ALOGI("BackupDataReader(%d) @ %ld", fd, (long)m_pos); in BackupDataReader()
246 m_pos += sizeof(m_header); in ReadNextHeader()
259 ALOGD("Entity header at %d has keyLen<=0: 0x%08x\n", (int)m_pos, in ReadNextHeader()
276 m_pos += size+1; 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()
325 m_pos = pos; in SkipEntityData()
337 int remaining = m_dataEndPos - m_pos; in ReadEntityData()
340 size, m_pos, m_dataEndPos, remaining); in ReadEntityData()
360 m_pos += amt; in ReadEntityData()
370 paddingSize = padding_extra(m_pos); in skip_padding()
375 m_pos += amt; in skip_padding()