Home
last modified time | relevance | path

Searched refs:kNumTimeQuantumsInSecond (Results 1 – 1 of 1) sorted by relevance

/external/lzma/CPP/Windows/
DTimeUtils.cpp11 static const UInt32 kNumTimeQuantumsInSecond = 10000000; variable
17 static const UInt64 kNumSecondsInFileTime = (UInt64)(Int64)-1 / kNumTimeQuantumsInSecond;
30 res *= kNumTimeQuantumsInSecond; in DosTimeToFileTime()
63 v64 += (kNumTimeQuantumsInSecond * 2 - 1); in FileTimeToDosTime()
64 v64 /= kNumTimeQuantumsInSecond; in FileTimeToDosTime()
120 return (kUnixTimeOffset + (UInt64)unixTime) * kNumTimeQuantumsInSecond; in UnixTimeToFileTime64()
132 return (UInt64)(kUnixTimeOffset + unixTime) * kNumTimeQuantumsInSecond; in UnixTime64ToFileTime64()
148 UInt64 v2 = (UInt64)v * kNumTimeQuantumsInSecond; in UnixTime64ToFileTime()
157 return (Int64)(winTime / kNumTimeQuantumsInSecond) - (Int64)kUnixTimeOffset; in FileTimeToUnixTime64()
163 winTime /= kNumTimeQuantumsInSecond; in FileTimeToUnixTime()