/freebsd-10.1-release/contrib/tcsh/ |
H A D | tc.sched.c | 65 struct sched_event *tp, **pp; local 88 for (count = 1, tp = sched_ptr; tp; count++, tp = tp->t_next) { 91 buf = blkexpand(tp->t_lex); 93 str = tprintf(FMT_SCHED, fmt, short2str(buf), tp->t_when, &count); 113 tp = sched_ptr; 115 if (tp->t_next == 0) 118 pp = &tp 191 struct sched_event *tp; local [all...] |
/freebsd-10.1-release/sys/amd64/ia32/ |
H A D | ia32_reg.c | 83 struct trapframe *tp; local 85 tp = td->td_frame; 87 if (tp->tf_flags & TF_HASSEGS) { 88 regs->r_gs = tp->tf_gs; 89 regs->r_fs = tp->tf_fs; 90 regs->r_es = tp->tf_es; 91 regs->r_ds = tp->tf_ds; 98 regs->r_edi = tp->tf_rdi; 99 regs->r_esi = tp->tf_rsi; 100 regs->r_ebp = tp 117 struct trapframe *tp; local [all...] |
/freebsd-10.1-release/sys/dev/uart/ |
H A D | uart_tty.c | 141 uart_tty_open(struct tty *tp) argument 145 sc = tty_softc(tp); 155 uart_tty_close(struct tty *tp) argument 159 sc = tty_softc(tp); 176 uart_tty_outwakeup(struct tty *tp) argument 180 sc = tty_softc(tp); 191 if ((tp->t_termios.c_cflag & CCTS_OFLOW) && !sc->sc_hwoflow && 195 sc->sc_txdatasz = ttydisc_getc(tp, sc->sc_txbuf, sc->sc_txfifosz); 201 uart_tty_inwakeup(struct tty *tp) argument 205 sc = tty_softc(tp); 218 uart_tty_ioctl(struct tty *tp, u_long cmd, caddr_t data, struct thread *td) argument 237 uart_tty_param(struct tty *tp, struct termios *t) argument 288 uart_tty_modem(struct tty *tp, int biton, int bitoff) argument 302 struct tty *tp; local 379 struct tty *tp; local 403 struct tty *tp; local [all...] |
/freebsd-10.1-release/contrib/unbound/validator/ |
H A D | autotrust.c | 331 /** create tp */ 336 struct trust_anchor* tp = (struct trust_anchor*)calloc(1, sizeof(*tp)); local 337 if(!tp) return NULL; 338 tp->name = memdup(own, own_len); 339 if(!tp->name) { 340 free(tp); 343 tp->namelen = own_len; 344 tp->namelabs = dname_count_labels(tp 391 autr_point_delete(struct trust_anchor* tp) argument 420 struct trust_anchor* tp; local 439 add_trustanchor_frm_rr(struct val_anchors* anchors, uint8_t* rr, size_t rr_len, size_t dname_len, struct trust_anchor** tp) argument 471 add_trustanchor_frm_str(struct val_anchors* anchors, char* str, struct trust_anchor** tp, uint8_t* origin, size_t origin_len, uint8_t** prev, size_t* prev_len, int* skip) argument 529 struct trust_anchor* tp = NULL; local 740 autr_assemble(struct trust_anchor* tp) argument 810 struct trust_anchor *tp; local 850 struct trust_anchor* tp = *anchor; local 992 struct trust_anchor *tp = NULL, *tp2; local 1097 autr_write_contents(FILE* out, char* fn, struct trust_anchor* tp) argument 1171 autr_write_file(struct module_env* env, struct trust_anchor* tp) argument 1223 verify_dnskey(struct module_env* env, struct val_env* ve, struct trust_anchor* tp, struct ub_packed_rrset_key* rrset) argument 1378 find_key(struct trust_anchor* tp, uint16_t t, uint8_t* rdata, size_t rdata_len, struct autr_ta** result) argument 1398 add_key(struct trust_anchor* tp, uint32_t ttl, uint8_t* rdata, size_t rdata_len) argument 1438 set_tp_times(struct trust_anchor* tp, time_t rrsig_exp_interval, time_t origttl, int* changed) argument 1478 init_events(struct trust_anchor* tp) argument 1488 check_contains_revoked(struct module_env* env, struct val_env* ve, struct trust_anchor* tp, struct ub_packed_rrset_key* dnskey_rrset, int* changed) argument 1573 update_events(struct module_env* env, struct val_env* ve, struct trust_anchor* tp, struct ub_packed_rrset_key* dnskey_rrset, int* changed) argument 1808 init_zsk_to_ksk(struct module_env* env, struct trust_anchor* tp, int* changed) argument 1840 remove_missing_trustanchors(struct module_env* env, struct trust_anchor* tp, int* changed) argument 1902 do_statetable(struct module_env* env, struct trust_anchor* tp, int* changed) argument 1917 autr_holddown_exceed(struct module_env* env, struct trust_anchor* tp, int* c) argument 1929 autr_cleanup_keys(struct trust_anchor* tp) argument 2001 set_next_probe(struct module_env* env, struct trust_anchor* tp, struct ub_packed_rrset_key* dnskey_rrset) argument 2044 autr_tp_remove(struct module_env* env, struct trust_anchor* tp, struct ub_packed_rrset_key* dnskey_rrset) argument 2096 autr_process_prime(struct module_env* env, struct val_env* ve, struct trust_anchor* tp, struct ub_packed_rrset_key* dnskey_rrset) argument 2229 autr_debug_print_tp(struct trust_anchor* tp) argument 2268 struct trust_anchor* tp; local 2299 probe_anchor(struct module_env* env, struct trust_anchor* tp) argument 2345 struct trust_anchor* tp; local 2378 struct trust_anchor* tp; local [all...] |
/freebsd-10.1-release/contrib/tcpdump/ |
H A D | print-atalk.c | 386 register const struct atNBPtuple *tp = local 404 if ((const u_char *)tp > ep) { 414 if ((const u_char *)(tp + 1) > ep) { 418 (void)nbp_name_print(tp, ep); 426 if (tp->enumerator) 427 (void)printf(" [enum=%d]", tp->enumerator); 428 if (EXTRACT_16BITS(&tp->net) != snet || 429 tp->node != snode || tp->skt != skt) 431 ataddr_string(EXTRACT_16BITS(&tp 478 nbp_tuple_print(register const struct atNBPtuple *tp, register const u_char *ep, register u_short snet, register u_char snode, register u_char skt) argument 508 nbp_name_print(const struct atNBPtuple *tp, register const u_char *ep) argument 543 register struct hnamemem *tp, *tp2; local [all...] |
/freebsd-10.1-release/sys/netinet/ |
H A D | tcp_debug.c | 97 tcp_trace(short act, short ostate, struct tcpcb *tp, void *ipgen, argument 125 td->td_tcb = (caddr_t)tp; 126 if (tp != NULL) 127 td->td_cb = *tp; 161 if (tp != NULL) 162 printf("%p %s:", tp, tcpstates[ostate]); 210 if (tp != NULL) 211 printf(" -> %s", tcpstates[tp->t_state]); 212 /* print out internal state of tp !?! */ 214 if (tp [all...] |
/freebsd-10.1-release/crypto/heimdal/lib/kadm5/ |
H A D | free.c | 69 krb5_tl_data *tp; local 70 tp = princ->tl_data; 71 princ->tl_data = tp->tl_data_next; 73 memset(tp->tl_data_contents, 0, tp->tl_data_length); 74 free(tp->tl_data_contents); 75 free(tp);
|
/freebsd-10.1-release/sys/sparc64/sparc64/ |
H A D | tsb.c | 88 struct tte *tp; local 94 tp = tsb_kvtotte(va); 95 if (tte_match(tp, va)) 96 return (tp); 103 tp = &bucket[i]; 104 if (tte_match(tp, va)) 105 return (tp); 117 struct tte *tp; local 138 tp = tsb_kvtotte(va); 139 KASSERT((tp 205 struct tte *tp; local [all...] |
/freebsd-10.1-release/contrib/ncurses/ncurses/tinfo/ |
H A D | MKfallback.sh | 109 const TERMTYPE *tp; 111 for (tp = fallbacks; 112 tp < fallbacks + sizeof(fallbacks)/sizeof(TERMTYPE); 113 tp++) 114 if (_nc_name_match(tp->term_names, name, "|")) 115 return(tp);
|
H A D | write_entry.c | 66 write_file(char *filename, TERMTYPE *tp) argument 79 if (write_object(tp, buffer, &offset, limit) == ERR 248 _nc_write_entry(TERMTYPE *const tp) argument 278 assert(strlen(tp->term_names) != 0); 279 assert(strlen(tp->term_names) < sizeof(name_list)); 281 (void) strcpy(name_list, tp->term_names); 312 if (write_object(tp, buffer + 1, &offset, limit - 1) != ERR) { 320 key.data = tp->term_names; 321 key.size = strlen(tp->term_names); 334 strcpy(buffer + 1, tp 537 extended_Booleans(TERMTYPE *tp) argument 550 extended_Numbers(TERMTYPE *tp) argument 563 extended_Strings(TERMTYPE *tp) argument 580 extended_object(TERMTYPE *tp) argument 594 write_object(TERMTYPE *tp, char *buffer, unsigned *offset, unsigned limit) argument [all...] |
H A D | parse_entry.c | 70 TERMTYPE *tp = &(entryp->tterm); local 80 last = tp->ext_Booleans; 81 offset = tp->ext_Booleans; 82 tindex = tp->num_Booleans; 85 first = tp->ext_Booleans; 86 last = tp->ext_Numbers + first; 87 offset = tp->ext_Booleans + tp->ext_Numbers; 88 tindex = tp->num_Numbers; 91 first = tp 633 postprocess_termcap(TERMTYPE *tp, bool has_base) argument 914 postprocess_terminfo(TERMTYPE *tp) argument [all...] |
/freebsd-10.1-release/gnu/usr.bin/rcs/ident/ |
H A D | ident.c | 229 register char * tp; local 231 tp = line; 237 *tp++ = c; 238 if (tp < line+sizeof(line)-4) 245 if (tp == line) 247 *tp++ = c; 250 *tp++ = c; 256 *tp++ = c; 257 if (tp < line+sizeof(line)-2) 264 if (tp[ [all...] |
/freebsd-10.1-release/sys/cddl/contrib/opensolaris/uts/intel/dtrace/ |
H A D | fasttrap_isa.c | 312 fasttrap_tracepoint_init(proc_t *p, fasttrap_tracepoint_t *tp, uintptr_t pc, argument 358 tp->ftt_size = (uint8_t)size; 359 tp->ftt_segment = FASTTRAP_SEG_NONE; 397 if (tp->ftt_segment != FASTTRAP_SEG_NONE) 400 tp->ftt_segment = seg; 420 bcopy(instr, tp->ftt_instr, FASTTRAP_MAX_INSTR_SIZE); 422 tp->ftt_type = FASTTRAP_T_COMMON; 441 tp->ftt_type = FASTTRAP_T_JCC; 442 tp->ftt_code = (instr[start + 1] & 0x0f) | FASTTRAP_JO; 443 tp 688 fasttrap_tracepoint_install(proc_t *p, fasttrap_tracepoint_t *tp) argument 699 fasttrap_tracepoint_remove(proc_t *p, fasttrap_tracepoint_t *tp) argument 747 fasttrap_tracepoint_t *tp; local 871 fasttrap_do_seg(fasttrap_tracepoint_t *tp, struct reg *rp, uintptr_t *addr) argument 1013 fasttrap_tracepoint_t *tp, tp_local; local [all...] |
/freebsd-10.1-release/contrib/atf/test-programs/ |
H A D | c_helpers.c | 459 ATF_TP_ADD_TCS(tp) 462 ATF_TP_ADD_TC(tp, cleanup_pass); 463 ATF_TP_ADD_TC(tp, cleanup_fail); 464 ATF_TP_ADD_TC(tp, cleanup_skip); 465 ATF_TP_ADD_TC(tp, cleanup_curdir); 466 ATF_TP_ADD_TC(tp, cleanup_sigterm); 469 ATF_TP_ADD_TC(tp, config_unset); 470 ATF_TP_ADD_TC(tp, config_empty); 471 ATF_TP_ADD_TC(tp, config_value); 472 ATF_TP_ADD_TC(tp, config_multi_valu [all...] |
/freebsd-10.1-release/sys/dev/altera/jtag_uart/ |
H A D | altera_jtag_uart_tty.c | 210 aju_handle_input(struct altera_jtag_uart_softc *sc, struct tty *tp) argument 214 tty_lock_assert(tp, MA_OWNED); 224 ttydisc_rint(tp, c, 0); 228 ttydisc_rint_done(tp); 241 aju_handle_output(struct altera_jtag_uart_softc *sc, struct tty *tp) argument 246 tty_lock_assert(tp, MA_OWNED); 250 while (ttydisc_getc_poll(tp) != 0) { 255 if (ttydisc_getc(tp, &ch, sizeof(ch)) != sizeof(ch)) 269 if (ttydisc_getc(tp, &ch, sizeof(ch)) != 286 aju_outwakeup(struct tty *tp) argument 301 struct tty *tp = sc->ajus_ttyp; local 332 struct tty *tp = sc->ajus_ttyp; local 363 struct tty *tp = sc->ajus_ttyp; local 380 struct tty *tp; local 454 struct tty *tp = sc->ajus_ttyp; local [all...] |
/freebsd-10.1-release/sys/dev/ofw/ |
H A D | ofw_console.c | 87 struct tty *tp; local 91 tp = tty_alloc(&ofw_ttydevsw, NULL); 92 tty_makedev(tp, NULL, "%s", "ofwcons"); 103 tty_makealias(tp, output); 113 ofwtty_open(struct tty *tp) argument 119 ofw_timeouthandle = timeout(ofw_timeout, tp, polltime); 125 ofwtty_close(struct tty *tp) argument 129 untimeout(ofw_timeout, tp, ofw_timeouthandle); 133 ofwtty_outwakeup(struct tty *tp) argument 139 len = ttydisc_getc(tp, bu 149 struct tty *tp; local [all...] |
/freebsd-10.1-release/crypto/openssl/crypto/bn/asm/ |
H A D | sparcv9-mont.pl | 71 $tp="%l4"; 114 add %sp,$bias+$frame,$tp 140 st $car1,[$tp] 145 add $tp,4,$tp ! tp++ 155 st $car1,[$tp] 163 st $car1,[$tp+4] 167 st $car1,[$tp+8] 174 add %sp,$bias+$frame,$tp [all...] |
H A D | armv4-mont.pl | 29 $num="r0"; # starts as num argument, but holds &tp[num-1] 33 $tp="r4"; 46 #### argument block layout relative to &tp[num-1], a.k.a. $num 75 add $tp,$bp,$num @ &bp[num-1] 77 add $num,sp,$num @ $num to point at &tp[num-1] 83 str $tp,[$_bpend] @ save &bp[num] 87 mul $n0,$alo,$n0 @ "tp[0]"*n0 90 mov $tp,sp 101 str $nlo,[$tp],#4 @ tp[ [all...] |
/freebsd-10.1-release/sys/kern/ |
H A D | tty_compat.c | 53 static int ttcompatgetflags(struct tty *tp); 54 static void ttcompatsetflags(struct tty *tp, struct termios *t); 55 static void ttcompatsetlflags(struct tty *tp, struct termios *t); 100 ttsetcompat(struct tty *tp, u_long *com, caddr_t data, struct termios *term) argument 110 else if (speed != ttcompatspeedtab(tp->t_termios.c_ispeed, 114 term->c_ispeed = tp->t_termios.c_ispeed; 117 else if (speed != ttcompatspeedtab(tp->t_termios.c_ospeed, 121 term->c_ospeed = tp->t_termios.c_ospeed; 124 tp->t_compatflags = (tp 183 tty_ioctl_compat(struct tty *tp, u_long com, caddr_t data, int fflag, struct thread *td) argument 274 ttcompatgetflags(struct tty *tp) argument 334 ttcompatsetflags(struct tty *tp, struct termios *t) argument 411 ttcompatsetlflags(struct tty *tp, struct termios *t) argument [all...] |
/freebsd-10.1-release/contrib/nvi/common/ |
H A D | cut.c | 235 TEXT *tp; local 244 if ((tp = text_init(sp, NULL, 0, len)) == NULL) 254 MEMCPY(tp->lb, p + fcno, clen); 255 tp->len = clen; 259 TAILQ_INSERT_TAIL(cbp->textq, tp, q); 260 cbp->len += tp->len; 303 TEXT *tp; local 305 CALLOC(sp, tp, TEXT *, 1, sizeof(TEXT)); 306 if (tp == NULL) 309 if ((tp 331 TEXT *tp; local 346 text_free(TEXT *tp) argument [all...] |
/freebsd-10.1-release/share/examples/tests/tests/atf/ |
H A D | printf_test.c | 150 ATF_TP_ADD_TCS(tp) 152 ATF_TP_ADD_TC(tp, snprintf__two_formatters); 153 ATF_TP_ADD_TC(tp, snprintf__overflow); 154 ATF_TP_ADD_TC(tp, fprintf__simple_string);
|
/freebsd-10.1-release/sys/dev/bvm/ |
H A D | bvm_console.c | 108 struct tty *tp; local 112 tp = tty_alloc(&bvm_ttydevsw, NULL); 113 tty_makedev(tp, NULL, "bvmcons"); 118 bvm_tty_open(struct tty *tp) argument 123 bvm_timeouthandle = timeout(bvm_timeout, tp, polltime); 129 bvm_tty_close(struct tty *tp) argument 133 untimeout(bvm_timeout, tp, bvm_timeouthandle); 137 bvm_tty_outwakeup(struct tty *tp) argument 143 len = ttydisc_getc(tp, buf, sizeof(buf)); 156 struct tty *tp; local [all...] |
/freebsd-10.1-release/sys/dev/cfe/ |
H A D | cfe_console.c | 87 struct tty *tp; local 91 tp = tty_alloc(&cfe_ttydevsw, NULL); 92 tty_makedev(tp, NULL, "cfecons"); 97 cfe_tty_open(struct tty *tp) argument 102 cfe_timeouthandle = timeout(cfe_timeout, tp, polltime); 108 cfe_tty_close(struct tty *tp) argument 112 untimeout(cfe_timeout, tp, cfe_timeouthandle); 116 cfe_tty_outwakeup(struct tty *tp) argument 122 len = ttydisc_getc(tp, buf, sizeof buf); 139 struct tty *tp; local [all...] |
/freebsd-10.1-release/usr.sbin/dumpcis/ |
H A D | printcis.c | 47 static void dump_config_map(struct tuple *tp); 48 static void dump_cis_config(struct tuple *tp); 65 struct tuple *tp; local 72 for (tp = tl->tuples; tp; tp = tp->next) { 74 ++count, tp->code, tuple_name(tp->code), tp 181 dump_config_map(struct tuple *tp) argument 502 dump_cis_config(struct tuple *tp) argument [all...] |
/freebsd-10.1-release/lib/libthr/arch/sparc64/include/ |
H A D | pthread_md.h | 70 register struct tcb *tp __asm("%g7"); 72 return (tp);
|