Lines Matching refs:ft
19 bool DosTimeToFileTime(UInt32 dosTime, FILETIME &ft) throw() in DosTimeToFileTime() argument
22 …turn BOOLToBool(::DosDateTimeToFileTime((UInt16)(dosTime >> 16), (UInt16)(dosTime & 0xFFFF), &ft)); in DosTimeToFileTime()
24 ft.dwLowDateTime = 0; in DosTimeToFileTime()
25 ft.dwHighDateTime = 0; in DosTimeToFileTime()
31 ft.dwLowDateTime = (UInt32)res; in DosTimeToFileTime()
32 ft.dwHighDateTime = (UInt32)(res >> 32); in DosTimeToFileTime()
44 bool FileTimeToDosTime(const FILETIME &ft, UInt32 &dosTime) throw() in FileTimeToDosTime() argument
49 if (!::FileTimeToDosDateTime(&ft, &datePart, &timePart)) in FileTimeToDosTime()
51 dosTime = (ft.dwHighDateTime >= 0x01C00000) ? kHighDosTime : kLowDosTime; in FileTimeToDosTime()
59 UInt64 v64 = ft.dwLowDateTime | ((UInt64)ft.dwHighDateTime << 32); in FileTimeToDosTime()
123 void UnixTimeToFileTime(UInt32 unixTime, FILETIME &ft) throw() in UnixTimeToFileTime() argument
126 ft.dwLowDateTime = (DWORD)v; in UnixTimeToFileTime()
127 ft.dwHighDateTime = (DWORD)(v >> 32); in UnixTimeToFileTime()
135 bool UnixTime64ToFileTime(Int64 unixTime, FILETIME &ft) throw() in UnixTime64ToFileTime() argument
139 ft.dwLowDateTime = ft.dwHighDateTime = (UInt32)(Int32)-1; in UnixTime64ToFileTime()
145 ft.dwLowDateTime = ft.dwHighDateTime = 0; in UnixTime64ToFileTime()
149 ft.dwLowDateTime = (DWORD)v2; in UnixTime64ToFileTime()
150 ft.dwHighDateTime = (DWORD)(v2 >> 32); in UnixTime64ToFileTime()
154 Int64 FileTimeToUnixTime64(const FILETIME &ft) throw() in FileTimeToUnixTime64() argument
156 UInt64 winTime = (((UInt64)ft.dwHighDateTime) << 32) + ft.dwLowDateTime; in FileTimeToUnixTime64()
160 bool FileTimeToUnixTime(const FILETIME &ft, UInt32 &unixTime) throw() in FileTimeToUnixTime() argument
162 UInt64 winTime = (((UInt64)ft.dwHighDateTime) << 32) + ft.dwLowDateTime; in FileTimeToUnixTime()
199 void GetCurUtcFileTime(FILETIME &ft) throw() in GetCurUtcFileTime() argument
207 SystemTimeToFileTime(&st, &ft); in GetCurUtcFileTime()
209 GetSystemTimeAsFileTime(&ft); in GetCurUtcFileTime()