Searched refs:now (Results 126 - 150 of 672) sorted by relevance

1234567891011>>

/freebsd-11-stable/contrib/gdb/gdb/
H A Dser-e7kpc.c227 long now; local
232 time (&now);
233 then = now + timeout;
252 time (&now);
256 if (now >= then && timeout > 0)
/freebsd-11-stable/sys/dev/ath/ath_hal/ar5210/
H A Dar5210_recv.c219 uint32_t now, rstamp; local
237 now = (OS_REG_READ(ah, AR_TSF_L32) >> 10) & 0xffff;
238 if ((now & 0x1fff) < rstamp)
239 rstamp |= (now - 0x2000) & 0xffff;
241 rstamp |= now;
/freebsd-11-stable/contrib/subversion/subversion/libsvn_subr/
H A Ddate.c225 apr_time_t now, const char *text, apr_pool_t *pool)
268 t = now - (n * unit_words_table[i].value);
297 apr_time_t now, apr_pool_t *pool)
305 apr_err = apr_time_exp_lt(&expnow, now);
345 else if (!words_match(&expt, &localtz, now, text, pool))
224 words_match(apr_time_exp_t *expt, svn_boolean_t *localtz, apr_time_t now, const char *text, apr_pool_t *pool) argument
296 svn_parse_date(svn_boolean_t *matched, apr_time_t *result, const char *text, apr_time_t now, apr_pool_t *pool) argument
/freebsd-11-stable/usr.bin/rwho/
H A Drwho.c69 #define down(w,now) ((now) - (w)->wd_recvtime > 11 * 60)
80 static time_t now; variable
139 (void) time(&now);
154 if (down(w, now) != 0) {
/freebsd-11-stable/crypto/openssh/
H A Dprogressmeter.c124 double elapsed, now; local
134 now = monotime_double();
138 elapsed = now - last_update;
140 elapsed = now - start;
226 last_update = now;
/freebsd-11-stable/sbin/hastd/
H A Dhooks.c287 time_t now; local
296 now = time(NULL);
317 if (now - hp->hp_lastreport < REPORT_INTERVAL)
324 (uintmax_t)(now - hp->hp_birthtime), hp->hp_pid,
326 hp->hp_lastreport = now;
/freebsd-11-stable/sys/net/altq/
H A Daltq_rmclass.c119 * now heuristics for setting the top-level variable (cutoff_) becomes:
760 struct timeval now; local
765 RM_GETTIME(now);
767 if (TV_LT(&cl->undertime_, &now)) {
783 if (TV_LT(&borrow->undertime_, &now)) {
793 if (TV_LT(&cl->borrow_->undertime_, &now)) {
821 * rmc_tl_satisfied(struct rm_ifdat *ifd, struct timeval *now) - Check all
826 rmc_tl_satisfied(struct rm_ifdat *ifd, struct timeval *now) argument
835 if (!rmc_satisfied(p, now)) {
852 rmc_satisfied(struct rm_class *cl, struct timeval *now) argument
885 rmc_under_limit(struct rm_class *cl, struct timeval *now) argument
973 struct timeval now; local
1128 struct timeval now; local
[all...]
/freebsd-11-stable/contrib/ntp/lib/isc/win32/
H A Dcondition.c244 isc_time_t now; local
246 if (isc_time_now(&now) != ISC_R_SUCCESS) {
251 microseconds = isc_time_microdiff(t, &now);
/freebsd-11-stable/contrib/ntp/ntpd/
H A Drefclock_heath.c322 time_t now;
324 time(&now); /* we should grab 'now' earlier */
325 tm_time_p = gmtime(&now);
H A Dntp_filegen.c280 * now, try to open new file generation...
309 * have to use hardlink for now as I want to allow
341 * generation of the file for the time specified by 'now'
343 * 'now' usually is interpreted as second part of a l_fp as is in the cal...
350 u_int32 now
384 current = (gen->id_lo <= now) &&
385 (gen->id_hi > now);
393 DPRINTF(1, ("filegen %0x %u\n", gen->type, now));
395 filegen_open(gen, now, &pivot);
413 l_fp now; local
[all...]
H A Dntpsim.c521 l_fp *now /* current system time in l_fp */ )
535 DTOLFP(simclock.local_time, now);
540 DTOLFP(ntp_node.ntp_time, now);
551 double now /* time adjustment (s) */
565 dtemp = now + sys_residual;
587 simclock.adj = now;
588 /* ntp_node.adj = now; */
598 double now /* step adjustment (s) */
604 simclock.local_time, now);
606 simclock.local_time += now;
[all...]
/freebsd-11-stable/contrib/ntp/sntp/libevent/test/
H A Dbench_httpclient.c87 struct timeval now, diff; local
91 evutil_gettimeofday(&now, NULL);
92 evutil_timersub(&now, &ri->started, &diff);
H A Dregress_ssl.c112 time_t now = time(NULL); local
120 (long)now));
134 X509_time_adj(X509_get_notBefore(x509), 0, &now); local
135 now += 3600;
136 X509_time_adj(X509_get_notAfter(x509), 0, &now); local
138 X509_time_adj(X509_getm_notBefore(x509), 0, &now); local
139 now += 3600;
140 X509_time_adj(X509_getm_notAfter(x509), 0, &now); local
224 TT_BLATHER(("Done reading; now writing."));
361 /* Okay, now th
[all...]
/freebsd-11-stable/contrib/libbegemot/
H A Drpoll.c506 tval_t now; local
529 now = GETUSECS();
532 fprintf(stderr, "now=%llu", now);
535 i, tfd[i]->when - now);
538 if((tout = tims[tfd[0]].when - now) < 0)
624 now = GETUSECS();
628 if(tims[tfd[i]].when > now)
636 tims[tfd[i]].when = now + tims[tfd[i]].usecs;
650 struct timeval start, now; variable in typeref:struct:
[all...]
/freebsd-11-stable/libexec/talkd/
H A Dannounce.c94 struct timeval now; local
106 gettimeofday(&now, NULL);
107 clock_sec = now.tv_sec;
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/stdio/
H A Dt_printf.c153 time_t now; local
169 time(&now);
170 srand(now);
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerInternal.h44 return duration_cast<seconds>(system_clock::now() - ProcessStartTime)
125 system_clock::time_point LastAllocatorPurgeAttemptTime = system_clock::now();
133 system_clock::time_point ProcessStartTime = system_clock::now();
/freebsd-11-stable/sys/netgraph/
H A Dng_source.c750 struct timeval now, elapsed; local
754 getmicrotime(&now);
755 elapsed = now;
759 sc->stats.lastTime = now;
922 struct timeval now; local
923 getmicrotime(&now);
924 now.tv_sec = htonl(now.tv_sec);
925 now.tv_usec = htonl(now
[all...]
/freebsd-11-stable/contrib/apr-util/misc/
H A Dapr_reslist.c178 apr_time_t now; local
222 now = apr_time_now();
227 if (now - res->freed < reslist->ttl) {
331 apr_time_t now; local
338 now = apr_time_now();
342 if (reslist->ttl && (now - res->freed >= reslist->ttl)) {
/freebsd-11-stable/lib/libc/rpc/
H A Dauth_unix.c98 struct timeval now; local
130 (void)gettimeofday(&now, NULL);
131 aup.aup_time = now.tv_sec;
270 struct timeval now; local
292 (void)gettimeofday(&now, NULL);
293 aup.aup_time = now.tv_sec;
/freebsd-11-stable/sys/rpc/
H A Dauth_unix.c135 struct timeval now; local
195 getmicrotime(&now);
196 time = now.tv_sec;
303 struct timeval now; local
321 getmicrotime(&now);
322 time = now.tv_sec;
/freebsd-11-stable/contrib/libarchive/libarchive/
H A Darchive_write_set_format_warc.c56 time_t now; member in struct:warc_s
142 w->now = time(NULL);
146 w->rng = (unsigned int)w->now;
202 wi.rtime = w->now;
203 wi.mtime = w->now;
209 /* now also use HDR buffer for the actual warcinfo */
243 rh.rtime = w->now;
283 /* now then, out we put the whole shebang */
/freebsd-11-stable/share/examples/ipfw/
H A Dchange_rules.sh123 The rules will be changed now. If the message 'Type y to keep the new
147 The new rules are now installed. The previous rules have been preserved in
/freebsd-11-stable/contrib/tcsh/
H A Dtc.func.c1134 #undef RMDEBUG /* For now... */
1224 xprintf(CGETS(22, 10, "command line now is:\n"));
1237 #undef CNDEBUG /* For now */
1299 xprintf(CGETS(22, 13, "command line now is:\n"));
1312 struct wordent *now, *last; local
1324 now = pl;
1325 xfree(now->word);
1326 now->word = xcalloc(1, 5 * sizeof(Char));
1327 (void) Strcpy(now->word, STRecho);
1329 now
[all...]
/freebsd-11-stable/contrib/unbound/validator/
H A Dval_sigcrypt.h275 * @param now: current time for validation (can be overridden).
288 struct val_env* ve, time_t now, struct ub_packed_rrset_key* rrset,
298 * @param now: current time for validation (can be overridden).
315 struct sldns_buffer* buf, struct val_env* ve, time_t now,

Completed in 180 milliseconds

1234567891011>>