Searched refs:hFile (Results 1 – 7 of 7) sorted by relevance
/freebsd/crypto/heimdal/lib/roken/ |
H A D | flock.c | 87 HANDLE hFile; in rk_flock() 92 hFile = (HANDLE) _get_osfhandle(fd); in rk_flock() 93 if (hFile == NULL || hFile == INVALID_HANDLE_VALUE) { in rk_flock() 108 rv = UnlockFileEx(hFile, 0, in rk_flock() 113 rv = LockFileEx(hFile, f, 0, in rk_flock() 118 rv = LockFileEx(hFile, f|LOCKFILE_EXCLUSIVE_LOCK, 0, in rk_flock()
|
/freebsd/contrib/file/src/ |
H A D | fsmagic.c | 134 HANDLE hFile = CreateFile((LPCSTR)fn, 0, FILE_SHARE_DELETE | in file_fsmagic() local 137 if (hFile != INVALID_HANDLE_VALUE) { in file_fsmagic() 146 switch (GetFileType(hFile)) { in file_fsmagic() 156 CloseHandle(hFile); in file_fsmagic()
|
/freebsd/sys/contrib/zstd/programs/ |
H A D | util.c | 584 HANDLE hFile; in UTIL_prepareFileList() local 595 hFile=FindFirstFileA(path, &cFile); in UTIL_prepareFileList() 596 if (hFile == INVALID_HANDLE_VALUE) { in UTIL_prepareFileList() 605 if (!path) { FindClose(hFile); return 0; } in UTIL_prepareFileList() 617 if (*bufStart == NULL) { free(path); FindClose(hFile); return 0; } in UTIL_prepareFileList() 624 if (*bufStart == NULL) { free(path); FindClose(hFile); return 0; } in UTIL_prepareFileList() 633 } while (FindNextFileA(hFile, &cFile)); in UTIL_prepareFileList() 635 FindClose(hFile); in UTIL_prepareFileList()
|
/freebsd/contrib/ofed/opensm/opensm/ |
H A D | osm_log.c | 103 HANDLE hFile = (HANDLE) _get_osfhandle(fd); in truncate_log_file() local 108 SetEndOfFile(hFile); in truncate_log_file()
|
/freebsd/contrib/libpcap/ |
H A D | pcap-npf.c | 1598 p->handle = pw->adapter->hFile; in pcap_activate_npf()
|
/freebsd/contrib/sqlite3/ |
H A D | shell.c | 7579 HANDLE hFile; in writeFile() local 7592 hFile = CreateFileW( in writeFile() 7597 if( hFile!=INVALID_HANDLE_VALUE ){ in writeFile() 7598 BOOL bResult = SetFileTime(hFile, NULL, &lastAccess, &lastWrite); in writeFile() 7599 CloseHandle(hFile); in writeFile()
|
H A D | sqlite3.c | 50380 winFile hFile; /* File handle from winOpen */ 50456 pFile->hFile.h, lockType, ofst, nByte)); 50460 rc = winUnlockFile(&pFile->hFile.h, ofst, 0, nByte, 0); 50465 rc = winLockFile(&pFile->hFile.h, dwFlags, ofst, 0, nByte, 0); 50476 pFile->hFile.h, (lockType == WINSHM_UNLCK) ? "winUnlockFile" : 50513 if( p->hFile.h!=NULL && p->hFile.h!=INVALID_HANDLE_VALUE ){ 50515 winClose((sqlite3_file *)&p->hFile); 50551 }else if( winTruncate((sqlite3_file*)&pShmNode->hFile, 0) ){ 50614 ((winFile*)(&pShmNode->hFile))->h = INVALID_HANDLE_VALUE; 50632 (sqlite3_file*)&pShmNode->hFile, [all …]
|