Lines Matching defs:ts_
24 DecodeTimestamp(const DecodeTimestamp& rhs) : ts_(rhs.ts_) { }
27 ts_ = rhs.ts_;
33 bool operator<(const DecodeTimestamp& rhs) const { return ts_ < rhs.ts_; }
34 bool operator>(const DecodeTimestamp& rhs) const { return ts_ > rhs.ts_; }
35 bool operator==(const DecodeTimestamp& rhs) const { return ts_ == rhs.ts_; }
36 bool operator!=(const DecodeTimestamp& rhs) const { return ts_ != rhs.ts_; }
37 bool operator>=(const DecodeTimestamp& rhs) const { return ts_ >= rhs.ts_; }
38 bool operator<=(const DecodeTimestamp& rhs) const { return ts_ <= rhs.ts_; }
41 return ts_ - rhs.ts_;
45 ts_ += rhs;
50 ts_ -= rhs;
55 return DecodeTimestamp(ts_ + rhs);
59 return DecodeTimestamp(ts_ - rhs);
63 return ts_ / rhs;
84 double InSecondsF() const { return ts_.InSecondsF(); }
85 int64 InMilliseconds() const { return ts_.InMilliseconds(); }
86 int64 InMicroseconds() const { return ts_.InMicroseconds(); }
90 base::TimeDelta ToPresentationTime() const { return ts_; }
93 explicit DecodeTimestamp(base::TimeDelta timestamp) : ts_(timestamp) { }
95 base::TimeDelta ts_;