/macosx-10.9.5/ruby-104/ruby/ext/tk/sample/tcltklib/ |
H A D | lines4.rb | 6 print Time.now, "\n" 21 print Time.now, "\n" 36 print Time.now, "\n"
|
H A D | lines1.rb | 6 print Time.now, "\n" 21 print Time.now, "\n" 36 print Time.now, "\n"
|
/macosx-10.9.5/Libc-997.90.3/stdtime/ |
H A D | getdate.c | 74 struct tm *now, *result = NULL; local 137 now = localtime(&t); 155 tm.tm_sec = now->tm_sec; 156 tm.tm_min = now->tm_min; 157 tm.tm_hour = now->tm_hour; 161 tm.tm_hour = now->tm_hour; 162 tm.tm_min = now->tm_min; 163 if(tm.tm_sec < now->tm_sec) 168 tm.tm_hour = now->tm_hour; 169 if(tm.tm_min < now [all...] |
/macosx-10.9.5/Libc-997.90.3/emulated/ |
H A D | lutimes.c | 52 struct timeval now; local 54 if(gettimeofday(&now, NULL) < 0) 56 TIMEVAL_TO_TIMESPEC(&now, &t.access); 57 TIMEVAL_TO_TIMESPEC(&now, &t.mod);
|
/macosx-10.9.5/libdispatch-339.92.1/src/ |
H A D | time.c | 27 struct timeval now; local 28 int r = gettimeofday(&now, NULL); 32 return (uint64_t)now.tv_sec * NSEC_PER_SEC + 33 (uint64_t)now.tv_usec * NSEC_PER_USEC; 131 dispatch_time_t now; local 140 now = _dispatch_get_nanoseconds(); 141 return now >= when ? 0 : when - now; 143 now = _dispatch_absolute_time(); 144 return now > [all...] |
/macosx-10.9.5/RubyCocoa-80/RubyCocoa/sample/VPRubyPluginEnabler/Script PlugIns/ |
H A D | new page with date.rb | 8 pageName = Time.now.strftime("%Y.%m.%d")
|
/macosx-10.9.5/ruby-104/ruby/test/ruby/ |
H A D | test_sleep.rb | 6 start = Time.now 8 slept = Time.now-start
|
/macosx-10.9.5/postfix-252/postfix/src/util/ |
H A D | msg_rate_delay.c | 77 time_t now; local 95 now = saved_event_time = event_time(); 96 else if ((now = event_time()) == saved_event_time) 97 now = time((time_t *) 0); 102 if (*stamp + delay > now) 104 *stamp = now;
|
/macosx-10.9.5/rsync-42/rsync/ |
H A D | progress.c | 60 static void rprint_progress(OFF_T ofs, OFF_T size, struct timeval *now, argument 73 || !(diff = msdiff(&ph_start.time, now))) 80 if (!(diff = msdiff(&ph_list[oldest_hpos].time, now))) 116 struct timeval now; local 117 gettimeofday(&now, NULL); 118 rprint_progress(size, size, &now, True); 125 struct timeval now; local 139 gettimeofday(&now, NULL); 147 if (msdiff(&ph_list[newest_hpos].time, &now) <= 1500) { 151 ph_start.time.tv_sec = now [all...] |
/macosx-10.9.5/ntp-88/ntpd/ |
H A D | ntp_util.c | 539 l_fp now; local 557 get_systime(&now); 562 filegen_setup(&peerstats, now.l_ui); 568 filegen_setup(&loopstats, now.l_ui); 574 filegen_setup(&clockstats, now.l_ui); 580 filegen_setup(&rawstats, now.l_ui); 586 filegen_setup(&sysstats, now.l_ui); 592 filegen_setup(&protostats, now.l_ui); 599 filegen_setup(&cryptostats, now.l_ui); 607 filegen_setup(&timingstats, now 681 l_fp now; local 722 l_fp now; local 756 l_fp now; local 794 l_fp now; local 835 l_fp now; local 872 l_fp now; local 906 l_fp now; local 944 l_fp now; local [all...] |
/macosx-10.9.5/ksh-20/ksh/src/lib/libcmd/ |
H A D | date.c | 219 settime(void* context, const char* cmd, Time_t now, int adjust, int network) argument 227 return tmxsettime(now); 235 tmxfmt(buf, sizeof(buf), "%m%d%H" "%M%Y.%S", now); 241 tmxfmt(buf, sizeof(buf), "%Y%m%d%H" "%M.%S", now); 260 convert(register Fmt_t* f, char* s, Time_t now) argument 267 now = tmxscan(s, &t, f->format, &u, now, 0); 273 return now; 284 Time_t now; local 392 now [all...] |
/macosx-10.9.5/xnu-2422.115.4/osfmk/i386/ |
H A D | rtclock_native.c | 60 uint64_t now) 64 if (deadline <= now) 67 delta = deadline - now; 82 rtc_lapic_set_timer(uint64_t deadline, uint64_t now) argument 90 * - time now is not relevant 92 count = deadline_to_decrementer(deadline, now); 93 set = now + count; 110 rtc_lapic_set_tsc_deadline_timer(uint64_t deadline, uint64_t now) argument 121 delta = deadline_to_decrementer(deadline, now); 122 set = now 58 deadline_to_decrementer( uint64_t deadline, uint64_t now) argument [all...] |
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/test/internal/ |
H A D | testregex.c | 34 apr_time_t now; local 66 now = apr_time_now(); 71 puts(apr_psprintf( context, "Time to run %d regex's %8lld\n",iters,end-now)); 76 now = apr_time_now(); 81 puts(apr_psprintf( context, "Time to run %d hash (no find)'s %8lld\n",iters,end-now)); 83 now = apr_time_now(); 88 puts(apr_psprintf( context, "Time to run %d hash (find)'s %8lld\n",iters,end-now));
|
/macosx-10.9.5/apr-30/apr/apr/test/internal/ |
H A D | testregex.c | 34 apr_time_t now; local 66 now = apr_time_now(); 71 puts(apr_psprintf( context, "Time to run %d regex's %8lld\n",iters,end-now)); 76 now = apr_time_now(); 81 puts(apr_psprintf( context, "Time to run %d hash (no find)'s %8lld\n",iters,end-now)); 83 now = apr_time_now(); 88 puts(apr_psprintf( context, "Time to run %d hash (find)'s %8lld\n",iters,end-now));
|
/macosx-10.9.5/ruby-104/ruby/test/openssl/ |
H A D | test_x509store.rb | 37 now = Time.at(Time.now.to_i) 45 ca1_cert = issue_cert(@ca1, @rsa2048, 1, now, now+3600, ca_exts, 47 ca2_cert = issue_cert(@ca2, @rsa1024, 2, now, now+1800, ca_exts, 49 ee1_cert = issue_cert(@ee1, @dsa256, 10, now, now+1800, ee_exts, 51 ee2_cert = issue_cert(@ee2, @dsa512, 20, now, now [all...] |
/macosx-10.9.5/network_cmds-433/rtadvd.tproj/ |
H A D | timer.c | 101 struct timeval now; local 104 gettimeofday(&now, NULL); 106 TIMEVAL_ADD(&now, tm, &timer->tm); 124 struct timeval now; local 127 gettimeofday(&now, NULL); 134 if (TIMEVAL_LEQ(tm->tm, now)) { 139 TIMEVAL_ADD(&tm->tm, &now, &tm->tm); 149 } else if (TIMEVAL_LT(timer_head.tm, now)) { 153 TIMEVAL_SUB(&timer_head.tm, &now, &returnval); 160 static struct timeval returnval, now; local [all...] |
/macosx-10.9.5/pyobjc-42/2.5/pyobjc/pyobjc-framework-Cocoa/PyObjCTest/ |
H A D | test_cfdate.py | 51 now = CFAbsoluteTimeGetCurrent() 52 dt = CFDateCreate(None, now) 56 now = CFAbsoluteTimeGetCurrent() 58 dt = CFDateCreate(None, now) 60 self.failUnless(CFDateGetAbsoluteTime(dt) == now) 62 dt2 = CFDateCreate(None, now + 1000) 81 dt = CFAbsoluteTimeGetGregorianDate(now, tz) 89 stamp = CFAbsoluteTimeAddGregorianUnits(now, tz, units) 90 self.failUnless(stamp - now == 24 * 3600) 92 units = CFAbsoluteTimeGetDifferenceAsGregorianUnits(stamp, now, t [all...] |
/macosx-10.9.5/pyobjc-42/pyobjc/pyobjc-framework-Cocoa/PyObjCTest/ |
H A D | test_cfdate.py | 44 now = CFAbsoluteTimeGetCurrent() 45 dt = CFDateCreate(None, now) 48 now = CFAbsoluteTimeGetCurrent() 50 dt = CFDateCreate(None, now) 52 self.assertEqual(CFDateGetAbsoluteTime(dt) , now) 53 dt2 = CFDateCreate(None, now + 1000) 68 dt = CFAbsoluteTimeGetGregorianDate(now, tz) 75 stamp = CFAbsoluteTimeAddGregorianUnits(now, tz, units) 76 self.assertEqual(stamp - now , 24 * 3600) 77 units = CFAbsoluteTimeGetDifferenceAsGregorianUnits(stamp, now, t [all...] |
/macosx-10.9.5/tcl-102/tcl/tcl/generic/ |
H A D | regc_lex.c | 33 #define ATEOS() (v->now >= v->stop) 34 #define HAVE(n) (v->stop - v->now >= (n)) 35 #define NEXT1(c) (!ATEOS() && *v->now == CHR(c)) 36 #define NEXT2(a,b) (HAVE(2) && *v->now == CHR(a) && *(v->now+1) == CHR(b)) 38 (HAVE(3) && *v->now == CHR(a) && \ 39 *(v->now+1) == CHR(b) && \ 40 *(v->now+2) == CHR(c)) 113 switch (*(v->now + 3)) { 122 v->now [all...] |
/macosx-10.9.5/tcl-102/tcl84/tcl/generic/ |
H A D | regc_lex.c | 34 #define ATEOS() (v->now >= v->stop) 35 #define HAVE(n) (v->stop - v->now >= (n)) 36 #define NEXT1(c) (!ATEOS() && *v->now == CHR(c)) 37 #define NEXT2(a,b) (HAVE(2) && *v->now == CHR(a) && *(v->now+1) == CHR(b)) 38 #define NEXT3(a,b,c) (HAVE(3) && *v->now == CHR(a) && \ 39 *(v->now+1) == CHR(b) && \ 40 *(v->now+2) == CHR(c)) 104 switch (*(v->now + 3)) { 113 v->now [all...] |
/macosx-10.9.5/MITKerberosShim-62.1/ |
H A D | misc-mit.c | 38 time_t now, ret_time; local 59 now = time((time_t *) NULL); 60 if (localtime_r(&now, &timebuf2) == NULL)
|
/macosx-10.9.5/curl-78.94.1/curl/lib/ |
H A D | speedcheck.c | 37 struct timeval now) 43 long howlong = Curl_tvdiff(now, data->state.keeps_speed); 46 /* We are now below the "low speed limit". If we are below it 50 /* we have been this slow for long enough, now die */ 65 data->state.keeps_speed = now; 36 Curl_speedcheck(struct SessionHandle *data, struct timeval now) argument
|
/macosx-10.9.5/sudo-72/src/ |
H A D | nanosleep.c | 39 struct timeval timeout, endtime, now; local 50 gettimeofday(&now, NULL); 51 timevalsub(&endtime, &now);
|
/macosx-10.9.5/top-89.1.2/ |
H A D | uinteger.h | 21 struct top_uinteger top_uinteger_calc_result(uint64_t now, uint64_t prev, 29 bool top_uinteger_format_result(char *buf, size_t bufsize, uint64_t now, 32 bool top_uinteger_format_mem_result(char *buf, size_t bufsize, uint64_t now,
|
/macosx-10.9.5/RubyCocoa-80/RubyCocoa/sample/Fortune.wdgt/ |
H A D | Fortune.js | 104 var animation = {duration:0, starttime:0, to:1.0, now:1.0, from:0.0, firstElement:null, timer:null}; 121 animation.from = animation.now; // beginning opacity (not ness. 0) 143 animation.from = animation.now; 163 animation.now = animation.to; 168 animation.now = computeNextFloat (animation.from, animation.to, ease); 171 animation.firstElement.style.opacity = animation.now;
|