Lines Matching refs:error
54 // Returns ERROR_SUCCESS on success or the Windows error code corresponding to
55 // the first error encountered.
100 // Returns ERROR_SUCCESS on success, or a Windows error code on failure.
209 const DWORD error = DoDeleteFile(path, recursive);
210 return error == ERROR_SUCCESS;
224 File::Error* error) {
240 // |to_path| does not exist. In this case, the more relevant error comes
242 if (error) {
244 *error = replace_error == File::FILE_ERROR_NOT_FOUND ? move_error
363 bool CreateDirectoryAndGetError(const FilePath& full_path, File::Error* error) {
372 if (error) {
373 *error = File::FILE_ERROR_NOT_A_DIRECTORY;
385 if (error) {
386 *error = File::FILE_ERROR_NOT_FOUND;
390 if (!CreateDirectoryAndGetError(parent_path, error)) {
392 if (error) {
393 DCHECK(*error != File::FILE_OK);
401 // This error code ERROR_ALREADY_EXISTS doesn't indicate whether we
407 if (error)
408 *error = File::OSErrorToFileError(error_code);
410 << UTF16ToUTF8(full_path.value()) << ", last error is "