Lines Matching refs:ft
19 bool DosTimeToFileTime(UInt32 dosTime, FILETIME &ft) 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) 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()
118 void UnixTimeToFileTime(UInt32 unixTime, FILETIME &ft) in UnixTimeToFileTime() argument
121 ft.dwLowDateTime = (DWORD)v; in UnixTimeToFileTime()
122 ft.dwHighDateTime = (DWORD)(v >> 32); in UnixTimeToFileTime()
125 bool FileTimeToUnixTime(const FILETIME &ft, UInt32 &unixTime) in FileTimeToUnixTime() argument
127 UInt64 winTime = (((UInt64)ft.dwHighDateTime) << 32) + ft.dwLowDateTime; in FileTimeToUnixTime()
163 void GetCurUtcFileTime(FILETIME &ft) in GetCurUtcFileTime() argument
167 SystemTimeToFileTime(&st, &ft); in GetCurUtcFileTime()