Lines Matching refs:m_status

54      m_status(NO_ERROR),  in BackupDataWriter()
78 m_status = errno; in write_padding_for()
79 return m_status; in write_padding_for()
89 if (m_status != NO_ERROR) { in WriteEntityHeader()
90 return m_status; in WriteEntityHeader()
125 m_status = errno; in WriteEntityHeader()
126 return m_status; in WriteEntityHeader()
133 m_status = errno; in WriteEntityHeader()
134 return m_status; in WriteEntityHeader()
150 if (m_status != NO_ERROR) { in WriteEntityData()
152 ALOGD("Not writing data - stream in error state %d (%s)", m_status, strerror(m_status)); in WriteEntityData()
154 return m_status; in WriteEntityData()
162 m_status = errno; in WriteEntityData()
163 if (kIsDebug) ALOGD("write returned error %d (%s)", m_status, strerror(m_status)); in WriteEntityData()
164 return m_status; in WriteEntityData()
180 m_status(NO_ERROR), in BackupDataReader()
195 return m_status; in Status()
202 m_status = EIO; \
205 m_status = errno; \
207 long(actual), long(expected), __LINE__, strerror(m_status)); \
209 return m_status; \
217 m_status = err; \
226 if (m_status != NO_ERROR) { in ReadNextHeader()
227 return m_status; in ReadNextHeader()
261 m_status = EINVAL; in ReadNextHeader()
270 m_status = ENOMEM; in ReadNextHeader()
271 return m_status; in ReadNextHeader()
285 m_status = EINVAL; in ReadNextHeader()
288 return m_status; in ReadNextHeader()
294 return m_status == NO_ERROR && m_header.type == BACKUP_HEADER_ENTITY_V1; in HasEntities()
300 if (m_status != NO_ERROR) { in ReadEntityHeader()
301 return m_status; in ReadEntityHeader()
314 if (m_status != NO_ERROR) { in SkipEntityData()
315 return m_status; in SkipEntityData()
334 if (m_status != NO_ERROR) { in ReadEntityData()
353 m_status = errno; in ReadEntityData()
357 m_status = EIO; in ReadEntityData()