52 if (sscanf(s,
"%u:%u:%u.%u", &hh, &mm, &ss, &ms) == 4)
return (hh*3600 + mm*60 + ss) * 100 + ms;
53 if (sscanf(s,
"%u:%u:%u" , &hh, &mm, &ss ) == 3)
return (hh*3600 + mm*60 + ss) * 100;
54 if (sscanf(s,
"%u:%u.%u", &mm, &ss, &ms) == 3)
return ( mm*60 + ss) * 100 + ms;
55 if (sscanf(s,
"%u:%u" , &mm, &ss ) == 2)
return ( mm*60 + ss) * 100;
56 if (sscanf(s,
"%u.%u", &ss, &ms) == 2)
return ( ss) * 100 + ms;
57 return strtol(s, NULL, 10) * 100;
132 int64_t min_ts, int64_t ts, int64_t max_ts,
int flags)
136 min_ts, ts, max_ts, flags);