Searched refs:tvp (Results 1 - 25 of 96) sorted by relevance

1234

/macosx-10.10.1/Libc-1044.1.2/gen/FreeBSD/
H A Dutime.c45 struct timeval tv[2], *tvp; local
51 tvp = tv;
53 tvp = NULL;
54 return (utimes(path, tvp));
H A Dpselect.c68 struct timeval tvtimo, *tvp; local
73 tvp = &tvtimo;
75 tvp = 0;
83 rv = _select(count, rfds, wfds, efds, tvp);
/macosx-10.10.1/BerkeleyDB-21/db/dbinc/
H A Dclock.h62 #define timespecclear(tvp) ((tvp)->tv_sec = (tvp)->tv_nsec = 0)
64 #define timespecisset(tvp) ((tvp)->tv_sec || (tvp)->tv_nsec)
66 #define timespeccmp(tvp, uvp, cmp) \
67 (((tvp)->tv_sec == (uvp)->tv_sec) ? \
68 ((tvp)->tv_nsec cmp (uvp)->tv_nsec) : \
69 ((tvp)
[all...]
/macosx-10.10.1/ruby-106/ruby/ext/-test-/wait_for_single_fd/
H A Dwait_for_single_fd.c8 struct timeval *tvp = NULL; local
13 tvp = &tv;
16 rc = rb_wait_for_single_fd(NUM2INT(fd), NUM2INT(events), tvp);
/macosx-10.10.1/xnu-2782.1.97/bsd/sys/
H A Dtime.h152 #define timerclear(tvp) (tvp)->tv_sec = (tvp)->tv_usec = 0
153 #define timerisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec)
154 #define timercmp(tvp, uvp, cmp) \
155 (((tvp)->tv_sec == (uvp)->tv_sec) ? \
156 ((tvp)->tv_usec cmp (uvp)->tv_usec) : \
157 ((tvp)
[all...]
/macosx-10.10.1/xnu-2782.1.97/bsd/net/
H A Ddlil.h73 #define net_timerclear(tvp) (tvp)->tv_sec = (tvp)->tv_nsec = 0
75 #define net_timerisset(tvp) ((tvp)->tv_sec || (tvp)->tv_nsec)
77 #define net_timercmp(tvp, uvp, cmp) \
78 (((tvp)->tv_sec == (uvp)->tv_sec) ? \
79 ((tvp)->tv_nsec cmp (uvp)->tv_nsec) : \
80 ((tvp)
[all...]
/macosx-10.10.1/Heimdal-398.1.2/lib/krb5/
H A Dnet_write.c55 struct timeval tv, *tvp; local
68 tvp = &tv;
70 tvp = NULL;
72 ret = select(fd + 1, NULL, &wfds, NULL, tvp);
/macosx-10.10.1/bash-94.1.2/bash-3.2/lib/sh/
H A Dtimeval.c104 timeval_to_secs (tvp, sp, sfp)
105 struct timeval *tvp;
111 *sp = tvp->tv_sec;
113 *sfp = tvp->tv_usec % 1000000; /* pretty much a no-op */
130 print_timeval (fp, tvp)
132 struct timeval *tvp;
138 timeval_to_secs (tvp, &timestamp, &seconds_fraction);
/macosx-10.10.1/sudo-73/src/
H A Dfileops.c60 touch(fd, path, tvp)
63 struct timeval *tvp;
67 if (tvp != NULL) {
68 times[0].tv_sec = times[1].tv_sec = tvp->tv_sec;
69 times[0].tv_usec = times[1].tv_usec = tvp->tv_usec;
74 return futimes(fd, tvp ? times : NULL);
78 return utimes(path, tvp ? times : NULL);
/macosx-10.10.1/file_cmds-242/touch/
H A Dtouch.c244 stime_arg1(char *arg, struct timeval *tvp) argument
251 now = tvp[0].tv_sec;
296 tvp[0].tv_sec = tvp[1].tv_sec = mktime(t);
297 if (tvp[0].tv_sec == -1)
301 tvp[0].tv_usec = tvp[1].tv_usec = 0;
305 stime_arg2(char *arg, int year, struct timeval *tvp) argument
310 now = tvp[0].tv_sec;
326 tvp[
365 stime_file(char *fname, struct timeval *tvp) argument
[all...]
/macosx-10.10.1/tcpdump-61/tcpdump/
H A Dutil.c160 ts_print(register const struct timeval *tvp) argument
170 s = (tvp->tv_sec + thiszone) % 86400;
171 (void)printf("%s ", ts_format(s, tvp->tv_usec));
177 (unsigned)tvp->tv_sec,
178 (unsigned)tvp->tv_usec);
188 p_usec = tvp->tv_usec;
189 p_sec = tvp->tv_sec;
192 d_usec = tvp->tv_usec - p_usec;
193 d_sec = tvp->tv_sec - p_sec;
203 p_sec = tvp
[all...]
/macosx-10.10.1/ntp-92/libntp/
H A Dmachines.c117 struct timeval *tvp
124 return (get_process_stats(tvp, PS_SELF, (struct procstats *) 0,
347 int gettimeofday(struct timeval *tvp) argument
369 tvp->tv_sec = mpetime / 1000000LL;
370 tvp->tv_usec = mpetime % 1000000LL;
381 int settimeofday(struct timeval *tvp) argument
397 big_sec = tvp->tv_sec;
398 big_usec = tvp->tv_usec;
430 struct timeval *tvp,
448 ts.tv_sec = tvp
429 ntp_set_tod( struct timeval *tvp, void *tzp ) argument
[all...]
/macosx-10.10.1/ruby-106/ruby/ext/-test-/old_thread_select/
H A Dold_thread_select.c44 struct timeval *tvp = NULL; local
52 tvp = &tv;
57 rc = rb_thread_select(max, rp, wp, ep, tvp);
/macosx-10.10.1/OpenSSH-189/openssh/openbsd-compat/
H A Dbsd-poll.c46 struct timeval tv, *tvp = NULL; local
85 tvp = &tv;
88 ret = select(maxfd + 1, readfds, writefds, exceptfds, tvp);
H A Dbsd-misc.c107 int utimes(char *filename, struct timeval *tvp) argument
111 ub.actime = tvp[0].tv_sec;
112 ub.modtime = tvp[1].tv_sec;
/macosx-10.10.1/smb-759.0/kernel/mysys/sys/
H A Dsmb_apple.h118 #define timespeccmp(tvp, uvp, cmp) \
119 (((tvp)->tv_sec == (uvp)->tv_sec) ? \
120 ((tvp)->tv_nsec cmp (uvp)->tv_nsec) : \
121 ((tvp)->tv_sec cmp (uvp)->tv_sec))
/macosx-10.10.1/xnu-2782.1.97/bsd/hfs/
H A Dhfs_lookup.c157 struct vnode *tvp; /* target vnode */ local
177 tvp = NULL;
336 if ((retval = hfs_vget(hfsmp, hfs_currentparent(VTOC(dvp)), &tvp, 0, 0))) {
340 *vpp = tvp;
356 retval = hfs_getnewvnode(hfsmp, dvp, cnp, &desc, 0, &attr, &fork, &tvp, &newvnode_flags);
425 if ((nameiop == LOOKUP) && (VTOC(tvp)->c_flag & C_HARDLINK)) {
426 hfs_savelinkorigin(VTOC(tvp), VTOC(dvp)->c_fileid);
429 *vpp = tvp;
/macosx-10.10.1/xnu-2782.1.97/bsd/kern/
H A Dkern_time.c642 * to which tvp points.
646 struct timeval *tvp)
653 tvp->tv_sec = tv_sec;
654 tvp->tv_usec = tv_usec;
659 struct timeval *tvp, uint64_t *abstime)
666 tvp->tv_sec = tv_sec;
667 tvp->tv_usec = tv_usec;
672 struct timeval *tvp)
679 tvp->tv_sec = tv_sec;
680 tvp
645 microtime( struct timeval *tvp) argument
658 microtime_with_abstime( struct timeval *tvp, uint64_t *abstime) argument
671 microuptime( struct timeval *tvp) argument
713 tvtoabstime( struct timeval *tvp) argument
[all...]
/macosx-10.10.1/apr-32/apr/apr/file_io/netware/
H A Dfilestat.c390 struct timeval tvp[2]; local
392 tvp[0].tv_sec = apr_time_sec(finfo.atime);
393 tvp[0].tv_usec = apr_time_usec(finfo.atime);
394 tvp[1].tv_sec = apr_time_sec(mtime);
395 tvp[1].tv_usec = apr_time_usec(mtime);
397 if (utimes(fname, tvp) == -1) {
/macosx-10.10.1/apr-32/apr/apr/file_io/unix/
H A Dfilestat.c259 struct timeval tvp[2]; local
261 tvp[0].tv_sec = apr_time_sec(finfo.atime);
262 tvp[0].tv_usec = apr_time_usec(finfo.atime);
263 tvp[1].tv_sec = apr_time_sec(mtime);
264 tvp[1].tv_usec = apr_time_usec(mtime);
266 if (utimes(fname, tvp) == -1) {
/macosx-10.10.1/Security-57031.1.35/SecurityTests/clxutils/dotMacTool/
H A DdotMacTool.cpp308 CSSM_X509_TYPE_VALUE_PAIR tvp; local
548 // tvp.type = CSSMOID_EmailAddress;
549 tvp.type = CSSMOID_CommonName;
550 tvp.valueType = BER_TAG_PRINTABLE_STRING;
554 tvp.value.Data = (uint8 *)malloc(nameLen + strlen("@mac.com") + 1);
555 strcpy((char *)tvp.value.Data, userName);
556 strcpy((char *)tvp.value.Data + nameLen, "@mac.com");
557 tvp.value.Length = strlen((char *)tvp.value.Data);
560 tvp
[all...]
/macosx-10.10.1/ntp-92/include/
H A Dparse.h98 #define timercmp(tvp, uvp, cmp) \
99 ((tvp)->tv_sec cmp (uvp)->tv_sec || \
100 ((tvp)->tv_sec == (uvp)->tv_sec && (tvp)->tv_usec cmp (uvp)->tv_usec))
/macosx-10.10.1/shell_cmds-179/script/
H A Dscript.c93 struct timeval tv, *tvp; local
171 tvp = &tv;
173 tvp = NULL;
184 n = select(master + 1, &rfd, 0, 0, tvp);
/macosx-10.10.1/Security-57031.1.35/Security/include/security_keychain/
H A DCertificateRequest.cpp299 CSSM_X509_TYPE_VALUE_PAIR tvp; local
339 tvp.type = CSSMOID_CommonName;
340 tvp.valueType = BER_TAG_PKIX_UTF8_STRING;
345 tvp.value = fullUserName.get();
346 memmove(tvp.value.Data, mUserName.data(), nameLen);
347 memmove(tvp.value.Data + nameLen, "@", 1);
348 memmove(tvp.value.Data + nameLen + 1, mDomain.data(), domainLen);
356 certReq.typeValuePairs = &tvp;
/macosx-10.10.1/Security-57031.1.35/Security/libsecurity_keychain/Security/
H A DCertificateRequest.cpp299 CSSM_X509_TYPE_VALUE_PAIR tvp; local
339 tvp.type = CSSMOID_CommonName;
340 tvp.valueType = BER_TAG_PKIX_UTF8_STRING;
345 tvp.value = fullUserName.get();
346 memmove(tvp.value.Data, mUserName.data(), nameLen);
347 memmove(tvp.value.Data + nameLen, "@", 1);
348 memmove(tvp.value.Data + nameLen + 1, mDomain.data(), domainLen);
356 certReq.typeValuePairs = &tvp;

Completed in 175 milliseconds

1234