HomeSort by: relevance | last modified time | path
    Searched refs:now (Results 1 - 25 of 1647) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /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/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...]
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/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/etc/powerd/scripts/
power_button 15 /sbin/shutdown -p now "power button pressed"
reset_button 14 /sbin/shutdown -r now "reset button pressed"
sensor_temperature 18 /sbin/shutdown -p now "${0}: CRITICAL TEMPERATURE! SHUTTING DOWN."
27 /sbin/shutdown -p now "${0}: CRITICAL TEMPERATURE! SHUTTING DOWN."
  /src/external/bsd/openldap/dist/tests/scripts/
functions.sh 18 now=`date +%s`
19 delta=`expr $now - $STARTTIME`
  /src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/cmake/
steady_clock.cpp 5 Clock::time_point tp = Clock::now();
  /src/external/apache2/llvm/dist/llvm/utils/benchmark/cmake/
steady_clock.cpp 5 Clock::time_point tp = Clock::now();
  /src/external/bsd/unbound/dist/testcode/
unitinfra.c 51 size_t zonelen, int wr, time_t now, struct infra_key** k)
58 if(d->ttl < now) {
68 uint8_t* zone, size_t zonelen, time_t *now, int keep_probing,
82 *now += cfg->host_ttl + 10;
84 *now, &vs, &edns_lame, &to) );
89 LDNS_RR_TYPE_A, -1, to, *now) );
91 *now, &vs, &edns_lame, &to) );
97 unit_assert( (d=infra_lookup_host(slab, &one, onelen, zone, zonelen, 0, *now, &k)) );
102 cfg->host_ttl = cfg->host_ttl + *now < probedelay
107 *now = probedelay
123 time_t now = 0; local
    [all...]
  /src/sys/sys/
syscall_stats.h 73 uint32_t now = SYSCALL_TIME(); \
74 SYSCALL_TIME_UPDATE_PROC(l, u, elapsed = now - (l)->l_syscall_time); \
76 (l)->l_syscall_time = now; \
81 uint32_t now = SYSCALL_TIME(); \
82 uint32_t elapsed = now - (l)->l_syscall_time; \
83 (l)->l_syscall_time = now; \
94 uint32_t now = SYSCALL_TIME(); \
95 uint32_t elapsed = now - (l)->l_syscall_time; \
96 (l)->l_syscall_time = now; \
105 uint32_t now = SYSCALL_TIME();
    [all...]
  /src/external/apache2/llvm/dist/llvm/utils/git/
arcfilter.sh 7 git commit --amend --date=now -F -
  /src/external/mpl/bind/dist/lib/dns/include/dns/
keymgr.h 47 dns_keymgr_key_init(dns_dnsseckey_t *key, dns_kasp_t *kasp, isc_stdtime_t now,
65 dns_kasp_t *kasp, uint8_t options, isc_stdtime_t now,
96 dns_kasp_t *kasp, isc_stdtime_t now,
119 isc_stdtime_t now, isc_stdtime_t when, bool dspublish);
122 isc_stdtime_t now, isc_stdtime_t when, bool dspublish,
126 * If 'dspublish' is set to true, set the DS Publish time to 'now'.
127 * If 'dspublish' is set to false, set the DS Removed time to 'now'.
145 isc_stdtime_t now, isc_stdtime_t when, dns_keytag_t id,
175 isc_stdtime_t now, char *out, size_t out_len);
195 isc_stdtime_t now);
    [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);
sleep.c 115 OSSL_TIME now = ossl_time_now(); local
116 OSSL_TIME finish = ossl_time_add(now, ossl_ms2time(millis));
122 now = ossl_time_now();
123 left = ossl_time2ms(ossl_time_subtract(finish, now));
124 } while (ossl_time_compare(now, finish) < 0 && left > 1000);
126 if (ossl_time_compare(now, finish) >= 0)
132 now = ossl_time_now();
133 left = ossl_time2ms(ossl_time_subtract(finish, now));
134 } while (ossl_time_compare(now, finish) < 0);
  /src/external/gpl3/gcc/dist/libgcc/config/i386/
gthr-win32-cond.c 67 } now; local
71 GetSystemTimeAsFileTime (&now.ft);
72 now.nsec100 -= FILETIME_1970;
78 if (abs_time_nsec100 < now.nsec100)
81 return (DWORD) CEIL_DIV (abs_time_nsec100 - now.nsec100, NSEC100_PER_MSEC);
  /src/external/mpl/bind/dist/bin/tests/system/multisigner/ns3/
setup.sh 20 ksktimes="-P now -A now -P sync now"
21 zsktimes="-P now -A now"
29 $SETTIME -s -g $O -k $O now -r $O now -d $O now "$KSK" >settime.out.$zone.1 2>&1
30 $SETTIME -s -g $O -k $O now -z $O now "$ZSK" >settime.out.$zone.2 2>&
    [all...]
  /src/external/mpl/bind/dist/bin/tests/system/multisigner/ns4/
setup.sh 20 ksktimes="-P now -A now -P sync now"
21 zsktimes="-P now -A now"
29 $SETTIME -s -g $O -k $O now -r $O now -d $O now "$KSK" >settime.out.$zone.1 2>&1
30 $SETTIME -s -g $O -k $O now -z $O now "$ZSK" >settime.out.$zone.2 2>&
    [all...]
  /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.threads/
sigstep-threads.exp 41 # 1 as we are now stopped at the `step-1' label.
52 set now $expect_out(1,string)
53 if {$step_at == 2 && $now == 1} {
55 } elseif {$step_at == 1 && $now == 2} {
60 set now 1
65 set step_at $now
  /src/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.threads/
sigstep-threads.exp 41 # 1 as we are now stopped at the `step-1' label.
52 set now $expect_out(1,string)
53 if {$step_at == 2 && $now == 1} {
55 } elseif {$step_at == 1 && $now == 2} {
60 set now 1
65 set step_at $now
  /src/usr.sbin/rtadvd/
timer.c 102 struct timespec now; local
105 prog_clock_gettime(CLOCK_MONOTONIC, &now);
106 timespecadd(&now, tm, &timer->tm);
125 struct timespec now; local
128 prog_clock_gettime(CLOCK_MONOTONIC, &now);
134 if (timespeccmp(&tm->tm, &now, <=)) {
139 timespecadd(&tm->tm, &now, &tm->tm);
147 if (timespeccmp(&tm_max, &now, <)) {
151 timespecsub(&tm_max, &now, &returnval);
159 struct timespec now; local
    [all...]
  /src/external/bsd/openldap/dist/contrib/slapd-modules/acl/
now.c 1 /* $NetBSD: now.c,v 1.2 2025/09/05 21:16:15 christos Exp $ */
24 * dynacl/now=<=attr
61 now_t *now; local
96 fprintf( stderr, "%s line %d: now ACL: "
117 now = ch_calloc( 1, sizeof( now_t ) );
118 now->now_ad = ad;
119 now->now_style = sty;
121 *privp = (void *)now;
131 now_t *now = (now_t *)priv; local
134 bv->bv_len = STRLENOF( " dynacl/now=" ) + 2 + now->now_ad->ad_cname.bv_len
161 now_t *now = (now_t *)priv; local
213 now_t *now = (now_t *)priv; local
    [all...]
  /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/external/bsd/zstd/dist/tests/
rateLimiter.py 31 now = time.time() variable
32 to_read = max(int(rate * (now - start)), 1)
35 start = now

Completed in 46 milliseconds

1 2 3 4 5 6 7 8 91011>>