/freebsd-11-stable/contrib/ncurses/ncurses/tinfo/ |
H A D | parse_entry.c | 69 TERMTYPE *tp = &(entryp->tterm); local 79 last = tp->ext_Booleans; 80 offset = tp->ext_Booleans; 81 tindex = tp->num_Booleans; 84 first = tp->ext_Booleans; 85 last = tp->ext_Numbers + first; 86 offset = (unsigned) (tp->ext_Booleans + tp->ext_Numbers); 87 tindex = tp->num_Numbers; 90 first = (unsigned) (tp 640 postprocess_termcap(TERMTYPE *tp, bool has_base) argument 927 postprocess_terminfo(TERMTYPE *tp) argument [all...] |
/freebsd-11-stable/sys/powerpc/mambo/ |
H A D | mambo_console.c | 59 static struct tty *tp = NULL; variable in typeref:struct:tty 86 tp = tty_alloc(&mambo_ttydevsw, NULL); 87 tty_init_console(tp, 0); 88 tty_makedev(tp, NULL, "%s", "mambocons"); 100 mambotty_outwakeup(struct tty *tp) argument 106 len = ttydisc_getc(tp, buf, sizeof buf); 118 tty_lock(tp); 120 ttydisc_rint(tp, c, 0); 121 ttydisc_rint_done(tp); 122 tty_unlock(tp); [all...] |
/freebsd-11-stable/sys/dev/nmdm/ |
H A D | nmdm.c | 102 nmdm_close(struct tty *tp) argument 108 np = tty_softc(tp); 117 tty_rel_gone(tp); 120 tty_lock(tp); 126 tty_lock(tp); 159 struct tty *tp; local 192 tp = ns->ns_part1.np_tty = tty_alloc_mutex(&nmdm_class, &ns->ns_part1, 195 error = tty_makedevf(tp, NULL, endc == 'A' ? TTYMK_CLONING : 0, 204 tp = ns->ns_part2.np_tty = tty_alloc_mutex(&nmdm_class, &ns->ns_part2, 207 error = tty_makedevf(tp, NUL 251 struct tty *tp, *otp; local 318 nmdm_param(struct tty *tp, struct termios *t) argument 376 nmdm_modem(struct tty *tp, int sigon, int sigoff) argument 401 nmdm_inwakeup(struct tty *tp) argument 410 nmdm_outwakeup(struct tty *tp) argument [all...] |
/freebsd-11-stable/cddl/contrib/opensolaris/common/ctf/ |
H A D | ctf_types.c | 31 ctf_get_ctt_size(const ctf_file_t *fp, const ctf_type_t *tp, ssize_t *sizep, argument 37 tp->ctt_size == CTF_LSIZE_SENT) { 38 size = CTF_TYPE_LSIZE(tp); 41 size = tp->ctt_size; 61 const ctf_type_t *tp; local 69 if ((tp = ctf_lookup_by_id(&fp, type)) == NULL) 72 (void) ctf_get_ctt_size(fp, tp, &size, &increment); 73 kind = LCTF_INFO_KIND(fp, tp->ctt_info); 80 ((uintptr_t)tp + increment); 82 for (n = LCTF_INFO_VLEN(fp, tp 112 const ctf_type_t *tp; local 151 const ctf_type_t *tp = LCTF_INDEX_TO_TYPEPTR(fp, id); local 172 const ctf_type_t *tp; local 241 const ctf_type_t *tp = local 347 const ctf_type_t *tp; local 396 const ctf_type_t *tp; local 460 const ctf_type_t *tp; local 476 const ctf_type_t *tp; local 531 const ctf_type_t *tp; local 652 const ctf_type_t *tp; local 722 const ctf_type_t *tp; local 750 const ctf_type_t *tp; local 787 const ctf_type_t *tp; local 831 const ctf_type_t *tp; local [all...] |
/freebsd-11-stable/contrib/apr/network_io/unix/ |
H A D | inet_ntop.c | 149 char tmp[sizeof "ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255"], *tp; local 203 tp = tmp; 207 *tp++ = ':'; 213 *tp++ = ':'; 218 if (!inet_ntop4(src+12, tp, sizeof tmp - (tp - tmp))) { 221 tp += strlen(tp); 224 tp += apr_snprintf(tp, sizeo [all...] |
/freebsd-11-stable/sys/dev/gxemul/cons/ |
H A D | gxemul_cons.c | 277 struct tty *tp; local 279 tp = tty_alloc(&gxemul_cons_ttydevsw, NULL); 280 tty_init_console(tp, 0); 281 tty_makedev(tp, NULL, "%s", "ttyu0"); 284 gxemul_cons_timeout, tp); 291 gxemul_cons_outwakeup(struct tty *tp) argument 301 len = ttydisc_getc(tp, &ch, sizeof(ch)); 313 struct tty *tp; local 316 tp = v; 317 tty_lock(tp); [all...] |
/freebsd-11-stable/contrib/netbsd-tests/lib/libm/ |
H A D | t_ceil.c | 864 ATF_TP_ADD_TCS(tp) 867 ATF_TP_ADD_TC(tp, ceil_basic); 868 ATF_TP_ADD_TC(tp, ceil_nan); 869 ATF_TP_ADD_TC(tp, ceil_inf_neg); 870 ATF_TP_ADD_TC(tp, ceil_inf_pos); 871 ATF_TP_ADD_TC(tp, ceil_zero_neg); 872 ATF_TP_ADD_TC(tp, ceil_zero_pos); 874 ATF_TP_ADD_TC(tp, ceilf_basic); 875 ATF_TP_ADD_TC(tp, ceilf_nan); 876 ATF_TP_ADD_TC(tp, ceilf_inf_ne [all...] |
H A D | t_log.c | 806 ATF_TP_ADD_TCS(tp) 809 ATF_TP_ADD_TC(tp, log10_base); 810 ATF_TP_ADD_TC(tp, log10_nan); 811 ATF_TP_ADD_TC(tp, log10_inf_neg); 812 ATF_TP_ADD_TC(tp, log10_inf_pos); 813 ATF_TP_ADD_TC(tp, log10_one_pos); 814 ATF_TP_ADD_TC(tp, log10_zero_neg); 815 ATF_TP_ADD_TC(tp, log10_zero_pos); 817 ATF_TP_ADD_TC(tp, log10f_base); 818 ATF_TP_ADD_TC(tp, log10f_na [all...] |
H A D | t_cos.c | 245 ATF_TP_ADD_TCS(tp) 248 ATF_TP_ADD_TC(tp, cos_angles); 249 ATF_TP_ADD_TC(tp, cos_nan); 250 ATF_TP_ADD_TC(tp, cos_inf_neg); 251 ATF_TP_ADD_TC(tp, cos_inf_pos); 252 ATF_TP_ADD_TC(tp, cos_zero_neg); 253 ATF_TP_ADD_TC(tp, cos_zero_pos); 255 ATF_TP_ADD_TC(tp, cosf_angles); 256 ATF_TP_ADD_TC(tp, cosf_nan); 257 ATF_TP_ADD_TC(tp, cosf_inf_ne [all...] |
H A D | t_cosh.c | 252 ATF_TP_ADD_TCS(tp) 255 ATF_TP_ADD_TC(tp, cosh_inrange); 256 ATF_TP_ADD_TC(tp, cosh_nan); 257 ATF_TP_ADD_TC(tp, cosh_inf_neg); 258 ATF_TP_ADD_TC(tp, cosh_inf_pos); 259 ATF_TP_ADD_TC(tp, cosh_zero_neg); 260 ATF_TP_ADD_TC(tp, cosh_zero_pos); 262 ATF_TP_ADD_TC(tp, coshf_inrange); 263 ATF_TP_ADD_TC(tp, coshf_nan); 264 ATF_TP_ADD_TC(tp, coshf_inf_ne [all...] |
H A D | t_sin.c | 245 ATF_TP_ADD_TCS(tp) 248 ATF_TP_ADD_TC(tp, sin_angles); 249 ATF_TP_ADD_TC(tp, sin_nan); 250 ATF_TP_ADD_TC(tp, sin_inf_neg); 251 ATF_TP_ADD_TC(tp, sin_inf_pos); 252 ATF_TP_ADD_TC(tp, sin_zero_neg); 253 ATF_TP_ADD_TC(tp, sin_zero_pos); 255 ATF_TP_ADD_TC(tp, sinf_angles); 256 ATF_TP_ADD_TC(tp, sinf_nan); 257 ATF_TP_ADD_TC(tp, sinf_inf_ne [all...] |
H A D | t_tan.c | 242 ATF_TP_ADD_TCS(tp) 245 ATF_TP_ADD_TC(tp, tan_angles); 246 ATF_TP_ADD_TC(tp, tan_nan); 247 ATF_TP_ADD_TC(tp, tan_inf_neg); 248 ATF_TP_ADD_TC(tp, tan_inf_pos); 249 ATF_TP_ADD_TC(tp, tan_zero_neg); 250 ATF_TP_ADD_TC(tp, tan_zero_pos); 252 ATF_TP_ADD_TC(tp, tanf_angles); 253 ATF_TP_ADD_TC(tp, tanf_nan); 254 ATF_TP_ADD_TC(tp, tanf_inf_ne [all...] |
/freebsd-11-stable/sys/netinet/ |
H A D | tcp_subr.c | 872 tcp_respond(struct tcpcb *tp, void *ipgen, struct tcphdr *th, struct mbuf *m, argument 888 KASSERT(tp != NULL || m != NULL, ("tcp_respond: tp and m both NULL")); 896 if (tp != NULL) { 897 inp = tp->t_inpcb; 905 if (tp != NULL) { 908 if (win > (long)TCP_MAXWIN << tp->rcv_scale) 909 win = (long)TCP_MAXWIN << tp->rcv_scale; 911 if ((tp->t_flags & TF_NOOPT) == 0) 1039 if (tp 1169 struct tcpcb *tp; local 1288 struct tcpcb *tp; local 1343 tcp_drop(struct tcpcb *tp, int errno) argument 1363 tcp_discardcb(struct tcpcb *tp) argument 1499 struct tcpcb *tp; local 1535 tcp_close(struct tcpcb *tp) argument 1636 struct tcpcb *tp; local 1939 struct tcpcb *tp; local 2052 struct tcpcb *tp; local 2329 struct tcpcb *tp; local 2366 struct tcpcb *tp; local 2483 tcp_maxseg(const struct tcpcb *tp) argument 2537 struct tcpcb *tp; local 2768 tcp_state_change(struct tcpcb *tp, int newstate) argument [all...] |
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_lwp_create.c | 206 ATF_TP_ADD_TCS(tp) 208 ATF_TP_ADD_TC(tp, lwp_create_works); 209 ATF_TP_ADD_TC(tp, lwp_create_generic_fail_no_uc_cpu); 211 ATF_TP_ADD_TC(tp, lwp_create_alpha_fail_pslset); 212 ATF_TP_ADD_TC(tp, lwp_create_alpha_fail_pslclr); 215 ATF_TP_ADD_TC(tp, lwp_create_amd64_fail_untouchable_rflags); 216 ATF_TP_ADD_TC(tp, lwp_create_amd64_fail_pc_too_high); 219 ATF_TP_ADD_TC(tp, lwp_create_arm_fail_invalid_mode); 222 ATF_TP_ADD_TC(tp, lwp_create_hppa_fail_invalid_1); 223 ATF_TP_ADD_TC(tp, lwp_create_hppa_fail_invalid_ [all...] |
/freebsd-11-stable/contrib/tcpdump/ |
H A D | print-atalk.c | 413 register const struct atNBPtuple *tp = local 431 if ((const u_char *)tp > ep) { 440 if ((const u_char *)(tp + 1) > ep) { 444 (void)nbp_name_print(ndo, tp, ep); 452 if (tp->enumerator) 453 ND_PRINT((ndo, " [enum=%d]", tp->enumerator)); 454 if (EXTRACT_16BITS(&tp->net) != snet || 455 tp->node != snode || tp->skt != skt) 457 ataddr_string(ndo, EXTRACT_16BITS(&tp 504 nbp_tuple_print(netdissect_options *ndo, register const struct atNBPtuple *tp, register const u_char *ep, register u_short snet, register u_char snode, register u_char skt) argument 533 nbp_name_print(netdissect_options *ndo, const struct atNBPtuple *tp, register const u_char *ep) argument 570 register struct hnamemem *tp, *tp2; local [all...] |
/freebsd-11-stable/lib/libc/inet/ |
H A D | inet_ntop.c | 114 char tmp[sizeof "ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255"], *tp; local 155 tp = tmp; 161 *tp++ = ':'; 166 *tp++ = ':'; 171 if (!inet_ntop4(src+12, tp, sizeof tmp - (tp - tmp))) { 175 tp += strlen(tp); 178 tp += sprintf(tp, " [all...] |
/freebsd-11-stable/sys/libkern/ |
H A D | inet_ntop.c | 102 char tmp[sizeof "ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255"], *tp; local 145 tp = tmp; 151 *tp++ = ':'; 156 *tp++ = ':'; 161 if (!inet_ntop4(src+12, tp, sizeof tmp - (tp - tmp))) 163 tp += strlen(tp); 166 tp += sprintf(tp, " [all...] |
/freebsd-11-stable/sys/kern/ |
H A D | subr_terminal.c | 189 struct tty *tp; local 191 tp = tm->tm_tty; 192 if (tp == NULL) 195 tty_lock(tp); 196 tty_set_winsize(tp, &tm->tm_winsize); 197 tty_unlock(tp); 203 struct tty *tp; local 211 tp = tty_alloc(&terminal_tty_class, tm); 212 tty_makedev(tp, NULL, "%s", name); 213 tm->tm_tty = tp; 279 struct tty *tp; local 332 struct tty *tp; local 347 struct tty *tp; local 369 termtty_open(struct tty *tp) argument 378 termtty_close(struct tty *tp) argument 386 termtty_outwakeup(struct tty *tp) argument 412 termtty_ioctl(struct tty *tp, u_long cmd, caddr_t data, struct thread *td) argument 457 termtty_mmap(struct tty *tp, vm_ooffset_t offset, vm_paddr_t * paddr, int nprot, vm_memattr_t *memattr) argument [all...] |
/freebsd-11-stable/lib/libc/tests/string/ |
H A D | memset_s_test.c | 185 ATF_TP_ADD_TCS(tp) 187 ATF_TP_ADD_TC(tp, null_ptr); 188 ATF_TP_ADD_TC(tp, smax_gt_rmax); 189 ATF_TP_ADD_TC(tp, smax_lt_zero); 190 ATF_TP_ADD_TC(tp, normal); 191 ATF_TP_ADD_TC(tp, n_gt_rmax); 192 ATF_TP_ADD_TC(tp, n_lt_zero); 193 ATF_TP_ADD_TC(tp, n_gt_smax); 194 ATF_TP_ADD_TC(tp, n_lt_smax); 195 ATF_TP_ADD_TC(tp, smax_gt_rmax_handle [all...] |
/freebsd-11-stable/usr.bin/netstat/ |
H A D | main.c | 236 struct protox *tp = NULL; /* for printing cblocks & stats */ local 346 if ((tp = name2protox(optarg)) == NULL) { 515 if (tp) { 517 printproto(tp, tp->pr_name, &first); 527 for (tp = protox; tp->pr_name; tp++) 528 printproto(tp, tp 602 printproto(struct protox *tp, const char *name, bool *first) argument 813 struct protox **tpp, *tp; local 828 struct protox *tp; local [all...] |
/freebsd-11-stable/contrib/nvi/ex/ |
H A D | ex_tag.c | 146 TAG *tp; local 156 if ((tp = TAILQ_NEXT(tqp->current, q)) == NULL) { 160 if (ex_tag_nswitch(sp, tp, FL_ISSET(cmdp->iflags, E_C_FORCE))) 162 tqp->current = tp; 165 (void)cscope_search(sp, tqp, tp); 167 (void)ctag_search(sp, tp->search, tp->slen, tqp->tag); 186 TAG *tp; local 196 if ((tp = TAILQ_PREV(tqp->current, _tagqh, q)) == NULL) { 200 if (ex_tag_nswitch(sp, tp, FL_ISSE 223 ex_tag_nswitch(SCR *sp, TAG *tp, int force) argument 257 ex_tag_Nswitch(SCR *sp, TAG *tp, int force) argument 415 TAG *tp; local 468 TAG *tp; local 546 TAG *ap, *tp; local 636 TAG *tp; local 686 TAG *tp; local 1033 TAG *tp; local [all...] |
/freebsd-11-stable/contrib/netbsd-tests/lib/libutil/ |
H A D | t_efun.c | 124 ATF_TP_ADD_TCS(tp) 129 ATF_TP_ADD_TC(tp, ecalloc); 130 ATF_TP_ADD_TC(tp, efopen); 131 ATF_TP_ADD_TC(tp, emalloc); 132 ATF_TP_ADD_TC(tp, erealloc);
|
/freebsd-11-stable/lib/libc/tests/stdio/ |
H A D | print_positional_test.c | 148 ATF_TP_ADD_TCS(tp) 151 ATF_TP_ADD_TC(tp, positional_normal); 152 ATF_TP_ADD_TC(tp, positional_wide); 153 ATF_TP_ADD_TC(tp, positional_precision); 154 ATF_TP_ADD_TC(tp, positional_precision_wide);
|
/freebsd-11-stable/contrib/nvi/vi/ |
H A D | v_at.c | 40 TEXT *tp; local 92 TAILQ_FOREACH_REVERSE(tp, cbp->textq, _texth, q) { 94 TAILQ_NEXT(tp, q) != NULL) && 96 v_event_push(sp, NULL, tp->lb, tp->len, 0))
|
/freebsd-11-stable/lib/libkvm/tests/ |
H A D | kvm_open_test.c | 95 ATF_TP_ADD_TCS(tp) 98 ATF_TP_ADD_TC(tp, kvm_open_negative_test_invalid_corefile); 99 ATF_TP_ADD_TC(tp, kvm_open_negative_test_invalid_execfile); 100 ATF_TP_ADD_TC(tp, kvm_open_negative_test_nonexistent_corefile); 101 ATF_TP_ADD_TC(tp, kvm_open_negative_test_nonexistent_execfile);
|