Lines Matching refs:int64_t

41   static TimeDelta FromSeconds(int64_t seconds);
42 static TimeDelta FromMilliseconds(int64_t milliseconds);
43 static TimeDelta FromMicroseconds(int64_t microseconds) { in FromMicroseconds()
46 static TimeDelta FromNanoseconds(int64_t nanoseconds);
57 int64_t InSeconds() const;
59 int64_t InMilliseconds() const;
60 int64_t InMillisecondsRoundedUp() const;
61 int64_t InMicroseconds() const { return delta_; } in InMicroseconds()
62 int64_t InNanoseconds() const;
106 TimeDelta operator*(int64_t a) const {
109 TimeDelta operator/(int64_t a) const {
112 TimeDelta& operator*=(int64_t a) {
116 TimeDelta& operator/=(int64_t a) {
120 int64_t operator/(const TimeDelta& other) const {
148 explicit TimeDelta(int64_t delta) : delta_(delta) {} in TimeDelta()
151 int64_t delta_;
163 static const int64_t kMillisecondsPerSecond = 1000;
164 static const int64_t kMicrosecondsPerMillisecond = 1000;
165 static const int64_t kMicrosecondsPerSecond = kMicrosecondsPerMillisecond *
167 static const int64_t kMicrosecondsPerMinute = kMicrosecondsPerSecond * 60;
168 static const int64_t kMicrosecondsPerHour = kMicrosecondsPerMinute * 60;
169 static const int64_t kMicrosecondsPerDay = kMicrosecondsPerHour * 24;
170 static const int64_t kMicrosecondsPerWeek = kMicrosecondsPerDay * 7;
171 static const int64_t kNanosecondsPerMicrosecond = 1000;
172 static const int64_t kNanosecondsPerSecond = kNanosecondsPerMicrosecond *
182 bool IsMax() const { return us_ == std::numeric_limits<int64_t>::max(); } in IsMax()
200 static Time Max() { return Time(std::numeric_limits<int64_t>::max()); } in Max()
204 static Time FromInternalValue(int64_t value) { in FromInternalValue()
207 int64_t ToInternalValue() const { in ToInternalValue()
277 explicit Time(int64_t us) : us_(us) {} in Time()
280 int64_t us_;
330 static TimeTicks FromInternalValue(int64_t value) { in FromInternalValue()
333 int64_t ToInternalValue() const { in ToInternalValue()
388 explicit TimeTicks(int64_t ticks) : ticks_(ticks) {} in TimeTicks()
391 int64_t ticks_;