Home
last modified time | relevance | path

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

/AOO41X/main/sal/osl/unx/
H A Dprofile.c91 int m_Handle; member
410 if ( !( pFile != 0 && pFile->m_Handle >= 0 ) ) in osl_flushProfile()
446 if ( !( pFile != 0 && pFile->m_Handle >= 0 ) || ( pFile->m_pWriteBuf == 0 ) ) in writeProfileImpl()
459 …BytesWritten = write(pFile->m_Handle, pFile->m_pWriteBuf, pFile->m_nWriteBufLen - pFile->m_nWriteB… in writeProfileImpl()
1124 if ( (pFile->m_Handle < 0) || (fstat(pFile->m_Handle, &status) < 0) ) in OslProfile_getFileStamp()
1162 if (pFile->m_Handle < 0) in OslProfile_lockFile()
1200 if ( fcntl(pFile->m_Handle, F_SETLKW, &lock) == -1 ) in OslProfile_lockFile()
1203 if ( fcntl(pFile->m_Handle, F_SETLKW, &lock) == -1 && errno != ENOTSUP ) in OslProfile_lockFile()
1239 pFile->m_Handle = open(pszFilename, O_RDONLY); in openFileImpl()
1248 if (((pFile->m_Handle = open(pszFilename, O_RDWR | O_CREAT | O_EXCL, DEFAULT_PMODE)) < 0) && in openFileImpl()
[all …]
/AOO41X/main/sal/osl/w32/
H A Dprofile.cxx97 HANDLE m_Handle; member
386 if ( !( pFile != 0 && pFile->m_Handle >= 0 ) ) in osl_flushProfile()
417 if ( !( pFile != 0 && pFile->m_Handle != INVALID_HANDLE_VALUE ) || ( pFile->m_pWriteBuf == 0 ) ) in writeProfileImpl()
430 …bRet=WriteFile(pFile->m_Handle, pFile->m_pWriteBuf, pFile->m_nWriteBufLen - pFile->m_nWriteBufFree… in writeProfileImpl()
1163 if ((pFile->m_Handle == INVALID_HANDLE_VALUE) || in getFileStamp()
1164 (! GetFileTime(pFile->m_Handle, NULL, NULL, &FileTime))) in getFileStamp()
1177 if (pFile->m_Handle == INVALID_HANDLE_VALUE) in lockFile()
1186 pFile->m_Handle, 0, 0xFFFFFFFF, 0, &Overlapped); in lockFile()
1191 pFile->m_Handle, 0, 0, 0xFFFFFFFF, 0, &Overlapped); in lockFile()
1196 pFile->m_Handle, LOCKFILE_EXCLUSIVE_LOCK, 0, 0xFFFFFFFF, 0, in lockFile()
[all …]
/AOO41X/main/sal/osl/os2/
H A Dprofile.c93 HFILE m_Handle; member
392 if ( !( pFile != 0 && pFile->m_Handle >= 0 ) ) in osl_flushProfile()
1102 if ( (!pFile->m_Handle) || in getFileStamp()
1103 DosQueryFileInfo(pFile->m_Handle, FIL_STANDARD, &FileStatus, Bytes)) in getFileStamp()
1119 if (!pFile->m_Handle) in lockFile()
1128 status = DosSetFileLocks(pFile->m_Handle, &Lock, NULL, 1000, 0); in lockFile()
1132 status = DosSetFileLocks(pFile->m_Handle, NULL, &Lock, 1000, 1); in lockFile()
1136 status = DosSetFileLocks(pFile->m_Handle, NULL, &Lock, 1000, 0); in lockFile()
1189 … if (rc = DosOpen((PCSZ)pszFileName, &pFile->m_Handle, &action, 0, flags, attributes, mode, NULL)) in openFileImpl()
1196 … rc = DosOpen((PCSZ)pszFileName, &pFile->m_Handle, &action, 0, flags, attributes, mode, NULL); in openFileImpl()
[all …]