/freebsd-10.1-release/usr.bin/systat/ |
H A D | convtbl.c | 101 struct convtbl *tp; local 103 tp = get_tbl_ptr(size, scale); 104 return ((double)size * tp->mul / tp->scale); 111 struct convtbl *tp; local 113 tp = get_tbl_ptr(size, scale); 114 return (tp->str);
|
/freebsd-10.1-release/contrib/ntp/libntp/ |
H A D | dolfptoa.c | 95 u_char *tp = cpend; local 98 for (dec = (int)(tp - cbuf); carry && dec > 0; dec--) { 99 *--tp += 1; 100 if (*tp == 10) 101 *tp = 0; 106 if (tp < cp) /* rounding from 999 to 1000 or similiar? */ 107 cp = tp;
|
/freebsd-10.1-release/contrib/nvi/vi/ |
H A D | v_replace.c | 50 TEXT *tp; local 177 if ((tp = text_init(sp, p, len, len)) == NULL) 181 if (v_txt_auto(sp, vp->m_start.lno, NULL, 0, tp)) 183 vp->m_stop.cno = tp->ai ? tp->ai - 1 : 0; 187 vp->m_stop.cno = tp->ai ? tp->ai - 1 : 0; 188 if (db_append(sp, 1, vp->m_start.lno, tp->lb, tp->len)) 191 text_free(tp); [all...] |
/freebsd-10.1-release/contrib/amd/amd/ |
H A D | info_passwd.c | 59 int passwd_init(mnt_map *m, char *map, time_t *tp); 60 int passwd_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp); 67 passwd_init(mnt_map *m, char *map, time_t *tp) argument 69 *tp = 0; 95 passwd_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp) argument
|
H A D | info_union.c | 61 int union_init(mnt_map *m, char *map, time_t *tp); 62 int union_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp); 70 union_init(mnt_map *m, char *map, time_t *tp) argument 72 *tp = 0; 78 union_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp) argument
|
H A D | info_nis.c | 66 int nis_search(mnt_map *m, char *map, char *key, char **val, time_t *tp); 67 int nis_init(mnt_map *m, char *map, time_t *tp); 69 int nis_mtime(mnt_map *m, char *map, time_t *tp); 250 nis_search(mnt_map *m, char *map, char *key, char **val, time_t *tp) argument 274 if ((time_t) order > *tp) { 275 *tp = (time_t) order; 286 if ((time_t)order - *tp > gopt.am_timeo) { 287 *tp = (time_t)order; 324 nis_init(mnt_map *m, char *map, time_t *tp) argument 345 *tp 370 nis_mtime(mnt_map *m, char *map, time_t *tp) argument [all...] |
/freebsd-10.1-release/contrib/atf/atf-c/detail/ |
H A D | user_test.c | 141 ATF_TP_ADD_TCS(tp) 143 ATF_TP_ADD_TC(tp, euid); 144 ATF_TP_ADD_TC(tp, is_member_of_group); 145 ATF_TP_ADD_TC(tp, is_root); 146 ATF_TP_ADD_TC(tp, is_unprivileged);
|
/freebsd-10.1-release/usr.bin/xlint/lint1/ |
H A D | emit1.c | 88 outtype(type_t *tp) argument 94 while (tp != NULL) { 95 if ((ts = tp->t_tspec) == INT && tp->t_isenum) 122 if (tp->t_const) 124 if (tp->t_volatile) 130 outint(tp->t_dim); 132 outtt(tp->t_enum->etag, tp->t_enum->etdef); 134 outtt(tp 158 ttos(type_t *tp) argument [all...] |
/freebsd-10.1-release/contrib/one-true-awk/ |
H A D | tran.c | 145 Cell **tp; local 148 tp = (Cell **) calloc(n, sizeof(Cell *)); 149 if (ap == NULL || tp == NULL) 153 ap->tab = tp; 160 Array *tp; local 165 tp = (Array *) ap->sval; 166 if (tp == NULL) 168 for (i = 0; i < tp->size; i++) { 169 for (cp = tp->tab[i]; cp != NULL; cp = temp) { 175 tp 187 Array *tp; local 208 setsymtab(const char *n, const char *s, Awkfloat f, unsigned t, Array *tp) argument 247 rehash(Array *tp) argument 269 lookup(const char *s, Array *tp) argument [all...] |
/freebsd-10.1-release/sys/netgraph/ |
H A D | ng_tty.c | 87 struct tty *tp; /* Terminal device */ member in struct:ngt_softc 228 struct tty *tp; local 230 tp = sc->tp; 231 if (tp != NULL) { 232 tty_lock(tp); 233 ttyhook_unregister(tp); 260 if (sc->tp != NULL) 268 error = ttyhook_register(&sc->tp, p, ((int *)msg->data)[1], 314 struct tty *tp local 350 ngt_getc_inject(struct tty *tp, void *buf, size_t len) argument 394 ngt_getc_poll(struct tty *tp) argument 408 ngt_rint_bypass(struct tty *tp, const void *buf, size_t len) argument 457 ngt_rint(struct tty *tp, char c, int flags) argument 508 ngt_rint_poll(struct tty *tp) argument [all...] |
/freebsd-10.1-release/sys/netinet/ |
H A D | tcp_subr.c | 543 tcp_respond(struct tcpcb *tp, void *ipgen, struct tcphdr *th, struct mbuf *m, argument 557 KASSERT(tp != NULL || m != NULL, ("tcp_respond: tp and m both NULL")); 565 if (tp != NULL) { 566 inp = tp->t_inpcb; 572 if (tp != NULL) { 575 if (win > (long)TCP_MAXWIN << tp->rcv_scale) 576 win = (long)TCP_MAXWIN << tp->rcv_scale; 678 if (tp != NULL) 679 nth->th_win = htons((u_short) (win >> tp 735 struct tcpcb *tp; local 830 struct tcpcb *tp; local 885 tcp_drop(struct tcpcb *tp, int errno) argument 905 tcp_discardcb(struct tcpcb *tp) argument 1020 tcp_close(struct tcpcb *tp) argument 1101 struct tcpcb *tp; local 1400 struct tcpcb *tp; local 1644 tcp_new_isn(struct tcpcb *tp) argument 1706 struct tcpcb *tp; local 1742 struct tcpcb *tp; local 1862 ipsec_hdrsiz_tcp(struct tcpcb *tp) argument 2165 struct tcpcb *tp; local 2396 tcp_state_change(struct tcpcb *tp, int newstate) argument [all...] |
/freebsd-10.1-release/gnu/usr.bin/rcs/lib/ |
H A D | rcskeep.c | 130 register char * tp; local 158 tp = keyword; 163 if (keyword+keylength <= tp) 165 *tp++ = c; 175 *tp = c; 300 { register char * tp; local 306 tp = target->string; 307 tlim = tp + target->size; 309 tlim = tp = 0; 315 if (tp) { [all...] |
/freebsd-10.1-release/lib/libc/inet/ |
H A D | inet_cidr_ntop.c | 164 char *tp; local 210 tp = tmp; 216 *tp++ = ':'; 221 *tp++ = ':'; 234 n = decoct(src+12, n, tp, sizeof tmp - (tp - tmp)); 239 tp += strlen(tp); 242 tp += SPRINTF((tp, " [all...] |
/freebsd-10.1-release/sys/dev/dcons/ |
H A D | dcons_os.c | 199 dcons_outwakeup(struct tty *tp) argument 204 dc = tty_softc(tp); 206 while (ttydisc_getc(tp, &ch, sizeof ch) != 0) 213 struct tty *tp; local 219 tp = dc->tty; 221 tty_lock(tp); 223 ttydisc_rint(tp, c, 0); 226 ttydisc_rint_done(tp); 227 tty_unlock(tp); 233 callout_reset(&dcons_callout, polltime, dcons_timeout, tp); 359 struct tty *tp; local 386 struct tty *tp; local [all...] |
/freebsd-10.1-release/sys/dev/xen/console/ |
H A D | console.c | 83 #define ISTTYOPEN(tp) ((tp) && ((tp)->t_state & TS_ISOPEN)) 277 struct tty *tp = xccons; local 284 tty_lock(tp); 289 ttydisc_rint(tp, buf[i], 0); 291 ttydisc_rint_done(tp); 292 tty_unlock(tp); 345 xcopen(struct tty *tp) argument 353 xcclose(struct tty *tp) argument 373 xcoutwakeup(struct tty *tp) argument 391 struct tty *tp; local [all...] |
/freebsd-10.1-release/contrib/gcc/ |
H A D | tree-nrv.c | 76 finalize_nrv_r (tree *tp, int *walk_subtrees, void *data) argument 81 if (TYPE_P (*tp)) 85 else if (*tp == dp->var) 86 *tp = dp->result; 206 tree *tp = bsi_stmt_ptr (bsi); local 208 if (TREE_CODE (*tp) == MODIFY_EXPR 209 && TREE_OPERAND (*tp, 0) == result 210 && TREE_OPERAND (*tp, 1) == found) 214 walk_tree (tp, finalize_nrv_r, &data, 0);
|
/freebsd-10.1-release/tools/tools/ath/athdebug/ |
H A D | athdebug.c | 151 const char *cp, *tp; local 196 for (tp = cp; *tp != '\0' && *tp != '+' && *tp != '-';) 197 tp++; 198 bit = getflag(cp, tp-cp); 209 (int) (tp-cp), cp); 213 } while (*(cp = tp) != '\0');
|
/freebsd-10.1-release/tools/tools/mwl/mwldebug/ |
H A D | mwldebug.c | 138 const char *cp, *tp; local 176 for (tp = cp; *tp != '\0' && *tp != '+' && *tp != '-';) 177 tp++; 178 bit = getflag(cp, tp-cp); 190 (int)(tp-cp), cp); 194 } while (*(cp = tp) != '\0');
|
/freebsd-10.1-release/contrib/bsnmp/snmp_mibII/ |
H A D | mibII_tcp.c | 44 struct xtcpcb *tp; member in struct:tcp_index 71 struct xtcpcb *tp; local 110 tp = (struct xtcpcb *)ptr; 111 if (tp->xt_inp.inp_gencnt > xinpgen->xig_gen || 112 (tp->xt_inp.inp_vflag & (INP_IPV4|INP_IPV6)) == 0) 115 if (tp->xt_inp.inp_vflag & INP_IPV4) 118 if (tp->xt_tp.t_state == TCPS_ESTABLISHED || 119 tp->xt_tp.t_state == TCPS_CLOSE_WAIT) 138 tp = (struct xtcpcb *)ptr; 139 if (tp [all...] |
/freebsd-10.1-release/sys/dev/sio/ |
H A D | sio.c | 226 struct tty *tp; /* cross reference */ member in struct:com_s 258 static void combreak(struct tty *tp, int sig); 261 static void comclose(struct tty *tp); 262 static int comopen(struct tty *tp, struct cdev *dev); 266 static int commodem(struct tty *tp, int sigon, int sigoff); 267 static int comparam(struct tty *tp, struct termios *t); 271 static void comstart(struct tty *tp); 272 static void comstop(struct tty *tp, int rw); 334 struct tty *tp; local 351 tp 884 struct tty *tp; local 1127 comopen(struct tty *tp, struct cdev *dev) argument 1315 struct tty *tp; local 1696 struct tty *tp; local 1941 struct tty *tp; local 2129 commodem(struct tty *tp, int sigon, int sigoff) argument [all...] |
/freebsd-10.1-release/contrib/atf/atf-c++/ |
H A D | pkg_config_test.sh | 86 cat >tp.cpp <<EOF 117 atf_check -s eq:0 -o empty -e empty ${cxx} ${cxxflags} -o tp.o -c tp.cpp 118 atf_check -s eq:0 -o empty -e empty ${cxx} ${ldflags} -o tp tp.o ${libs} 136 atf_check -s eq:0 -o empty -e empty test -x tp 138 "LD_LIBRARY_PATH=${libpath} ./tp tc"
|
/freebsd-10.1-release/crypto/openssl/crypto/bn/asm/ |
H A D | mips3-mont.pl | 36 $tp="t3"; 116 move $tp,sp 141 sd $lo1,($tp) 147 PTR_ADD $tp,8 161 sd $lo1,($tp) 165 sd $hi1,8($tp) 166 sd AT,16($tp) 203 move $tp,sp 205 ld $tj,8($tp) 231 ld $tj,16($tp) [all...] |
/freebsd-10.1-release/sys/netinet/khelp/ |
H A D | h_ertt.c | 137 marked_packet_rtt(struct txseginfo *txsi, struct ertt *e_t, struct tcpcb *tp, argument 164 e_t->marked_snd_cwnd = tp->snd_cwnd; 178 if (tp->t_flags & TF_TSO) { 180 tp->t_flags &= ~TF_TSO; 199 struct tcpcb *tp; local 213 tp = thdp->tp; 216 new_sacked_bytes = (tp->sackhint.last_sack_ack != 0); 218 acked = th->th_ack - tp->snd_una; 220 INP_WLOCK_ASSERT(tp 433 struct tcpcb *tp; local [all...] |
/freebsd-10.1-release/contrib/tcpdump/ |
H A D | print-tcp.c | 63 static int tcp_verify_signature(const struct ip *ip, const struct tcphdr *tp, 129 register const struct tcphdr *tp, 132 return (nextproto4_cksum(ip, (const u_int8_t *)tp, len, 140 register const struct tcphdr *tp; local 153 tp = (struct tcphdr *)bp; 162 if (!TTEST(tp->th_dport)) { 169 sport = EXTRACT_16BITS(&tp->th_sport); 170 dport = EXTRACT_16BITS(&tp->th_dport); 172 hlen = TH_OFF(tp) * 4; 180 if (!qflag && hlen >= sizeof(*tp) 128 tcp_cksum(register const struct ip *ip, register const struct tcphdr *tp, register u_int len) argument 733 tcp_verify_signature(const struct ip *ip, const struct tcphdr *tp, const u_char *data, int length, const u_char *rcvsig) argument [all...] |
/freebsd-10.1-release/sys/dev/rc/ |
H A D | rc.c | 211 struct tty *tp; local 296 tp = rc->rc_tp = ttyalloc(); 297 tp->t_sc = rc; 298 tp->t_oproc = rc_start; 299 tp->t_param = rc_param; 300 tp->t_modem = rc_modem; 301 tp->t_break = rc_break; 302 tp->t_close = rc_close; 303 tp->t_stop = rc_stop; 304 ttycreate(tp, TS_CALLOU 586 rc_start(struct tty *tp) argument 657 struct tty *tp; local 776 rc_stop(struct tty *tp, int rw) argument 811 rc_close(struct tty *tp) argument 868 rc_param(struct tty *tp, struct termios *ts) argument 1037 rc_modem(struct tty *tp, int biton, int bitoff) argument 1084 rc_break(struct tty *tp, int brk) argument [all...] |