Lines Matching defs:Error
97 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.
281 Error Lock();
284 Error Unlock();
289 static Error OSErrorToFileError(DWORD last_error);
291 static Error OSErrorToFileError(int saved_errno);
294 // Converts an error value to a human-readable form. Used for logging.
295 static std::string ErrorToString(Error error);
306 Error error_details_;