Lines Matching refs:error
502 oslFileError error; in osl_openLocalRoot() local
509 error = _osl_getSystemPathFromFileURL( strDirectoryPath, &strSysPath, sal_False ); in osl_openLocalRoot()
510 if ( osl_File_E_None == error ) in osl_openLocalRoot()
545 error = osl_File_E_None; in osl_openLocalRoot()
561 error = oslTranslateFileError( GetLastError() ); in osl_openLocalRoot()
566 return error; in osl_openLocalRoot()
573 oslFileError error = osl_File_E_None; in osl_openFileDirectory() local
607 error = oslTranslateFileError( GetLastError() ); in osl_openFileDirectory()
619 return error; in osl_openFileDirectory()
760 oslFileError error = _osl_getSystemPathFromFileURL( strPath, &strSysPath, sal_False ); in osl_createDirectory() local
762 if ( osl_File_E_None == error ) in osl_createDirectory()
786 error = oslTranslateFileError( GetLastError() ); in osl_createDirectory()
791 return error; in osl_createDirectory()
798 oslFileError error = _osl_getSystemPathFromFileURL( strPath, &strSysPath, sal_False ); in osl_removeDirectory() local
800 if ( osl_File_E_None == error ) in osl_removeDirectory()
803 error = osl_File_E_None; in osl_removeDirectory()
805 error = oslTranslateFileError( GetLastError() ); in osl_removeDirectory()
809 return error; in osl_removeDirectory()
815 oslFileError error; in osl_openDirectory() local
818 error = osl_openLocalRoot( strDirectoryPath, pDirectory ); in osl_openDirectory()
824 error = _osl_getSystemPathFromFileURL( strDirectoryPath, &strSysDirectoryPath, sal_False ); in osl_openDirectory()
826 if ( osl_File_E_None != error ) in osl_openDirectory()
827 return error; in osl_openDirectory()
833 error = osl_openNetworkServer( strSysDirectoryPath, pDirectory ); in osl_openDirectory()
836 error = osl_openFileDirectory( strSysDirectoryPath, pDirectory ); in osl_openDirectory()
840 return error; in osl_openDirectory()
1065 oslFileError error = osl_File_E_None; in osl_getDirectoryItem() local
1078 error = _osl_getSystemPathFromFileURL( strFilePath, &strSysFilePath, sal_False ); in osl_getDirectoryItem()
1080 if ( osl_File_E_None != error ) in osl_getDirectoryItem()
1081 return error; in osl_getDirectoryItem()
1100 error = osl_File_E_NOMEM; in osl_getDirectoryItem()
1102 if ( osl_File_E_None == error ) in osl_getDirectoryItem()
1131 error = osl_File_E_NOMEM; in osl_getDirectoryItem()
1133 if ( osl_File_E_None == error ) in osl_getDirectoryItem()
1181 error = oslTranslateFileError( GetLastError() ); in osl_getDirectoryItem()
1189 return error; in osl_getDirectoryItem()
1510 oslFileError error = _osl_getSystemPathFromFileURL(ustrURL, &system_path.pData, sal_False); in osl_getVolumeInformation() local
1512 if (osl_File_E_None != error) in osl_getVolumeInformation()
1513 return error; in osl_getVolumeInformation()
1520 if ((error = get_filesystem_attributes(volume_root, uFieldMask, pInfo)) != osl_File_E_None) in osl_getVolumeInformation()
1521 return error; in osl_getVolumeInformation()
1782 oslFileError error; in osl_setFileAttributes() local
1788 error = _osl_getSystemPathFromFileURL( ustrFileURL, &ustrSysPath, sal_False ); in osl_setFileAttributes()
1790 if ( osl_File_E_None != error ) in osl_setFileAttributes()
1791 return error; in osl_setFileAttributes()
1811 error = oslTranslateFileError( GetLastError() ); in osl_setFileAttributes()
1815 return error; in osl_setFileAttributes()
1825 oslFileError error; in osl_setFileTime() local
1837 error=_osl_getSystemPathFromFileURL(filePath, &sysPath, sal_False); in osl_setFileTime()
1839 if (error==osl_File_E_INVAL) in osl_setFileTime()
1840 return error; in osl_setFileTime()