/macosx-10.10/Libc-1044.1.2/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.10/Libc-1044.1.2/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.10/libdispatch-442.1.4/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; 133 dispatch_time_t now; local 142 now = _dispatch_get_nanoseconds(); 143 return now >= when ? 0 : when - now; 145 now = _dispatch_absolute_time(); 146 return now > [all...] |
/macosx-10.10/xnu-2782.1.97/osfmk/i386/ |
H A D | rtclock_native.c | 59 uint64_t now) 63 if (deadline <= now) 66 delta = deadline - now; 81 rtc_lapic_set_timer(uint64_t deadline, uint64_t now) argument 89 * - time now is not relevant 91 count = deadline_to_decrementer(deadline, now); 92 set = now + count; 100 now, deadline, 116 rtc_lapic_set_tsc_deadline_timer(uint64_t deadline, uint64_t now) argument 127 delta = deadline_to_decrementer(deadline, now); 57 deadline_to_decrementer( uint64_t deadline, uint64_t now) argument [all...] |
/macosx-10.10/ruby-106/ruby/test/ruby/ |
H A D | test_sleep.rb | 6 start = Time.now 8 slept = Time.now-start
|
/macosx-10.10/postfix-255/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.10/rsync-45/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.10/ntp-92/ntpd/ |
H A D | ntp_util.c | 545 l_fp now; local 563 get_systime(&now); 568 filegen_setup(&peerstats, now.l_ui); 574 filegen_setup(&loopstats, now.l_ui); 580 filegen_setup(&clockstats, now.l_ui); 586 filegen_setup(&rawstats, now.l_ui); 592 filegen_setup(&sysstats, now.l_ui); 598 filegen_setup(&protostats, now.l_ui); 605 filegen_setup(&cryptostats, now.l_ui); 613 filegen_setup(&timingstats, now 687 l_fp now; local 728 l_fp now; local 762 l_fp now; local 800 l_fp now; local 841 l_fp now; local 878 l_fp now; local 912 l_fp now; local 950 l_fp now; local [all...] |
/macosx-10.10/ksh-23/ksh/src/lib/libcmd/ |
H A D | date.c | 219 settime(Shbltin_t* 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.10/apr-32/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.10/ruby-106/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...] |
H A D | test_ocsp.rb | 15 now = Time.at(Time.now.to_i) # suppress usec 19 ca_subj, ca_key, ca_serial, now, now+3600, [], nil, nil, dgst) 21 subj, @key, serial, now, now+3600, [], @ca_cert, nil, dgst)
|
/macosx-10.10/network_cmds-457/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.10/pyobjc-45/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.10/pyobjc-45/2.6/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.10/pyobjc-45/pyobjc/pyobjc-framework-Cocoa-2.5.1/PyObjCTest/ |
H A D | test_cfdate.py | 56 now = CFAbsoluteTimeGetCurrent() 57 dt = CFDateCreate(None, now) 61 now = CFAbsoluteTimeGetCurrent() 63 dt = CFDateCreate(None, now) 65 self.assertEqual(CFDateGetAbsoluteTime(dt) , now) 66 dt2 = CFDateCreate(None, now + 1000) 81 dt = CFAbsoluteTimeGetGregorianDate(now, tz) 88 stamp = CFAbsoluteTimeAddGregorianUnits(now, tz, units) 89 self.assertEqual(stamp - now , 24 * 3600) 90 units = CFAbsoluteTimeGetDifferenceAsGregorianUnits(stamp, now, t [all...] |
/macosx-10.10/tcl-105/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.10/tcl-105/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.10/MITKerberosShim-66/ |
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.10/WebInspectorUI-7600.1.17/UserInterface/Protocol/ |
H A D | MessageDispatcher.js | 32 var startTime = Date.now(); 39 if (Date.now() - startTime > timeLimitPerRunLoop) 54 console.log("time-stats: --- RunLoop duration: " + (Date.now() - startTime) + "ms; dispatched: " + (startCount - WebInspector.messagesToDispatch.length) + "; remaining: " + WebInspector.messagesToDispatch.length);
|
/macosx-10.10/curl-83.1.2/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.10/ruby-106/ruby/ext/tk/sample/tcltklib/ |
H A D | lines1.rb | 6 print Time.now, "\n" 21 print Time.now, "\n" 36 print Time.now, "\n"
|
/macosx-10.10/sudo-73/src/ |
H A D | nanosleep.c | 39 struct timeval timeout, endtime, now; local 50 gettimeofday(&now, NULL); 51 timevalsub(&endtime, &now);
|
/macosx-10.10/top-100.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.10/Chess-310.6/Sources/ |
H A D | MBCAnimation.mm | 75 struct timeval now; 77 gettimeofday(&now, NULL); 79 now.tv_sec - fStart.tv_sec 80 + 0.000001f * (now.tv_usec - fStart.tv_usec);
|