Searched refs:tp (Results 226 - 250 of 1377) sorted by relevance

1234567891011>>

/netbsd-6-1-5-RELEASE/tests/rump/rumpkern/
H A Dt_tsleep.c58 ATF_TP_ADD_TCS(tp)
60 ATF_TP_ADD_TC(tp, tsleep);
/netbsd-6-1-5-RELEASE/external/bsd/ntp/dist/libntp/
H A Ddofptoa.c88 register u_char *tp; local
92 tp = cpend;
93 *(--tp) += 1;
94 while (*tp >= 10) {
95 *tp = 0;
96 *(--tp) += 1;
/netbsd-6-1-5-RELEASE/lib/libc/gen/
H A Dtimes.c66 times(struct tms *tp) argument
72 _DIAGASSERT(tp != NULL);
83 tp->tms_utime = CONVTCK(ru.ru_utime);
84 tp->tms_stime = CONVTCK(ru.ru_stime);
87 tp->tms_cutime = CONVTCK(ru.ru_utime);
88 tp->tms_cstime = CONVTCK(ru.ru_stime);
/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/mpf/
H A Ddiv_ui.c29 mp_ptr rp, tp, rtp; local
74 tp = TMP_ALLOC_LIMBS (tsize + 1);
80 rtp = tp;
84 MPN_ZERO (tp, tsize - usize);
85 rtp = tp + (tsize - usize);
91 mpn_divmod_1 (rp, tp, tsize, (mp_limb_t) v);
H A Dmul.c62 mp_ptr rp, tp; local
66 tp = TMP_ALLOC_LIMBS (rsize);
68 ? mpn_mul (tp, up, usize, vp, vsize)
69 : mpn_mul (tp, vp, vsize, up, usize));
76 tp += rsize - prec;
80 MPN_COPY (rp, tp, rsize);
H A Dsqrt.c56 mp_ptr up, tp; local
85 tp = TMP_ALLOC_LIMBS (tsize);
91 MPN_COPY (tp, up, tsize);
95 MPN_ZERO (tp, tsize - usize);
96 MPN_COPY (tp + (tsize - usize), up, usize);
99 mpn_sqrtrem (r->_mp_d, NULL, tp, tsize);
H A Ddiv.c49 mp_ptr rp, tp, new_vp; local
96 tp = TMP_ALLOC_LIMBS (tsize + 1); /* +1 for mpn_div_q's scratch needs */
97 MPN_ZERO (tp, zeros);
98 MPN_COPY (tp+zeros, up, usize);
99 up = tp;
104 tp = TMP_ALLOC_LIMBS (usize + 1);
116 mpn_div_q (rp, up, usize, vp, vsize, tp);
H A Dset_q.c68 mp_ptr qp, tp, remp; local
105 tp = NULL;
107 tp = TMP_ALLOC_LIMBS (tsize);
114 tp = remp + dsize;
120 MPN_ZERO (tp, zeros);
121 MPN_COPY (tp+zeros, np, nsize);
122 np = tp;
/netbsd-6-1-5-RELEASE/usr.bin/w/
H A Dpr_time.c63 struct tm *tp; local
67 tp = localtime(started);
72 (void)strftime(buf, sizeof(buf), "%d%b%y", tp);
73 } else if (tp->tm_yday != tnow_yday) {
75 (void)strftime(buf, sizeof(buf), "%a%" "I%p", tp);
78 (void)strftime(buf, sizeof(buf), "%l:%" "M%p", tp);
/netbsd-6-1-5-RELEASE/usr.bin/xlint/lint2/
H A Demit2.c51 outtype(type_t *tp) argument
57 while (tp != NULL) {
58 if ((ts = tp->t_tspec) == INT && tp->t_isenum)
86 if (tp->t_args != NULL && !tp->t_proto) {
96 if (tp->t_const)
98 if (tp->t_volatile)
104 outint(tp->t_dim);
106 if (tp
[all...]
/netbsd-6-1-5-RELEASE/external/lgpl3/gmp/dist/mpn/generic/
H A Dpowm.c46 * Write an itch function. Or perhaps get rid of tp parameter since the huge
122 mp_ptr tp, qp; local
126 tp = TMP_ALLOC_LIMBS (un + n);
127 qp = TMP_ALLOC_LIMBS (un + 1); /* FIXME: Put at tp+? */
129 MPN_ZERO (tp, n);
130 MPN_COPY (tp + n, up, un);
131 mpn_tdiv_qr (qp, rp, 0L, tp, un + n, mp, n);
138 Uses scratch space at tp of MAX(mpn_binvert_itch(n),2n) limbs. */
142 mp_srcptr mp, mp_size_t n, mp_ptr tp)
168 mpn_sqr (tp, this_p
140 mpn_powm(mp_ptr rp, mp_srcptr bp, mp_size_t bn, mp_srcptr ep, mp_size_t en, mp_srcptr mp, mp_size_t n, mp_ptr tp) argument
[all...]
H A Dpowlo.c65 Uses scratch space tp[3n-1..0], i.e., 3n words. */
69 mp_size_t n, mp_ptr tp)
95 b2p = tp + 2*n;
98 mpn_sqr (tp, bp, n); /* FIXME: Use "mpn_sqrlo" */
99 MPN_COPY (b2p, tp, n);
125 mpn_sqr (tp, rp, n); /* FIXME: Use "mpn_sqrlo" */
126 MPN_COPY (rp, tp, n);
152 mpn_sqr (tp, rp, n);
153 MPN_COPY (rp, tp, n);
158 mpn_mullo_n (tp, r
67 mpn_powlo(mp_ptr rp, mp_srcptr bp, mp_srcptr ep, mp_size_t en, mp_size_t n, mp_ptr tp) argument
[all...]
/netbsd-6-1-5-RELEASE/gnu/dist/gettext/gettext-tools/src/
H A Dx-perl.c615 free_token (token_ty *tp) argument
617 switch (tp->type)
623 free (tp->string);
628 free (tp);
767 static void x_perl_unlex (token_ty *tp);
835 Return the resulting token in *tp; tp->type == token_type_string. */
837 extract_quotelike (token_ty *tp, int delim) argument
842 tp->type = token_type_string;
847 tp
856 extract_triple_quotelike(message_list_ty *mlp, token_ty *tp, int delim, bool interpolate) argument
891 extract_quotelike_pass3(token_ty *tp, int error_level) argument
1282 extract_variable(message_list_ty *mlp, token_ty *tp, int first) argument
1975 x_perl_prelex(message_list_ty *mlp, token_ty *tp) argument
2598 token_ty *tp = token_stack_pop (&token_stack); local
2699 x_perl_unlex(token_ty *tp) argument
2711 collect_message(message_list_ty *mlp, token_ty *tp, int error_level) argument
2843 token_ty *tp; local
[all...]
/netbsd-6-1-5-RELEASE/sys/dev/sun/
H A Dsunms.c145 struct tty *tp = args->kmta_tp; local
154 tp->t_sc = ms;
155 tp->t_dev = args->kmta_dev;
156 ms->ms_priv = tp;
165 ttyldisc_release(tp->t_linesw);
166 tp->t_linesw = ttyldisc_lookup(sunms_disc.l_name);
167 KASSERT(tp->t_linesw == &sunms_disc);
168 tp->t_oflag &= ~OPOST;
193 struct tty *tp = ms->ms_priv; local
199 if ((error = cdev_open(tp
214 sunmsinput(int c, struct tty *tp) argument
[all...]
/netbsd-6-1-5-RELEASE/external/bsd/less/dist/
H A Dtags.c79 #define TAG_INS(tp) \
80 (tp)->next = TAG_END; \
81 (tp)->prev = taglist.tl_last; \
82 taglist.tl_last->next = (tp); \
83 taglist.tl_last = (tp);
85 #define TAG_RM(tp) \
86 (tp)->next->prev = (tp)->prev; \
87 (tp)->prev->next = (tp)
95 register struct tag *tp; local
122 register struct tag *tp; local
283 struct tag *tp; local
481 struct tag *tp; local
612 struct tag *tp; local
642 struct tag *tp; local
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/hp300/dev/
H A Ddcm.c485 struct tty *tp; local
501 tp = sc->sc_tty[port] = tty_alloc();
502 tty_attach(tp);
504 tp = sc->sc_tty[port];
506 tp->t_oproc = dcmstart;
507 tp->t_param = dcmparam;
508 tp->t_dev = dev;
510 if (kauth_authorize_device_tty(l->l_cred, KAUTH_DEVICE_TTY_OPEN, tp))
515 if ((tp->t_state & TS_ISOPEN) == 0 && tp
576 struct tty *tp; local
612 struct tty *tp; local
629 struct tty *tp; local
646 struct tty *tp; local
806 struct tty *tp; local
902 struct tty *tp; local
918 struct tty *tp; local
960 struct tty *tp; local
1072 dcmparam(struct tty *tp, struct termios *t) argument
1150 dcmstart(struct tty *tp) argument
1273 dcmstop(struct tty *tp, int flag) argument
1382 struct tty *tp; local
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/sh3/dev/
H A Dscif.c428 struct tty *tp; local
483 tp = tty_alloc();
484 tp->t_oproc = scifstart;
485 tp->t_param = scifparam;
486 tp->t_hwiflow = NULL;
488 sc->sc_tty = tp;
496 tty_attach(tp);
507 scifstart(struct tty *tp) argument
512 sc = device_lookup_private(&scif_cd, SCIFUNIT(tp->t_dev));
515 if (ISSET(tp
571 scifparam(struct tty *tp, struct termios *t) argument
713 struct tty *tp; local
823 struct tty *tp; local
845 struct tty *tp; local
857 struct tty *tp; local
869 struct tty *tp; local
881 struct tty *tp; local
893 struct tty *tp; local
980 scifstop(struct tty *tp, int flag) argument
1020 scif_rxsoft(struct scif_softc *sc, struct tty *tp) argument
1104 scif_txsoft(struct scif_softc *sc, struct tty *tp) argument
1156 struct tty *tp; local
[all...]
H A Dsci.c374 struct tty *tp; local
405 tp = tty_alloc();
406 tp->t_oproc = scistart;
407 tp->t_param = sciparam;
408 tp->t_hwiflow = NULL;
410 sc->sc_tty = tp;
419 tty_attach(tp);
426 scistart(struct tty *tp) argument
428 struct sci_softc *sc = device_lookup_private(&sci_cd,SCIUNIT(tp->t_dev));
432 if (ISSET(tp
478 sciparam(struct tty *tp, struct termios *t) argument
612 struct tty *tp; local
722 struct tty *tp = sc->sc_tty; local
741 struct tty *tp = sc->sc_tty; local
750 struct tty *tp = sc->sc_tty; local
759 struct tty *tp = sc->sc_tty; local
768 struct tty *tp = sc->sc_tty; local
777 struct tty *tp = sc->sc_tty; local
862 scistop(struct tty *tp, int flag) argument
900 sci_rxsoft(struct sci_softc *sc, struct tty *tp) argument
984 sci_txsoft(struct sci_softc *sc, struct tty *tp) argument
996 sci_stsoft(struct sci_softc *sc, struct tty *tp) argument
1037 struct tty *tp; local
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/xen/xen/
H A Dxencons.c252 struct tty *tp; local
258 tp = sc->sc_tty;
260 if (kauth_authorize_device_tty(l->l_cred, KAUTH_DEVICE_TTY_OPEN, tp))
263 if ((tp->t_state & TS_ISOPEN) == 0 && tp->t_wopen == 0) {
264 tp->t_dev = dev;
265 ttychars(tp);
266 tp->t_iflag = TTYDEF_IFLAG;
267 tp->t_oflag = TTYDEF_OFLAG;
268 tp
284 struct tty *tp = sc->sc_tty; local
301 struct tty *tp = sc->sc_tty; local
311 struct tty *tp = sc->sc_tty; local
321 struct tty *tp = sc->sc_tty; local
331 struct tty *tp = sc->sc_tty; local
341 struct tty *tp = sc->sc_tty; local
363 xencons_start(struct tty *tp) argument
430 xencons_stop(struct tty *tp, int flag) argument
487 struct tty *tp; local
629 xencons_param(struct tty *tp, struct termios *t) argument
[all...]
/netbsd-6-1-5-RELEASE/sys/dev/pci/
H A Dradeonfb_bios.c238 rb_validate(struct radeonfb_softc *sc, struct rb_table *tp) argument
242 rev = GETBIOS8(sc, tp->offset - 1);
245 DPRINTF(("%s: bad rev %x of %s\n", XNAME(sc), rev, tp->name));
246 tp->offset = 0;
250 if (tp->offset < MIN_OFFSET) {
251 DPRINTF(("%s: wrong pointer to %s!\n", XNAME(sc), tp->name));
252 tp->offset = 0;
258 rb_find_asic_table(struct radeonfb_softc *sc, struct rb_table *tp) argument
263 if ((offset = tp->offset) != 0) {
278 rb_find_mem_reset_table(struct radeonfb_softc *sc, struct rb_table *tp) argument
292 rb_find_short_mem_reset_table(struct radeonfb_softc *sc, struct rb_table *tp) argument
361 rb_load_init_block(struct radeonfb_softc *sc, struct rb_table *tp) argument
446 rb_load_pll_block(struct radeonfb_softc *sc, struct rb_table *tp) argument
516 rb_reset_sdram(struct radeonfb_softc *sc, struct rb_table *tp) argument
560 struct rb_table *tp; local
[all...]
/netbsd-6-1-5-RELEASE/sys/dev/usb/
H A Ducycom.c231 struct tty *tp = sc->sc_tty; local
235 DPRINTF(("ucycom_detach: sc=%p flags=%d tp=%p\n", sc, flags, tp));
240 if (tp != NULL) {
242 CLR(tp->t_state, TS_CARR_ON);
243 CLR(tp->t_cflag, CLOCAL | MDMBUF);
244 ttyflush(tp, FREAD|FWRITE);
263 if (tp != NULL) {
264 DPRINTF(("ucycom_detach: tty_detach %p\n", tp));
265 tty_detach(tp);
312 struct tty *tp; local
427 struct tty *tp = sc->sc_tty; local
449 ucycomstart(struct tty *tp) argument
589 struct tty *tp = sc->sc_tty; local
629 ucycomparam(struct tty *tp, struct termios *t) argument
714 ucycomstop(struct tty *tp, int flag) argument
724 struct tty *tp = sc->sc_tty; local
742 struct tty *tp = sc->sc_tty; local
759 struct tty *tp = sc->sc_tty; local
771 struct tty *tp = sc->sc_tty; local
847 struct tty *tp = sc->sc_tty; local
920 struct tty *tp = sc->sc_tty; local
[all...]
/netbsd-6-1-5-RELEASE/external/cddl/osnet/dist/common/ctf/
H A Dctf_types.c33 ctf_get_ctt_size(const ctf_file_t *fp, const ctf_type_t *tp, ssize_t *sizep, argument
39 tp->ctt_size == CTF_LSIZE_SENT) {
40 size = CTF_TYPE_LSIZE(tp);
43 size = tp->ctt_size;
63 const ctf_type_t *tp; local
71 if ((tp = ctf_lookup_by_id(&fp, type)) == NULL)
74 (void) ctf_get_ctt_size(fp, tp, &size, &increment);
75 kind = LCTF_INFO_KIND(fp, tp->ctt_info);
82 ((uintptr_t)tp + increment);
84 for (n = LCTF_INFO_VLEN(fp, tp
114 const ctf_type_t *tp; local
153 const ctf_type_t *tp = LCTF_INDEX_TO_TYPEPTR(fp, id); local
174 const ctf_type_t *tp; local
242 const ctf_type_t *tp = local
322 const ctf_type_t *tp; local
371 const ctf_type_t *tp; local
435 const ctf_type_t *tp; local
451 const ctf_type_t *tp; local
506 const ctf_type_t *tp; local
630 const ctf_type_t *tp; local
680 const ctf_type_t *tp; local
708 const ctf_type_t *tp; local
745 const ctf_type_t *tp; local
789 const ctf_type_t *tp; local
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/hpcmips/tx/
H A Dtxcom.c198 struct tty *tp; local
233 tp = tty_alloc();
234 tp->t_oproc = txcomstart;
235 tp->t_param = txcomparam;
236 tp->t_hwiflow = NULL;
237 sc->sc_tty = tp;
238 tty_attach(tp);
625 struct tty *tp = sc->sc_tty; local
635 if (ISSET(tp->t_cflag, HUPCL)) {
713 struct tty *tp local
763 struct tty *tp = sc->sc_tty; local
783 struct tty *tp; local
880 struct tty *tp = sc->sc_tty; local
905 struct tty *tp = sc->sc_tty; local
914 struct tty *tp = sc->sc_tty; local
923 struct tty *tp = sc->sc_tty; local
940 struct tty *tp = sc->sc_tty; local
999 txcomstop(struct tty *tp, int flag) argument
1020 txcomstart(struct tty *tp) argument
1061 txcomparam(struct tty *tp, struct termios *t) argument
1150 struct tty *tp = sc->sc_tty; local
1166 struct tty *tp = sc->sc_tty; local
[all...]
/netbsd-6-1-5-RELEASE/sys/arch/atari/dev/
H A Dzs.c382 struct tty *tp; local
406 tp = cs->cs_ttyp;
407 if (tp == NULL) {
408 cs->cs_ttyp = tp = tty_alloc();
409 tty_attach(tp);
410 tp->t_dev = dev;
411 tp->t_oproc = zsstart;
412 tp->t_param = zsparam;
415 if (kauth_authorize_device_tty(l->l_cred, KAUTH_DEVICE_TTY_OPEN, tp))
423 if ((tp
480 struct tty *tp; local
510 struct tty *tp; local
526 struct tty *tp; local
542 struct tty *tp; local
735 struct tty *tp; local
853 struct tty *tp = cs->cs_ttyp; local
968 zsstart(struct tty *tp) argument
1021 zsstop(struct tty *tp, int flag) argument
1043 struct tty *tp = cs->cs_ttyp; local
1078 zsparam(struct tty *tp, struct termios *t) argument
[all...]
/netbsd-6-1-5-RELEASE/tests/lib/libm/
H A Dt_log.c900 ATF_TP_ADD_TCS(tp)
903 ATF_TP_ADD_TC(tp, log10_base);
904 ATF_TP_ADD_TC(tp, log10_nan);
905 ATF_TP_ADD_TC(tp, log10_inf_neg);
906 ATF_TP_ADD_TC(tp, log10_inf_pos);
907 ATF_TP_ADD_TC(tp, log10_one_pos);
908 ATF_TP_ADD_TC(tp, log10_zero_neg);
909 ATF_TP_ADD_TC(tp, log10_zero_pos);
911 ATF_TP_ADD_TC(tp, log10f_base);
912 ATF_TP_ADD_TC(tp, log10f_na
[all...]

Completed in 315 milliseconds

1234567891011>>