/freebsd-10.1-release/sys/sys/ |
H A D | ttyhook.h | 43 typedef int th_rint_t(struct tty *tp, char c, int flags); 44 typedef size_t th_rint_bypass_t(struct tty *tp, const void *buf, size_t len); 45 typedef void th_rint_done_t(struct tty *tp); 46 typedef size_t th_rint_poll_t(struct tty *tp); 48 typedef size_t th_getc_inject_t(struct tty *tp, void *buf, size_t len); 49 typedef void th_getc_capture_t(struct tty *tp, const void *buf, size_t len); 50 typedef size_t th_getc_poll_t(struct tty *tp); 52 typedef void th_close_t(struct tty *tp); 72 #define ttyhook_softc(tp) ((tp) 77 ttyhook_rint(struct tty *tp, char c, int flags) argument 86 ttyhook_rint_bypass(struct tty *tp, const void *buf, size_t len) argument 95 ttyhook_rint_done(struct tty *tp) argument 104 ttyhook_rint_poll(struct tty *tp) argument 113 ttyhook_getc_inject(struct tty *tp, void *buf, size_t len) argument 122 ttyhook_getc_capture(struct tty *tp, const void *buf, size_t len) argument 131 ttyhook_getc_poll(struct tty *tp) argument 140 ttyhook_close(struct tty *tp) argument [all...] |
H A D | ttydevsw.h | 43 typedef int tsw_open_t(struct tty *tp); 44 typedef void tsw_close_t(struct tty *tp); 45 typedef void tsw_outwakeup_t(struct tty *tp); 46 typedef void tsw_inwakeup_t(struct tty *tp); 47 typedef int tsw_ioctl_t(struct tty *tp, u_long cmd, caddr_t data, 49 typedef int tsw_cioctl_t(struct tty *tp, int unit, u_long cmd, caddr_t data, 51 typedef int tsw_param_t(struct tty *tp, struct termios *t); 52 typedef int tsw_modem_t(struct tty *tp, int sigon, int sigoff); 53 typedef int tsw_mmap_t(struct tty *tp, vm_ooffset_t offset, 55 typedef void tsw_pktnotify_t(struct tty *tp, cha 81 ttydevsw_open(struct tty *tp) argument 90 ttydevsw_close(struct tty *tp) argument 99 ttydevsw_outwakeup(struct tty *tp) argument 112 ttydevsw_inwakeup(struct tty *tp) argument 125 ttydevsw_ioctl(struct tty *tp, u_long cmd, caddr_t data, struct thread *td) argument 134 ttydevsw_cioctl(struct tty *tp, int unit, u_long cmd, caddr_t data, struct thread *td) argument 143 ttydevsw_param(struct tty *tp, struct termios *t) argument 151 ttydevsw_modem(struct tty *tp, int sigon, int sigoff) argument 159 ttydevsw_mmap(struct tty *tp, vm_ooffset_t offset, vm_paddr_t *paddr, int nprot, vm_memattr_t *memattr) argument 168 ttydevsw_pktnotify(struct tty *tp, char event) argument 177 ttydevsw_free(struct tty *tp) argument [all...] |
H A D | ttydisc.h | 45 void ttydisc_open(struct tty *tp); 46 void ttydisc_close(struct tty *tp); 47 int ttydisc_read(struct tty *tp, struct uio *uio, int ioflag); 48 int ttydisc_write(struct tty *tp, struct uio *uio, int ioflag); 49 void ttydisc_optimize(struct tty *tp); 52 void ttydisc_modem(struct tty *tp, int open); 53 #define ttydisc_can_bypass(tp) ((tp)->t_flags & TF_BYPASS) 54 int ttydisc_rint(struct tty *tp, char c, int flags); 55 size_t ttydisc_rint_simple(struct tty *tp, cons 70 ttydisc_read_poll(struct tty *tp) argument 79 ttydisc_write_poll(struct tty *tp) argument [all...] |
/freebsd-10.1-release/usr.sbin/dumpcis/ |
H A D | readcis.h | 49 #define tpl32(tp) ((*((tp) + 3) << 24) | \ 50 (*((tp) + 2) << 16) | \ 51 (*((tp) + 1) << 8) | *(tp)) 52 #define tpl24(tp) ((*((tp) + 2) << 16) | \ 53 (*((tp) + 1) << 8) | *(tp)) 54 #define tpl16(tp) ((*((t [all...] |
/freebsd-10.1-release/contrib/ncurses/ncurses/trace/ |
H A D | trace_xnames.c | 42 _nc_trace_xnames(TERMTYPE * tp GCC_UNUSED) 46 int limit = tp->ext_Booleans + tp->ext_Numbers + tp->ext_Strings; 49 int begin_num = tp->ext_Booleans; 50 int begin_str = tp->ext_Booleans + tp->ext_Numbers; 53 tp->term_names, 55 tp->ext_Booleans, tp [all...] |
/freebsd-10.1-release/contrib/atf/atf-c/ |
H A D | atf_c_test.c | 44 ATF_TP_ADD_TCS(tp) 47 ATF_TP_ADD_TC(tp, include);
|
/freebsd-10.1-release/lib/libc/powerpc/gen/ |
H A D | _set_tp.c | 32 register void *tp __asm__("r2"); 34 __asm __volatile("mr %0,%1" : "=r"(tp) : "r"((char*)tpval + 0x7008));
|
/freebsd-10.1-release/lib/libc/powerpc64/gen/ |
H A D | _set_tp.c | 32 register void *tp __asm__("r13"); 34 __asm __volatile("mr %0,%1" : "=r"(tp) : "r"((char*)tpval + 0x7010));
|
/freebsd-10.1-release/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-10.1-release/sys/kern/ |
H A D | tty.c | 72 static void tty_rel_free(struct tty *tp); 96 #define TTY_CALLOUT(tp,d) (dev2unit(d) & TTYUNIT_CALLOUT) 105 tty_watermarks(struct tty *tp) argument 110 if (tp->t_termios.c_cflag & CREAD) 111 bs = MIN(tp->t_termios.c_ispeed / 5, TTYBUF_MAX); 112 ttyinq_setsize(&tp->t_inq, tp, bs); 115 tp->t_inlow = (ttyinq_getallocatedsize(&tp->t_inq) * 9) / 10; 118 bs = MIN(tp 126 tty_drain(struct tty *tp) argument 159 ttydev_enter(struct tty *tp) argument 173 ttydev_leave(struct tty *tp) argument 224 struct tty *tp; local 322 struct tty *tp = dev->si_drv1; local 359 tty_is_ctty(struct tty *tp, struct proc *p) argument 367 tty_wait_background(struct tty *tp, struct thread *td, int sig) argument 432 struct tty *tp = dev->si_drv1; local 453 struct tty *tp = dev->si_drv1; local 491 struct tty *tp = dev->si_drv1; local 576 struct tty *tp = dev->si_drv1; local 614 struct tty *tp = dev->si_drv1; local 635 struct tty *tp = kn->kn_hook; local 643 struct tty *tp = kn->kn_hook; local 659 struct tty *tp = kn->kn_hook; local 667 struct tty *tp = kn->kn_hook; local 694 struct tty *tp = dev->si_drv1; local 742 struct tty *tp; local 774 struct tty *tp = dev->si_drv1; local 826 tty_init_termios(struct tty *tp) argument 842 tty_init_console(struct tty *tp, speed_t s) argument 863 ttydevsw_defopen(struct tty *tp) argument 870 ttydevsw_defclose(struct tty *tp) argument 875 ttydevsw_defoutwakeup(struct tty *tp) argument 882 ttydevsw_definwakeup(struct tty *tp) argument 887 ttydevsw_defioctl(struct tty *tp, u_long cmd, caddr_t data, struct thread *td) argument 894 ttydevsw_defcioctl(struct tty *tp, int unit, u_long cmd, caddr_t data, struct thread *td) argument 901 ttydevsw_defparam(struct tty *tp, struct termios *t) argument 923 ttydevsw_defmodem(struct tty *tp, int sigon, int sigoff) argument 931 ttydevsw_defmmap(struct tty *tp, vm_ooffset_t offset, vm_paddr_t *paddr, int nprot, vm_memattr_t *memattr) argument 939 ttydevsw_defpktnotify(struct tty *tp, char event) argument 966 struct tty *tp; local 1016 struct tty *tp = arg; local 1040 tty_rel_free(struct tty *tp) argument 1068 tty_rel_pgrp(struct tty *tp, struct pgrp *pg) argument 1080 tty_rel_sess(struct tty *tp, struct session *sess) argument 1094 tty_rel_gone(struct tty *tp) argument 1115 tty_to_xtty(struct tty *tp, struct xtty *xt) argument 1139 struct tty *tp; local 1173 tty_vmakedevf(struct tty *tp, struct ucred *cred, int flags, const char *fmt, va_list ap) argument 1296 tty_makedevf(struct tty *tp, struct ucred *cred, int flags, const char *fmt, ...) argument 1310 tty_makedev(struct tty *tp, struct ucred *cred, const char *fmt, ...) argument 1324 tty_signal_sessleader(struct tty *tp, int sig) argument 1343 tty_signal_pgrp(struct tty *tp, int sig) argument 1366 tty_wakeup(struct tty *tp, int flags) argument 1384 tty_wait(struct tty *tp, struct cv *cv) argument 1406 tty_timedwait(struct tty *tp, struct cv *cv, int hz) argument 1428 tty_flush(struct tty *tp, int flags) argument 1445 tty_set_winsize(struct tty *tp, const struct winsize *wsz) argument 1455 tty_generic_ioctl(struct tty *tp, u_long cmd, void *data, int fflag, struct thread *td) argument 1801 tty_ioctl(struct tty *tp, u_long cmd, void *data, int fflag, struct thread *td) argument 1818 tty_udev(struct tty *tp) argument 1827 tty_checkoutq(struct tty *tp) argument 1835 tty_hiwat_in_block(struct tty *tp) argument 1855 tty_hiwat_in_unblock(struct tty *tp) argument 1882 ttyhook_defrint(struct tty *tp, char c, int flags) argument 1895 struct tty *tp; local 1968 ttyhook_unregister(struct tty *tp) argument 1992 struct tty *tp; local 2167 struct tty *tp; local 2228 struct tty *tp; local [all...] |
H A D | tty_ttydisc.c | 59 #define CMP_CC(v,c) (tp->t_termios.c_cc[v] != _POSIX_VDISABLE && \ 60 tp->t_termios.c_cc[v] == (c)) 61 #define CMP_FLAG(field,opt) (tp->t_termios.c_ ## field ## flag & (opt)) 85 ttydisc_open(struct tty *tp) argument 87 ttydisc_optimize(tp); 91 ttydisc_close(struct tty *tp) argument 95 tp->t_flags &= ~(TF_STOPPED|TF_HIWAT|TF_ZOMBIE); 98 ttyinq_flush(&tp->t_inq); 99 ttyoutq_flush(&tp->t_outq); 101 if (!tty_gone(tp)) { 111 ttydisc_read_canonical(struct tty *tp, struct uio *uio, int ioflag) argument 184 ttydisc_read_raw_no_timer(struct tty *tp, struct uio *uio, int ioflag) argument 223 ttydisc_read_raw_read_timer(struct tty *tp, struct uio *uio, int ioflag, int oresid) argument 277 ttydisc_read_raw_interbyte_timer(struct tty *tp, struct uio *uio, int ioflag) argument 326 ttydisc_read(struct tty *tp, struct uio *uio, int ioflag) argument 369 ttydisc_write_oproc(struct tty *tp, char c) argument 455 ttydisc_write(struct tty *tp, struct uio *uio, int ioflag) argument 575 ttydisc_optimize(struct tty *tp) argument 595 ttydisc_modem(struct tty *tp, int open) argument 630 ttydisc_echo_force(struct tty *tp, char c, int quote) argument 666 ttydisc_echo(struct tty *tp, char c, int quote) argument 683 struct tty *tp = d; local 689 ttydisc_reprint(struct tty *tp) argument 704 struct tty *tp; member in struct:ttydisc_recalc_length 712 struct tty *tp = data->tp; local 725 ttydisc_recalc_linelength(struct tty *tp) argument 735 ttydisc_rubchar(struct tty *tp) argument 808 ttydisc_rubword(struct tty *tp) argument 840 ttydisc_rint(struct tty *tp, char c, int flags) argument 1069 ttydisc_rint_simple(struct tty *tp, const void *buf, size_t len) argument 1085 ttydisc_rint_bypass(struct tty *tp, const void *buf, size_t len) argument 1107 ttydisc_rint_done(struct tty *tp) argument 1122 ttydisc_rint_poll(struct tty *tp) argument 1145 ttydisc_wakeup_watermark(struct tty *tp) argument 1166 ttydisc_getc(struct tty *tp, void *buf, size_t len) argument 1189 ttydisc_getc_uio(struct tty *tp, struct uio *uio) argument 1234 ttydisc_getc_poll(struct tty *tp) argument 1255 tty_putchar(struct tty *tp, char c) argument [all...] |
/freebsd-10.1-release/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-10.1-release/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-10.1-release/lib/libc/arm/gen/ |
H A D | _set_tp.c | 35 _set_tp(void *tp) argument 39 *((struct tcb **)ARM_TP_ADDRESS) = tp; 41 sysarch(ARM_SET_TP, tp);
|
/freebsd-10.1-release/lib/libc/amd64/gen/ |
H A D | _set_tp.c | 34 _set_tp(void *tp) argument 37 amd64_set_fsbase(tp);
|
/freebsd-10.1-release/lib/libc/i386/gen/ |
H A D | _set_tp.c | 36 _set_tp(void *tp) argument 39 i386_set_gsbase(tp);
|
/freebsd-10.1-release/lib/libc/mips/gen/ |
H A D | _set_tp.c | 35 _set_tp(void *tp) argument 38 sysarch(MIPS_SET_TLS, tp);
|
/freebsd-10.1-release/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-10.1-release/sys/netinet/ |
H A D | tcp_timer.c | 174 struct tcpcb *tp = xtp; local 176 CURVNET_SET(tp->t_vnet); 178 inp = tp->t_inpcb; 192 if (callout_pending(&tp->t_timers->tt_delack) || 193 !callout_active(&tp->t_timers->tt_delack)) { 198 callout_deactivate(&tp->t_timers->tt_delack); 205 tp->t_flags |= TF_ACKNOW; 207 (void) tcp_output(tp); 215 struct tcpcb *tp = xtp; local 217 CURVNET_SET(tp 295 struct tcpcb *tp = xtp; local 399 struct tcpcb *tp = xtp; local 485 struct tcpcb *tp = xtp; local 649 tcp_timer_activate(struct tcpcb *tp, int timer_type, u_int delta) argument 693 tcp_timer_active(struct tcpcb *tp, int timer_type) argument 722 tcp_timer_to_xtimer(struct tcpcb *tp, struct tcp_timer *timer, struct xtcp_timer *xtimer) argument [all...] |
H A D | tcp_input.c | 232 static void inline cc_ack_received(struct tcpcb *tp, struct tcphdr *th, 234 static void inline cc_conn_init(struct tcpcb *tp); 235 static void inline cc_post_recovery(struct tcpcb *tp, struct tcphdr *th); 236 static void inline hhook_run_tcp_est_in(struct tcpcb *tp, 265 hhook_run_tcp_est_in(struct tcpcb *tp, struct tcphdr *th, struct tcpopt *to) argument 270 hhook_data.tp = tp; 275 tp->osd); 283 cc_ack_received(struct tcpcb *tp, struct tcphdr *th, uint16_t type) argument 285 INP_WLOCK_ASSERT(tp 315 cc_conn_init(struct tcpcb *tp) argument 386 cc_cong_signal(struct tcpcb *tp, struct tcphdr *th, uint32_t type) argument 438 cc_post_recovery(struct tcpcb *tp, struct tcphdr *th) argument 540 struct tcpcb *tp = NULL; local 1432 tcp_do_segment(struct mbuf *m, struct tcphdr *th, struct socket *so, struct tcpcb *tp, int drop_hdrlen, int tlen, uint8_t iptos, int ti_locked) argument 3111 tcp_dropwithreset(struct mbuf *m, struct tcphdr *th, struct tcpcb *tp, int tlen, int rstreason) argument 3276 struct tcpcb *tp = sototcpcb(so); local 3301 tcp_xmit_timer(struct tcpcb *tp, int rtt) argument 3401 tcp_mss_update(struct tcpcb *tp, int offer, int mtuoffer, struct hc_metrics_lite *metricptr, struct tcp_ifcap *cap) argument 3566 tcp_mss(struct tcpcb *tp, int offer) argument 3679 tcp_newreno_partial_ack(struct tcpcb *tp, struct tcphdr *th) argument [all...] |
H A D | tcp_offload.c | 92 tcp_offload_listen_start(struct tcpcb *tp) argument 95 INP_WLOCK_ASSERT(tp->t_inpcb); 97 EVENTHANDLER_INVOKE(tcp_offload_listen_start, tp); 101 tcp_offload_listen_stop(struct tcpcb *tp) argument 104 INP_WLOCK_ASSERT(tp->t_inpcb); 106 EVENTHANDLER_INVOKE(tcp_offload_listen_stop, tp); 110 tcp_offload_input(struct tcpcb *tp, struct mbuf *m) argument 112 struct toedev *tod = tp->tod; 114 KASSERT(tod != NULL, ("%s: tp->tod is NULL, tp 121 tcp_offload_output(struct tcpcb *tp) argument 146 tcp_offload_rcvd(struct tcpcb *tp) argument 157 tcp_offload_ctloutput(struct tcpcb *tp, int sopt_dir, int sopt_name) argument 168 tcp_offload_detach(struct tcpcb *tp) argument [all...] |
/freebsd-10.1-release/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-10.1-release/contrib/ncurses/include/ |
H A D | term_entry.h | 73 #define NUM_BOOLEANS(tp) (tp)->num_Booleans 74 #define NUM_NUMBERS(tp) (tp)->num_Numbers 75 #define NUM_STRINGS(tp) (tp)->num_Strings 76 #define EXT_NAMES(tp,i,limit,index,table) (i >= limit) ? tp->ext_Names[index] : table[i] 78 #define NUM_BOOLEANS(tp) BOOLCOUNT 79 #define NUM_NUMBERS(tp) NUMCOUN [all...] |
/freebsd-10.1-release/contrib/mdocml/ |
H A D | tbl_term.c | 63 term_tbl(struct termp *tp, const struct tbl_span *sp) argument 71 rmargin = tp->rmargin; 72 maxrmargin = tp->maxrmargin; 74 tp->rmargin = tp->maxrmargin = TERM_MAXMARGIN; 78 tp->flags |= TERMP_NONOSPACE; 79 tp->flags |= TERMP_NOSPACE; 87 term_flushln(tp); 89 tp->tbl.len = term_tbl_len; 90 tp 220 tbl_rulewidth(struct termp *tp, const struct tbl_head *hp) argument 244 tbl_hrule(struct termp *tp, const struct tbl_span *sp) argument 266 tbl_hframe(struct termp *tp, const struct tbl_span *sp, int outer) argument 280 tbl_data(struct termp *tp, const struct tbl *tbl, const struct tbl_dat *dp, const struct roffcol *col) argument 338 tbl_vrule(struct termp *tp, const struct tbl_head *hp) argument 354 tbl_char(struct termp *tp, char c, size_t len) argument 369 tbl_literal(struct termp *tp, const struct tbl_dat *dp, const struct roffcol *col) argument 404 tbl_number(struct termp *tp, const struct tbl *tbl, const struct tbl_dat *dp, const struct roffcol *col) argument [all...] |
/freebsd-10.1-release/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...] |