Lines Matching refs:s64

46     static const s64 TICKS_PER_SECOND = NN_HW_TICKS_PER_SECOND;
73 …static TimeSpan FromNanoSeconds(s64 nanoSeconds) { TimeSpan ret; ret.m_NanoSeconds = nanoSeconds; … in FromNanoSeconds()
82 …static TimeSpan FromMicroSeconds(s64 microSeconds) { return FromNanoSeconds(microSeconds * 1000); } in FromMicroSeconds()
91 …static TimeSpan FromMilliSeconds(s64 milliSeconds) { return FromNanoSeconds(milliSeconds * 1000 * … in FromMilliSeconds()
100 … static TimeSpan FromSeconds(s64 seconds) { return FromNanoSeconds(seconds * 1000 * 1000 * 1000); } in FromSeconds()
109 …static TimeSpan FromMinutes(s64 minutes) { return FromNanoSeconds(minutes * 1000 * 1000 * 1000 * 6… in FromMinutes()
118 …static TimeSpan FromHours(s64 hours) { return FromNanoSeconds(hours * 1000 * 1000 * 1000 * 60 * 60… in FromHours()
127 …static TimeSpan FromDays(s64 days) { return FromNanoSeconds(days * 1000 * 1000 * 1000 * 60 * 60 * … in FromDays()
139 s64 GetDays() const { return DivideNanoSeconds(0x683fff6f48f948e3LL, 45); } in GetDays()
146 s64 GetHours() const { return DivideNanoSeconds(0x9c5fff26ed75ed55LL, 41); } in GetHours()
153 s64 GetMinutes() const { return DivideNanoSeconds(0x12533fe68fd3d1dLL, 28); } in GetMinutes()
160 s64 GetSeconds() const { return DivideNanoSeconds(0x112e0be826d694b3LL, 26); } in GetSeconds()
167 s64 GetMilliSeconds() const { return DivideNanoSeconds(0x431bde82d7b634dbLL, 18); } in GetMilliSeconds()
174 s64 GetMicroSeconds() const { return DivideNanoSeconds(0x20c49ba5e353f7cfLL, 7); } in GetMicroSeconds()
181 s64 GetNanoSeconds() const { return m_NanoSeconds; } in GetNanoSeconds()
274 s64 m_NanoSeconds;
277 s64 DivideNanoSeconds(const s64 magic, const s32 rightShift) const in DivideNanoSeconds()
279 s64 n = MultiplyRightShift(m_NanoSeconds, magic); in DivideNanoSeconds()
288 static s64 MultiplyRightShift(const s64 x, const s64 y) in MultiplyRightShift()
291 const s64 x_hi = x >> 32; in MultiplyRightShift()
294 const s64 y_hi = y >> 32; in MultiplyRightShift()
296 const s64 z = x_hi * y_lo + ((x_lo * y_lo) >> 32); in MultiplyRightShift()
297 const s64 z_lo = z & 0xffffffff; in MultiplyRightShift()
298 const s64 z_hi = z >> 32; in MultiplyRightShift()
300 return x_hi * y_hi + z_hi + (static_cast<s64>(x_lo * y_hi + z_lo) >> 32); in MultiplyRightShift()