Lines Matching defs:now
238 time_t now;
249 now = time(NULL);
251 if (now >= c->last_rand_timestamp + 10) {
253 c->last_rand_timestamp = now;
294 struct timeval now;
296 gettimeofday(&now, NULL);
308 t = avahi_timeval_diff(&now, &e->timestamp);
367 e->timestamp = now;
418 struct timeval now;
424 gettimeofday(&now, NULL);
426 age = (unsigned) (avahi_timeval_diff(&now, &e->timestamp)/1000000);
444 struct timeval now;
451 gettimeofday(&now, NULL);
456 /* The entry was perfectly valid till, now, so let's enter
461 e->poof_timestamp = now;
467 if (avahi_timeval_diff(&now, &e->poof_timestamp) < 1000000)
470 e->poof_timestamp = now;