Searched refs:tv (Results 76 - 100 of 514) sorted by relevance

1234567891011>>

/macosx-10.10.1/sudo-73/src/
H A Dmkstemps.c111 struct timeval tv; local
116 (void) gettime(&tv);
117 seed = (tv.tv_sec % 10000) * 523 + tv.tv_usec * 13 +
/macosx-10.10.1/Libc-1044.1.2/uuid/uuidsrc/
H A Dgen_uuid.c174 struct timeval tv; local
178 gettimeofday(&tv, 0);
182 last = tv;
185 if ((tv.tv_sec < last.tv_sec) ||
186 ((tv.tv_sec == last.tv_sec) &&
187 (tv.tv_usec < last.tv_usec))) {
190 last = tv;
191 } else if ((tv.tv_sec == last.tv_sec) &&
192 (tv.tv_usec == last.tv_usec)) {
198 last = tv;
[all...]
/macosx-10.10.1/bash-94.1.2/bash-3.2/lib/sh/
H A Dtimes.c45 struct timeval tv; local
61 if (gettimeofday(&tv, (struct timezone *) 0) < 0)
63 rv = (clock_t)(CONVTCK(tv));
/macosx-10.10.1/xnu-2782.1.97/bsd/hfs/
H A DMacOSStubs.c53 struct timeval tv; local
55 microtime(&tv);
57 return (tv.tv_sec + MAC_GMT_FACTOR);
/macosx-10.10.1/llvmCore-3425.0.34/tools/gold/
H A Dgold-plugin.cpp131 extern "C" ld_plugin_status onload(ld_plugin_tv *tv);
132 ld_plugin_status onload(ld_plugin_tv *tv) { argument
141 for (; tv->tv_tag != LDPT_NULL; ++tv) {
142 switch (tv->tv_tag) {
144 api_version = tv->tv_u.tv_val;
147 gold_version = tv->tv_u.tv_val;
150 output_name = tv->tv_u.tv_string;
153 switch (tv->tv_u.tv_val) {
165 tv
[all...]
/macosx-10.10.1/postfix-255/postfix/src/global/
H A Dmail_stream.c167 struct timeval tv[2]; local
170 tv[0].tv_sec = tv[1].tv_sec = when;
171 tv[0].tv_usec = tv[1].tv_usec = 0;
172 return (futimesat(vstream_fileno(fp), (char *) 0, tv));
185 struct timeval tv[2]; local
188 tv[0].tv_sec = tv[1].tv_sec = when;
189 tv[
407 struct timeval tv; local
[all...]
/macosx-10.10.1/swig-12/Lib/perl5/
H A Dstd_vector.i56 SV **tv;
60 tv = av_fetch(av, i, 0);
61 if (SWIG_ConvertPtr(*tv, (void **)&obj,
87 SV **tv;
91 tv = av_fetch(av, i, 0);
92 if (SWIG_ConvertPtr(*tv, (void **)&obj,
140 SV **tv = av_fetch(av, 0, 0);
141 if (SWIG_ConvertPtr(*tv, (void **)&obj,
172 SV **tv = av_fetch(av, 0, 0);
173 if (SWIG_ConvertPtr(*tv, (voi
[all...]
/macosx-10.10.1/curl-83.1.2/curl/tests/libtest/
H A Dtesttrace.c94 struct timeval tv; local
106 tv = tutil_tvnow();
108 epoch_offset = time(NULL) - tv.tv_sec;
111 secs = epoch_offset + tv.tv_sec;
114 now->tm_hour, now->tm_min, now->tm_sec, (long)tv.tv_usec);
/macosx-10.10.1/eap8021x-198/eapolclient.tproj/
H A DTimer.c169 struct timeval tv; local
171 tv.tv_sec = (int32_t)t;
172 tv.tv_usec = (t - tv.tv_sec) * USECS_PER_SEC;
174 return (tv);
/macosx-10.10.1/pyobjc-45/2.6/pyobjc/pyobjc-framework-Cocoa/PyObjCTest/
H A Dtest_nstextview.py6 def textView_clickedOnLink_atIndex_(self, tv, a, b): return 1
7 def textView_clickedOnCell_inRect_atIndex_(self, tv, a, b, c): return 1
8 def textView_doubleClickedOnCell_inRect_atIndex_(self, tv, a, b, c): return 1
9 def textView_draggedCell_inRect_event_atIndex_(elf, tv, a, b, c, d): return 1
10 def textView_writablePasteboardTypesForCell_atIndex_(self, tv, a, b): return 1
11 def textView_writeCell_atIndex_toPasteboard_type_(self, tv, a, b, c, d): return 1
12 def textView_willChangeSelectionFromCharacterRange_toCharacterRange_(self, tv, a, b): return 1
13 def textView_shouldChangeTextInRanges_replacementStrings_(self, tv, a, b): return 1
14 def textView_willDisplayToolTip_forCharacterAtIndex_(self, tv, a, b): return 1
15 def textView_completions_forPartialWordRange_indexOfSelectedItem_(self, tv,
[all...]
/macosx-10.10.1/pyobjc-45/pyobjc/pyobjc-framework-Cocoa-2.5.1/PyObjCTest/
H A Dtest_nstextview.py12 def textView_clickedOnLink_atIndex_(self, tv, a, b): return 1
13 def textView_clickedOnCell_inRect_atIndex_(self, tv, a, b, c): return 1
14 def textView_doubleClickedOnCell_inRect_atIndex_(self, tv, a, b, c): return 1
15 def textView_draggedCell_inRect_event_atIndex_(elf, tv, a, b, c, d): return 1
16 def textView_writablePasteboardTypesForCell_atIndex_(self, tv, a, b): return 1
17 def textView_writeCell_atIndex_toPasteboard_type_(self, tv, a, b, c, d): return 1
18 def textView_willChangeSelectionFromCharacterRange_toCharacterRange_(self, tv, a, b): return 1
19 def textView_shouldChangeTextInRanges_replacementStrings_(self, tv, a, b): return 1
20 def textView_willDisplayToolTip_forCharacterAtIndex_(self, tv, a, b): return 1
21 def textView_completions_forPartialWordRange_indexOfSelectedItem_(self, tv,
[all...]
/macosx-10.10.1/remote_cmds-47/ypset.tproj/
H A Dypset.c93 struct timeval tv; local
106 tv.tv_sec = 15;
107 tv.tv_usec = 0;
109 client = clntudp_create(sin, YPBINDPROG, YPBINDVERS, tv, &sock);
134 (xdrproc_t)xdr_ypbind_setdom, &ypsd, (xdrproc_t)xdr_void, NULL, tv);
/macosx-10.10.1/bash-94.1.2/bash-3.2/builtins/
H A Dsetattr.c357 SHELL_VAR *var, *tv; local
364 tv = find_tempenv_variable (name);
365 /* XXX -- need to handle case where tv is a temp variable in a
368 if (tv && tempvar_p (tv))
370 tvalue = var_isset (tv) ? savestring (value_cell (tv)) : savestring ("");
372 var = bind_variable (tv->name, tvalue, 0);
373 var->attributes |= tv->attributes & ~att_tempvar;
374 VSETATTR (tv, att_propagat
[all...]
/macosx-10.10.1/xnu-2782.1.97/bsd/kern/
H A Dkern_time.c101 struct timeval *tv);
165 if (uap->tv) {
168 error = copyin(uap->tv, &user_atv, sizeof(user_atv));
173 error = copyin(uap->tv, &user_atv, sizeof(user_atv));
182 if (uap->tv) {
198 struct timeval *tv)
200 clock_set_calendar_microtime(tv->tv_sec, tv->tv_usec);
264 struct timeval tv; local
274 microtime(&tv);
197 setthetime( struct timeval *tv) argument
539 itimerfix( struct timeval *tv) argument
733 struct timeval tv, delta; local
759 struct timeval tv, delta; local
[all...]
/macosx-10.10.1/Heimdal-398.1.2/lib/hcrypto/
H A Drand-fortuna.c219 struct timeval tv; local
222 gettimeofday(&tv, NULL);
226 if (tv.tv_sec > last->tv_sec + 1)
228 else if (tv.tv_sec == last->tv_sec + 1)
230 if (1000000 + tv.tv_usec - last->tv_usec >= RESEED_INTERVAL)
233 else if (tv.tv_usec - last->tv_usec >= RESEED_INTERVAL)
238 memcpy(last, &tv, sizeof(tv));
240 memset(&tv, 0, sizeof(tv));
538 struct timeval tv; local
[all...]
/macosx-10.10.1/bootp-298/IPConfiguration.bproj/
H A Dfailover.c117 struct timeval tv; local
124 tv.tv_sec = random_range(0, 4);
125 tv.tv_usec = (suseconds_t)random_range(0, USECS_PER_SEC - 1);
126 timer_set_relative(failover->timer, tv,
162 tv.tv_sec = 10;
163 tv.tv_usec = 0;
164 timer_set_relative(failover->timer, tv,
185 tv.tv_sec = failover->address_timeout_secs;
186 tv.tv_usec = 0;
187 timer_set_relative(failover->timer, tv,
300 struct timeval tv; local
[all...]
/macosx-10.10.1/OpenSSL098-52/src/fips/rand/
H A Dfips_rand.c227 struct timeval tv;
246 gettimeofday(&tv,NULL);
247 buf[0] = (unsigned char) (tv.tv_sec & 0xff);
248 buf[1] = (unsigned char) ((tv.tv_sec >> 8) & 0xff);
249 buf[2] = (unsigned char) ((tv.tv_sec >> 16) & 0xff);
250 buf[3] = (unsigned char) ((tv.tv_sec >> 24) & 0xff);
251 buf[4] = (unsigned char) (tv.tv_usec & 0xff);
252 buf[5] = (unsigned char) ((tv.tv_usec >> 8) & 0xff);
253 buf[6] = (unsigned char) ((tv.tv_usec >> 16) & 0xff);
254 buf[7] = (unsigned char) ((tv
[all...]
/macosx-10.10.1/xnu-2782.1.97/bsd/net/
H A Ddevtimer.c83 timeval_to_absolutetime(struct timeval tv) argument
88 clock_interval_to_absolutetime_interval(tv.tv_sec, NSEC_PER_SEC,
90 clock_interval_to_absolutetime_interval(tv.tv_usec, NSEC_PER_USEC,
265 struct timeval tv; local
267 tv = devtimer_current_time();
268 return (tv.tv_sec);
274 struct timeval tv; local
279 tv.tv_sec = sec;
280 tv.tv_usec = usec;
281 return (tv);
[all...]
/macosx-10.10.1/cxxfilt-11/cxxfilt/binutils/
H A Drename.c117 struct timeval tv[2]; local
119 tv[0].tv_sec = statbuf->st_atime;
120 tv[0].tv_usec = 0;
121 tv[1].tv_sec = statbuf->st_mtime;
122 tv[1].tv_usec = 0;
123 result = utimes (destination, tv);
/macosx-10.10.1/ppp-786.1.1/Drivers/L2TP/L2TP-extension/
H A Dl2tp_wan.c217 struct timespec tv; local
223 nanouptime(&tv);
224 link->lk_last_recv = tv.tv_sec;
288 struct timespec tv; local
299 nanouptime(&tv);
300 link->lk_last_xmit = tv.tv_sec;
/macosx-10.10.1/ppp-786.1.1/Drivers/PPPoE/PPPoE-extension/
H A Dpppoe_wan.c231 struct timespec tv; local
238 nanouptime(&tv);
239 link->lk_last_recv = tv.tv_sec;
272 struct timespec tv; local
284 nanouptime(&tv);
285 link->lk_last_xmit = tv.tv_sec;
/macosx-10.10.1/ppp-786.1.1/Drivers/PPTP/PPTP-extension/
H A Dpptp_wan.c231 struct timespec tv; local
237 nanouptime(&tv);
238 link->lk_last_recv = tv.tv_sec;
302 struct timespec tv; local
313 nanouptime(&tv);
314 link->lk_last_xmit = tv.tv_sec;
/macosx-10.10.1/remote_cmds-47/yppoll.tproj/
H A Dyppoll.c99 struct timeval tv; local
121 tv.tv_sec = 10;
122 tv.tv_usec = 0;
124 client = clntudp_create(&rsrv_sin, YPPROG, YPVERS, tv, &rsrv_sock);
137 (xdrproc_t)xdr_ypresp_order, &ypro, tv);
149 &yprnk, (xdrproc_t)xdr_ypresp_master, &yprm, tv);
/macosx-10.10.1/xnu-2782.1.97/bsd/netinet/
H A Dtcp_timer.h291 #define TCPT_RANGESET(tv, value, tvmin, tvmax, addslop) do { \
292 (tv) = ((addslop) ? tcp_rexmt_slop : 0) + (value); \
293 if ((uint32_t)(tv) < (uint32_t)(tvmin)) \
294 (tv) = (tvmin); \
295 else if ((uint32_t)(tv) > (uint32_t)(tvmax)) \
296 (tv) = (tvmax); \
/macosx-10.10.1/SmartcardCCID-55008/libusb/libusb/libusb/os/
H A Dpoll_windows.h99 #define TIMESPEC_TO_TIMEVAL(tv, ts) { \
100 (tv)->tv_sec = (long)(ts)->tv_sec; \
101 (tv)->tv_usec = (long)(ts)->tv_nsec / 1000; \

Completed in 467 milliseconds

1234567891011>>