/freebsd-10.1-release/usr.bin/calendar/ |
H A D | day.c | 52 struct tm tp; local 54 localtime_r(&now, &tp); 58 after = tp.tm_wday == friday ? 3 : 1; 89 struct tm tm, tp; local 92 localtime_r(&t, &tp); 95 tm.tm_mday = tp.tm_mday; 96 tm.tm_mon = tp.tm_mon; 97 tm.tm_year = tp.tm_year;
|
/freebsd-10.1-release/sys/netinet/ |
H A D | tcp_reass.c | 127 tcp_reass_flush(struct tcpcb *tp) argument 131 INP_WLOCK_ASSERT(tp->t_inpcb); 133 while ((qe = LIST_FIRST(&tp->t_segq)) != NULL) { 137 tp->t_segqlen--; 140 KASSERT((tp->t_segqlen == 0), 142 tp, tp->t_segqlen)); 155 tcp_reass(struct tcpcb *tp, struct tcphdr *th, int *tlenp, struct mbuf *m) argument 161 struct socket *so = tp->t_inpcb->inp_socket; 166 INP_WLOCK_ASSERT(tp [all...] |
/freebsd-10.1-release/usr.bin/netstat/ |
H A D | main.c | 346 struct protox *tp = NULL; /* for printing cblocks & stats */ local 453 if ((tp = name2protox(optarg)) == NULL) { 604 if (tp) { 605 printproto(tp, tp->pr_name); 609 for (tp = protox; tp->pr_name; tp++) 610 printproto(tp, tp 648 printproto(struct protox *tp, const char *name) argument 824 struct protox **tpp, *tp; local 839 struct protox *tp; local [all...] |
/freebsd-10.1-release/usr.bin/w/ |
H A D | pr_time.c | 55 struct tm tp, tm; local 60 tp = *localtime(started); 69 else if (tm.tm_mday != tp.tm_mday || 70 tm.tm_mon != tp.tm_mon || 71 tm.tm_year != tp.tm_year) { 82 (void)wcsftime(buf, sizeof(buf), fmt, &tp);
|
/freebsd-10.1-release/usr.bin/xlint/lint2/ |
H A D | emit2.c | 54 outtype(type_t *tp) argument 60 while (tp != NULL) { 61 if ((ts = tp->t_tspec) == INT && tp->t_isenum) 85 if (tp->t_args != NULL && !tp->t_proto) { 95 if (tp->t_const) 97 if (tp->t_volatile) 103 outint(tp->t_dim); 105 if (tp [all...] |
/freebsd-10.1-release/contrib/ntp/lib/isc/ |
H A D | inet_ntop.c | 123 char tmp[sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255")], *tp; local 163 tp = tmp; 169 *tp++ = ':'; 174 *tp++ = ':'; 179 if (!inet_ntop4(src+12, tp, 180 sizeof(tmp) - (tp - tmp))) 182 tp += strlen(tp); 185 tp += snprintf(tp, sizeo [all...] |
/freebsd-10.1-release/contrib/less/ |
H A D | tags.c | 76 #define TAG_INS(tp) \ 77 (tp)->next = TAG_END; \ 78 (tp)->prev = taglist.tl_last; \ 79 taglist.tl_last->next = (tp); \ 80 taglist.tl_last = (tp); 82 #define TAG_RM(tp) \ 83 (tp)->next->prev = (tp)->prev; \ 84 (tp)->prev->next = (tp) 92 register struct tag *tp; local 119 register struct tag *tp; local 280 struct tag *tp; local 478 struct tag *tp; local 609 struct tag *tp; local 639 struct tag *tp; local [all...] |
/freebsd-10.1-release/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-10.1-release/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-10.1-release/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 655 const ctf_type_t *tp; local 705 const ctf_type_t *tp; local 733 const ctf_type_t *tp; local 770 const ctf_type_t *tp; local 814 const ctf_type_t *tp; local [all...] |
/freebsd-10.1-release/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-10.1-release/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-10.1-release/contrib/ncurses/ncurses/tinfo/ |
H A D | lib_termcap.c | 212 TERMTYPE *tp = &(cur_term->type); local 213 for_each_boolean(i, tp) { 214 const char *capname = ExtBoolname(tp, i, boolcodes); 217 returnCode(tp->Booleans[i]); 240 TERMTYPE *tp = &(cur_term->type); local 241 for_each_number(i, tp) { 242 const char *capname = ExtNumname(tp, i, numcodes); 244 if (!VALID_NUMERIC(tp->Numbers[i])) 246 returnCode(tp->Numbers[i]); 270 TERMTYPE *tp local [all...] |
/freebsd-10.1-release/contrib/tcpdump/missing/ |
H A D | inet_ntop.c | 113 char *tp; local 153 tp = tmp; 161 *tp++ = ':'; 168 *tp++ = ':'; 175 if (!inet_ntop_v4(src+12, tp, sizeof(tmp) - (tp - tmp))) 180 tp += strlen(tp); 183 tp += sprintf (tp, " [all...] |
/freebsd-10.1-release/lib/libc/inet/ |
H A D | inet_ntop.c | 115 char tmp[sizeof "ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255"], *tp; local 156 tp = tmp; 162 *tp++ = ':'; 167 *tp++ = ':'; 172 if (!inet_ntop4(src+12, tp, sizeof tmp - (tp - tmp))) 174 tp += strlen(tp); 177 tp += sprintf(tp, " [all...] |
/freebsd-10.1-release/sys/kern/ |
H A D | subr_terminal.c | 164 struct tty *tp; local 166 tp = tm->tm_tty; 167 if (tp == NULL) 170 tty_lock(tp); 171 tty_set_winsize(tp, &tm->tm_winsize); 172 tty_unlock(tp); 178 struct tty *tp; local 186 tp = tty_alloc(&terminal_tty_class, tm); 187 tty_makedev(tp, NULL, "%s", name); 188 tm->tm_tty = tp; 247 struct tty *tp; local 300 struct tty *tp; local 315 struct tty *tp; local 337 termtty_open(struct tty *tp) argument 346 termtty_close(struct tty *tp) argument 354 termtty_outwakeup(struct tty *tp) argument 377 termtty_ioctl(struct tty *tp, u_long cmd, caddr_t data, struct thread *td) argument 422 termtty_mmap(struct tty *tp, vm_ooffset_t offset, vm_paddr_t * paddr, int nprot, vm_memattr_t *memattr) argument [all...] |
/freebsd-10.1-release/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-10.1-release/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-10.1-release/crypto/openssl/crypto/bn/asm/ |
H A D | ppc-mont.pl | 95 $tp="r22"; 154 addi $tp,$sp,$LOCALS 161 $UMULL $m1,$lo0,$n0 ; "tp[0]"*n0 191 $ST $lo1,0($tp) ; tp[j-1] 194 addi $tp,$tp,$BNSZ ; tp++ 204 $ST $lo1,0($tp) ; tp[ [all...] |
/freebsd-10.1-release/contrib/atf/atf-c/detail/ |
H A D | env_test.c | 108 ATF_TP_ADD_TCS(tp) 110 ATF_TP_ADD_TC(tp, has); 111 ATF_TP_ADD_TC(tp, get); 112 ATF_TP_ADD_TC(tp, set); 113 ATF_TP_ADD_TC(tp, unset);
|
/freebsd-10.1-release/contrib/atf/atf-sh/ |
H A D | integration_test.sh | 58 create_test_program tp <<EOF 70 >>>./tp<<< 74 atf_check -s eq:0 -o file:expout -e empty ./tp ' a b ' foo 77 >>>tp<<< 81 atf_check -s eq:0 -o file:expout -e empty atf-sh tp ' hello bye ' 'foo bar'
|
/freebsd-10.1-release/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-10.1-release/sys/dev/cxgb/ulp/tom/ |
H A D | cxgb_cpl_io.c | 163 struct tcpcb *tp; local 168 tp = intotcpcb(inp); 169 toep = tp->t_toe; 174 CTR6(KTR_CXGB, "%s: %s %u, toep %p, inp %p, tp %p", __func__, 175 tp->t_state == TCPS_SYN_SENT ? "atid" : "tid", toep->tp_tid, 176 toep, inp, tp); 178 tp->t_toe = NULL; 179 tp->t_flags &= ~TF_TOE; 187 t3_pcb_detach(struct toedev *tod __unused, struct tcpcb *tp) argument 190 toepcb_detach(tp 353 struct tcpcb *tp = so_sototcpcb(so); local 426 struct tcpcb *tp = so_sototcpcb(so); local 587 t3_rcvd(struct toedev *tod, struct tcpcb *tp) argument 632 t3_send_fin(struct toedev *tod, struct tcpcb *tp) argument 654 t3_tod_output(struct toedev *tod, struct tcpcb *tp) argument 772 struct tcpcb *tp = intotcpcb(inp); local 805 struct tcpcb *tp = intotcpcb(inp); local 841 struct tcpcb *tp = intotcpcb(inp); local 958 struct tcpcb *tp = intotcpcb(inp); local 1058 struct tcpcb *tp = intotcpcb(inp); local 1096 t3_send_rst(struct toedev *tod __unused, struct tcpcb *tp) argument 1115 struct tcpcb *tp; local 1221 struct tcpcb *tp; local 1284 struct tcpcb *tp; local 1417 abort_status_to_errno(struct tcpcb *tp, int abort_reason) argument 1476 struct tcpcb *tp; local 1533 assign_rxopt(struct tcpcb *tp, uint16_t tcpopt) argument 1572 struct tcpcb *tp = intotcpcb(inp); local 1656 struct tcpcb *tp; local 1707 struct tcpcb *tp; local [all...] |
/freebsd-10.1-release/sys/dev/cy/ |
H A D | cy.c | 205 struct tty *tp; /* cross reference */ member in struct:com_s 240 static int cyparam(struct tty *tp, struct termios *t); 245 static void cystart(struct tty *tp); 246 static void comstop(struct tty *tp, int rw); 248 static void disc_optim(struct tty *tp, struct termios *t, 351 struct tty *tp; local 411 tp = com->tp = ttyalloc(); 412 tp->t_open = cyopen; 413 tp 448 cyopen(struct tty *tp, struct cdev *dev) argument 488 cyclose(struct tty *tp) argument 557 struct tty *tp; local 1118 cybreak(struct tty *tp, int sig) argument 1143 struct tty *tp; local 1230 cyparam(struct tty *tp, struct termios *t) argument 1588 struct tty *tp; local 1653 cystart(struct tty *tp) argument 1800 comstop(struct tty *tp, int rw) argument 1841 cymodem(struct tty *tp, int sigon, int sigoff) argument 1972 disc_optim(struct tty *tp, struct termios *t, struct com_s *com) argument 1996 cyinput(int c, struct tty *tp) argument 2192 struct tty *tp; local [all...] |
/freebsd-10.1-release/sys/sparc64/sparc64/ |
H A D | pmap.c | 140 static void pmap_bootstrap_set_tte(struct tte *tp, u_long vpn, u_long data); 143 struct tte *tp, vm_offset_t va); 144 static int pmap_unwire_tte(pmap_t pm, pmap_t pm2, struct tte *tp, 306 struct tte *tp; local 546 tp = tsb_kvtotte(va + off); 550 pmap_bootstrap_set_tte(tp, vpn, data); 590 tp = tsb_kvtotte(va); 594 pmap_bootstrap_set_tte(tp, vpn, data); 634 tp = tsb_kvtotte(va); 644 pmap_bootstrap_set_tte(tp, vp 747 pmap_bootstrap_set_tte(struct tte *tp, u_long vpn, u_long data) argument 805 struct tte *tp; local 828 struct tte *tp; local 869 struct tte *tp; local 882 struct tte *tp; local 957 struct tte *tp; local 1031 struct tte *tp; local 1079 struct tte *tp; local 1094 struct tte *tp; local 1116 struct tte *tp; local 1313 pmap_remove_tte(struct pmap *pm, struct pmap *pm2, struct tte *tp, vm_offset_t va) argument 1349 struct tte *tp; local 1377 struct tte *tp; local 1409 pmap_protect_tte(struct pmap *pm, struct pmap *pm2, struct tte *tp, vm_offset_t va) argument 1431 struct tte *tp; local 1487 struct tte *tp; local 1674 pmap_unwire_tte(pmap_t pm, pmap_t pm2, struct tte *tp, vm_offset_t va) argument 1698 struct tte *tp; local 1712 pmap_copy_tte(pmap_t src_pmap, pmap_t dst_pmap, struct tte *tp, vm_offset_t va) argument 1733 struct tte *tp; local 1764 struct tte *tp; local 1795 struct tte *tp; local 1827 struct tte *tp; local 1860 struct tte *tp; local 1957 struct tte *tp; local 1987 struct tte *tp; local 2018 struct tte *tp; local 2049 struct tte *tp; local 2077 struct tte *tp; local 2129 struct tte *tp; local 2159 struct tte *tp; local 2189 struct tte *tp; local [all...] |