Lines Matching defs:seconds
67 #define DT_2SECONDS_MASK 0x1F /* seconds divided by 2 */
113 * Number of seconds between 1970 and 1601 year
121 * to Unix seconds+nanoseconds since 1970. Any time
128 uint64_t nt_sec; /* seconds */
151 * Convert Unix time (seconds+nanoseconds since 1970)
160 uint64_t nt_sec; /* seconds */
179 smb_time_local2server(struct timespec *tsp, int tzoff, long *seconds)
182 *seconds = 0;
184 *seconds = tsp->tv_sec - (tzoff * 60);
188 smb_time_server2local(ulong_t seconds, int tzoff, struct timespec *tsp)
190 if (seconds == 0)
193 tsp->tv_sec = seconds + tzoff * 60;
284 * The number of seconds between Jan 1, 1970 and Jan 1, 1980. In that
296 ulong_t seconds;
307 seconds = (((dt & DT_2SECONDS_MASK) >> DT_2SECONDS_SHIFT) << 1)
338 smb_time_server2local(seconds + lastseconds, tzoff, tsp);