Lines Matching refs:Error
96 enum Error {
168 explicit File(Error error_details);
197 Error error_details() const { return error_details_; }
207 // (relative to the start) or -1 in case of error.
211 // given offset. Returns the number of bytes read, or -1 on error. Note that
215 // an error.
223 // platforms. Returns the number of bytes read, or -1 on error.
231 // on error. Note that this function makes a best effort to write all data on
241 // platforms. Returns the number of bytes written, or -1 on error.
282 Error Lock();
285 Error Unlock();
297 static Error OSErrorToFileError(DWORD last_error);
299 static Error OSErrorToFileError(int saved_errno);
302 // Converts an error value to a human-readable form. Used for logging.
303 static std::string ErrorToString(Error error);
331 Error error_details_;