Lines Matching refs:nanos
57 // duration.nanos = end.nanos - start.nanos;
59 // if (duration.seconds < 0 && duration.nanos > 0) {
61 // duration.nanos -= 1000000000;
62 // } else if (durations.seconds > 0 && duration.nanos < 0) {
64 // duration.nanos += 1000000000;
74 // end.nanos = start.nanos + duration.nanos;
76 // if (end.nanos < 0) {
78 // end.nanos += 1000000000;
79 // } else if (end.nanos >= 1000000000) {
81 // end.nanos -= 1000000000;
93 // `seconds` field and a positive or negative `nanos` field. For durations
94 // of one second or more, a non-zero value for the `nanos` field must be
97 int32 nanos = 2; field