Home | History | Annotate | Download | only in Windows

Lines Matching refs:UInt32

12 static const UInt32 kNumTimeQuantumsInSecond = 10000000;

13 static const UInt32 kFileTimeStartYear = 1601;
14 static const UInt32 kDosTimeStartYear = 1980;
15 static const UInt32 kUnixTimeStartYear = 1970;
19 bool DosTimeToFileTime(UInt32 dosTime, FILETIME &ft)
31 ft.dwLowDateTime = (UInt32)res;
32 ft.dwHighDateTime = (UInt32)(res >> 32);
37 static const UInt32 kHighDosTime = 0xFF9FBF7D;
38 static const UInt32 kLowDosTime = 0x210000;
44 bool FileTimeToDosTime(const FILETIME &ft, UInt32 &dosTime)
54 dosTime = (((UInt32)datePart) << 16) + timePart;
62 UInt32 v;
72 v = (UInt32)v64;
118 void UnixTimeToFileTime(UInt32 unixTime, FILETIME &ft)
125 bool FileTimeToUnixTime(const FILETIME &ft, UInt32 &unixTime)
139 unixTime = (UInt32)winTime;
150 UInt32 numYears = year - kFileTimeStartYear;
151 UInt32 numDays = numYears * 365 + numYears / 4 - numYears / 100 + numYears / 400;