Searched refs:nanos_part (Results 1 – 2 of 2) sorted by relevance
212 std::string seconds_part, nanos_part; in FromString() local216 nanos_part = "0"; in FromString()219 nanos_part = value.substr(pos + 1, value.length() - pos - 2); in FromString()226 int64 nanos = strto64(nanos_part.c_str(), &end, 10); in FromString()227 if (end != nanos_part.c_str() + nanos_part.length()) { in FromString()230 nanos = nanos * Pow(10, 9 - nanos_part.length()); in FromString()
188 let nanos_part = self.nanos_mod_sec() / NANOS_PER_MILLI; in num_milliseconds() localVariable189 secs_part + nanos_part as i64 in num_milliseconds()196 let nanos_part = self.nanos_mod_sec() / NANOS_PER_MICRO; in num_microseconds() localVariable197 secs_part.checked_add(nanos_part as i64) in num_microseconds()204 let nanos_part = self.nanos_mod_sec(); in num_nanoseconds() localVariable205 secs_part.checked_add(nanos_part as i64) in num_nanoseconds()