Lines Matching defs:timestamp
88 uint16_t timestamp;
91 /* compute 10 bits timestamp according to spec */
92 timestamp = (time(NULL) / (60 * 60 * 24)) % 1024;
100 base32[(timestamp>>5) & 0x1F],
101 base32[timestamp & 0x1F],
209 uint16_t timestamp, srs_timestamp;
230 /* sanity check: we have room for a timestamp and delimiter */
234 /* decode timestamp */
244 /* compute current 10 bits timestamp */
245 timestamp = (time(NULL) / (60 * 60 * 24)) % 1024;
247 /* check that SRS timestamp isn't too far from current */
248 if (timestamp != srs_timestamp)
249 if (! timestamp_check_range(timestamp, srs_timestamp))
277 uint16_t timestamp, srs_timestamp;
313 * SRS0 timestamp is valid.
321 /* we should be pointing to a timestamp, check that we're indeed */
336 /* compute current 10 bits timestamp */
337 timestamp = (time(NULL) / (60 * 60 * 24)) % 1024;
339 /* check that SRS timestamp isn't too far from current */
340 if (timestamp != srs_timestamp)
341 if (! timestamp_check_range(timestamp, srs_timestamp))