Searched refs:dur_sv (Results 1 – 1 of 1) sorted by relevance
901 bool ParseDuration(absl::string_view dur_sv, Duration* d) { in ParseDuration() argument903 if (absl::ConsumePrefix(&dur_sv, "-")) { in ParseDuration()906 absl::ConsumePrefix(&dur_sv, "+"); in ParseDuration()908 if (dur_sv.empty()) return false; in ParseDuration()911 if (dur_sv == "0") { in ParseDuration()916 if (dur_sv == "inf") { in ParseDuration()921 const char* start = dur_sv.data(); in ParseDuration()922 const char* end = start + dur_sv.size(); in ParseDuration()