Lines Matching defs:ts
1398 struct timespec ts;
1401 ts.tv_sec = (time_t)json_object_lookup_int(jctx, 0, time_name);
1402 ts.tv_nsec = (long )json_object_lookup_int(jctx, 0, frac_name);
1404 ts.tv_nsec *= fscale;
1405 *dest = tspec_stamp_to_lfp(ts);
2074 struct timespec ts;
2081 ts.tv_nsec = 0;
2088 ts.tv_nsec += (*(u_char*)ep - '0') * dw;
2099 ts.tv_sec = (ntpcal_tm_to_rd(&gd) - DAY_NTP_STARTS) * SECSPERDAY
2101 *fp = tspec_intv_to_lfp(ts);