Lines Matching refs:rc

843 			APIRET  rc;			  in _osl_openLocalRoot()  local
846 rc = DosQueryCurrentDisk (&ulDriveNum, &pDirImpl->ulDriveMap); in _osl_openLocalRoot()
853 rc = DosDevConfig( (void*) &nFloppies, DEVINFO_FLOPPY ); in _osl_openLocalRoot()
1912 APIRET rc; in osl_moveFile() local
1928 rc = DosDelete( (PCSZ)destPath); in osl_moveFile()
1929 rc = DosMove( (PCSZ)srcPath, (PCSZ)destPath); in osl_moveFile()
1930 if (!rc) in osl_moveFile()
1933 eRet = MapError( rc); in osl_moveFile()
2209 APIRET rc; in osl_copyFile() local
2235 APIRET rc; in osl_removeFile() local
2244 rc = DosDelete( (PCSZ)path); in osl_removeFile()
2245 if (!rc) in osl_removeFile()
2248 eRet = MapError( rc); in osl_removeFile()
2314 APIRET rc = DosDevIOCtl( hFileCD, 0x82, 0x60, NULL, 0, in GetCDInfo() local
2317 if(rc == NO_ERROR) in GetCDInfo()
2345 BOOL rc = FALSE; in TxFsType() local
2364 rc = TRUE; in TxFsType()
2368 return (rc); in TxFsType()
2381 BOOL rc = FALSE; in TxFsIsRemovable() local
2415 rc = TRUE; // removable, probably USB in TxFsIsRemovable()
2421 rc = TRUE; // removable block device in TxFsIsRemovable()
2425 return (rc); in TxFsIsRemovable()
2438 APIRET rc; in get_drive_type() local
2439 rc = DosDevConfig( (void*) &nFloppies, DEVINFO_FLOPPY ); in get_drive_type()
2496 APIRET rc = DosQueryFSInfo( nDriveNumber, FSIL_ALLOC, in get_volume_space_information() local
2500 if (!rc) in get_volume_space_information()
2669 APIRET rc = DosQueryFSInfo( nDriveNumber, ulFSInfoLevel, &aFSInfoBuf, sizeof(FSINFO) ); in _osl_getDriveInfo() local
2675 if ( !rc || aFSInfoBuf.vol.cch) in _osl_getDriveInfo()
2816 APIRET rc; in osl_createDirectory() local
2825 rc = DosCreateDir( (PCSZ)path, NULL); in osl_createDirectory()
2826 if (rc == ERROR_ACCESS_DENIED) in osl_createDirectory()
2827 rc=ERROR_FILE_EXISTS; in osl_createDirectory()
2829 if (!rc) in osl_createDirectory()
2832 eRet = MapError( rc); in osl_createDirectory()
2845 APIRET rc; in osl_removeDirectory() local
2854 rc = DosDeleteDir( (PCSZ)path); in osl_removeDirectory()
2855 if (!rc) in osl_removeDirectory()
2858 eRet = MapError( rc); in osl_removeDirectory()
2981 APIRET rc = NO_ERROR; in osl_setFileAttributes() local
2991 rc = DosQueryPathInfo( (PCSZ)path, FIL_STANDARD, &fsts3ConfigInfo, ulBufSize); in osl_setFileAttributes()
2992 if (rc != NO_ERROR) in osl_setFileAttributes()
2993 return MapError( rc); in osl_setFileAttributes()
3003 rc = DosSetPathInfo( (PCSZ)path, FIL_STANDARD, &fsts3ConfigInfo, ulBufSize, 0); in osl_setFileAttributes()
3004 if (rc != NO_ERROR) in osl_setFileAttributes()
3005 return MapError( rc); in osl_setFileAttributes()