/freebsd-12-stable/contrib/netbsd-tests/lib/semaphore/pthread/ |
H A D | t_sem_pth.c | 4 ATF_TP_ADD_TCS(tp) 7 ATF_TP_ADD_TC(tp, postwait); 8 ATF_TP_ADD_TC(tp, initvalue); 9 ATF_TP_ADD_TC(tp, destroy); 10 ATF_TP_ADD_TC(tp, busydestroy); 11 ATF_TP_ADD_TC(tp, blockwait); 12 ATF_TP_ADD_TC(tp, blocktimedwait); 13 ATF_TP_ADD_TC(tp, named); 14 ATF_TP_ADD_TC(tp, unlink);
|
/freebsd-12-stable/sys/sys/ |
H A D | ttyhook.h | 45 typedef int th_rint_t(struct tty *tp, char c, int flags); 46 typedef size_t th_rint_bypass_t(struct tty *tp, const void *buf, size_t len); 47 typedef void th_rint_done_t(struct tty *tp); 48 typedef size_t th_rint_poll_t(struct tty *tp); 50 typedef size_t th_getc_inject_t(struct tty *tp, void *buf, size_t len); 51 typedef void th_getc_capture_t(struct tty *tp, const void *buf, size_t len); 52 typedef size_t th_getc_poll_t(struct tty *tp); 54 typedef void th_close_t(struct tty *tp); 74 #define ttyhook_softc(tp) ((tp) 79 ttyhook_rint(struct tty *tp, char c, int flags) argument 88 ttyhook_rint_bypass(struct tty *tp, const void *buf, size_t len) argument 97 ttyhook_rint_done(struct tty *tp) argument 106 ttyhook_rint_poll(struct tty *tp) argument 115 ttyhook_getc_inject(struct tty *tp, void *buf, size_t len) argument 124 ttyhook_getc_capture(struct tty *tp, const void *buf, size_t len) argument 133 ttyhook_getc_poll(struct tty *tp) argument 142 ttyhook_close(struct tty *tp) argument [all...] |
H A D | ttydevsw.h | 45 typedef int tsw_open_t(struct tty *tp); 46 typedef void tsw_close_t(struct tty *tp); 47 typedef void tsw_outwakeup_t(struct tty *tp); 48 typedef void tsw_inwakeup_t(struct tty *tp); 49 typedef int tsw_ioctl_t(struct tty *tp, u_long cmd, caddr_t data, 51 typedef int tsw_cioctl_t(struct tty *tp, int unit, u_long cmd, caddr_t data, 53 typedef int tsw_param_t(struct tty *tp, struct termios *t); 54 typedef int tsw_modem_t(struct tty *tp, int sigon, int sigoff); 55 typedef int tsw_mmap_t(struct tty *tp, vm_ooffset_t offset, 57 typedef void tsw_pktnotify_t(struct tty *tp, cha 86 ttydevsw_open(struct tty *tp) argument 96 ttydevsw_close(struct tty *tp) argument 106 ttydevsw_outwakeup(struct tty *tp) argument 120 ttydevsw_inwakeup(struct tty *tp) argument 134 ttydevsw_ioctl(struct tty *tp, u_long cmd, caddr_t data, struct thread *td) argument 144 ttydevsw_cioctl(struct tty *tp, int unit, u_long cmd, caddr_t data, struct thread *td) argument 155 ttydevsw_param(struct tty *tp, struct termios *t) argument 164 ttydevsw_modem(struct tty *tp, int sigon, int sigoff) argument 173 ttydevsw_mmap(struct tty *tp, vm_ooffset_t offset, vm_paddr_t *paddr, int nprot, vm_memattr_t *memattr) argument 183 ttydevsw_pktnotify(struct tty *tp, char event) argument 193 ttydevsw_free(struct tty *tp) argument 202 ttydevsw_busy(struct tty *tp) argument [all...] |
H A D | ttydisc.h | 47 void ttydisc_open(struct tty *tp); 48 void ttydisc_close(struct tty *tp); 49 int ttydisc_read(struct tty *tp, struct uio *uio, int ioflag); 50 int ttydisc_write(struct tty *tp, struct uio *uio, int ioflag); 51 void ttydisc_optimize(struct tty *tp); 54 void ttydisc_modem(struct tty *tp, int open); 55 #define ttydisc_can_bypass(tp) ((tp)->t_flags & TF_BYPASS) 56 int ttydisc_rint(struct tty *tp, char c, int flags); 57 size_t ttydisc_rint_simple(struct tty *tp, cons 72 ttydisc_read_poll(struct tty *tp) argument 81 ttydisc_write_poll(struct tty *tp) argument [all...] |
/freebsd-12-stable/usr.sbin/dumpcis/ |
H A D | readcis.h | 51 #define tpl32(tp) ((*((tp) + 3) << 24) | \ 52 (*((tp) + 2) << 16) | \ 53 (*((tp) + 1) << 8) | *(tp)) 54 #define tpl24(tp) ((*((tp) + 2) << 16) | \ 55 (*((tp) + 1) << 8) | *(tp)) 56 #define tpl16(tp) ((*((t [all...] |
/freebsd-12-stable/contrib/ncurses/ncurses/trace/ |
H A D | trace_xnames.c | 41 _nc_trace_xnames(TERMTYPE *tp GCC_UNUSED) 45 int limit = tp->ext_Booleans + tp->ext_Numbers + tp->ext_Strings; 48 int begin_num = tp->ext_Booleans; 49 int begin_str = tp->ext_Booleans + tp->ext_Numbers; 52 tp->term_names, 54 tp->ext_Booleans, tp [all...] |
/freebsd-12-stable/contrib/atf/atf-c/ |
H A D | atf_c_test.c | 40 ATF_TP_ADD_TCS(tp) 43 ATF_TP_ADD_TC(tp, include);
|
/freebsd-12-stable/contrib/gdb/gdb/ |
H A D | thread.c | 72 struct thread_info *tp; local 77 for (tp = thread_list; tp; tp = tp->next) 78 if (tp->step_resume_breakpoint == *breakpointp) 79 tp->step_resume_breakpoint = NULL; 86 free_thread (struct thread_info *tp) argument 90 if (tp->step_resume_breakpoint) 91 delete_breakpoint (tp 104 struct thread_info *tp, *tpnext; local 125 struct thread_info *tp; local 139 struct thread_info *tp, *tpprev; local 161 struct thread_info *tp; local 174 struct thread_info *tp; local 201 struct thread_info *tp; local 213 struct thread_info *tp; local 225 struct thread_info *tp; local 247 struct thread_info *tp; local 261 struct thread_info *tp; local 309 struct thread_info *tp; local 355 struct thread_info *tp; local 382 thread_alive(struct thread_info *tp) argument 397 struct thread_info *tp, *next; local 417 struct thread_info *tp; local 538 struct thread_info *tp; local 600 struct thread_info *tp; local 683 struct thread_info *tp; local [all...] |
/freebsd-12-stable/sys/netinet/ |
H A D | tcp_timer.c | 254 struct tcpcb *tp = xtp; local 256 CURVNET_SET(tp->t_vnet); 258 inp = tp->t_inpcb; 259 KASSERT(inp != NULL, ("%s: tp %p tp->t_inpcb == NULL", __func__, tp)); 261 if (callout_pending(&tp->t_timers->tt_delack) || 262 !callout_active(&tp->t_timers->tt_delack)) { 267 callout_deactivate(&tp->t_timers->tt_delack); 273 tp 281 tcp_inpinfo_lock_del(struct inpcb *inp, struct tcpcb *tp) argument 290 struct tcpcb *tp = xtp; local 381 struct tcpcb *tp = xtp; local 500 struct tcpcb *tp = xtp; local 587 struct tcpcb *tp = xtp; local 868 tcp_timer_activate(struct tcpcb *tp, uint32_t timer_type, u_int delta) argument 919 tcp_timer_active(struct tcpcb *tp, uint32_t timer_type) argument 957 tcp_timer_suspend(struct tcpcb *tp, uint32_t timer_type) argument 991 tcp_timers_unsuspend(struct tcpcb *tp, uint32_t timer_type) argument 1054 tcp_timer_stop(struct tcpcb *tp, uint32_t timer_type) argument [all...] |
H A D | tcp_offload.c | 95 tcp_offload_listen_start(struct tcpcb *tp) argument 98 INP_WLOCK_ASSERT(tp->t_inpcb); 100 EVENTHANDLER_INVOKE(tcp_offload_listen_start, tp); 104 tcp_offload_listen_stop(struct tcpcb *tp) argument 107 INP_WLOCK_ASSERT(tp->t_inpcb); 109 EVENTHANDLER_INVOKE(tcp_offload_listen_stop, tp); 113 tcp_offload_input(struct tcpcb *tp, struct mbuf *m) argument 115 struct toedev *tod = tp->tod; 117 KASSERT(tod != NULL, ("%s: tp->tod is NULL, tp 124 tcp_offload_output(struct tcpcb *tp) argument 149 tcp_offload_rcvd(struct tcpcb *tp) argument 160 tcp_offload_ctloutput(struct tcpcb *tp, int sopt_dir, int sopt_name) argument 171 tcp_offload_tcp_info(struct tcpcb *tp, struct tcp_info *ti) argument 182 tcp_offload_detach(struct tcpcb *tp) argument [all...] |
/freebsd-12-stable/contrib/tzcode/zic/ |
H A D | scheck.c | 28 register char * tp; local 40 tp = fbuf; 41 while ((*tp++ = c = *fp++) != '\0') { 45 *tp++ = *fp++; 48 *tp++ = '*'; 52 *tp++ = *fp++; 54 *tp++ = *fp++; 56 do *tp++ = *fp++; 58 if ((*tp++ = *fp++) == '\0') 61 *(tp [all...] |
/freebsd-12-stable/contrib/gcclibs/libiberty/ |
H A D | gettimeofday.c | 12 @deftypefn Supplemental int gettimeofday (struct timeval *@var{tp}, void *@var{tz}) 14 Writes the current time to @var{tp}. This implementation requires 22 gettimeofday (struct timeval *tp, void *tz) argument 26 tp->tv_usec = 0; 27 if (time (&tp->tv_sec) == (time_t) -1)
|
/freebsd-12-stable/lib/libc/arm/gen/ |
H A D | _set_tp.c | 38 _set_tp(void *tp) argument 42 *((struct tcb **)ARM_TP_ADDRESS) = tp; 44 sysarch(ARM_SET_TP, tp);
|
/freebsd-12-stable/usr.bin/mkuzip/ |
H A D | mkuz_time.c | 39 struct timespec tp; local 41 if (clock_gettime(CLOCK_MONOTONIC, &tp) == -1) 44 return timespec2dtime(&tp);
|
/freebsd-12-stable/lib/libc/amd64/gen/ |
H A D | _set_tp.c | 37 _set_tp(void *tp) argument 40 amd64_set_fsbase(tp);
|
/freebsd-12-stable/lib/libc/i386/gen/ |
H A D | _set_tp.c | 38 _set_tp(void *tp) argument 41 i386_set_gsbase(tp);
|
/freebsd-12-stable/lib/libc/mips/gen/ |
H A D | _set_tp.c | 38 _set_tp(void *tp) argument 41 sysarch(MIPS_SET_TLS, tp);
|
/freebsd-12-stable/contrib/nvi/ex/ |
H A D | ex_txt.c | 61 TEXT ait, *ntp, *tp; local 75 tp = TAILQ_FIRST(tiqh); 76 if (TAILQ_NEXT(tp, q) != NULL || tp->lb_len < 32) { 80 tp->len = 0; 82 newtp: if ((tp = text_init(sp, NULL, 0, 32)) == NULL) 84 TAILQ_INSERT_HEAD(tiqh, tp, q); 88 tp->lno = sp->lno + 1; 108 if (v_txt_auto(sp, sp->lno, NULL, 0, tp)) 111 txt_prompt(sp, tp, promp 356 txt_prompt(SCR *sp, TEXT *tp, ARG_CHAR_T prompt, u_int32_t flags) argument 380 txt_dent(SCR *sp, TEXT *tp) argument [all...] |
/freebsd-12-stable/contrib/ncurses/include/ |
H A D | term_entry.h | 91 #define NUM_BOOLEANS(tp) (tp)->num_Booleans 92 #define NUM_NUMBERS(tp) (tp)->num_Numbers 93 #define NUM_STRINGS(tp) (tp)->num_Strings 94 #define EXT_NAMES(tp,i,limit,index,table) (i >= limit) ? tp->ext_Names[index] : table[i] 96 #define NUM_BOOLEANS(tp) BOOLCOUNT 97 #define NUM_NUMBERS(tp) NUMCOUN [all...] |
/freebsd-12-stable/sys/kern/ |
H A D | tty_ttydisc.c | 61 #define CMP_CC(v,c) (tp->t_termios.c_cc[v] != _POSIX_VDISABLE && \ 62 tp->t_termios.c_cc[v] == (c)) 63 #define CMP_FLAG(field,opt) (tp->t_termios.c_ ## field ## flag & (opt)) 87 ttydisc_open(struct tty *tp) argument 89 ttydisc_optimize(tp); 93 ttydisc_close(struct tty *tp) argument 97 tp->t_flags &= ~(TF_STOPPED|TF_HIWAT|TF_ZOMBIE); 103 tty_flush(tp, FREAD | FWRITE); 105 if (ttyhook_hashook(tp, close)) 106 ttyhook_close(tp); 110 ttydisc_read_canonical(struct tty *tp, struct uio *uio, int ioflag) argument 183 ttydisc_read_raw_no_timer(struct tty *tp, struct uio *uio, int ioflag) argument 222 ttydisc_read_raw_read_timer(struct tty *tp, struct uio *uio, int ioflag, int oresid) argument 276 ttydisc_read_raw_interbyte_timer(struct tty *tp, struct uio *uio, int ioflag) argument 325 ttydisc_read(struct tty *tp, struct uio *uio, int ioflag) argument 368 ttydisc_write_oproc(struct tty *tp, char c) argument 454 ttydisc_write(struct tty *tp, struct uio *uio, int ioflag) argument 574 ttydisc_optimize(struct tty *tp) argument 594 ttydisc_modem(struct tty *tp, int open) argument 629 ttydisc_echo_force(struct tty *tp, char c, int quote) argument 665 ttydisc_echo(struct tty *tp, char c, int quote) argument 682 struct tty *tp = d; local 688 ttydisc_reprint(struct tty *tp) argument 703 struct tty *tp; member in struct:ttydisc_recalc_length 711 struct tty *tp = data->tp; local 724 ttydisc_recalc_linelength(struct tty *tp) argument 734 ttydisc_rubchar(struct tty *tp) argument 807 ttydisc_rubword(struct tty *tp) argument 839 ttydisc_rint(struct tty *tp, char c, int flags) argument 1068 ttydisc_rint_simple(struct tty *tp, const void *buf, size_t len) argument 1084 ttydisc_rint_bypass(struct tty *tp, const void *buf, size_t len) argument 1106 ttydisc_rint_done(struct tty *tp) argument 1121 ttydisc_rint_poll(struct tty *tp) argument 1144 ttydisc_wakeup_watermark(struct tty *tp) argument 1165 ttydisc_getc(struct tty *tp, void *buf, size_t len) argument 1188 ttydisc_getc_uio(struct tty *tp, struct uio *uio) argument 1233 ttydisc_getc_poll(struct tty *tp) argument 1254 tty_putchar(struct tty *tp, char c) argument [all...] |
H A D | tty.c | 73 static void tty_rel_free(struct tty *tp); 97 #define TTY_CALLOUT(tp,d) (dev2unit(d) & TTYUNIT_CALLOUT) 116 tty_watermarks(struct tty *tp) argument 122 if (tp->t_termios.c_cflag & CREAD) 123 bs = MIN(tp->t_termios.c_ispeed / 5, TTYBUF_MAX); 124 error = ttyinq_setsize(&tp->t_inq, tp, bs); 129 tp->t_inlow = (ttyinq_getallocatedsize(&tp->t_inq) * 9) / 10; 132 bs = MIN(tp 144 tty_drain(struct tty *tp, int leaving) argument 206 ttydev_enter(struct tty *tp) argument 221 ttydev_leave(struct tty *tp) argument 268 struct tty *tp; local 367 struct tty *tp = dev->si_drv1; local 405 tty_is_ctty(struct tty *tp, struct proc *p) argument 414 tty_wait_background(struct tty *tp, struct thread *td, int sig) argument 496 struct tty *tp = dev->si_drv1; local 517 struct tty *tp = dev->si_drv1; local 557 struct tty *tp = dev->si_drv1; local 642 struct tty *tp = dev->si_drv1; local 680 struct tty *tp = dev->si_drv1; local 701 struct tty *tp = kn->kn_hook; local 709 struct tty *tp = kn->kn_hook; local 725 struct tty *tp = kn->kn_hook; local 733 struct tty *tp = kn->kn_hook; local 761 struct tty *tp = dev->si_drv1; local 810 struct tty *tp; local 843 struct tty *tp = dev->si_drv1; local 895 tty_init_termios(struct tty *tp) argument 911 tty_init_console(struct tty *tp, speed_t s) argument 1049 struct tty *tp; local 1101 struct tty *tp = arg; local 1130 tty_rel_free(struct tty *tp) argument 1161 tty_rel_pgrp(struct tty *tp, struct pgrp *pg) argument 1174 tty_rel_sess(struct tty *tp, struct session *sess) argument 1189 tty_rel_gone(struct tty *tp) argument 1208 tty_drop_ctty(struct tty *tp, struct proc *p) argument 1277 tty_to_xtty(struct tty *tp, struct xtty *xt) argument 1302 struct tty *tp; local 1336 tty_makedevf(struct tty *tp, struct ucred *cred, int flags, const char *fmt, ...) argument 1468 tty_signal_sessleader(struct tty *tp, int sig) argument 1494 tty_signal_pgrp(struct tty *tp, int sig) argument 1517 tty_wakeup(struct tty *tp, int flags) argument 1536 tty_wait(struct tty *tp, struct cv *cv) argument 1558 tty_timedwait(struct tty *tp, struct cv *cv, int hz) argument 1580 tty_flush(struct tty *tp, int flags) argument 1604 tty_set_winsize(struct tty *tp, const struct winsize *wsz) argument 1614 tty_generic_ioctl(struct tty *tp, u_long cmd, void *data, int fflag, struct thread *td) argument 1972 tty_ioctl(struct tty *tp, u_long cmd, void *data, int fflag, struct thread *td) argument 1989 tty_udev(struct tty *tp) argument 1999 tty_checkoutq(struct tty *tp) argument 2007 tty_hiwat_in_block(struct tty *tp) argument 2027 tty_hiwat_in_unblock(struct tty *tp) argument 2054 ttyhook_defrint(struct tty *tp, char c, int flags) argument 2067 struct tty *tp; local 2140 ttyhook_unregister(struct tty *tp) argument 2164 struct tty *tp; local 2344 struct tty *tp; local 2404 struct tty *tp; local [all...] |
/freebsd-12-stable/contrib/file/python/ |
H A D | example.py | 7 tp = ms.file("/bin/ls") variable 8 print (tp) 14 tp = ms.buffer(buf) variable 15 print (tp)
|
/freebsd-12-stable/contrib/nvi/vi/ |
H A D | v_txt.c | 225 * Internally, we maintain tp->lno and tp->cno, externally, everyone uses 228 #define UPDATE_POSITION(sp, tp) { \ 229 (sp)->lno = (tp)->lno; \ 230 (sp)->cno = (tp)->cno; \ 255 TEXT *ntp, *tp; /* Input text structures. */ local 297 tp = TAILQ_FIRST(tiqh); 298 if (TAILQ_NEXT(tp, q) != NULL || 299 tp->lb_len < (len + 32) * sizeof(CHAR_T)) { 303 tp 1473 txt_abbrev(SCR *sp, TEXT *tp, CHAR_T *pushcp, int isinfoline, int *didsubp, int *turnoffp) argument 1639 txt_unmap(SCR *sp, TEXT *tp, u_int32_t *ec_flagsp) argument 1679 txt_ai_resolve(SCR *sp, TEXT *tp, int *changedp) argument 1766 v_txt_auto(SCR *sp, recno_t lno, TEXT *aitp, size_t len, TEXT *tp) argument 1816 txt_backup(SCR *sp, TEXTH *tiqh, TEXT *tp, u_int32_t *flagsp) argument 1891 txt_dent(SCR *sp, TEXT *tp, int isindent) argument 1992 txt_fc(SCR *sp, TEXT *tp, int *redrawp) argument 2267 txt_emark(SCR *sp, TEXT *tp, size_t cno) argument 2353 txt_hex(SCR *sp, TEXT *tp) argument 2433 txt_insch(SCR *sp, TEXT *tp, CHAR_T *chp, u_int flags) argument 2548 txt_isrch(SCR *sp, VICMD *vp, TEXT *tp, u_int8_t *is_flagsp) argument 2671 TEXT *tp; local 2722 txt_showmatch(SCR *sp, TEXT *tp) argument 2789 txt_margin(SCR *sp, TEXT *tp, TEXT *wmtp, int *didbreak, u_int32_t flags) argument 2865 txt_Rresolve(SCR *sp, TEXTH *tiqh, TEXT *tp, const size_t orig_len) argument [all...] |
/freebsd-12-stable/contrib/ntp/lib/isc/ |
H A D | inet_pton.c | 86 unsigned char tmp[NS_INADDRSZ], *tp; local 90 *(tp = tmp) = 0; 95 size_t newv = *tp * 10 + (pch - digits); 97 if (saw_digit && *tp == 0) 101 *tp = (unsigned char)newv; 110 *++tp = 0; 138 unsigned char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local 143 memset((tp = tmp), '\0', NS_IN6ADDRSZ); 144 endp = tp + NS_IN6ADDRSZ; 170 colonp = tp; [all...] |
/freebsd-12-stable/sys/libkern/ |
H A D | inet_pton.c | 83 u_char tmp[NS_INADDRSZ], *tp; local 87 *(tp = tmp) = 0; 92 u_int new = *tp * 10 + (pch - digits); 94 if (saw_digit && *tp == 0) 98 *tp = new; 107 *++tp = 0; 138 u_char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local 143 memset((tp = tmp), '\0', NS_IN6ADDRSZ); 144 endp = tp + NS_IN6ADDRSZ; 170 colonp = tp; [all...] |