Home
last modified time | relevance | path

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

/trunk/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()
/trunk/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 …]
/trunk/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.cxx765 struct stat aFileStat; in osl_psz_copyFile() local
771 nRet = lstat(pszPath,&aFileStat); in osl_psz_copyFile()
780 if ( S_ISDIR(aFileStat.st_mode) ) in osl_psz_copyFile()
785 nSourceSize=(size_t)aFileStat.st_size; in osl_psz_copyFile()
786 nMode=aFileStat.st_mode; in osl_psz_copyFile()
787 nAcTime=aFileStat.st_atime; in osl_psz_copyFile()
788 nModTime=aFileStat.st_mtime; in osl_psz_copyFile()
789 nUID=aFileStat.st_uid; in osl_psz_copyFile()
790 nGID=aFileStat.st_gid; in osl_psz_copyFile()
792 nRet = stat(pszDestPath,&aFileStat); in osl_psz_copyFile()
[all …]
H A Dfile.cxx733 struct stat aFileStat; in osl_createFileHandleFromFD() local
734 if (-1 == fstat (fd, &aFileStat)) in osl_createFileHandleFromFD()
743 if (!S_ISREG(aFileStat.st_mode)) in osl_createFileHandleFromFD()
751 pImpl->m_size = sal::static_int_cast< sal_uInt64 >(aFileStat.st_size); in osl_createFileHandleFromFD()
895 struct stat aFileStat; in osl_openFile() local
896 if (-1 == fstat (fd, &aFileStat)) in osl_openFile()
902 if (!S_ISREG(aFileStat.st_mode)) in osl_openFile()
951 pImpl->m_size = sal::static_int_cast< sal_uInt64 >(aFileStat.st_size); in osl_openFile()
/trunk/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()
/trunk/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()
/trunk/main/l10ntools/source/
H A Dxmlparse.cxx291 FileStat aFileStat( aTarget ); in Write() local
293 if( aFileStat.GetSize() < 1 ) in Write()

Completed in 87 milliseconds