/freebsd-9.3-release/contrib/tcpdump/ |
H A D | print-timed.c | 50 struct tsp *tsp = (struct tsp *)bp; local 54 if (endof(tsp->tsp_type) > snapend) { 58 if (tsp->tsp_type < TSPTYPENUMBER) 59 printf("TSP_%s", tsptype[tsp->tsp_type]); 61 printf("(tsp_type %#x)", tsp->tsp_type); 63 if (endof(tsp->tsp_vers) > snapend) { 67 printf(" vers %d", tsp->tsp_vers); 69 if (endof(tsp [all...] |
H A D | timed.h | 52 struct tsp { struct
|
/freebsd-9.3-release/usr.sbin/timed/timedc/ |
H A D | extern.h | 35 struct tsp; 40 void bytehostorder(struct tsp *); 41 void bytenetorder(struct tsp *);
|
H A D | cmds.c | 71 void bytenetorder(struct tsp *); 72 void bytehostorder(struct tsp *); 276 struct tsp msg; 309 if (sendto(sock, &msg, sizeof(struct tsp), 0, 323 cc = recvfrom(sock, &msg, sizeof(struct tsp), 0, 334 if (cc < (sizeof(struct tsp) - MAXHOSTNAMELEN + 32)) { 337 cc, sizeof(struct tsp) - MAXHOSTNAMELEN + 32, 381 struct tsp msg; 412 if (sendto(sock, &msg, sizeof(struct tsp), 0, 436 struct tsp ms [all...] |
/freebsd-9.3-release/usr.sbin/timed/timed/ |
H A D | extern.h | 38 struct tsp; 44 struct tsp *readmsg(int, 46 struct tsp *acksend(struct tsp *, 50 void adj_msg_time(struct tsp *, struct timeval *); 51 void bytehostorder(struct tsp *); 52 void bytenetorder(struct tsp *); 53 void byteorder(struct tsp *); 58 void doquit(struct tsp *); 73 void newslave(struct tsp *); [all...] |
H A D | acksend.c | 40 struct tsp *answer; 50 static struct tsp msg; 57 if (sendto(sock, (char *)&msg, sizeof(struct tsp), 0, 72 struct tsp * 74 struct tsp *message; /* this message */ 103 if (sendto(sock, (char *)message, sizeof(struct tsp),
|
H A D | byteorder.c | 46 struct tsp *ptr; 66 struct tsp *ptr;
|
H A D | candidate.c | 50 struct tsp *resp, msg; 52 struct tsp *answer; 81 if (sendto(sock, (char *)&msg, sizeof(struct tsp), 0,
|
H A D | readmsg.c | 53 struct tsp msgin; 55 struct tsp info; 72 struct tsp * 206 if ((n = recvfrom(sock, (char *)&msgin, sizeof(struct tsp), 0, 216 if (n < (ssize_t)(sizeof(struct tsp) - MAXHOSTNAMELEN + 32)) { 219 n, sizeof(struct tsp) - MAXHOSTNAMELEN + 32, 408 struct tsp resp; 450 struct tsp *msg;
|
/freebsd-9.3-release/contrib/nvi/ex/ |
H A D | ex_screen.c | 111 SCR *tsp; local 115 if ((tsp = gp->hq.cqh_first) == (void *)&gp->hq) { 121 for (cnt = 1; tsp != (void *)&gp->hq && !INTERRUPTED(sp); 122 tsp = tsp->q.cqe_next) { 123 col += len = strlen(tsp->frp->name) + sep; 132 (void)ex_puts(sp, tsp->frp->name);
|
H A D | ex_visual.c | 41 SCR *tsp; local 138 tsp = sp; 139 if (vi(&tsp))
|
/freebsd-9.3-release/sys/sys/ |
H A D | clock.h | 93 void timespec2fattime(struct timespec *tsp, int utc, u_int16_t *ddp, u_int16_t *dtp, u_int8_t *dhp); 94 void fattime2timespec(unsigned dd, unsigned dt, unsigned dh, int utc, struct timespec *tsp);
|
/freebsd-9.3-release/sys/fs/smbfs/ |
H A D | smbfs_subr.c | 51 smb_time_local2server(struct timespec *tsp, int tzoff, u_long *seconds) argument 53 *seconds = tsp->tv_sec - tzoff * 60 /*- tz_minuteswest * 60 - 58 smb_time_server2local(u_long seconds, int tzoff, struct timespec *tsp) argument 60 tsp->tv_sec = seconds + tzoff * 60; 73 smb_time_NT2local(int64_t nsec, int tzoff, struct timespec *tsp) argument 75 smb_time_server2local(nsec / 10000000 - DIFF1970TO1601, 0, tsp); 79 smb_time_local2NT(struct timespec *tsp, int tzoff, int64_t *nsec) argument 83 smb_time_local2server(tsp, 0, &seconds); 88 smb_time_unix2dos(struct timespec *tsp, int tzoff, u_int16_t *ddp, argument 94 tt = *tsp; 101 smb_dos2unixtime(u_int dd, u_int dt, u_int dh, int tzoff, struct timespec *tsp) argument [all...] |
H A D | smbfs_subr.h | 171 void smb_time_local2server(struct timespec *tsp, int tzoff, u_long *seconds); 172 void smb_time_server2local(u_long seconds, int tzoff, struct timespec *tsp); 173 void smb_time_NT2local(int64_t nsec, int tzoff, struct timespec *tsp); 174 void smb_time_local2NT(struct timespec *tsp, int tzoff, int64_t *nsec); 175 void smb_time_unix2dos(struct timespec *tsp, int tzoff, u_int16_t *ddp, 177 void smb_dos2unixtime (u_int dd, u_int dt, u_int dh, int tzoff, struct timespec *tsp);
|
/freebsd-9.3-release/contrib/nvi/common/ |
H A D | api.c | 47 SCR *tsp; local 52 for (tsp = gp->dq.cqh_first; 53 tsp != (void *)&gp->dq; tsp = tsp->q.cqe_next) 55 if (id == tsp->id) 56 return (tsp); 57 } else if (!strcmp(name, tsp->frp->name)) 58 return (tsp); 61 for (tsp [all...] |
/freebsd-9.3-release/sys/dev/sound/ |
H A D | clone.c | 73 struct timespec tsp; member in struct:snd_clone_entry 82 struct timespec tsp; member in struct:snd_clone 110 snd_timestamp(struct timespec *tsp) argument 116 tsp->tv_sec = time_second; 117 tsp->tv_nsec = 0; 120 getnanouptime(tsp); 124 TIMEVAL_TO_TIMESPEC(&tv, tsp); 127 nanouptime(tsp); 131 getnanouptime(tsp); 189 snd_timestamp(&c->tsp); 297 snd_clone_gettime(struct snd_clone *c, struct timespec *tsp) argument 328 snd_clone_getdevtime(struct cdev *dev, struct timespec *tsp) argument [all...] |
/freebsd-9.3-release/sys/kern/ |
H A D | subr_fattime.c | 138 timespec2fattime(struct timespec *tsp, int utc, uint16_t *ddp, uint16_t *dtp, uint8_t *dhp) argument 143 t1 = tsp->tv_sec; 148 *dhp = (tsp->tv_sec & 1) * 100 + tsp->tv_nsec / 10000000; 218 fattime2timespec(unsigned dd, unsigned dt, unsigned dh, int utc, struct timespec *tsp) argument 223 tsp->tv_sec = (dt & 0x1f) << 1; 224 tsp->tv_sec += ((dt & 0x7e0) >> 5) * 60; 225 tsp->tv_sec += ((dt & 0xf800) >> 11) * 3600; 226 tsp->tv_sec += dh / 100; 227 tsp [all...] |
/freebsd-9.3-release/include/protocols/ |
H A D | timed.h | 44 struct tsp { struct
|
/freebsd-9.3-release/lib/libthr/thread/ |
H A D | thr_join.c | 80 struct timespec ts, ts2, *tsp; local 122 tsp = &ts2; 124 tsp = NULL; 125 ret = _thr_umtx_wait(&pthread->tid, tid, tsp);
|
H A D | thr_rwlock.c | 126 struct timespec ts, ts2, *tsp; local 171 tsp = &ts2; 173 tsp = NULL; 176 ret = __thr_rwlock_rdlock(&prwlock->lock, flags, tsp); 258 struct timespec ts, ts2, *tsp; local 284 tsp = &ts2; 286 tsp = NULL; 289 ret = __thr_rwlock_wrlock(&prwlock->lock, tsp);
|
H A D | thr_umtx.c | 225 struct timespec ts, ts2, *tsp; local 232 tsp = &ts2; 234 tsp = NULL; 238 tsp); 285 __thr_rwlock_rdlock(struct urwlock *rwlock, int flags, struct timespec *tsp) argument 287 return _umtx_op_err(rwlock, UMTX_OP_RW_RDLOCK, flags, NULL, tsp); 291 __thr_rwlock_wrlock(struct urwlock *rwlock, struct timespec *tsp) argument 293 return _umtx_op_err(rwlock, UMTX_OP_RW_WRLOCK, 0, NULL, tsp);
|
H A D | thr_umtx.h | 64 int __thr_rwlock_rdlock(struct urwlock *rwlock, int flags, struct timespec *tsp) __hidden; 65 int __thr_rwlock_wrlock(struct urwlock *rwlock, struct timespec *tsp) __hidden; 166 _thr_rwlock_rdlock(struct urwlock *rwlock, int flags, struct timespec *tsp) argument 170 return (__thr_rwlock_rdlock(rwlock, flags, tsp)); 174 _thr_rwlock_wrlock(struct urwlock *rwlock, struct timespec *tsp) argument 178 return (__thr_rwlock_wrlock(rwlock, tsp));
|
/freebsd-9.3-release/contrib/nvi/vi/ |
H A D | vs_refresh.c | 74 SCR *tsp; local 87 for (tsp = gp->dq.cqh_first; 88 tsp != (void *)&gp->dq; tsp = tsp->q.cqe_next) 89 if (tsp != sp) 90 F_SET(tsp, SC_SCR_REDRAW | SC_STATUS); 105 for (tsp = gp->dq.cqh_first; 106 tsp != (void *)&gp->dq; tsp [all...] |
/freebsd-9.3-release/usr.bin/lex/ |
H A D | dfa.c | 252 int stkpos, ns, tsp; local 335 tsp = trans1[ns] + MARKER_DIFFERENCE; 337 if ( tsp != NO_TRANSITION ) 339 if ( ! IS_MARKED(tsp) ) 340 STACK_STATE(tsp) 342 tsp = trans2[ns]; 344 if ( tsp != NO_TRANSITION && ! IS_MARKED(tsp) ) 345 STACK_STATE(tsp) 930 int ns, tsp, sy local [all...] |
/freebsd-9.3-release/contrib/ntp/libntp/ |
H A D | systime.c | 130 struct timespec * tsp 137 rc = clock_gettime(CLOCK_REALTIME, tsp); 139 rc = getclock(TIMEOFDAY, tsp); 144 tsp->tv_sec = tv.tv_sec; 145 tsp->tv_nsec = tv.tv_usec * 1000; 154 ticks = (long)((tsp->tv_nsec * 1e-9) / sys_tick); 155 tsp->tv_nsec = (long)(ticks * 1e9 * sys_tick);
|