Home
last modified time | relevance | path

Searched refs:aFileStat (Results 1 – 8 of 8) sorted by relevance

/aoo41x/main/tools/source/fsys/
H A Dfstat.cxx181 FILESTATUS3 aFileStat; in GetReadOnlyFlag() local
182 APIRET nRet = DosQueryPathInfo( (PSZ)aFPath.GetBuffer(), 1, &aFileStat, sizeof(aFileStat) ); in GetReadOnlyFlag()
186 return FILE_READONLY == ( aFileStat.attrFile & FILE_READONLY ); in GetReadOnlyFlag()
224 FILESTATUS3 aFileStat; in SetReadOnlyFlag() local
225 APIRET nRet = DosQueryPathInfo( (PSZ)aFPath.GetBuffer(), 1, &aFileStat, sizeof(aFileStat) ); in SetReadOnlyFlag()
228 aFileStat.attrFile = ( aFileStat.attrFile & ~FILE_READONLY ) | in SetReadOnlyFlag()
230 nRet = DosSetPathInfo( (PSZ)aFPath.GetBuffer(), 1, &aFileStat, sizeof(aFileStat), 0 ); in SetReadOnlyFlag()
/aoo41x/main/sal/osl/unx/
H A Dfile_stat.cxx393 struct stat aFileStat; in osl_psz_setFileTime() local
398 nRet = lstat(pszFilePath,&aFileStat); in osl_psz_setFileTime()
408 pTM=localtime(&aFileStat.st_ctime); in osl_psz_setFileTime()
410 pTM=localtime(&aFileStat.st_atime); in osl_psz_setFileTime()
412 pTM=localtime(&aFileStat.st_mtime); in osl_psz_setFileTime()
416 fprintf(stderr,"CreationTime is '%s'\n",ctime(&aFileStat.st_ctime)); in osl_psz_setFileTime()
427 aTimeBuffer.actime=aFileStat.st_atime; in osl_psz_setFileTime()
436 aTimeBuffer.modtime=aFileStat.st_mtime; in osl_psz_setFileTime()
443 pTM=localtime(&aFileStat.st_ctime); in osl_psz_setFileTime()
451 fprintf(stderr,"CreationTime now '%s'\n",ctime(&aFileStat.st_ctime)); in osl_psz_setFileTime()
H A Dfile_misc.cxx775 struct stat aFileStat; in osl_psz_copyFile() local
781 nRet = lstat(pszPath,&aFileStat); in osl_psz_copyFile()
790 if ( S_ISDIR(aFileStat.st_mode) ) in osl_psz_copyFile()
795 nSourceSize=(size_t)aFileStat.st_size; in osl_psz_copyFile()
796 nMode=aFileStat.st_mode; in osl_psz_copyFile()
797 nAcTime=aFileStat.st_atime; in osl_psz_copyFile()
798 nModTime=aFileStat.st_mtime; in osl_psz_copyFile()
799 nUID=aFileStat.st_uid; in osl_psz_copyFile()
800 nGID=aFileStat.st_gid; in osl_psz_copyFile()
802 nRet = stat(pszDestPath,&aFileStat); in osl_psz_copyFile()
[all …]
H A Dfile.cxx735 struct stat aFileStat; in osl_createFileHandleFromFD() local
736 if (-1 == fstat (fd, &aFileStat)) in osl_createFileHandleFromFD()
745 if (!S_ISREG(aFileStat.st_mode)) in osl_createFileHandleFromFD()
753 pImpl->m_size = sal::static_int_cast< sal_uInt64 >(aFileStat.st_size); in osl_createFileHandleFromFD()
897 struct stat aFileStat; in osl_openFile() local
898 if (-1 == fstat (fd, &aFileStat)) in osl_openFile()
904 if (!S_ISREG(aFileStat.st_mode)) in osl_openFile()
953 pImpl->m_size = sal::static_int_cast< sal_uInt64 >(aFileStat.st_size); in osl_openFile()
/aoo41x/main/sal/osl/os2/
H A Dfile.cxx1275 struct stat aFileStat; in osl_createFileHandleFromFD() local
1285 if (!S_ISREG(aFileStat.st_mode)) in osl_createFileHandleFromFD()
1437 struct stat aFileStat; in osl_openFile() local
1444 if (!S_ISREG(aFileStat.st_mode)) in osl_openFile()
2138 struct stat aFileStat; in osl_psz_copyFile() local
2159 nMode=aFileStat.st_mode; in osl_psz_copyFile()
2160 nAcTime=aFileStat.st_atime; in osl_psz_copyFile()
2161 nModTime=aFileStat.st_mtime; in osl_psz_copyFile()
2162 nUID=aFileStat.st_uid; in osl_psz_copyFile()
2163 nGID=aFileStat.st_gid; in osl_psz_copyFile()
[all …]
/aoo41x/main/desktop/source/app/
H A Dapp.cxx877 ::osl::FileStatus aFileStat (FileStatusMask_ModifyTime); in needsInstallBundledExtensionBlobs()
878 if (aDirectoryItem.getFileStatus(aFileStat) != ::osl::File::E_None) in needsInstallBundledExtensionBlobs()
880 if (aFileStat.getFileType() != ::osl::FileStatus::Regular) in needsInstallBundledExtensionBlobs()
882 if (aFileStat.getModifyTime().Seconds > aMarkerModifyTime.Seconds) in needsInstallBundledExtensionBlobs()
943 ::osl::FileStatus aFileStat( FileStatusMask_Type | FileStatusMask_FileURL); in installBundledExtensionBlobs()
944 if( aDI.getFileStatus( aFileStat) != ::osl::File::E_None) in installBundledExtensionBlobs()
946 if( aFileStat.getFileType() != ::osl::FileStatus::Regular) in installBundledExtensionBlobs()
951 … xEM->addExtension( aFileStat.getFileURL(), xProperties, OUSTR("user"), xAbortChannel, xCmdEnv); in installBundledExtensionBlobs()
/aoo41x/main/svtools/source/dialogs/
H A Dfiledlg2.cxx1025 FileStat aFileStat( rEntry ); in UpdateEntries() local
1029 if( ( aFileStat.GetKind() & FSYS_KIND_FILE ) && aTmpMask.Matches( aTmpName ) ) in UpdateEntries()
1034 else if( bWithDirs && ( aFileStat.GetKind() & FSYS_KIND_DIR ) ) in UpdateEntries()
/aoo41x/main/l10ntools/source/
H A Dxmlparse.cxx291 FileStat aFileStat( aTarget ); in Write() local
293 if( aFileStat.GetSize() < 1 ) in Write()

Completed in 74 milliseconds