/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-tools/src/ |
H A D | po-time.h | 32 extern char *po_strftime (const time_t *tp);
|
H A D | x-librep.c | 183 init_token (struct token *tp) argument 185 tp->allocated = 10; 186 tp->chars = (char *) xmalloc (tp->allocated * sizeof (char)); 187 tp->charcount = 0; 192 free_token (struct token *tp) argument 194 free (tp->chars); 199 grow_token (struct token *tp) argument 201 if (tp->charcount == tp 212 read_token(struct token *tp, const int *first) argument [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/tcpdump/dist/ |
H A D | print-dhcp6.c | 333 u_char *tp; local 359 tp = (u_char *)(dh6o + 1); 360 switch (EXTRACT_16BITS(tp)) { 364 EXTRACT_16BITS(&tp[2]), 365 EXTRACT_32BITS(&tp[4])); 367 printf("%02x", tp[i]); 379 printf("%02x", tp[i]); 390 EXTRACT_16BITS(&tp[2])); 392 printf("%02x", tp[i]); 401 printf(" type %d)", EXTRACT_16BITS(tp)); [all...] |
H A D | addrtoname.c | 328 struct enamemem *tp; local 334 tp = &enametable[(i ^ j) & (HASHNAMESIZE-1)]; 335 while (tp->e_nxt) 336 if (tp->e_addr0 == i && 337 tp->e_addr1 == j && 338 tp->e_addr2 == k) 339 return tp; 341 tp = tp->e_nxt; 342 tp 360 struct enamemem *tp; local 404 struct enamemem *tp; local 446 struct protoidmem *tp; local 473 register struct enamemem *tp; local 520 register struct enamemem *tp; local 553 register struct hnamemem *tp; local 580 register struct protoidmem *tp; local 608 register struct enamemem *tp; local 636 register struct hnamemem *tp; local 655 register struct hnamemem *tp; local 675 register struct hnamemem *tp; local 776 register struct protoidmem *tp; local 827 register struct enamemem *tp; local 1133 register struct hnamemem *tp; local [all...] |
/netbsd-6-1-5-RELEASE/external/ibm-public/postfix/dist/src/global/ |
H A D | tok822_parse.c | 161 #define SKIP(tp, cond) { \ 162 while (tp->type && (cond)) \ 163 tp = tp->prev; \ 166 #define MOVE_COMMENT_AND_CONTINUE(tp, right) { \ 167 TOK822 *prev = tok822_unlink(tp); \ 168 right = tok822_prepend(right, tp); \ 169 tp = prev; \ 173 #define SKIP_MOVE_COMMENT(tp, cond, right) { \ 174 while (tp 203 TOK822 *tp; local 275 TOK822 *tp; local 410 tok822_append_space(TOK822 *tp) argument 433 TOK822 *tp; local 488 TOK822 *tp; local 569 tok822_quote_atom(TOK822 *tp) argument 589 tok822_comment(TOK822 *tp, const char *str) argument 668 TOK822 *tp; local [all...] |
/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/mpz/ |
H A D | tdiv_q.c | 58 mp_ptr tp; local 59 tp = TMP_ALLOC_LIMBS (dl); 60 MPN_COPY (tp, dp, dl); 61 dp = tp; 66 mp_ptr tp; local 67 tp = TMP_ALLOC_LIMBS (nl + 1); 68 MPN_COPY (tp, np, nl); 70 mpn_div_q (qp, tp, nl, dp, dl, tp); 74 mp_ptr tp; local [all...] |
/netbsd-6-1-5-RELEASE/sys/net/ |
H A D | if_tun.c | 117 * Returns with tp locked (if found). 122 struct tun_softc *tp; local 126 LIST_FOREACH(tp, &tun_softc_list, tun_list) 127 if (unit == tp->tun_unit) 129 if (tp) 130 mutex_enter(&tp->tun_lock); 133 return (tp); 139 * Remove tp from list and return it unlocked (if found). 144 struct tun_softc *tp; local 147 LIST_FOREACH(tp, 164 struct tun_softc *tp; local 193 tunattach0(struct tun_softc *tp) argument 225 struct tun_softc *tp = (void *)ifp; local 278 struct tun_softc *tp; local 322 struct tun_softc *tp; local 382 tuninit(struct tun_softc *tp) argument 437 struct tun_softc *tp = (struct tun_softc *)(ifp->if_softc); local 494 struct tun_softc *tp = ifp->if_softc; local 600 struct tun_softc *tp = cookie; local 610 struct tun_softc *tp = cookie; local 623 struct tun_softc *tp; local 731 struct tun_softc *tp; local 823 struct tun_softc *tp; local 979 struct tun_softc *tp = ifp->if_softc; local 1006 struct tun_softc *tp; local 1044 struct tun_softc *tp = kn->kn_hook; local 1055 struct tun_softc *tp = kn->kn_hook; local 1083 struct tun_softc *tp; local [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/atf/dist/atf-c/ |
H A D | tp.c | 37 #include "atf-c/tp.h" 54 find_tc(const atf_tp_t *tp, const char *ident) argument 60 atf_list_for_each_c(iter, &tp->pimpl->m_tcs) { 80 atf_tp_init(atf_tp_t *tp, const char *const *config) argument 86 tp->pimpl = malloc(sizeof(struct atf_tp_impl)); 87 if (tp->pimpl == NULL) 90 err = atf_list_init(&tp->pimpl->m_tcs); 94 err = atf_map_init_charpp(&tp->pimpl->m_config, config); 96 atf_list_fini(&tp->pimpl->m_tcs); 106 atf_tp_fini(atf_tp_t *tp) argument 126 atf_tp_get_config(const atf_tp_t *tp) argument 132 atf_tp_has_tc(const atf_tp_t *tp, const char *id) argument 139 atf_tp_get_tc(const atf_tp_t *tp, const char *id) argument 147 atf_tp_get_tcs(const atf_tp_t *tp) argument 180 atf_tp_add_tc(atf_tp_t *tp, atf_tc_t *tc) argument 198 atf_tp_run(const atf_tp_t *tp, const char *tcname, const char *resfile) argument 209 atf_tp_cleanup(const atf_tp_t *tp, const char *tcname) argument [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/unit/atf-src/atf-c/ |
H A D | tp.c | 39 #include "atf-c/tp.h" 56 find_tc(const atf_tp_t *tp, const char *ident) argument 62 atf_list_for_each_c(iter, &tp->pimpl->m_tcs) { 82 atf_tp_init(atf_tp_t *tp, const char *const *config) argument 88 tp->pimpl = malloc(sizeof(struct atf_tp_impl)); 89 if (tp->pimpl == NULL) 92 err = atf_list_init(&tp->pimpl->m_tcs); 96 err = atf_map_init_charpp(&tp->pimpl->m_config, config); 98 atf_list_fini(&tp->pimpl->m_tcs); 108 atf_tp_fini(atf_tp_t *tp) argument 128 atf_tp_get_config(const atf_tp_t *tp) argument 134 atf_tp_has_tc(const atf_tp_t *tp, const char *id) argument 141 atf_tp_get_tc(const atf_tp_t *tp, const char *id) argument 149 atf_tp_get_tcs(const atf_tp_t *tp) argument 182 atf_tp_add_tc(atf_tp_t *tp, atf_tc_t *tc) argument 200 atf_tp_run(const atf_tp_t *tp, const char *tcname, const char *resfile) argument 211 atf_tp_cleanup(const atf_tp_t *tp, const char *tcname) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/mips/adm5120/dev/ |
H A D | uart.c | 119 struct tty *tp; local 140 tp = tty_alloc(); 141 tp->t_oproc = uart_start; 142 tp->t_param = uart_param; 143 sc->sc_tty = tp; 144 tp->t_dev = makedev(maj, minor); 145 tty_attach(tp); 148 cn_tab->cn_dev = tp->t_dev; 195 struct tty *tp = sc->sc_tty; local 200 tp 227 struct tty *tp = sc->sc_tty; local 239 struct tty *tp = sc->sc_tty; local 248 struct tty *tp = sc->sc_tty; local 257 struct tty *tp = sc->sc_tty; local 266 struct tty *tp = sc->sc_tty; local 276 uart_param(struct tty *tp, struct termios *t) argument 292 uart_start(struct tty *tp) argument 313 uart_stop(struct tty *tp, int flag) argument 328 struct tty *tp = sc->sc_tty; local [all...] |
/netbsd-6-1-5-RELEASE/usr.sbin/lpr/lpd/ |
H A D | ttcompat.c | 61 sttygetoflags(struct termios *tp) argument 63 tcflag_t iflag = tp->c_iflag; 64 tcflag_t lflag = tp->c_lflag; 65 tcflag_t oflag = tp->c_oflag; 66 tcflag_t cflag = tp->c_cflag; 98 sttysetoflags(struct termios *tp, int flags) argument 100 tcflag_t iflag = tp->c_iflag; 101 tcflag_t oflag = tp->c_oflag; 102 tcflag_t lflag = tp->c_lflag; 103 tcflag_t cflag = tp 162 sttyclearflags(struct termios *tp, int flags) argument 191 sttysetflags(struct termios *tp, int flags) argument 219 sttyclearlflags(struct termios *tp, int flags) argument 254 sttysetlflags(struct termios *tp, int flags) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/sun2/dev/ |
H A D | kd.c | 120 struct tty *tp; local 131 tp = tty_alloc(); 132 callout_setfunc(&tp->t_rstrt_ch, kd_later, tp); 133 tp->t_oproc = kdstart; 134 tp->t_param = kdparam; 135 tp->t_dev = makedev(cdevsw_lookup_major(&kd_cdevsw), 0); 137 tty_attach(tp); 138 kd->kd_tty = tp; 144 fbconstty = tp; 204 struct tty *tp; local 259 struct tty *tp; local 282 struct tty *tp; local 294 struct tty *tp; local 306 struct tty *tp; local 318 struct tty *tp; local 340 kdparam(struct tty *tp, struct termios *t) argument 353 kdstart(struct tty *tp) argument 399 struct tty *tp = tpaddr; local 416 kd_putfb(struct tty *tp) argument 462 struct tty *tp; local [all...] |
H A D | pcons.c | 123 struct tty *tp; local 128 if ((tp = sc->of_tty) == NULL) 129 sc->of_tty = tp = tty_alloc(); 130 tp->t_oproc = pconsstart; 131 tp->t_param = pconsparam; 132 tp->t_dev = dev; 134 if (kauth_authorize_device_tty(l->l_cred, KAUTH_DEVICE_TTY_OPEN, tp)) 136 if ((tp->t_state & TS_ISOPEN) == 0) { 137 ttychars(tp); 138 tp 160 struct tty *tp = sc->of_tty; local 173 struct tty *tp = sc->of_tty; local 182 struct tty *tp = sc->of_tty; local 191 struct tty *tp = sc->of_tty; local 200 struct tty *tp = sc->of_tty; local 219 pconsstart(struct tty *tp) argument 245 pconsparam(struct tty *tp, struct termios *t) argument 258 struct tty *tp = sc->of_tty; local [all...] |
/netbsd-6-1-5-RELEASE/usr.bin/man/ |
H A D | manconf.c | 102 TAG *tp; local 135 tp = gettag(p, 1); 136 if (!tp) 157 if (addentry(tp, t, 0) == -1) 163 if (addentry(tp, p, 0) == -1) 175 type = (TAILQ_FIRST(&tp->entrylist) != NULL) ? 176 *(TAILQ_FIRST(&tp->entrylist)->s) : 0; 187 tp->s, p); 191 if (addentry(tp, p, 0) == -1) 211 TAG *tp; local 239 addentry(TAG *tp, const char *newent, int ishead) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/sparc64/dev/ |
H A D | kd.c | 117 struct tty *tp; local 122 tp = tty_alloc(); 123 callout_setfunc(&tp->t_rstrt_ch, kd_later, tp); 124 tp->t_oproc = kdstart; 125 tp->t_param = kdparam; 126 tp->t_dev = makedev(cdevsw_lookup_major(&kd_cdevsw), 0); 128 tty_attach(tp); 129 kd->kd_tty = tp; 135 fbconstty = tp; 161 struct tty *tp; local 216 struct tty *tp; local 239 struct tty *tp; local 251 struct tty *tp; local 263 struct tty *tp; local 275 struct tty *tp; local 297 kdparam(struct tty *tp, struct termios *t) argument 307 kdstart(struct tty *tp) argument 354 struct tty *tp = tpaddr; local 371 kd_putfb(struct tty *tp) argument 417 struct tty *tp; local [all...] |
H A D | pcons.c | 125 struct tty *tp; local 133 if (!(tp = sc->of_tty)) 134 sc->of_tty = tp = tty_alloc(); 135 tp->t_oproc = pconsstart; 136 tp->t_param = pconsparam; 137 tp->t_dev = dev; 139 if (kauth_authorize_device_tty(l->l_cred, KAUTH_DEVICE_TTY_OPEN, tp)) 141 if (!(tp->t_state & TS_ISOPEN)) { 142 ttychars(tp); 143 tp 165 struct tty *tp = sc->of_tty; local 178 struct tty *tp = sc->of_tty; local 187 struct tty *tp = sc->of_tty; local 196 struct tty *tp = sc->of_tty; local 205 struct tty *tp = sc->of_tty; local 222 pconsstart(struct tty *tp) argument 248 pconsparam(struct tty *tp, struct termios *t) argument 260 struct tty *tp = sc->of_tty; local [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/sparc/dev/ |
H A D | kd.c | 124 struct tty *tp; local 126 tp = tty_alloc(); 127 callout_setfunc(&tp->t_rstrt_ch, kd_later, tp); 128 tp->t_oproc = kdstart; 129 tp->t_param = kdparam; 130 tp->t_dev = makedev(cdevsw_lookup_major(&kd_cdevsw), 0); 132 tty_attach(tp); 133 kd->kd_tty = tp; 142 rcons_ttyinit(tp); 190 struct tty *tp; local 244 struct tty *tp; local 267 struct tty *tp; local 279 struct tty *tp; local 291 struct tty *tp; local 303 struct tty *tp; local 325 kdparam(struct tty *tp, struct termios *t) argument 336 kdstart(struct tty *tp) argument 372 struct tty *tp = arg; local 389 kd_putfb(struct tty *tp) argument 416 struct tty *tp; local [all...] |
/netbsd-6-1-5-RELEASE/sys/arch/vax/vax/ |
H A D | gencons.c | 98 struct tty *tp; local 109 tp = gc_softc[unit].gencn_tty; 111 tp->t_oproc = gencnstart; 112 tp->t_param = gencnparam; 113 tp->t_dev = dev; 115 if (kauth_authorize_device_tty(l->l_cred, KAUTH_DEVICE_TTY_OPEN, tp)) 118 if ((tp->t_state & TS_ISOPEN) == 0) { 119 ttychars(tp); 120 tp->t_iflag = TTYDEF_IFLAG; 121 tp 136 struct tty *tp = gc_softc[minor(dev)].gencn_tty; local 153 struct tty *tp = gc_softc[minor(dev)].gencn_tty; local 161 struct tty *tp = gc_softc[minor(dev)].gencn_tty; local 169 struct tty *tp = gc_softc[minor(dev)].gencn_tty; local 177 struct tty *tp = gc_softc[minor(dev)].gencn_tty; local 187 gencnstart(struct tty *tp) argument 215 struct tty *tp = sc->gencn_tty; local 245 struct tty *tp = sc->gencn_tty; local 257 gencnparam(struct tty *tp, struct termios *t) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/dev/qbus/ |
H A D | dl.c | 271 struct tty *tp = sc->sc_tty; local 278 if (!(tp->t_state & TS_ISOPEN)) { 279 cv_broadcast(&tp->t_rawcv); 296 (*tp->t_linesw->l_rint)(cc, tp); 311 struct tty *tp = sc->sc_tty; local 313 tp->t_state &= ~(TS_BUSY | TS_FLUSH); 314 (*tp->t_linesw->l_start)(tp); 322 struct tty *tp; local 364 struct tty *tp = sc->sc_tty; local 378 struct tty *tp = sc->sc_tty; local 387 struct tty *tp = sc->sc_tty; local 396 struct tty *tp = sc->sc_tty; local 405 struct tty *tp = sc->sc_tty; local 447 dlstop(struct tty *tp, int flag) argument 457 dlstart(struct tty *tp) argument 477 dlparam(struct tty *tp, struct termios *t) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/kern/ |
H A D | tty_pty.c | 330 struct tty *tp; local 339 tp = pti->pt_tty; 340 if (!ISSET(tp->t_state, TS_ISOPEN)) { 341 ttychars(tp); /* Set up default chars */ 342 tp->t_iflag = TTYDEF_IFLAG; 343 tp->t_oflag = TTYDEF_OFLAG; 344 tp->t_lflag = TTYDEF_LFLAG; 345 tp->t_cflag = TTYDEF_CFLAG; 346 tp->t_ispeed = tp 376 struct tty *tp = pti->pt_tty; local 390 struct tty *tp = pti->pt_tty; local 450 struct tty *tp = pti->pt_tty; local 464 struct tty *tp = pti->pt_tty; local 477 ptsstart(struct tty *tp) argument 501 ptsstop(struct tty *tp, int flush) argument 530 ptcwakeup(struct tty *tp, int flag) argument 557 struct tty *tp; local 587 struct tty *tp = pti->pt_tty; local 601 struct tty *tp = pti->pt_tty; local 690 struct tty *tp = pti->pt_tty; local 815 struct tty *tp = pti->pt_tty; local 856 struct tty *tp; local 870 struct tty *tp; local 908 struct tty *tp; local 922 struct tty *tp; local 994 struct tty *tp = pti->pt_tty; local 1004 struct tty *tp = pti->pt_tty; local [all...] |
/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/mpn/generic/ |
H A D | toom_eval_pm2exp.c | 34 mp_ptr tp) 56 tp[n] = mpn_lshift (tp, xp+n, n, shift); 58 tp[n] += mpn_addlsh_n (tp, tp, xp+i*n, n, i*shift); 62 cy = mpn_addlsh_n (tp, tp, xp+k*n, hn, k*shift); 63 MPN_INCR_U (tp + hn, n+1 - hn, cy); 72 xp2[n] = mpn_lshift (tp, x 32 mpn_toom_eval_pm2exp(mp_ptr xp2, mp_ptr xm2, unsigned k, mp_srcptr xp, mp_size_t n, mp_size_t hn, unsigned shift, mp_ptr tp) argument [all...] |
/netbsd-6-1-5-RELEASE/sys/dev/ofw/ |
H A D | ofcons.c | 118 struct tty *tp; local 123 if (!(tp = sc->of_tty)) 124 sc->of_tty = tp = tty_alloc(); 125 tp->t_oproc = ofcons_start; 126 tp->t_param = ofcons_param; 127 tp->t_dev = dev; 128 if (kauth_authorize_device_tty(l->l_cred, KAUTH_DEVICE_TTY_OPEN, tp)) 130 if (!(tp->t_state & TS_ISOPEN)) { 131 ttychars(tp); 132 tp 154 struct tty *tp = sc->of_tty; local 167 struct tty *tp = sc->of_tty; local 176 struct tty *tp = sc->of_tty; local 185 struct tty *tp = sc->of_tty; local 193 struct tty *tp = sc->of_tty; local 210 ofcons_start(struct tty *tp) argument 234 ofcons_param(struct tty *tp, struct termios *t) argument 246 struct tty *tp = sc->of_tty; local [all...] |
/netbsd-6-1-5-RELEASE/dist/nvi/common/ |
H A D | put.c | 40 TEXT *ltp, *tp; local 65 tp = cbp->textq.cqh_first; 86 for (; tp != (void *)&cbp->textq; 87 ++lno, ++sp->rptlines[L_ADDED], tp = tp->q.cqe_next) 88 if (db_append(sp, 1, lno, tp->lb, tp->len)) 100 for (; tp != (void *)&cbp->textq; 101 ++lno, ++sp->rptlines[L_ADDED], tp = tp [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/atf/dist/atf-run/ |
H A D | expect_helpers.c | 172 ATF_TP_ADD_TCS(tp) 174 ATF_TP_ADD_TC(tp, pass_and_pass); 175 ATF_TP_ADD_TC(tp, pass_but_fail_requirement); 176 ATF_TP_ADD_TC(tp, pass_but_fail_check); 177 ATF_TP_ADD_TC(tp, fail_and_fail_requirement); 178 ATF_TP_ADD_TC(tp, fail_and_fail_check); 179 ATF_TP_ADD_TC(tp, fail_but_pass); 180 ATF_TP_ADD_TC(tp, exit_any_and_exit); 181 ATF_TP_ADD_TC(tp, exit_code_and_exit); 182 ATF_TP_ADD_TC(tp, exit_but_pas [all...] |
/netbsd-6-1-5-RELEASE/external/bsd/bind/dist/lib/isc/include/isc/ |
H A D | refcount.h | 111 #define isc_refcount_increment0(rp, tp) \ 113 unsigned int *_tmp = (unsigned int *)(tp); \ 120 #define isc_refcount_increment(rp, tp) \ 122 unsigned int *_tmp = (unsigned int *)(tp); \ 130 #define isc_refcount_decrement(rp, tp) \ 132 unsigned int *_tmp = (unsigned int *)(tp); \ 157 #define isc_refcount_increment0(rp, tp) \ 159 unsigned int *_tmp = (unsigned int *)(tp); \ 167 #define isc_refcount_increment(rp, tp) \ 169 unsigned int *_tmp = (unsigned int *)(tp); \ [all...] |