Lines Matching refs:now
27 struct timeval now;
28 int r = gettimeofday(&now, NULL);
32 return (uint64_t)now.tv_sec * NSEC_PER_SEC +
33 (uint64_t)now.tv_usec * NSEC_PER_USEC;
133 dispatch_time_t now;
142 now = _dispatch_get_nanoseconds();
143 return now >= when ? 0 : when - now;
145 now = _dispatch_absolute_time();
146 return now >= when ? 0 : _dispatch_time_mach2nano(when - now);