Searched refs:tp (Results 26 - 50 of 652) sorted by relevance

1234567891011>>

/freebsd-9.3-release/contrib/ncurses/ncurses/tinfo/
H A Dlib_ti.c49 TERMTYPE *tp = &(cur_term->type); local
50 for_each_boolean(i, tp) {
51 const char *capname = ExtBoolname(tp, i, boolnames);
54 returnCode(tp->Booleans[i]);
70 TERMTYPE *tp = &(cur_term->type); local
71 for_each_number(i, tp) {
72 const char *capname = ExtNumname(tp, i, numnames);
74 if (!VALID_NUMERIC(tp->Numbers[i]))
76 returnCode(tp->Numbers[i]);
92 TERMTYPE *tp local
[all...]
H A Dalloc_entry.c62 _nc_init_entry(TERMTYPE *const tp) argument
68 if (tp == 0 && stringbuf != 0) {
78 tp->num_Booleans = BOOLCOUNT;
79 tp->num_Numbers = NUMCOUNT;
80 tp->num_Strings = STRCOUNT;
81 tp->ext_Booleans = 0;
82 tp->ext_Numbers = 0;
83 tp->ext_Strings = 0;
85 if (tp->Booleans == 0)
86 tp
152 TERMTYPE *tp = &(ep->tterm); local
[all...]
/freebsd-9.3-release/contrib/bind9/lib/isc/
H A Dinet_pton.c85 unsigned char tmp[NS_INADDRSZ], *tp; local
89 *(tp = tmp) = 0;
94 unsigned int new = *tp * 10;
97 if (saw_digit && *tp == 0)
101 *tp = new;
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-9.3-release/sys/libkern/
H A Dinet_pton.c83 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...]
/freebsd-9.3-release/contrib/ntp/lib/isc/
H A Dinet_pton.c86 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-9.3-release/sys/netinet/
H A Dtcp_output.c124 static void inline hhook_run_tcp_est_out(struct tcpcb *tp,
127 static void inline cc_after_idle(struct tcpcb *tp);
133 hhook_run_tcp_est_out(struct tcpcb *tp, struct tcphdr *th, argument
139 hhook_data.tp = tp;
146 tp->osd);
154 cc_after_idle(struct tcpcb *tp) argument
156 INP_WLOCK_ASSERT(tp->t_inpcb);
158 if (CC_ALGO(tp)->after_idle != NULL)
159 CC_ALGO(tp)
166 tcp_output(struct tcpcb *tp) argument
1396 tcp_setpersist(struct tcpcb *tp) argument
[all...]
H A Dtcp_timer.h40 * received. If an ACK is received which advances tp->snd_una,
156 #define TP_KEEPINIT(tp) ((tp)->t_keepinit ? (tp)->t_keepinit : tcp_keepinit)
157 #define TP_KEEPIDLE(tp) ((tp)->t_keepidle ? (tp)->t_keepidle : tcp_keepidle)
158 #define TP_KEEPINTVL(tp) ((tp)->t_keepintvl ? (tp)
[all...]
H A Dtcp_seq.h58 #define tcp_rcvseqinit(tp) \
59 (tp)->rcv_adv = (tp)->rcv_nxt = (tp)->irs + 1
61 #define tcp_sendseqinit(tp) \
62 (tp)->snd_una = (tp)->snd_nxt = (tp)->snd_max = (tp)->snd_up = \
63 (tp)
[all...]
H A Dtcp_sack.c157 tcp_update_sack_list(struct tcpcb *tp, tcp_seq rcv_start, tcp_seq rcv_end) argument
168 INP_WLOCK_ASSERT(tp->t_inpcb);
183 for (i = 0; i < tp->rcv_numsacks; i++) {
184 tcp_seq start = tp->sackblks[i].start;
185 tcp_seq end = tp->sackblks[i].end;
186 if (SEQ_GEQ(start, end) || SEQ_LEQ(start, tp->rcv_nxt)) {
211 * Update SACK list in tp->sackblks[].
214 if (SEQ_GT(head_blk.start, tp->rcv_nxt)) {
219 tp->sackblks[0] = head_blk;
232 bcopy(saved_blks, &tp
244 tcp_clean_sackreport(struct tcpcb *tp) argument
258 tcp_sackhole_alloc(struct tcpcb *tp, tcp_seq start, tcp_seq end) argument
286 tcp_sackhole_free(struct tcpcb *tp, struct sackhole *hole) argument
302 tcp_sackhole_insert(struct tcpcb *tp, tcp_seq start, tcp_seq end, struct sackhole *after) argument
329 tcp_sackhole_remove(struct tcpcb *tp, struct sackhole *hole) argument
349 tcp_sack_doack(struct tcpcb *tp, struct tcpopt *to, tcp_seq th_ack) argument
549 tcp_free_sackholes(struct tcpcb *tp) argument
572 tcp_sack_partialack(struct tcpcb *tp, struct tcphdr *th) argument
634 tcp_sack_output(struct tcpcb *tp, int *sack_bytes_rexmt) argument
659 tcp_sack_adjust(struct tcpcb *tp) argument
[all...]
H A Dtcp_usrreq.c112 #define TCPDEBUG1() ostate = tp ? tp->t_state : 0
113 #define TCPDEBUG2(req) if (tp && (so->so_options & SO_DEBUG)) \
114 tcp_trace(TA_USER, ostate, tp, 0, 0, req)
129 struct tcpcb *tp = NULL; local
145 tp = intotcpcb(inp);
163 struct tcpcb *tp; local
171 tp = intotcpcb(inp);
187 KASSERT(tp == NULL, ("tcp_detach: INP_TIMEWAIT && "
188 "INP_DROPPED && tp !
248 struct tcpcb *tp = NULL; local
289 struct tcpcb *tp = NULL; local
351 struct tcpcb *tp = NULL; local
392 struct tcpcb *tp = NULL; local
444 struct tcpcb *tp = NULL; local
492 struct tcpcb *tp = NULL; local
586 struct tcpcb *tp = NULL; local
625 struct tcpcb *tp = NULL; local
668 struct tcpcb *tp = NULL; local
725 struct tcpcb *tp = NULL; local
758 struct tcpcb *tp = NULL; local
797 struct tcpcb *tp = NULL; local
940 struct tcpcb *tp = NULL; local
978 struct tcpcb *tp = NULL; local
1018 struct tcpcb *tp = NULL; local
1108 tcp_connect(struct tcpcb *tp, struct sockaddr *nam, struct thread *td) argument
1169 tcp6_connect(struct tcpcb *tp, struct sockaddr *nam, struct thread *td) argument
1247 tcp_fill_info(struct tcpcb *tp, struct tcp_info *ti) argument
1310 struct tcpcb *tp; local
1607 struct tcpcb *tp; local
1655 tcp_disconnect(struct tcpcb *tp) argument
1695 tcp_usrclosed(struct tcpcb *tp) argument
1930 db_print_tcpcb(struct tcpcb *tp, const char *name, int indent) argument
2044 struct tcpcb *tp; local
[all...]
/freebsd-9.3-release/contrib/bind9/lib/lwres/
H A Dlwinetpton.c84 unsigned char tmp[NS_INADDRSZ], *tp; local
88 *(tp = tmp) = 0;
93 unsigned int new = *tp * 10;
98 *tp = new;
109 * *++tp = 0;
111 tp++;
112 *tp = 0;
140 unsigned char tmp[NS_IN6ADDRSZ], *tp, *endp, *colonp; local
145 memset((tp = tmp), '\0', NS_IN6ADDRSZ);
146 endp = tp
[all...]
/freebsd-9.3-release/bin/stty/
H A Dgfmt.c59 gprint(struct termios *tp, struct winsize *wp __unused, int ldisc __unused) argument
64 (u_long)tp->c_cflag, (u_long)tp->c_iflag, (u_long)tp->c_lflag,
65 (u_long)tp->c_oflag);
67 (void)printf("%s=%x:", cp->name, tp->c_cc[cp->sub]);
69 (u_long)cfgetispeed(tp), (u_long)cfgetospeed(tp));
73 gread(struct termios *tp, char *s) argument
92 tp
[all...]
/freebsd-9.3-release/libexec/tftpd/
H A Dtftp-transfer.h29 void tftp_send(int peer, uint16_t *block, struct tftp_stats *tp);
30 void tftp_receive(int peer, uint16_t *block, struct tftp_stats *tp,
/freebsd-9.3-release/lib/libc/string/
H A Dmemccpy.c43 unsigned char *tp = t; local
47 if ((*tp++ = *fp++) == uc)
48 return (tp);
/freebsd-9.3-release/contrib/tcpdump/
H A Daddrtoname.c325 struct enamemem *tp; local
331 tp = &enametable[(i ^ j) & (HASHNAMESIZE-1)];
332 while (tp->e_nxt)
333 if (tp->e_addr0 == i &&
334 tp->e_addr1 == j &&
335 tp->e_addr2 == k)
336 return tp;
338 tp = tp->e_nxt;
339 tp
357 struct enamemem *tp; local
404 struct enamemem *tp; local
446 struct protoidmem *tp; local
473 register struct enamemem *tp; local
521 register struct enamemem *tp; local
548 register struct enamemem *tp; local
581 register struct hnamemem *tp; local
608 register struct protoidmem *tp; local
636 register struct enamemem *tp; local
664 register struct hnamemem *tp; local
683 register struct hnamemem *tp; local
703 register struct hnamemem *tp; local
804 register struct protoidmem *tp; local
855 register struct enamemem *tp; local
1161 register struct hnamemem *tp; local
[all...]
/freebsd-9.3-release/sys/gnu/fs/xfs/
H A Dxfs_utils.c144 xfs_trans_t *tp; local
155 tp = *tpp;
156 ASSERT(tp->t_flags & XFS_TRANS_PERM_LOG_RES);
173 code = xfs_ialloc(tp, dp, mode, nlink, rdev, credp, prid, okalloc,
205 xfs_trans_bhold(tp, ialloc_context);
210 log_res = xfs_trans_get_log_res(tp);
211 log_count = xfs_trans_get_log_count(tp);
220 if (tp->t_dqinfo) {
221 dqinfo = (void *)tp->t_dqinfo;
222 tp
303 xfs_droplink( xfs_trans_t *tp, xfs_inode_t *ip) argument
336 xfs_bump_ino_vers2( xfs_trans_t *tp, xfs_inode_t *ip) argument
367 xfs_bumplink( xfs_trans_t *tp, xfs_inode_t *ip) argument
404 xfs_trans_t *tp; local
[all...]
H A Dxfs_trans_extfree.c38 xfs_trans_get_efi(xfs_trans_t *tp, argument
43 ASSERT(tp != NULL);
46 efip = xfs_efi_init(tp->t_mountp, nextents);
52 (void) xfs_trans_add_item(tp, (xfs_log_item_t*)efip);
63 xfs_trans_log_efi_extent(xfs_trans_t *tp, argument
72 lidp = xfs_trans_find_item(tp, (xfs_log_item_t*)efip);
75 tp->t_flags |= XFS_TRANS_DIRTY;
94 xfs_trans_get_efd(xfs_trans_t *tp, argument
100 ASSERT(tp != NULL);
103 efdp = xfs_efd_init(tp
120 xfs_trans_log_efd_extent(xfs_trans_t *tp, xfs_efd_log_item_t *efdp, xfs_fsblock_t start_block, xfs_extlen_t ext_len) argument
[all...]
/freebsd-9.3-release/usr.sbin/ppp/
H A Dtimer.c65 timer_Stop(struct pppTimer *tp) argument
72 StopTimerNoBlock(tp);
77 timer_Start(struct pppTimer *tp) argument
88 if (tp->state != TIMER_STOPPED)
89 StopTimerNoBlock(tp);
91 if (tp->load == 0) {
92 log_Printf(LogTIMER, "%s timer[%p] has 0 load!\n", tp->name, tp);
98 * We just need to insert tp in the correct relative place. We don't
106 if (ticks + t->rest >= tp
136 StopTimerNoBlock(struct pppTimer *tp) argument
192 struct pppTimer *tp, *exp, *next; local
[all...]
/freebsd-9.3-release/contrib/ncurses/ncurses/trace/
H A Dvisbuf.c57 _nc_vischar(char *tp, unsigned c) argument
60 *tp++ = '\\';
61 *tp++ = (char) c;
63 *tp++ = (char) c;
65 *tp++ = '\\';
66 *tp++ = 'n';
68 *tp++ = '\\';
69 *tp++ = 'r';
71 *tp++ = '\\';
72 *tp
96 char *tp; local
167 char *tp; local
[all...]
/freebsd-9.3-release/sys/sys/
H A Dtty.h163 void tty_rel_pgrp(struct tty *tp, struct pgrp *pgrp);
164 void tty_rel_sess(struct tty *tp, struct session *sess);
165 void tty_rel_gone(struct tty *tp);
167 #define tty_lock(tp) mtx_lock((tp)->t_mtx)
168 #define tty_unlock(tp) mtx_unlock((tp)->t_mtx)
169 #define tty_lock_owned(tp) mtx_owned((tp)->t_mtx)
170 #define tty_lock_assert(tp,m
[all...]
/freebsd-9.3-release/usr.sbin/dumpcis/
H A Dreadcis.c124 struct tuple *tp; local
128 while ((tp = tl->tuples) != 0) {
129 tl->tuples = tp->next;
130 free(tp->data);
131 free(tp);
195 struct tuple *tp; local
205 tp = find_tuple_in_list(last_tl, CIS_LONGLINK_A);
206 if (tp == 0) {
208 tp = find_tuple_in_list(last_tl, CIS_LONGLINK_C);
210 if (tp
249 struct tuple *tp, *last_tp = 0; local
346 struct tuple *tp; local
360 struct tuple_info *tp; local
371 struct tuple_info *tp; local
[all...]
/freebsd-9.3-release/contrib/nvi/common/
H A Dput.c43 TEXT *ltp, *tp; local
66 tp = cbp->textq.cqh_first;
87 for (; tp != (void *)&cbp->textq;
88 ++lno, ++sp->rptlines[L_ADDED], tp = tp->q.cqe_next)
89 if (db_append(sp, 1, lno, tp->lb, tp->len))
101 for (; tp != (void *)&cbp->textq;
102 ++lno, ++sp->rptlines[L_ADDED], tp = tp
[all...]
/freebsd-9.3-release/contrib/bind9/lib/isc/include/isc/
H A Drefcount.h109 #define isc_refcount_increment0(rp, tp) \
111 unsigned int *_tmp = (unsigned int *)(tp); \
118 #define isc_refcount_increment(rp, tp) \
120 unsigned int *_tmp = (unsigned int *)(tp); \
128 #define isc_refcount_decrement(rp, tp) \
130 unsigned int *_tmp = (unsigned int *)(tp); \
155 #define isc_refcount_increment0(rp, tp) \
157 unsigned int *_tmp = (unsigned int *)(tp); \
165 #define isc_refcount_increment(rp, tp) \
167 unsigned int *_tmp = (unsigned int *)(tp); \
[all...]
/freebsd-9.3-release/contrib/ntp/lib/isc/include/isc/
H A Drefcount.h109 #define isc_refcount_increment0(rp, tp) \
111 unsigned int *_tmp = (unsigned int *)(tp); \
118 #define isc_refcount_increment(rp, tp) \
120 unsigned int *_tmp = (unsigned int *)(tp); \
128 #define isc_refcount_decrement(rp, tp) \
130 unsigned int *_tmp = (unsigned int *)(tp); \
155 #define isc_refcount_increment0(rp, tp) \
157 unsigned int *_tmp = (unsigned int *)(tp); \
165 #define isc_refcount_increment(rp, tp) \
167 unsigned int *_tmp = (unsigned int *)(tp); \
[all...]
/freebsd-9.3-release/sys/dev/snp/
H A Dsnp.c117 struct tty *tp; local
119 tp = ss->snp_tty;
120 if (tp != NULL) {
121 tty_lock(tp);
123 ttyhook_unregister(tp);
153 struct tty *tp; local
162 tp = ss->snp_tty;
163 if (tp == NULL || tty_gone(tp))
166 tty_lock(tp);
194 struct tty *tp; local
240 struct tty *tp; local
297 struct tty *tp; local
345 snp_getc_capture(struct tty *tp, const void *buf, size_t len) argument
[all...]

Completed in 152 milliseconds

1234567891011>>