Home
last modified time | relevance | path

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

/aoo41x/main/tools/source/fsys/
H A Dfstat.cxx175 ByteString aFPath(rEntry.GetFull(), osl_getThreadTextEncoding()); in GetReadOnlyFlag() local
177 DWORD nRes = GetFileAttributes( (LPCTSTR) aFPath.GetBuffer() ); in GetReadOnlyFlag()
182 APIRET nRet = DosQueryPathInfo( (PSZ)aFPath.GetBuffer(), 1, &aFileStat, sizeof(aFileStat) ); in GetReadOnlyFlag()
193 if (stat(aFPath.GetBuffer(), &aBuf)) in GetReadOnlyFlag()
214 ByteString aFPath(rEntry.GetFull(), osl_getThreadTextEncoding()); in SetReadOnlyFlag() local
217 DWORD nRes = GetFileAttributes( (LPCTSTR) aFPath.GetBuffer() ); in SetReadOnlyFlag()
219 nRes = SetFileAttributes( (LPCTSTR) aFPath.GetBuffer(), in SetReadOnlyFlag()
225 APIRET nRet = DosQueryPathInfo( (PSZ)aFPath.GetBuffer(), 1, &aFileStat, sizeof(aFileStat) ); in SetReadOnlyFlag()
230 nRet = DosSetPathInfo( (PSZ)aFPath.GetBuffer(), 1, &aFileStat, sizeof(aFileStat), 0 ); in SetReadOnlyFlag()
246 if (stat(aFPath.GetBuffer(), &aBuf)) in SetReadOnlyFlag()
[all …]

Completed in 5 milliseconds