HomeSort by relevance Sort by last modified time
    Searched refs:now (Results 1 - 25 of 610) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /onnv/onnv-gate/usr/src/cmd/dtrace/test/tst/common/vars/
tst.walltimestamp.d 31 uint64_t now;
35 now = 18252813184; /* Jan 1, 2004 00:00:00 */
46 /walltimestamp < now/
48 printf("%d (%Y) is before %Y", walltimestamp, walltimestamp, now);
  /onnv/onnv-gate/usr/src/uts/common/gssapi/mechs/krb5/krb5/os/
c_ustime.c 72 timestruc_t now; local
74 gethrestime(&now);
75 tv.tv_sec = now.tv_sec;
76 tv.tv_usec = now.tv_nsec / (NANOSEC / MICROSEC);
94 struct time_now now; local
97 err = get_time_now(&now);
112 if ((now.sec == last_time.sec) && (now.usec <= last_time.usec)) {
114 now.usec = ++last_time.usec;
115 if (now.usec >= 1000000)
    [all...]
  /onnv/onnv-gate/usr/src/cmd/oamuser/lib/
vexpire.c 44 time_t tmp, now; local
50 now = time( (time_t *)0 );
53 tm = localtime( &now );
54 now -= tm->tm_hour * 60*60 + tm->tm_min * 60 + tm->tm_sec;
55 now += 24 * 60 * 60;
57 if( tmp < now ) return( INVALID );
59 if( expire ) *expire = now;
  /onnv/onnv-gate/usr/src/lib/libbc/libc/compat/sys5/
mkepoch.c 46 struct timeval now; local
48 if (gettimeofday(&now, (struct timezone *)NULL) < 0) {
53 if (printf("static long epoch = %ld;\n", now.tv_sec) == EOF) {
  /onnv/onnv-gate/usr/src/grub/grub-0.97/netboot/
i386_timer.c 18 * Now let's take care of PPC channel 2
158 unsigned long long now; local
159 rdtscll(now);
160 return now < timer_timeout;
165 unsigned long long now; local
166 rdtscll(now);
167 timer_timeout = now + usecs * ((clocks_per_tick * TICKS_PER_SEC)/(1000*1000));
172 unsigned long long now; local
173 rdtscll(now);
174 timer_timeout = now + nsecs * ((clocks_per_tick * TICKS_PER_SEC)/(1000*1000*1000))
180 unsigned long long now; local
    [all...]
  /onnv/onnv-gate/usr/src/psm/stand/boot/sparc/common/
sparc.il 30 ! stub function for now
  /onnv/onnv-gate/usr/src/lib/libast/common/tm/
tmxduration.c 39 Time_t now; local
46 now = TMX_NOW;
50 ns = tmxdate(s, &last, now) - now;
58 ts = tmxdate(t, &x, now);
62 ns = ts - now;
68 ts = tmxdate(t, &x, now);
72 ns = ts - now;
tvtouch.c 138 Tv_t now;
164 tvgettime(&now);
166 av = (const Tv_t*)&now;
168 mv = (const Tv_t*)&now;
193 if (errno != ENOENT && av == (const Tv_t*)&now && mv == (const Tv_t*)&now && !utimets(path, NiL))
222 if (errno != ENOENT && av == (const Tv_t*)&now && mv == (const Tv_t*)&now && !utimes(path, NiL))
234 if (errno != ENOENT && av == (const Tv_t*)&now && mv == (const Tv_t*)&now && !utime(path, NiL)
    [all...]
  /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/lib/Memoize/t/
expmod_t.t 61 sub now { subroutine
62 # print "NOW: @_ ", time(), "\n";
67 memoize 'now',
80 $when{$_} = now($_);
87 # values will now expire at T=15, 21, 27
88 # it is now T=12
92 $again{$_} = now($_); # Should be the same as before, because of memoization
107 wait_until(18); # now(1) expires
108 print "not " unless close_enough(time, $again{1} = now(1));
115 print "not " unless now($_) == $again{$_}
    [all...]
  /onnv/onnv-gate/usr/src/lib/libnisdb/
nis_ldap.c 115 struct timeval now; local
117 (void) gettimeofday(&now, 0);
119 if (rootDirExpire >= now.tv_sec)
126 * Update the expiration time of the root dir to be now plus the TTL.
131 struct timeval now; local
134 (void) gettimeofday(&now, 0);
147 srand48(now.tv_sec);
161 rootDirExpire = now.tv_sec + ttl;
  /onnv/onnv-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
context_time.c 38 krb5_timestamp now; local
54 if ((code = krb5_timeofday(ctx->k5_context, &now))) {
59 if ((lifetime = ctx->endtime - now) <= 0) {
  /onnv/onnv-gate/usr/src/uts/i86pc/cpu/amd_opteron/
ao_poll.c 48 hrtime_t now = gethrtime_waitfree(); local
52 if (now - last > 2 * pintvl || last == 0) {
68 ao->ao_ms_shared->aos_nb_poll_timestamp = now;
  /onnv/onnv-gate/usr/src/lib/libc/port/sys/
time_util.c 74 timespec_t now; local
77 hrt2ts(gethrtime(), &now); local
79 (void) __clock_gettime(clock_id, &now);
80 if (abstime->tv_nsec >= now.tv_nsec) {
81 reltime->tv_sec = abstime->tv_sec - now.tv_sec;
82 reltime->tv_nsec = abstime->tv_nsec - now.tv_nsec;
84 reltime->tv_sec = abstime->tv_sec - now.tv_sec - 1;
85 reltime->tv_nsec = abstime->tv_nsec - now.tv_nsec + NANOSEC;
  /onnv/onnv-gate/usr/src/cmd/stat/common/
common.c 66 hrtime_t now, pause, pause_left; local
70 now = gethrtime();
71 pause = *wakeup + interval - now;
76 *wakeup = now + interval;
99 /* Now do the actual sleep */
107 now = gethrtime();
108 pause_left = *wakeup - now;
  /onnv/onnv-gate/usr/src/lib/libcmd/common/
date.c 210 settime(void* context, const char* cmd, Time_t now, int adjust, int network)
218 return tmxsettime(now);
226 tmxfmt(buf, sizeof(buf), "%m%d%H" "%M%Y.%S", now);
232 tmxfmt(buf, sizeof(buf), "%Y%m%d%H" "%M.%S", now);
251 convert(register Fmt_t* f, char* s, Time_t now)
258 now = tmxscan(s, &t, f->format, &u, now, 0);
264 return now;
275 Time_t now; local
367 now = tmxgettime()
    [all...]
  /onnv/onnv-gate/usr/src/cmd/lms/SyncLib/src/
ThreadUnix.cpp 101 timeval now; local
104 gettimeofday(&now, NULL);
107 timeout.tv_sec = now.tv_sec + time.tv_sec;
108 timeout.tv_nsec = now.tv_usec + time.tv_nsec;
137 timeval now; local
140 gettimeofday(&now, &tz);
141 _startTime = now.tv_sec;
186 timeval now; local
188 gettimeofday(&now, &tz);
189 return ((now.tv_sec - _startTime)*1000)
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/syscall/
lwp_timer.c 58 timespec_t now, delta; local
61 gethrestime(&now);
67 (lwptp->lwpt_rqtime.tv_sec > now.tv_sec ||
68 (lwptp->lwpt_rqtime.tv_sec == now.tv_sec &&
69 lwptp->lwpt_rqtime.tv_nsec > now.tv_nsec))) {
72 timespecsub(&delta, &now);
97 timespec_t now; local
103 gethrestime(&now); /* do this before copyin() */
136 timespecadd(&lwptp->lwpt_rqtime, &now);
148 timespec_t now, delta local
199 timespec_t now; local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/krb5/krb5kdc/
dispatch.c 52 krb5_int32 now, now_usec; local
75 retval = krb5_crypto_us_timeofday(&now, &now_usec);
80 last_os_random = now;
82 if(now-last_os_random >= 60*60) {
84 last_os_random = now;
  /onnv/onnv-gate/usr/src/cmd/sendmail/db/os/
os_fid.c 41 time_t now; local
70 (void)time(&now);
71 for (p = (u_int8_t *)&now +
72 sizeof(now), i = 0; i < sizeof(now); ++i)
  /onnv/onnv-gate/usr/src/cmd/sendmail/libsm/
clock.c 97 auto struct timeval now, nowi, ival; local
100 auto time_t now, nowi; local
112 (void) gettimeofday(&now, NULL);
113 nowi = now;
114 timeradd(&now, &ival, &nowi);
116 now = time(NULL);
117 nowi = now + (time_t)(intvl / 1000);
168 timersub(&SmEventQueue->ev_time, &now, &itime.it_value);
177 intvl = SmEventQueue->ev_time - now;
220 /* now remove it *
329 struct timeval now; local
331 register time_t now; local
    [all...]
  /onnv/onnv-gate/usr/src/uts/common/os/
clock_realtime.c 75 timespec_t now, interval2nth; local
126 gethrestime(&now);
127 if (timerspeccmp(val, &now) > 0)
136 ticks = timespectohz(val, now);
149 timespec_t now; local
154 gethrestime(&now);
156 if ((val->tv_sec > now.tv_sec) ||
157 (val->tv_sec == now.tv_sec && val->tv_nsec > now.tv_nsec)) {
186 timespec_t now; local
248 timespec_t now; local
    [all...]
  /onnv/onnv-gate/usr/src/cmd/perl/5.8.4/distrib/t/op/
time.t 31 while (($now = time) == $beg) { sleep 1 }
33 ok($now > $beg && $now - $beg < 10, 'very basic time test');
45 ($xsec,$foo) = localtime($now);
60 ($xsec,$foo) = localtime($now);
  /onnv/onnv-gate/usr/src/lib/libumem/common/
umem_update_thread.c 38 struct timeval now; local
52 * we wait until now to set the next update time
77 (void) gettimeofday(&now, NULL);
78 if (now.tv_sec > umem_update_next.tv_sec ||
79 (now.tv_sec == umem_update_next.tv_sec &&
80 now.tv_usec >= umem_update_next.tv_usec)) {
  /onnv/onnv-gate/usr/src/lib/libshell/common/bltins/
sleep.c 73 Time_t now,ns; local
75 now = TMX_NOW;
77 ns = tmxdate(cp, &last, now);
81 ns = tmxdate(pp, &last, now);
83 ns = tmxdate(pp, &last, now);
87 d = ns - now;
104 time_t now; local
111 if(tloc < (now=time(NIL(time_t*))))
113 d = (double)(tloc-now);
  /onnv/onnv-gate/usr/src/uts/common/inet/sctp/
sctp_heartbeat.c 124 int64_t now; local
161 now = ddi_get_lbolt64();
163 bcopy(&now, t, sizeof (now));
189 fp->lastactive = now;
208 int64_t now; local
212 now = ddi_get_lbolt64();
227 fp->hb_expiry = now + fp->rto;
231 * If we cannot send now, be more aggressive
236 fp->hb_expiry = now
281 int64_t now; local
    [all...]

Completed in 5688 milliseconds

1 2 3 4 5 6 7 8 91011>>