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

1234567891011>>

/macosx-10.9.5/emacs-92/emacs/lisp/textmodes/
H A Ddns-mode.el183 (now (format-time-string "%Y%m%d"))
184 (nowandoldserial (concat now counterstr)))
186 (let ((new (format "%s00" now)))
191 now (1+ counter))))
/macosx-10.9.5/emacs-92/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.9.5/ksh-20/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.9.5/ksh-20/ksh/src/lib/libast/tm/
H A Dtmxmake.c45 time_t now; local
111 now = tmxsec(t);
118 now = tmxsec(tmxtime(&te, tm->tm_zone->west));
120 if ((tp = tmlocaltime(&now)) && ((tm->tm_isdst = tp->tm_isdst) || o))
/macosx-10.9.5/misc_cmds-32/leave/
H A Dleave.c73 time_t now; local
110 (void)time(&now);
111 t = localtime(&now);
133 secs -= now % 60; /* truncate (now + secs) to min */
/macosx-10.9.5/network_cmds-433/rtsol.tproj/
H A Ddump.c92 struct timeval now; local
94 gettimeofday(&now, NULL);
121 (ifinfo->expire.tv_sec < now.tv_sec) ? "expired"
122 : sec2str(ifinfo->expire.tv_sec - now.tv_sec));
/macosx-10.9.5/ppp-727.90.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.9.5/ruby-104/ruby/lib/
H A Dprofiler.rb80 now = Process.times[0]
82 stack.push [now, 0.0]
85 now = Process.times[0]
92 cost = now - tick[0]
H A Dtime.rb30 # t = Time.now
132 def zone_offset(zone, year=self.now.year)
231 def make_time(year, mon, day, hour, min, sec, sec_fraction, zone, now)
234 if now
236 break if year; year = now.year
237 break if mon; mon = now.mon
238 break if day; day = now.day
239 break if hour; hour = now.hour
240 break if min; min = now.min
241 break if sec; sec = now
[all...]
/macosx-10.9.5/ruby-104/ruby/sample/drb/
H A Ddbiff.rb19 last = Time.now
/macosx-10.9.5/ruby-104/ruby/test/rss/
H A Dtest_accessor.rb15 time = Time.now
19 time = Time.parse(Time.now.rfc822)
23 time = Time.parse(Time.now.iso8601)
30 time = Time.parse(Time.now.iso8601)
/macosx-10.9.5/tcl-102/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.9.5/top-89.1.2/
H A Dcsw.c33 psamp->csw.now,
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.9.5/xnu-2422.115.4/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.9.5/ruby-104/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.9.5/ruby-104/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.9.5/ruby-104/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.9.5/bind9-45.100/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.9.5/ruby-104/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.9.5/ruby-104/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.9.5/ntp-88/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.9.5/xnu-2422.115.4/osfmk/i386/
H A Drtclock.c37 * Timer, but local apic timers are now used for
390 uint64_t now = rtc_nanotime_read(); local
392 _absolutetime_to_microtime(now, secs, microsecs);
400 uint64_t now = rtc_nanotime_read(); local
402 _absolutetime_to_nanotime(now, secs, nanosecs);
413 uint64_t now = abstime + offset; local
416 remain = _absolutetime_to_microtime(now, secs, microsecs);
474 uint64_t now; local
480 now = 0;
483 now
[all...]
/macosx-10.9.5/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.9.5/JavaScriptCore-7537.78.1/tests/mozilla/ecma/Date/
H A D15.9.5.14.js46 var now = (new Date()).valueOf();
57 addTestCase( now );

Completed in 722 milliseconds

1234567891011>>