Home | History | Annotate | Download | only in time

Lines Matching refs:delta_

106   TimeDelta() : delta_(0) {
137 int64_t ToInternalValue() const { return delta_; }
144 const int64_t mask = delta_ >> (sizeof(delta_) * 8 - 1);
145 return TimeDelta((delta_ + mask) ^ mask);
150 return delta_ == 0;
154 bool is_max() const { return delta_ == std::numeric_limits<int64_t>::max(); }
176 delta_ = other.delta_;
182 return TimeDelta(time_internal::SaturatedAdd(*this, other.delta_));
185 return TimeDelta(time_internal::SaturatedSub(*this, other.delta_));
195 return TimeDelta(-delta_);
201 CheckedNumeric<int64_t> rv(delta_);
207 CheckedNumeric<int64_t> rv(delta_);
220 int64_t operator/(TimeDelta a) const { return delta_ / a.delta_; }
222 return TimeDelta(delta_ % a.delta_);
227 return delta_ == other.delta_;
230 return delta_ != other.delta_;
233 return delta_ < other.delta_;
236 return delta_ <= other.delta_;
239 return delta_ > other.delta_;
242 return delta_ >= other.delta_;
252 constexpr explicit TimeDelta(int64_t delta_us) : delta_(delta_us) {}
262 int64_t delta_;