Lines Matching refs:m_status

55      m_status(NO_ERROR),  in BackupDataWriter()
79 m_status = errno; in write_padding_for()
80 return m_status; in write_padding_for()
90 if (m_status != NO_ERROR) { in WriteEntityHeader()
91 return m_status; in WriteEntityHeader()
126 m_status = errno; in WriteEntityHeader()
127 return m_status; in WriteEntityHeader()
134 m_status = errno; in WriteEntityHeader()
135 return m_status; in WriteEntityHeader()
151 if (m_status != NO_ERROR) { in WriteEntityData()
153 ALOGD("Not writing data - stream in error state %d (%s)", m_status, strerror(m_status)); in WriteEntityData()
155 return m_status; in WriteEntityData()
163 m_status = errno; in WriteEntityData()
164 if (kIsDebug) ALOGD("write returned error %d (%s)", m_status, strerror(m_status)); in WriteEntityData()
165 return m_status; in WriteEntityData()
181 m_status(NO_ERROR), in BackupDataReader()
196 return m_status; in Status()
203 m_status = EIO; \
206 m_status = errno; \
208 long(actual), long(expected), __LINE__, strerror(m_status)); \
210 return m_status; \
218 m_status = err; \
227 if (m_status != NO_ERROR) { in ReadNextHeader()
228 return m_status; in ReadNextHeader()
262 m_status = EINVAL; in ReadNextHeader()
271 m_status = ENOMEM; in ReadNextHeader()
272 return m_status; in ReadNextHeader()
286 m_status = EINVAL; in ReadNextHeader()
289 return m_status; in ReadNextHeader()
295 return m_status == NO_ERROR && m_header.type == BACKUP_HEADER_ENTITY_V1; in HasEntities()
301 if (m_status != NO_ERROR) { in ReadEntityHeader()
302 return m_status; in ReadEntityHeader()
315 if (m_status != NO_ERROR) { in SkipEntityData()
316 return m_status; in SkipEntityData()
335 if (m_status != NO_ERROR) { in ReadEntityData()
354 m_status = errno; in ReadEntityData()
358 m_status = EIO; in ReadEntityData()