Searched refs:tsp (Results 1 - 25 of 72) sorted by relevance

123

/netbsd-6-1-5-RELEASE/usr.sbin/timed/timed/
H A Dtspname.c42 set_tsp_name(struct tsp *tsp, const char *name) argument
44 (void)strncpy(tsp->tsp_name, name, sizeof(tsp->tsp_name));
45 tsp->tsp_name[sizeof(tsp->tsp_name) - 1] = '\0';
49 get_tsp_name(const struct tsp *tsp, char *name, size_t size) argument
51 size = MIN(size, sizeof(tsp->tsp_name));
53 (void)strncpy(name, tsp
[all...]
H A Dtimed-extern.h38 struct tsp;
44 struct tsp *readmsg(int, char *, struct timeval *, struct netinfo *);
45 struct tsp *acksend(struct tsp *,
49 void adj_msg_time(struct tsp *, struct timeval *);
50 void bytehostorder(struct tsp *);
51 void bytenetorder(struct tsp *);
52 void byteorder(struct tsp *);
57 void doquit(struct tsp *);
72 void newslave(struct tsp *);
[all...]
H A Dacksend.c44 struct tsp *answer;
51 static struct tsp msg;
63 sendtsp(int s, struct tsp *msg, struct sockaddr_in *addr)
83 struct tsp *
84 acksend(struct tsp *message, /* this message */
H A Dbyteorder.c46 bytenetorder(struct tsp *ptr)
65 bytehostorder(struct tsp *ptr)
/netbsd-6-1-5-RELEASE/usr.sbin/timed/timedc/
H A Dtimedc-extern.h34 struct tsp;
36 void bytehostorder(struct tsp *);
37 void bytenetorder(struct tsp *);
/netbsd-6-1-5-RELEASE/external/bsd/tcpdump/dist/
H A Dprint-timed.c55 struct tsp *tsp = (struct tsp *)bp; local
59 if (endof(tsp->tsp_type) > snapend) {
63 if (tsp->tsp_type < TSPTYPENUMBER)
64 printf("TSP_%s", tsptype[tsp->tsp_type]);
66 printf("(tsp_type %#x)", tsp->tsp_type);
68 if (endof(tsp->tsp_vers) > snapend) {
72 printf(" vers %d", tsp->tsp_vers);
74 if (endof(tsp
[all...]
H A Dtimed.h48 struct tsp { struct
/netbsd-6-1-5-RELEASE/lib/libc/compat/sys/
H A Dcompat__lwp_park.c60 struct timespec ts, *tsp; local
63 timespec50_to_timespec(ts50, tsp = &ts);
65 tsp = NULL;
66 return ___lwp_park50(tsp, unpark, hint, unparkhint);
H A Dcompat_adjtime.c62 struct timeval ts, *tsp; local
68 timeval50_to_timeval(ts50, tsp = &ts);
70 tsp = NULL;
71 error = __adjtime50(tsp, rtsp);
H A Dcompat_aio_suspend.c63 struct timespec ts, *tsp; local
66 timespec50_to_timespec(ts50, tsp = &ts);
68 tsp = NULL;
69 return __aio_suspend50(list, nent, tsp);
H A Dcompat_kevent.c57 struct timespec ts, *tsp; local
60 timespec50_to_timespec(ts50, tsp = &ts);
62 tsp = NULL;
63 return __kevent50(kq, changelist, nchanges, eventlist, nevents, tsp);
H A Dcompat_lfs_segwait.c58 struct timeval ts, *tsp; local
61 timeval50_to_timeval(ts50, tsp = &ts);
63 tsp = NULL;
64 return __lfs_segwait50(fsid, tsp);
H A Dcompat_nanosleep.c62 struct timespec ts, *tsp; local
68 timespec50_to_timespec(ts50, tsp = &ts);
70 tsp = NULL;
71 error = __nanosleep50(tsp, rtsp);
H A Dcompat_mqueue.c66 struct timespec ts, *tsp; local
69 timespec50_to_timespec(ts50, tsp = &ts);
71 tsp = NULL;
72 return __mq_timedreceive50(mq, name, len, buf, tsp);
79 struct timespec ts, *tsp; local
82 timespec50_to_timespec(ts50, tsp = &ts);
84 tsp = NULL;
85 return __mq_timedsend50(mq, name, len, buf, tsp);
/netbsd-6-1-5-RELEASE/dist/nvi/vi/
H A Dvs_split.c302 SCR *tsp; local
309 for (tsp = wp->scrq.cqh_first;
310 tsp != (void *)&wp->scrq; tsp = tsp->q.cqe_next)
311 if (tsp->roff >= sp->roff)
317 for (; tsp != (void *)&wp->scrq; tsp = tsp->q.cqe_next)
318 if (tsp
345 SCR *tsp, **lp, *list[100]; local
463 SCR **lp, *tsp; local
[all...]
/netbsd-6-1-5-RELEASE/dist/nvi/ex/
H A Dex_screen.c106 SCR *tsp; local
111 if ((tsp = gp->hq.cqh_first) == (void *)&gp->hq) {
117 for (cnt = 1; tsp != (void *)&gp->hq && !INTERRUPTED(sp);
118 tsp = tsp->q.cqe_next) {
119 col += len = strlen(tsp->frp->name) + sep;
128 (void)ex_puts(sp, tsp->frp->name);
H A Dex_visual.c41 SCR *tsp; local
142 tsp = sp;
143 if (vi(&tsp))
/netbsd-6-1-5-RELEASE/sys/fs/smbfs/
H A Dsmbfs_subr.c115 smb_time_local2server(struct timespec *tsp, int tzoff, u_long *seconds) argument
117 *seconds = tsp->tv_sec - tzoff * 60 /*- tz.tz_minuteswest * 60 -
122 smb_time_server2local(u_long seconds, int tzoff, struct timespec *tsp) argument
124 tsp->tv_sec = seconds + tzoff * 60;
137 smb_time_NT2local(int64_t nsec, int tzoff, struct timespec *tsp) argument
139 smb_time_server2local(nsec / 10000000 - DIFF1970TO1601, 0, tsp);
143 smb_time_local2NT(struct timespec *tsp, int tzoff, int64_t *nsec) argument
147 smb_time_local2server(tsp, 0, &seconds);
152 smb_time_unix2dos(struct timespec *tsp, int tzoff, u_int16_t *ddp, argument
162 smb_time_local2server(tsp, tzof
219 smb_dos2unixtime(u_int dd, u_int dt, u_int dh, int tzoff, struct timespec *tsp) argument
[all...]
/netbsd-6-1-5-RELEASE/games/monop/
H A Dgetinp.c108 const char *sp, *tsp; local
112 for (sp = buf, tsp = s1; *sp; ) {
113 c = tolower((unsigned char)*tsp);
114 tsp++;
/netbsd-6-1-5-RELEASE/sys/sys/
H A Dtime.h200 #define timespecclear(tsp) (tsp)->tv_sec = (time_t)((tsp)->tv_nsec = 0L)
201 #define timespecisset(tsp) ((tsp)->tv_sec || (tsp)->tv_nsec)
202 #define timespeccmp(tsp, usp, cmp) \
203 (((tsp)->tv_sec == (usp)->tv_sec) ? \
204 ((tsp)->tv_nsec cmp (usp)->tv_nsec) : \
205 ((tsp)
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/alpha/pci/
H A Dtsc.c76 CFATTACH_DECL_NEW(tsp, 0, tspmatch, tspattach, NULL, NULL);
105 struct tsp_attach_args tsp; local
126 memset(&tsp, 0, sizeof tsp);
127 tsp.tsp_name = "tsp";
128 config_found(self, &tsp, NULL);
131 ++tsp.tsp_slot;
132 config_found(self, &tsp, tscprint);
139 register struct tsp_attach_args *tsp local
146 #define tsp macro
221 struct tsp_config *tsp = &tsp_configuration[tsp_console_hose]; local
[all...]
/netbsd-6-1-5-RELEASE/share/man/man4/man4.alpha/
H A DMakefile5 mcpcia.4 sableio.4 tcasic.4 tlsb.4 tsc.4 tsp.4 \
/netbsd-6-1-5-RELEASE/sys/arch/alpha/alpha/
H A Ddec_6600.c128 struct tsp_config *tsp; local
136 tsp = tsp_init(0, tsp_console_hose);
151 if(comcnattach(&tsp->pc_iot, 0x3f8, comcnrate,
163 (void) pckbc_cnattach(&tsp->pc_iot, IO_KBD, KBCMDP,
168 isa_display_console(&tsp->pc_iot, &tsp->pc_memt);
172 tsp = tsp_init(0, tsp_console_hose);
173 pci_display_console(&tsp->pc_iot, &tsp->pc_memt,
174 &tsp
223 struct tsp_attach_args *tsp = aux; local
[all...]
/netbsd-6-1-5-RELEASE/dist/nvi/common/
H A Dapi.c48 SCR *tsp; local
56 for (tsp = wp->scrq.cqh_first;
57 tsp != (void *)&wp->scrq; tsp = tsp->q.cqe_next)
59 if (id == tsp->id)
60 return (tsp);
61 } else if (!strcmp(name, tsp->frp->name))
62 return (tsp);
65 for (tsp
[all...]
/netbsd-6-1-5-RELEASE/include/protocols/
H A Dtimed.h44 struct tsp { struct

Completed in 233 milliseconds

123