Lines Matching +refs:val +refs:offset
271 time_units(isc_stdtime_t offset, char *suffix, const char *str) {
274 return (offset * (365 * 24 * 3600));
278 return (offset * (30 * 24 * 3600));
280 return (offset * 60);
290 return (offset * (7 * 24 * 3600));
292 return (offset * (24 * 3600));
294 return (offset * 3600);
296 return (offset);
330 isc_int64_t val, offset;
350 * now([+-]offset)
351 * YYYYMMDD([+-]offset)
352 * YYYYMMDDhhmmss([+-]offset)
353 * [+-]offset
365 result = dns_time64_fromtext(timestr, &val);
369 base = val;
379 offset = strtol(str + 1, &endp, 0);
380 offset = time_units((isc_stdtime_t) offset, endp, orig);
381 val = base + offset;
383 offset = strtol(str + 1, &endp, 0);
384 offset = time_units((isc_stdtime_t) offset, endp, orig);
385 val = base - offset;
389 return ((isc_stdtime_t) val);