Searched refs:now (Results 151 - 175 of 1517) sorted by relevance

1234567891011>>

/macosx-10.10/top-100.1.2/
H A Dmain.c60 struct timeval before, now, tlimit; local
88 if(-1 == gettimeofday(&now, NULL))
91 if(now.tv_sec >= (before.tv_sec + tlimit.tv_sec)) {
99 before = now;
108 /* We had N samples and now it's time to exit. */
/macosx-10.10/emacs-93/emacs/src/
H A Datimer.c308 EMACS_TIME now, time; local
314 EMACS_GET_TIME (now);
315 EMACS_SUB_TIME (time, atimers->expiration, now);
319 if (EMACS_TIME_LE (atimers->expiration, now))
366 EMACS_TIME now; local
370 EMACS_GET_TIME (now);
375 && EMACS_TIME_LE (atimers->expiration, now))
387 EMACS_ADD_TIME (t->expiration, now, t->interval);
400 EMACS_GET_TIME (now);
/macosx-10.10/ksh-23/ksh/src/cmd/ksh93/bltins/
H A Dsleep.c73 Time_t now,ns; local
75 now = TMX_NOW;
77 ns = tmxdate(cp, &last, now);
90 ns = tmxdate(pp, &last, now);
92 ns = tmxdate(pp, &last, now);
96 d = ns - now;
114 time_t now; local
121 if(tloc < (now=time(NIL(time_t*))))
123 d = (double)(tloc-now);
/macosx-10.10/ppp-786.1.1/Controller/
H A DsessionTracer.c200 u_int32_t now = mach_absolute_time() * gTimeScaleSeconds; local
205 return ((now > serv->establishtime)? now - serv->establishtime : 0);
208 return ((now > serv->connecttime)? now - serv->connecttime : 0);
213 return ((now > serv->establishtime)? now - serv->establishtime : 0);
216 return ((now > serv->connecttime)? now - serv->connecttime : 0);
/macosx-10.10/tcl-105/tcl/tcl/unix/
H A DtclUnixTime.c113 unsigned long now;
120 now = time.sec*1000000 + time.usec;
127 now = (unsigned long) times(&dummy);
133 now = time.sec*1000000 + time.usec;
136 return now;
163 Tcl_WideInt now;
169 now = (Tcl_WideInt) (time.sec*1000000 + time.usec);
172 now = (Tcl_WideInt) (mach_absolute_time() & INT64_MAX);
178 return now;
111 unsigned long now; local
160 Tcl_WideInt now; local
/macosx-10.10/xnu-2782.1.97/osfmk/kperf/
H A Dtimetrigger.c81 kperf_timer_schedule( struct time_trigger *trigger, uint64_t now )
92 deadline = now + trigger->period;
217 uint64_t now = mach_absolute_time(); local
218 kperf_timer_schedule( trigger, now );
231 uint64_t now; local
260 now = mach_absolute_time();
276 deadline = now + period;
292 uint64_t now = mach_absolute_time(); local
299 kperf_timer_schedule( &timerv[i], now );
/macosx-10.10/ruby-106/ruby/test/rinda/
H A Dtest_rinda.rb21 @now = 2
24 @ts.write([2, :now])
28 def now method in class:Rinda.MockClock
29 @now.to_f
37 now ,= @ts.take([nil, :now])
38 @now = now + n
40 @ts.write([@now, :now])
77 def now method in class:Rinda.Time
[all...]
/macosx-10.10/ruby-106/ruby/ext/tk/sample/demos-en/
H A Dttkpane.rb157 update_proc = proc{|now, tz, label|
158 time[label] = Tk.tk_call('clock', 'format', now.tv_sec,
162 update_proc = proc{|now, tz, label|
163 time[label] = tz.utc_to_local(now).strftime('%H:%M:%S')
166 update_proc = proc{|now, tz, label|
167 time[label] = tz.at(now.tv_sec).strftime('%H:%M:%S')
170 update_proc = proc{|now, tz, label|
171 time[label] = (now + (tz * 3600)).strftime('%H:%M:%S')
185 now = Time.now
[all...]
/macosx-10.10/ruby-106/ruby/ext/tk/sample/demos-jp/
H A Dttkpane.rb160 update_proc = proc{|now, tz, label|
161 time[label] = Tk.tk_call('clock', 'format', now.tv_sec,
165 update_proc = proc{|now, tz, label|
166 time[label] = tz.utc_to_local(now).strftime('%H:%M:%S')
169 update_proc = proc{|now, tz, label|
170 time[label] = tz.at(now.tv_sec).strftime('%H:%M:%S')
173 update_proc = proc{|now, tz, label|
174 time[label] = (now + (tz * 3600)).strftime('%H:%M:%S')
188 now = Time.now
[all...]
/macosx-10.10/bind9-45.101/bind9/bin/dnssec/
H A Ddnssec-keyfromlabel.c143 isc_stdtime_t now; local
165 isc_stdtime_get(&now);
239 now, now);
251 now, now);
263 now, now);
275 now, now);
[all...]
/macosx-10.10/ruby-106/ruby/test/psych/visitors/
H A Dtest_to_ruby.rb115 now = Time.now
116 zone = now.strftime('%z')
119 formatted = now.strftime("%Y-%m-%d %H:%M:%S.%9N") + zone
121 assert_equal now, Nodes::Scalar.new(formatted).to_ruby
125 now = Time.now.utc
126 formatted = now.strftime("%Y-%m-%d %H:%M:%S") +
127 ".%09dZ" % [now.nsec]
129 assert_equal now, Node
[all...]
/macosx-10.10/ruby-106/ruby/test/rubygems/
H A Dtest_gem_security_policy.rb86 assert @chain.check_chain chain, Time.now
91 @chain.check_chain [], Time.now
101 @chain.check_chain chain, Time.now
111 @chain.check_chain nil, Time.now
118 assert @low.check_cert(PUBLIC_CERT, nil, Time.now)
123 @low.check_cert EXPIRED_CERT, nil, Time.now
133 @low.check_cert FUTURE_CERT, nil, Time.now
143 @low.check_cert INVALID_ISSUER_CERT, PUBLIC_CERT, Time.now
152 assert @low.check_cert(CHILD_CERT, PUBLIC_CERT, Time.now)
157 @high.check_cert(nil, nil, Time.now)
[all...]
/macosx-10.10/ntp-92/ntpd/
H A Dntp_filegen.c257 * now, try to open new file generation...
287 * have to use hardlink for now as I want to allow
319 * generation of the file for the time specified by 'now'
321 * 'now' usually is interpreted as second part of a l_fp as is in the cal...
328 u_long now
354 caljulian(now, &cal);
363 new_gen = now - (now - calyearstart(now)) % TIMES7(SECSPERDAY)
377 caljulian(now,
464 l_fp now; local
[all...]
/macosx-10.10/xnu-2782.1.97/osfmk/i386/
H A Drtclock.c37 * Timer, but local apic timers are now used for
385 uint64_t now = rtc_nanotime_read(); local
387 _absolutetime_to_microtime(now, secs, microsecs);
395 uint64_t now = rtc_nanotime_read(); local
397 _absolutetime_to_nanotime(now, secs, nanosecs);
408 uint64_t now = abstime + offset; local
411 remain = _absolutetime_to_microtime(now, secs, microsecs);
468 uint64_t now; local
474 now = 0;
477 now
[all...]
/macosx-10.10/xnu-2782.1.97/bsd/net/classq/
H A Dclassq_sfb.c422 struct timespec now; local
438 nanouptime(&now);
439 net_timeradd(&now, &sp->sfb_hinterval, &sp->sfb_nextreset);
675 log(LOG_DEBUG, "%s: SFB qid=%d, set %d is now current, "
753 sfb_penalize(struct sfb *sp, struct pkthdr *pkt, struct timespec *now) argument
761 net_timersub(now, &sp->sfb_pboxfreeze, &delta);
780 sfb_increment_bin(sp, bin, SFB_BINFT(sp, 0, n, w), now);
786 sfb_increment_bin(sp, bin, SFB_BINFT(sp, 1, n, w), now);
797 SFB_BINFT(sp, i, n, w), now);
806 *(&sp->sfb_pboxfreeze) = *now;
812 sfb_adjust_bin(struct sfb *sp, struct sfbbinstats *bin, struct timespec *ft, struct timespec *now, boolean_t inc) argument
837 sfb_decrement_bin(struct sfb *sp, struct sfbbinstats *bin, struct timespec *ft, struct timespec *now) argument
844 sfb_increment_bin(struct sfb *sp, struct sfbbinstats *bin, struct timespec *ft, struct timespec *now) argument
851 sfb_dq_update_bins(struct sfb *sp, struct pkthdr *pkt, struct timespec *now, u_int32_t qsize) argument
1047 sfb_drop_early(struct sfb *sp, struct pkthdr *pkt, u_int16_t *pmin, struct timespec *now) argument
1112 sfb_detect_dequeue_stall(struct sfb *sp, class_queue_t *q, struct timespec *now) argument
1145 struct timespec now; local
1278 struct timespec now; local
[all...]
/macosx-10.10/BerkeleyDB-21/db/mutex/
H A Dmut_win32.c114 LARGE_INTEGER now; local
148 * now, read/write a non-critical piece of memory from the
190 QueryPerformanceCounter(&now);
193 now.QuadPart, mutexp, mutexp->id, ms);
218 QueryPerformanceCounter(&now);
220 now.QuadPart, mutexp, mutexp->id);
258 LARGE_INTEGER now; local
283 QueryPerformanceCounter(&now);
285 now.QuadPart, mutexp, mutexp->id);
/macosx-10.10/JavaScriptCore-7600.1.17/tests/mozilla/ecma/Date/
H A D15.9.5.14.js46 var now = (new Date()).valueOf();
57 addTestCase( now );
H A D15.9.5.15.js47 var now = (new Date()).valueOf();
58 addTestCase( now );
H A D15.9.5.16.js46 var now = (new Date()).valueOf();
57 addTestCase( now );
H A D15.9.5.17.js47 var now = (new Date()).valueOf();
58 addTestCase( now );
H A D15.9.5.18.js47 var now = (new Date()).valueOf();
58 addTestCase( now );
H A D15.9.5.19.js47 var now = (new Date()).valueOf();
58 addTestCase( now );
H A D15.9.5.20.js47 var now = (new Date()).valueOf();
58 addTestCase( now );
H A D15.9.5.3-2.js48 var now = (new Date()).valueOf();
53 addTestCase( now );
H A D15.9.5.4-1.js43 var now = (new Date()).valueOf();
48 addTestCase( now );

Completed in 373 milliseconds

1234567891011>>