Home
last modified time | relevance | path

Searched refs:nanos_part (Results 1 – 1 of 1) sorted by relevance

/external/protobuf/src/google/protobuf/util/
Dtime_util.cc201 string seconds_part, nanos_part; in FromString() local
205 nanos_part = "0"; in FromString()
208 nanos_part = value.substr(pos + 1, value.length() - pos - 2); in FromString()
215 int64 nanos = strto64(nanos_part.c_str(), &end, 10); in FromString()
216 if (end != nanos_part.c_str() + nanos_part.length()) { in FromString()
219 nanos = nanos * Pow(10, 9 - nanos_part.length()); in FromString()