Home
last modified time | relevance | path

Searched refs:stat (Results 1 – 25 of 74) sorted by relevance

123

/trunk/main/setup_native/scripts/source/
H A Dgetuid.c42 int stat(const char *path, struct stat *buf);
53 int fstat(int fildes, struct stat *buf) in fstat()
56 static int (*p_fstat) (int fildes, struct stat *buf) = NULL; in fstat()
58 p_fstat = (int (*)(int fildes, struct stat *buf)) in fstat()
81 struct stat statbuf; in chmod()
82 if (stat(path, &statbuf) == 0) in chmod()
120 int __lxstat(int n, const char *path, struct stat *buf)
123 static int (*p_lstat) (int n, const char *path, struct stat *buf) = NULL;
125 p_lstat = (int (*)(int n, const char *path, struct stat *buf))
/trunk/main/tools/source/fsys/
H A Dunx.cxx113 struct stat buf; in GetMountEntry()
115 if ((stat (mountp, &buf) != -1) && (buf.st_dev == dev)) in GetMountEntry()
176 struct stat buf; in GetMountEntry()
177 if ((stat (mnt->MOUNTPOINT, &buf) == -1) || (buf.st_dev != dev)) in GetMountEntry()
226 struct stat buf; in IsCaseSensitive()
230 while (stat (ByteString(aPath.GetFull(), osl_getThreadTextEncoding()).GetBuffer(), &buf)) in IsCaseSensitive()
333 struct stat buf; in GetVolume()
334 while (stat (ByteString(aPath.GetFull(), osl_getThreadTextEncoding()).GetBuffer(), &buf)) in GetVolume()
354 struct stat buf; in GetDevice()
517 struct stat aStat; in Update()
[all …]
H A Dfstat.cxx192 struct stat aBuf; in GetReadOnlyFlag()
193 if (stat(aFPath.GetBuffer(), &aBuf)) in GetReadOnlyFlag()
245 struct stat aBuf; in SetReadOnlyFlag()
246 if (stat(aFPath.GetBuffer(), &aBuf)) in SetReadOnlyFlag()
H A Dtdir.cxx731 FileStat * stat = NULL; in operator +=() local
737 stat = new FileStat( *rDir.pStatLst->GetObject(nNr) ); in operator +=()
739 stat = new FileStat( rDir[nNr] ); in operator +=()
741 ImpSortedInsert( new DirEntry( rDir[nNr] ), stat ); in operator +=()
/trunk/main/sal/osl/unx/
H A Dfile_stat.cxx45 inline void set_file_type(const struct stat& file_stat, oslFileStatus* pStat) in set_file_type()
66 inline void set_file_access_mask(const struct stat& file_stat, oslFileStatus* pStat) in set_file_access_mask()
101 …inline void set_file_access_rights(const struct stat& file_stat, int S_IR, int S_IW, int S_IX, osl… in set_file_access_rights()
147 inline void set_file_access_rights(const struct stat& file_stat, oslFileStatus* pStat) in set_file_access_rights()
172 …const rtl::OUString& file_path, const struct stat& file_stat, const sal_uInt32 uFieldMask, oslFile… in set_file_attributes()
183 inline void set_file_access_time(const struct stat& file_stat, oslFileStatus* pStat) in set_file_access_time()
190 inline void set_file_modify_time(const struct stat& file_stat, oslFileStatus* pStat) in set_file_modify_time()
197 inline void set_file_size(const struct stat& file_stat, oslFileStatus* pStat) in set_file_size()
267 struct ::stat file_stat; in osl_getFileStatus()
269 struct stat file_stat; in osl_getFileStatus()
[all …]
/trunk/main/setup_native/source/win32/customactions/shellextensions/
H A Dcopyeditiondata.cxx113 Status stat = fileExists(from.get()); in copyEditionData() local
114 if (stat == STATUS_ERROR) { in copyEditionData()
117 if (stat == STATUS_NO) { in copyEditionData()
128 stat = fileExists(to.get()); in copyEditionData()
129 if (stat == STATUS_ERROR) { in copyEditionData()
132 if (stat == STATUS_YES) { in copyEditionData()
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/lib/
H A DMultiMethodTest.java399 Status stat; in invokeTestMethod() local
412 stat = ((StatusException) t).getStatus(); in invokeTestMethod()
417 stat = Status.exception(t); in invokeTestMethod()
423 stat = Status.exception(iaE); in invokeTestMethod()
428 stat = Status.exception(iaE); in invokeTestMethod()
433 stat = Status.exception(ccE); in invokeTestMethod()
436 setStatus(methName, stat); in invokeTestMethod()
/trunk/main/configmgr/source/
H A Dcomponents.cxx618 osl::FileStatus stat( in parseFiles() local
621 if (i.getFileStatus(stat) != osl::FileBase::E_None) { in parseFiles()
628 if (stat.getFileType() == osl::FileStatus::Directory) { //TODO: symlinks in parseFiles()
629 parseFiles(layer, extension, parseFile, stat.getFileURL(), true); in parseFiles()
631 rtl::OUString file(stat.getFileName()); in parseFiles()
637 parseFile, stat.getFileURL(), layer, data_, 0, 0, 0); in parseFiles()
710 osl::FileStatus stat( in parseXcdFiles() local
713 if (i.getFileStatus(stat) != osl::FileBase::E_None) { in parseXcdFiles()
720 if (stat.getFileType() != osl::FileStatus::Directory) { //TODO: symlinks in parseXcdFiles()
721 rtl::OUString file(stat.getFileName()); in parseXcdFiles()
[all …]
/trunk/main/desktop/source/pkgchk/unopkg/
H A Dunopkg_misc.cxx545 osl::FileStatus stat(FileStatusMask_Type); in hasNoFolder() local
546 if (i.getFileStatus(stat) == osl::File::E_None) in hasNoFolder()
548 if (stat.getFileType() == osl::FileStatus::Directory) in hasNoFolder()
597 ::osl::FileStatus stat(FileStatusMask_Type | FileStatusMask_FileURL); in removeFolder()
598 if (i.getFileStatus(stat) == ::osl::File::E_None) in removeFolder()
600 ::osl::FileStatus::Type t = stat.getFileType(); in removeFolder()
604 removeFolder(stat.getFileURL()); in removeFolder()
609 ::osl::File::remove(stat.getFileURL()); in removeFolder()
/trunk/main/tools/source/stream/
H A Dstrmunx.cxx67 struct stat m_aStat;
85 stat( aFileName.GetBuffer(), &m_aStat ); in InternalStreamLock()
113 struct stat aStat; in LockFile()
114 if( stat( aFileName.GetBuffer(), &aStat ) ) in LockFile()
665 struct stat buf; in Open()
867 struct stat aStat; in SetSize()
/trunk/main/soltools/mkdepend/
H A Dmain.c185 struct stat ast;
476 struct stat st;
660 struct stat st;
677 if (stat("Makefile", &st) == 0)
679 else if (stat("makefile", &st) == 0)
685 stat(makefile, &st);
H A Dinclude.c56 struct stat st;
103 if ((exists_path(incCollection, path)) && stat(path, &st) == 0 && !( st.st_mode & S_IFDIR)) {
119 if ((exists_path(incCollection, path)) && stat(path, &st) == 0 && !(st.st_mode & S_IFDIR)) {
235 struct stat st;
/trunk/main/vcl/unx/generic/fontmanager/
H A Dfontcache.cxx300 struct stat aStat; in read()
301 if( stat( aDir.getStr(), &aStat ) || in read()
461 struct stat aStat; in read()
462 if( stat( aFilePath.GetBuffer(), &aStat ) || in read()
502 struct stat aStat; in updateDirTimestamp()
503 if( ! stat( rDir.getStr(), &aStat ) ) in updateDirTimestamp()
794 struct stat aStat; in createCacheDir()
795 if( ! stat( rDir.getStr(), &aStat ) ) in createCacheDir()
H A Dhelper.cxx161 struct stat aStat; in getPrinterPathList()
162 if( stat( aDir.getStr(), &aStat ) || ! S_ISDIR( aStat.st_mode ) ) in getPrinterPathList()
211 struct stat aStat; in getFontPath()
212 …if( 0 != stat( OUStringToOString( aPathBuffer.makeStringAndClear(), osl_getThreadTextEncoding() ).… in getFontPath()
/trunk/main/autodoc/source/cosv/storage/
H A Dploc_dir.cxx254 struct stat aEntryStatus; in GetContainedDirectories()
261 stat(sNew.c_str(), &aEntryStatus); in GetContainedDirectories()
287 struct stat aEntryStatus; in GetContainedFiles()
294 stat(sNew.c_str(), &aEntryStatus); in GetContainedFiles()
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/helper/
H A DCwsDataExchangeImpl.java114 final String stat = status ? ".PASSED.OK" : ".PASSED.FAILED"; in setUnoApiCwsStatus() local
120 "_" + param.get(PropertyName.OPERATING_SYSTEM) + stat + ".txt"; in setUnoApiCwsStatus()
124 out.write(stat); in setUnoApiCwsStatus()
/trunk/main/odk/source/unoapploader/unx/
H A Dunoapploader.c93 struct stat stat; in main() local
106 ret = lstat(unoinfo, &stat); in main()
/trunk/main/l10ntools/source/
H A Ddirectory.cxx181 struct stat statbuf; in readDirectory()
182 struct stat statbuf2; in readDirectory()
191 …if( stat( sFullpathext.getStr() , &statbuf ) < 0 ){ printf("warning: Can not stat %s" , sFullpa… in readDirectory()
H A Dtreeconfig.cxx135 struct stat status; in isConfigFilePresent()
136 if( stat( config_file.c_str() , &status ) < 0 ) in isConfigFilePresent()
/trunk/main/desktop/source/deployment/registry/help/
H A Ddp_help.cxx300 … ::osl::FileStatus stat(FileStatusMask_Type | FileStatusMask_FileName |FileStatusMask_FileURL); in extensionContainsCompiledHelp()
301 if (item.getFileStatus(stat) == ::osl::File::E_None) in extensionContainsCompiledHelp()
303 if (stat.getFileType() != ::osl::FileStatus::Directory) in extensionContainsCompiledHelp()
307 OUString compUrl(stat.getFileURL() + OUSTR("/help.idxl")); in extensionContainsCompiledHelp()
/trunk/main/qadevOOo/java/OOoRunner/src/main/java/util/
H A DDBTools.java513 XStatement stat = con.createStatement() ; in deleteAllRows() local
515 XResultSet set = stat.executeQuery("SELECT * FROM " + table) ; in deleteAllRows()
559 XStatement stat = con.createStatement() ; in addRowToTestTable() local
561 XResultSet set = stat.executeQuery("SELECT * FROM " + table) ; in addRowToTestTable()
/trunk/main/shell/source/win32/shlxthandler/thumbviewer/
H A Dthumbviewer.cxx433 Gdiplus::Status stat = graphics.DrawImage( in Extract() local
446 stat = graphics.DrawImage( in Extract()
452 if (stat == Gdiplus::Ok) in Extract()
/trunk/ext_libraries/hunspell/
H A Dhunspell-1.3.3-overflow.patch33 #include <sys/stat.h>
67 #include <sys/stat.h>
/trunk/main/tools/bootstrp/
H A Dcppdep.cxx153 struct stat aBuf; in Exists()
163 if ( stat( pFullName, &aBuf ) == 0 ) in Exists()
/trunk/main/xml2cmp/source/support/
H A Dsyshelp.cxx288 struct stat aEntryStatus; in GatherSubDirectories()
292 stat(pEntry->d_name, &aEntryStatus); in GatherSubDirectories()

Completed in 95 milliseconds

123