Lines Matching full:seconds
29 QuicTime::Delta QuicTime::Delta::FromSeconds(int64 seconds) {
30 return QuicTime::Delta(base::TimeDelta::FromSeconds(seconds));
103 QuicWallTime QuicWallTime::FromUNIXSeconds(uint64 seconds) {
104 return QuicWallTime(seconds);
144 uint64 seconds = seconds_ + delta.ToSeconds();
145 if (seconds < seconds_) {
146 seconds = kuint64max;
148 return QuicWallTime(seconds);
152 uint64 seconds = seconds_ - delta.ToSeconds();
153 if (seconds > seconds_) {
154 seconds = 0;
156 return QuicWallTime(seconds);
159 QuicWallTime::QuicWallTime(uint64 seconds)
160 : seconds_(seconds) {