| /src/sys/arch/emips/stand/common/ |
| clock.c | 44 uint64_t now; local 53 now = Tc->FreeRunning; 56 now = now / 10*1000*1000; 59 now = now >> 23; 61 return (long) now;
|
| /src/sys/net/agr/ |
| ieee8023ad_lacp_sm_tx.c | 54 int now; local 70 now = getticks(); 71 if ((unsigned int)(now - lp->lp_last_lacpdu_sent) <= 75 lp->lp_last_lacpdu_sent = now;
|
| /src/external/bsd/libarchive/dist/libarchive/test/ |
| test_archive_parse_date.c | 37 time_t now = time(NULL); local 39 assertEqualInt(get_date(now, "Jan 1, 1970 UTC"), 0); 40 assertEqualInt(get_date(now, "7:12:18-0530 4 May 1983"), 420900138); 41 assertEqualInt(get_date(now, "2004/01/29 513 mest"), 1075345980); 42 assertEqualInt(get_date(now, "2038-06-01 00:01:02 UTC"), 44 assertEqualInt(get_date(now, "99/02/17 7pm utc"), 919278000); 45 assertEqualInt(get_date(now, "02/17/99 7:11am est"), 919253460); 46 assertEqualInt(get_date(now, "now - 2 hours"), 47 get_date(now, "2 hours ago")) [all...] |
| /src/crypto/external/apache2/openssl/dist/crypto/ |
| time.c | 24 } now; local 27 SystemTimeToFileTime(&st, &now.ft); 30 now.ul -= 116444736000000000ULL; 32 now.ul -= 116444736000000000UI64; 34 r.t = ((uint64_t)now.ul) * (OSSL_TIME_SECOND / 10000000);
|
| /src/external/ibm-public/postfix/dist/src/postscreen/ |
| postscreen_misc.c | 80 struct timeval now; local 82 GETTIMEOFDAY(&now); 83 PSC_CALC_DELTA(pdelay, now, tv);
|
| postscreen_expand.c | 96 time_t now; local 129 if (time(&now) == (time_t) -1) 131 lt = localtime(&now);
|
| /src/external/ibm-public/postfix/dist/src/util/ |
| timecmp.c | 75 time_t now = time((time_t *) 0); local 78 assert(timecmp(now + 10, now) > 0); 79 assert(timecmp(now, now) == 0); 80 assert(timecmp(now - 10, now) < 0); 84 now = (time_t) -1; 86 now = __MAXINT__(time_t); 88 assert(timecmp(now + 10, now) > 0) [all...] |
| msg_rate_delay.c | 79 time_t now; local 97 now = saved_event_time = event_time(); 98 else if ((now = event_time()) == saved_event_time) 99 now = time((time_t *) 0); 104 if (*stamp + delay > now) 106 *stamp = now;
|
| sane_time.c | 65 time_t now; local 71 now = time((time_t *) 0); 73 if ((delta = now - last_time) < 0 && last_time != 0) { 74 if ((delta = now - last_real) < 0) { 88 last_time = now; 90 last_real = now; 110 time_t now; local 120 now = time((time_t *) 0); 121 vstream_printf("real: %s", ctime(&now)); 122 now = sane_time() [all...] |
| /src/sys/netbt/ |
| hci_misc.c | 81 * Now check all the memos to see if there has been an 118 struct timeval now; local 120 microtime(&now); 126 if (now.tv_sec > memo->time.tv_sec + hci_memo_expiry) {
|
| /src/sys/ufs/ext2fs/ |
| ext2fs_subr.c | 108 struct timespec now; local 114 vfs_timestamp(&now); 117 acc = &now; 122 mod = &now; 128 cre = &now;
|
| /src/sys/ufs/lfs/ |
| lfs_itimes.c | 63 struct timespec now; local 67 vfs_timestamp(&now); 73 acc = &now; 108 mod = &now; 117 cre = &now;
|
| /src/crypto/dist/ipsec-tools/src/racoon/ |
| throttle.c | 61 struct timeval now, penalty; local 71 sched_get_monotonic_time(&now); 74 timeradd(&now, &penalty, &te->penalty_ends); 86 struct timeval now, res; local 92 sched_get_monotonic_time(&now); 98 if (timercmp(&te->penalty_ends, &now, <)) { 131 timersub(&te->penalty_ends, &now, &remaining); 139 timeradd(&now, &res, &te->penalty_ends); 143 timersub(&te->penalty_ends, &now, &res);
|
| /src/crypto/external/bsd/heimdal/dist/lib/gssapi/krb5/ |
| context_time.c | 44 krb5_timestamp now; local 52 kret = krb5_timeofday(context, &now); 59 if (endtime < now) 62 *lifetime_rec = endtime - now;
|
| copy_ccache.c | 94 time_t now; local 123 krb5_timeofday(context, &now); 134 handle->endtime = now + left;
|
| /src/external/bsd/libpcap/dist/msdos/ |
| bin2c.c | 19 time_t now = time (NULL); local 31 argv[1], ctime(&now));
|
| /src/external/bsd/wpa/dist/src/ap/ |
| tkip_countermeasures.c | 71 struct os_reltime now; local 97 os_get_reltime(&now); 98 if (os_reltime_expired(&now, &hapd->michael_mic_failure, 60)) { 107 hapd->michael_mic_failure = now;
|
| /src/external/bsd/wpa/dist/wpa_supplicant/ |
| bssid_ignore.c | 68 struct os_reltime now; local 74 os_get_reltime(&now); 76 e->start = now; 100 e->start = now; 153 struct os_reltime now; local 158 os_get_reltime(&now); 159 if (os_reltime_expired(&now, &e->start, e->timeout_secs)) 193 struct os_reltime now; local 199 os_get_reltime(&now); 201 if (os_reltime_expired(&now, &e->start [all...] |
| /src/external/bsd/zstd/dist/tests/ |
| rateLimiter.py | 31 now = time.time() variable 32 to_read = max(int(rate * (now - start)), 1) 35 start = now
|
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.arch/ |
| arm-pthread_cond_timedwait-bt.c | 28 struct timeval now; local 32 err = gettimeofday(&now, NULL); 35 until.tv_sec = now.tv_sec + 60; 36 until.tv_nsec = now.tv_usec * 1000UL;
|
| /src/external/ibm-public/postfix/dist/src/master/ |
| master_avail.c | 91 time_t now; local 115 now = event_time(); 116 if (serv->stress_expire_time < now) 118 serv->stress_expire_time = now + 1000; 130 time_t now; local 154 now = event_time(); 155 if (serv->busy_warn_time < now - 1000) { 156 serv->busy_warn_time = now;
|
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.arch/ |
| arm-pthread_cond_timedwait-bt.c | 28 struct timeval now; local 32 err = gettimeofday(&now, NULL); 35 until.tv_sec = now.tv_sec + 60; 36 until.tv_nsec = now.tv_usec * 1000UL;
|
| /src/games/ching/castching/ |
| castching.c | 63 static time_t now; /* current time */ variable 83 time(&now); 85 seed = (int)now + getquest() + getgid() + getuid() + getpid();
|
| /src/lib/libc/time/ |
| getdate.c | 70 time_t now; local 122 time(&now); 123 tmp = localtime(&now);
|
| /src/regress/sys/kern/kqueue/vnode/ |
| vnode.c | 48 struct timeval then, now, diff; local 98 if (gettimeofday(&now, NULL) == -1) 99 err(1, "gettimeofday now"); 100 timersub(&now, &then, &diff);
|