40 const unsigned char *ptr = p->
buf;
51 if (sscanf(s,
"%u:%u:%u.%u", &hh, &mm, &ss, &ms) == 4)
return (hh*3600 + mm*60 + ss) * 100 + ms;
52 if (sscanf(s,
"%u:%u:%u" , &hh, &mm, &ss ) == 3)
return (hh*3600 + mm*60 + ss) * 100;
53 if (sscanf(s,
"%u:%u.%u", &mm, &ss, &ms) == 3)
return ( mm*60 + ss) * 100 + ms;
54 if (sscanf(s,
"%u:%u" , &mm, &ss ) == 2)
return ( mm*60 + ss) * 100;
55 if (sscanf(s,
"%u.%u", &ss, &ms) == 2)
return ( ss) * 100 + ms;
56 return strtol(s, NULL, 10) * 100;
129 int64_t min_ts, int64_t ts, int64_t max_ts,
int flags)
133 min_ts, ts, max_ts, flags);