Lines Matching refs:unixTime
158 UInt64 UnixTime_To_FileTime64(UInt32 unixTime) throw() in UnixTime_To_FileTime64() argument
160 return (kUnixTimeOffset + (UInt64)unixTime) * kNumTimeQuantumsInSecond; in UnixTime_To_FileTime64()
163 void UnixTime_To_FileTime(UInt32 unixTime, FILETIME &ft) throw() in UnixTime_To_FileTime() argument
165 const UInt64 v = UnixTime_To_FileTime64(unixTime); in UnixTime_To_FileTime()
170 UInt64 UnixTime64_To_FileTime64(Int64 unixTime) throw() in UnixTime64_To_FileTime64() argument
172 return (UInt64)((Int64)kUnixTimeOffset + unixTime) * kNumTimeQuantumsInSecond; in UnixTime64_To_FileTime64()
176 bool UnixTime64_To_FileTime64(Int64 unixTime, UInt64 &fileTime) throw() in UnixTime64_To_FileTime64() argument
178 if (unixTime > (Int64)(kNumSecondsInFileTime - kUnixTimeOffset)) in UnixTime64_To_FileTime64()
183 if (unixTime < -(Int64)kUnixTimeOffset) in UnixTime64_To_FileTime64()
188 fileTime = UnixTime64_To_FileTime64(unixTime); in UnixTime64_To_FileTime64()
193 bool UnixTime64_To_FileTime(Int64 unixTime, FILETIME &ft) throw() in UnixTime64_To_FileTime() argument
196 const bool res = UnixTime64_To_FileTime64(unixTime, v); in UnixTime64_To_FileTime()
216 bool FileTime_To_UnixTime(const FILETIME &ft, UInt32 &unixTime) throw() in FileTime_To_UnixTime() argument
222 unixTime = 0; in FileTime_To_UnixTime()
228 unixTime = (UInt32)0xFFFFFFFF; in FileTime_To_UnixTime()
231 unixTime = (UInt32)winTime; in FileTime_To_UnixTime()