/macosx-10.10.1/ntp-92/include/ |
H A D | ntp_unixtime.h | 71 #define TVTOTS(tv, ts) \ 73 (ts)->l_ui = (u_long)(tv)->tv_sec; \ 74 TVUTOTSF((tv)->tv_usec, (ts)->l_uf); \ 77 #define sTVTOTS(tv, ts) \ 81 (ts)->l_ui = (tv)->tv_sec; \ 82 usec = (tv)->tv_usec; \ 83 if (((tv)->tv_sec < 0) || ((tv)->tv_usec < 0)) { \ 119 #define TSTOTV(ts, tv) \ 121 (tv) [all...] |
H A D | adjtime.h | 49 struct timeval tv; member in struct:__anon11184::__anon11185
|
/macosx-10.10.1/CommonCrypto-60061/test/CommonCrypto/ |
H A D | CommonHKDF.c | 197 const test_vector_t * tv = &hkdf_sha256_tests[ i ]; 198 byteBuffer ikm = hexStringToBytes(tv->ikm); 199 byteBuffer salt = hexStringToBytes(tv->salt); 200 byteBuffer info = hexStringToBytes(tv->info); 201 byteBuffer okmActual = mallocByteBuffer(tv->len); 202 byteBuffer okmExpected = hexStringToBytes(tv->okm); 205 if( tv->type == type_sha1) digestType = kCCDigestSHA1; 206 else if(tv->type == type_sha256) digestType = kCCDigestSHA256; 207 else if(tv->type == type_sha512) digestType = kCCDigestSHA512;
|
/macosx-10.10.1/Heimdal-398.1.2/lib/krb5/ |
H A D | time.c | 55 struct timeval tv; local 57 gettimeofday(&tv, NULL); 59 context->kdc_sec_offset = (uint32_t)(sec - tv.tv_sec); 66 context->kdc_usec_offset = usec - tv.tv_usec; 73 context->kdc_usec_offset = tv.tv_usec; 101 struct timeval tv; local 103 gettimeofday (&tv, NULL); 105 *sec = tv.tv_sec; 108 *usec = tv.tv_usec;
|
H A D | net_write.c | 55 struct timeval tv, *tvp; local 66 tv.tv_sec = timeout; 67 tv.tv_usec = 0; 68 tvp = &tv;
|
/macosx-10.10.1/ksh-23/ksh/src/lib/libast/tm/ |
H A D | tvsleep.c | 24 #include <tv.h> 49 * sleep for tv 55 tvsleep(register const Tv_t* tv, register Tv_t* rv) argument 64 stv.tv_sec = tv->tv_sec; 65 stv.tv_nsec = tv->tv_nsec; 79 stv.tv_sec = tv->tv_sec; 80 stv.tv_usec = tv->tv_nsec / 1000; 84 *rv = *tv; 96 unsigned int s = tv->tv_sec; 97 uint32_t n = tv [all...] |
/macosx-10.10.1/ruby-106/ruby/ext/-test-/wait_for_single_fd/ |
H A D | wait_for_single_fd.c | 7 struct timeval tv; local 12 tv = rb_time_timeval(timeout); 13 tvp = &tv;
|
/macosx-10.10.1/Security-57031.1.35/SecurityTests/regressions/kc/ |
H A D | kc-50-thread.c | 17 struct timeval tv; local 18 gettimeofday(&tv, NULL); 20 return (double) tv.tv_sec + (double) tv.tv_usec / 1000000.0;
|
/macosx-10.10.1/gnutar-453/gnutar/lib/ |
H A D | gettimeofday.c | 101 rpl_gettimeofday (struct timeval *restrict tv, void *restrict tz) argument 111 int result = gettimeofday (tv, tz); 125 tv->tv_sec = timebuf.time; 126 tv->tv_usec = timebuf.millitm * 1000; 134 tv->tv_sec = time (NULL); 135 tv->tv_usec = 0;
|
/macosx-10.10.1/bind9-45.101/bind9/lib/isc/unix/ |
H A D | time.c | 62 fix_tv_usec(struct timeval *tv) { argument 65 if (tv->tv_usec < 0) { 68 tv->tv_sec -= 1; 69 tv->tv_usec += US_PER_S; 70 } while (tv->tv_usec < 0); 71 } else if (tv->tv_usec >= US_PER_S) { 74 tv->tv_sec += 1; 75 tv->tv_usec -= US_PER_S; 76 } while (tv->tv_usec >=US_PER_S); 147 struct timeval tv; local 189 struct timeval tv; local [all...] |
/macosx-10.10.1/ntp-92/lib/isc/unix/ |
H A D | time.c | 62 fix_tv_usec(struct timeval *tv) { argument 65 if (tv->tv_usec < 0) { 68 tv->tv_sec -= 1; 69 tv->tv_usec += US_PER_S; 70 } while (tv->tv_usec < 0); 71 } else if (tv->tv_usec >= US_PER_S) { 74 tv->tv_sec += 1; 75 tv->tv_usec -= US_PER_S; 76 } while (tv->tv_usec >=US_PER_S); 147 struct timeval tv; local 189 struct timeval tv; local [all...] |
/macosx-10.10.1/swig-12/Lib/perl5/ |
H A D | std_list.i | 60 SV **tv; 64 tv = av_fetch(av, i, 0); 65 if (SWIG_ConvertPtr(*tv, (void **)&obj, 91 SV **tv; 95 tv = av_fetch(av, i, 0); 96 if (SWIG_ConvertPtr(*tv, (void **)&obj, 139 SV **tv; 147 tv = av_fetch(av, 0, 0); 148 if (SWIG_ConvertPtr(*tv, (void **)&obj, 172 SV **tv; [all...] |
/macosx-10.10.1/Heimdal-398.1.2/lib/hcrypto/ |
H A D | rand-timer.c | 66 pacemaker(struct timeval *tv) argument 74 select(1, &fds, NULL, NULL, tv); 112 struct itimerval tv, otv; 127 tv.it_value.tv_sec = 0; 128 tv.it_value.tv_usec = 10 * 1000; /* 10 ms */ 129 tv.it_interval = tv.it_value; 131 setitimer(ITIMER_REAL, &tv, &otv); 141 pacemaker(&tv.it_interval);
|
/macosx-10.10.1/remote_cmds-47/yppush.tproj/ |
H A D | yplib_host.c | 102 struct timeval tv; local 129 tv.tv_sec = 10; 130 tv.tv_usec = 0; 136 client = clntudp_create(&rsrv_sin, program, version, tv, 156 struct timeval tv; local 165 tv.tv_sec = 10; 166 tv.tv_usec = 0; 168 client = clntudp_create(&rsrv_sin, program, version, tv, &rsrv_sock); 189 struct timeval tv; local 196 tv 233 struct timeval tv; local 279 struct timeval tv; local 321 struct timeval tv; local 350 struct timeval tv; local 381 struct timeval tv; local 411 struct timeval tv; local [all...] |
/macosx-10.10.1/remote_cmds-47/ypxfr.tproj/ |
H A D | yplib_host.c | 102 struct timeval tv; local 129 tv.tv_sec = 10; 130 tv.tv_usec = 0; 136 client = clntudp_create(&rsrv_sin, program, version, tv, 156 struct timeval tv; local 165 tv.tv_sec = 10; 166 tv.tv_usec = 0; 168 client = clntudp_create(&rsrv_sin, program, version, tv, &rsrv_sock); 189 struct timeval tv; local 196 tv 233 struct timeval tv; local 279 struct timeval tv; local 321 struct timeval tv; local 350 struct timeval tv; local 381 struct timeval tv; local 411 struct timeval tv; local [all...] |
/macosx-10.10.1/pyobjc-45/2.5/pyobjc/pyobjc-framework-Cocoa/PyObjCTest/ |
H A D | test_nstableview.py | 6 def numberOfRowsInTableView_(self, tv): return 1 7 def tableView_objectValueForTableColumn_row_(self, tv, c, r): return 1 8 def tableView_setObjectValue_forTableColumn_row_(self, o, tv, c, r): pass 9 def tableView_writeRowsWithIndexes_toPasteboard_(self, tv, r, p): return 1 10 def tableView_validateDrop_proposedRow_proposedDropOperation_(self, tv, dr, r, o): return 1 11 def tableView_acceptDrop_row_dropOperation_(self, tv, dr, r, o): return 1 12 def tableView_writeRows_toPasteboard_(self, tv, r, p): return 1 14 def tableView_willDisplayCell_forTableColumn_row_(self, tv, c, tc, r): return 1 15 def tableView_shouldEditTableColumn_row_(self, tv, tc, r): return 1 16 def selectionShouldChangeInTableView_(self, tv) [all...] |
/macosx-10.10.1/top-100.1.2/ |
H A D | timestat.c | 31 struct timeval tv; local 36 timersub(&psamp->total_time, &psamp->b_total_time, &tv); 38 tv = psamp->total_time; 41 usec = tv.tv_usec; 42 sec = tv.tv_sec;
|
/macosx-10.10.1/AppleUSBIrDA-145.2.4/IrDADebugLog/ |
H A D | MyDocument.h | 18 - (int)numberOfRowsInTableView:(NSTableView *)tv; 19 - (id)tableView:(NSTableView *)tv objectValueForTableColumn: (NSTableColumn *)tc row: (int)row;
|
/macosx-10.10.1/bind9-45.101/bind9/bin/tests/virtual-time/ |
H A D | vtwrapper.c | 133 struct timeval now, tv; local 137 absolute_deflate(&now, &tv); 139 tv.tv_sec += vt->tv_sec; 140 tv.tv_usec += vt->tv_usec; 141 while (tv.tv_usec >= 1000000) { 142 tv.tv_sec += 1; 143 tv.tv_usec -= 1000000; 146 absolute_inflate(&tv, rt); 159 struct timeval now, tv; local 169 tv 193 gettimeofday(struct timeval *tv, struct timezone *tz) argument 218 struct timeval tv; local [all...] |
/macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-framework-Cocoa/PyObjCTest/ |
H A D | test_nstableview.py | 6 def numberOfRowsInTableView_(self, tv): return 1 7 def tableView_objectValueForTableColumn_row_(self, tv, c, r): return 1 8 def tableView_setObjectValue_forTableColumn_row_(self, o, tv, c, r): pass 9 def tableView_writeRowsWithIndexes_toPasteboard_(self, tv, r, p): return 1 10 def tableView_validateDrop_proposedRow_proposedDropOperation_(self, tv, dr, r, o): return 1 11 def tableView_acceptDrop_row_dropOperation_(self, tv, dr, r, o): return 1 12 def tableView_writeRows_toPasteboard_(self, tv, r, p): return 1 14 def tableView_willDisplayCell_forTableColumn_row_(self, tv, c, tc, r): return 1 15 def tableView_shouldEditTableColumn_row_(self, tv, tc, r): return 1 16 def selectionShouldChangeInTableView_(self, tv) [all...] |
/macosx-10.10.1/Libc-1044.1.2/stdlib/FreeBSD/ |
H A D | rand.c | 132 struct timeval tv; local 134 gettimeofday(&tv, NULL); 135 srand((getpid() << 16) ^ tv.tv_sec ^ tv.tv_usec);
|
/macosx-10.10.1/Libinfo-459/nis.subproj/ |
H A D | yp_maplist.c | 82 struct timeval tv; local 90 tv.tv_sec = _yplib_timeout; 91 tv.tv_usec = 0; 95 r = clnt_call(ysd->dom_client, YPPROC_MAPLIST, (xdrproc_t)xdr_domainname, &indomain, (xdrproc_t)xdr_ypresp_maplist, &ypml, tv);
|
/macosx-10.10.1/cxxfilt-11/cxxfilt/libiberty/ |
H A D | mkstemps.c | 84 struct timeval tv; local 102 gettimeofday (&tv, NULL); 103 value += ((gcc_uint64_t) tv.tv_usec << 16) ^ tv.tv_sec ^ getpid ();
|
/macosx-10.10.1/file_cmds-242/dd/ |
H A D | misc.c | 62 struct timeval tv; local 66 (void)gettimeofday(&tv, (struct timezone *)NULL); 67 secs = tv.tv_sec + tv.tv_usec * 1e-6 - st.start;
|
/macosx-10.10.1/groff-38/groff/src/libs/libgroff/ |
H A D | tmpname.cpp | 81 timeval tv; local 82 gettimeofday(&tv, NULL); 83 uint64_t random_time_bits = ((uint64_t)tv.tv_usec << 16) ^ tv.tv_sec;
|