Searched refs:replace_error (Results 1 – 2 of 2) sorted by relevance
554 DWORD replace_error = ::GetLastError(); in RenameFile() local558 if (replace_error == ERROR_FILE_NOT_FOUND || in RenameFile()559 replace_error == ERROR_PATH_NOT_FOUND) { in RenameFile()562 return WindowsError(from, replace_error); in RenameFile()
493 File::Error replace_error = File::OSErrorToFileError(GetLastError()); in ReplaceFile() local504 *error = replace_error == File::FILE_ERROR_NOT_FOUND in ReplaceFile()506 : replace_error; in ReplaceFile()