Home
last modified time | relevance | path

Searched refs:tp (Results 226 – 250 of 1349) sorted by relevance

12345678910>>...54

/freebsd/contrib/netbsd-tests/lib/librt/
H A Dt_sched.c241 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument
244 ATF_TP_ADD_TC(tp, sched_getparam); in ATF_TP_ADD_TCS()
245 ATF_TP_ADD_TC(tp, sched_priority); in ATF_TP_ADD_TCS()
247 ATF_TP_ADD_TC(tp, sched_setscheduler_1); in ATF_TP_ADD_TCS()
248 ATF_TP_ADD_TC(tp, sched_setscheduler_2); in ATF_TP_ADD_TCS()
249 ATF_TP_ADD_TC(tp, sched_setscheduler_3); in ATF_TP_ADD_TCS()
250 ATF_TP_ADD_TC(tp, sched_setscheduler_4); in ATF_TP_ADD_TCS()
252 ATF_TP_ADD_TC(tp, sched_rr_get_interval_1); in ATF_TP_ADD_TCS()
253 ATF_TP_ADD_TC(tp, sched_rr_get_interval_2); in ATF_TP_ADD_TCS()
/freebsd/tests/sys/kern/acct/
H A Dacct_test.c224 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument
227 ATF_TP_ADD_TC(tp, encode_long); in ATF_TP_ADD_TCS()
228 ATF_TP_ADD_TC(tp, encode_tv_zero); in ATF_TP_ADD_TCS()
229 ATF_TP_ADD_TC(tp, encode_tv_only_sec); in ATF_TP_ADD_TCS()
230 ATF_TP_ADD_TC(tp, encode_tv_only_usec); in ATF_TP_ADD_TCS()
231 ATF_TP_ADD_TC(tp, encode_tv_many_usec); in ATF_TP_ADD_TCS()
232 ATF_TP_ADD_TC(tp, encode_tv_usec_overflow); in ATF_TP_ADD_TCS()
233 ATF_TP_ADD_TC(tp, encode_tv_upper_limit); in ATF_TP_ADD_TCS()
234 ATF_TP_ADD_TC(tp, encode_tv_random_million); in ATF_TP_ADD_TCS()
/freebsd/usr.sbin/wlandebug/
H A Dwlandebug.c192 const char *cp, *tp; in main() local
231 for (tp = cp; *tp != '\0' && *tp != '+' && *tp != '-';) in main()
232 tp++; in main()
233 bit = getflag(cp, tp-cp); in main()
245 (int)(tp-cp), cp); in main()
249 } while (*(cp = tp) != '\0'); in main()
/freebsd/contrib/ntp/libntp/
H A Ddolfptoa.c95 u_char *tp = cpend; in dolfptoa() local
98 for (dec = (int)(tp - cbuf); carry && dec > 0; dec--) { in dolfptoa()
99 *--tp += 1; in dolfptoa()
100 if (*tp == 10) in dolfptoa()
101 *tp = 0; in dolfptoa()
106 if (tp < cp) /* rounding from 999 to 1000 or similiar? */ in dolfptoa()
107 cp = tp; in dolfptoa()
H A Ddofptoa.c87 register u_char *tp; in dofptoa() local
91 tp = cpend; in dofptoa()
92 *(--tp) += 1; in dofptoa()
93 while (*tp >= 10) { in dofptoa()
94 *tp = 0; in dofptoa()
95 *(--tp) += 1; in dofptoa()
/freebsd/contrib/netbsd-tests/include/machine/
H A Dt_bswap.c167 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument
170 ATF_TP_ADD_TC(tp, bswap16_basic); in ATF_TP_ADD_TCS()
171 ATF_TP_ADD_TC(tp, bswap16_unconst); in ATF_TP_ADD_TCS()
172 ATF_TP_ADD_TC(tp, bswap32_basic); in ATF_TP_ADD_TCS()
173 ATF_TP_ADD_TC(tp, bswap32_unconst); in ATF_TP_ADD_TCS()
174 ATF_TP_ADD_TC(tp, bswap64_basic); in ATF_TP_ADD_TCS()
175 ATF_TP_ADD_TC(tp, bswap64_unconst); in ATF_TP_ADD_TCS()
/freebsd/sys/amd64/ia32/
H A Dia32_signal.c148 struct trapframe *tp; in ia32_get_mcontext() local
151 tp = td->td_frame; in ia32_get_mcontext()
157 mcp->mc_gs = tp->tf_gs; in ia32_get_mcontext()
158 mcp->mc_fs = tp->tf_fs; in ia32_get_mcontext()
159 mcp->mc_es = tp->tf_es; in ia32_get_mcontext()
160 mcp->mc_ds = tp->tf_ds; in ia32_get_mcontext()
177 mcp->mc_cs = tp->tf_cs; in ia32_get_mcontext()
179 mcp->mc_ss = tp->tf_ss; in ia32_get_mcontext()
200 struct trapframe *tp; in ia32_set_mcontext() local
205 tp = td->td_frame; in ia32_set_mcontext()
[all …]
/freebsd/contrib/netbsd-tests/lib/libm/
H A Dt_fe_round.c186 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument
189 ATF_TP_ADD_TC(tp, fe_round); in ATF_TP_ADD_TCS()
190 ATF_TP_ADD_TC(tp, fe_nearbyint); in ATF_TP_ADD_TCS()
191 ATF_TP_ADD_TC(tp, fe_nextafter); in ATF_TP_ADD_TCS()
192 ATF_TP_ADD_TC(tp, fe_nexttoward); in ATF_TP_ADD_TCS()
249 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument
251 ATF_TP_ADD_TC(tp, t_nofe_round); in ATF_TP_ADD_TCS()
252 ATF_TP_ADD_TC(tp, t_nofe_nearbyint); in ATF_TP_ADD_TCS()
253 ATF_TP_ADD_TC(tp, t_nofe_nextafter); in ATF_TP_ADD_TCS()
254 ATF_TP_ADD_TC(tp, t_nofe_nexttoward); in ATF_TP_ADD_TCS()
H A Dt_atan.c92 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument
95 ATF_TP_ADD_TC(tp, atan_nan); in ATF_TP_ADD_TCS()
96 ATF_TP_ADD_TC(tp, atan_inrange); in ATF_TP_ADD_TCS()
97 ATF_TP_ADD_TC(tp, atan_zero_neg); in ATF_TP_ADD_TCS()
98 ATF_TP_ADD_TC(tp, atan_zero_pos); in ATF_TP_ADD_TCS()
/freebsd/lib/libc/gen/
H A Dtimes.c44 times(struct tms *tp) in times() argument
52 tp->tms_utime = CONVTCK(ru.ru_utime); in times()
53 tp->tms_stime = CONVTCK(ru.ru_stime); in times()
56 tp->tms_cutime = CONVTCK(ru.ru_utime); in times()
57 tp->tms_cstime = CONVTCK(ru.ru_stime); in times()
/freebsd/contrib/netbsd-tests/lib/libc/stdio/
H A Dt_printf.c193 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument
196 ATF_TP_ADD_TC(tp, snprintf_c99); in ATF_TP_ADD_TCS()
197 ATF_TP_ADD_TC(tp, snprintf_dotzero); in ATF_TP_ADD_TCS()
198 ATF_TP_ADD_TC(tp, snprintf_posarg); in ATF_TP_ADD_TCS()
199 ATF_TP_ADD_TC(tp, snprintf_posarg_width); in ATF_TP_ADD_TCS()
200 ATF_TP_ADD_TC(tp, snprintf_posarg_error); in ATF_TP_ADD_TCS()
201 ATF_TP_ADD_TC(tp, snprintf_float); in ATF_TP_ADD_TCS()
202 ATF_TP_ADD_TC(tp, sprintf_zeropad); in ATF_TP_ADD_TCS()
/freebsd/tests/sys/aio/
H A Daio_test.c2060 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument
2064 ATF_TP_ADD_TC(tp, file_kq); in ATF_TP_ADD_TCS()
2065 ATF_TP_ADD_TC(tp, file_poll); in ATF_TP_ADD_TCS()
2070 ATF_TP_ADD_TC(tp, fifo_kq); in ATF_TP_ADD_TCS()
2071 ATF_TP_ADD_TC(tp, fifo_poll); in ATF_TP_ADD_TCS()
2076 ATF_TP_ADD_TC(tp, socket_kq); in ATF_TP_ADD_TCS()
2082 ATF_TP_ADD_TC(tp, pty_kq); in ATF_TP_ADD_TCS()
2083 ATF_TP_ADD_TC(tp, pty_poll); in ATF_TP_ADD_TCS()
2088 ATF_TP_ADD_TC(tp, pipe_kq); in ATF_TP_ADD_TCS()
2094 ATF_TP_ADD_TC(tp, md_kq); in ATF_TP_ADD_TCS()
[all …]
/freebsd/usr.bin/finger/
H A Dlprint.c97 struct tm *tp; in lprint() local
169 tp = localtime(&w->loginat); in lprint()
172 tp); in lprint()
201 tp = localtime(&w->loginat); in lprint()
206 tp); in lprint()
211 tp); in lprint()
225 tp = localtime(&pn->mailrecv); in lprint()
229 tp); in lprint()
231 tp = localtime(&pn->mailread); in lprint()
235 tp); in lprint()
[all …]
/freebsd/sys/powerpc/pseries/
H A Dphyp_console.c56 struct tty *tp; member
242 sc->tp = tty_alloc(&uart_phyp_tty_class, sc); in uart_phyp_attach()
250 tty_init_console(sc->tp, 0); in uart_phyp_attach()
267 tty_makedev(sc->tp, NULL, "u%r", unit); in uart_phyp_attach()
430 uart_phyp_ttyoutwakeup(struct tty *tp) in uart_phyp_ttyoutwakeup() argument
436 sc = tty_softc(tp); in uart_phyp_ttyoutwakeup()
446 struct tty *tp = sc->tp; in uart_phyp_intr() local
450 tty_lock(tp); in uart_phyp_intr()
452 ttydisc_rint(tp, c, 0); in uart_phyp_intr()
453 ttydisc_rint_done(tp); in uart_phyp_intr()
[all …]
/freebsd/tests/sys/kern/
H A Dkcov.c460 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument
463 ATF_TP_ADD_TC(tp, kcov_bufsize); in ATF_TP_ADD_TCS()
464 ATF_TP_ADD_TC(tp, kcov_mmap); in ATF_TP_ADD_TCS()
465 ATF_TP_ADD_TC(tp, kcov_mmap_no_munmap); in ATF_TP_ADD_TCS()
467 ATF_TP_ADD_TC(tp, kcov_enable); in ATF_TP_ADD_TCS()
468 ATF_TP_ADD_TC(tp, kcov_enable_no_disable); in ATF_TP_ADD_TCS()
471 ATF_TP_ADD_TC(tp, kcov_basic_pc); in ATF_TP_ADD_TCS()
472 ATF_TP_ADD_TC(tp, kcov_basic_cmp); in ATF_TP_ADD_TCS()
473 ATF_TP_ADD_TC(tp, kcov_thread_pc); in ATF_TP_ADD_TCS()
474 ATF_TP_ADD_TC(tp, kcov_thread_cmp); in ATF_TP_ADD_TCS()
[all …]
/freebsd/lib/libc/tests/string/
H A Dwcscasecmp_test.c114 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument
117 ATF_TP_ADD_TC(tp, nul); in ATF_TP_ADD_TCS()
118 ATF_TP_ADD_TC(tp, wcscasecmp_equal); in ATF_TP_ADD_TCS()
119 ATF_TP_ADD_TC(tp, wcscasecmp_same_len_buffers); in ATF_TP_ADD_TCS()
120 ATF_TP_ADD_TC(tp, wcscasecmp_mismatched_len_buffers); in ATF_TP_ADD_TCS()
121 ATF_TP_ADD_TC(tp, wcsncasecmp); in ATF_TP_ADD_TCS()
122 ATF_TP_ADD_TC(tp, wcscasecmp_greek); in ATF_TP_ADD_TCS()
/freebsd/contrib/netbsd-tests/lib/libc/c063/
H A Dt_faccessat.c177 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument
180 ATF_TP_ADD_TC(tp, faccessat_fd); in ATF_TP_ADD_TCS()
181 ATF_TP_ADD_TC(tp, faccessat_fdcwd); in ATF_TP_ADD_TCS()
182 ATF_TP_ADD_TC(tp, faccessat_fdcwderr); in ATF_TP_ADD_TCS()
183 ATF_TP_ADD_TC(tp, faccessat_fderr1); in ATF_TP_ADD_TCS()
184 ATF_TP_ADD_TC(tp, faccessat_fderr2); in ATF_TP_ADD_TCS()
185 ATF_TP_ADD_TC(tp, faccessat_fderr3); in ATF_TP_ADD_TCS()
186 ATF_TP_ADD_TC(tp, faccessat_fdlink); in ATF_TP_ADD_TCS()
/freebsd/contrib/netbsd-tests/lib/libc/net/
H A Dt_getprotoent.c221 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument
224 ATF_TP_ADD_TC(tp, getprotobyname_basic); in ATF_TP_ADD_TCS()
225 ATF_TP_ADD_TC(tp, getprotobyname_err); in ATF_TP_ADD_TCS()
226 ATF_TP_ADD_TC(tp, getprotobynumber_basic); in ATF_TP_ADD_TCS()
227 ATF_TP_ADD_TC(tp, getprotobynumber_err); in ATF_TP_ADD_TCS()
228 ATF_TP_ADD_TC(tp, endprotoent_rewind); in ATF_TP_ADD_TCS()
229 ATF_TP_ADD_TC(tp, getprotoent_next); in ATF_TP_ADD_TCS()
230 ATF_TP_ADD_TC(tp, setprotoent_rewind); in ATF_TP_ADD_TCS()
/freebsd/contrib/atf/atf-c/detail/
H A Denv_test.c124 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument
126 ATF_TP_ADD_TC(tp, has); in ATF_TP_ADD_TCS()
127 ATF_TP_ADD_TC(tp, get); in ATF_TP_ADD_TCS()
128 ATF_TP_ADD_TC(tp, get_with_default); in ATF_TP_ADD_TCS()
129 ATF_TP_ADD_TC(tp, set); in ATF_TP_ADD_TCS()
130 ATF_TP_ADD_TC(tp, unset); in ATF_TP_ADD_TCS()
H A Ddynstr_test.c605 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument
608 ATF_TP_ADD_TC(tp, init); in ATF_TP_ADD_TCS()
609 ATF_TP_ADD_TC(tp, init_ap); in ATF_TP_ADD_TCS()
610 ATF_TP_ADD_TC(tp, init_fmt); in ATF_TP_ADD_TCS()
611 ATF_TP_ADD_TC(tp, init_raw); in ATF_TP_ADD_TCS()
612 ATF_TP_ADD_TC(tp, init_rep); in ATF_TP_ADD_TCS()
614 ATF_TP_ADD_TC(tp, copy); in ATF_TP_ADD_TCS()
618 ATF_TP_ADD_TC(tp, cstring); in ATF_TP_ADD_TCS()
619 ATF_TP_ADD_TC(tp, length); in ATF_TP_ADD_TCS()
620 ATF_TP_ADD_TC(tp, rfind_ch); in ATF_TP_ADD_TCS()
[all …]
/freebsd/tests/sys/netpfil/pf/ioctl/
H A Dvalidation.c897 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument
899 ATF_TP_ADD_TC(tp, addtables); in ATF_TP_ADD_TCS()
900 ATF_TP_ADD_TC(tp, deltables); in ATF_TP_ADD_TCS()
906 ATF_TP_ADD_TC(tp, addaddrs); in ATF_TP_ADD_TCS()
907 ATF_TP_ADD_TC(tp, deladdrs); in ATF_TP_ADD_TCS()
908 ATF_TP_ADD_TC(tp, setaddrs); in ATF_TP_ADD_TCS()
909 ATF_TP_ADD_TC(tp, getaddrs); in ATF_TP_ADD_TCS()
911 ATF_TP_ADD_TC(tp, tstaddrs); in ATF_TP_ADD_TCS()
914 ATF_TP_ADD_TC(tp, cxbegin); in ATF_TP_ADD_TCS()
916 ATF_TP_ADD_TC(tp, commit); in ATF_TP_ADD_TCS()
[all …]
/freebsd/usr.bin/showmount/
H A Dshowmount.c262 register struct mountlist *tp; in xdr_mntdump() local
294 tp = *mlp; in xdr_mntdump()
295 while (tp) { in xdr_mntdump()
296 val = strcmp(mp->ml_host, tp->ml_host); in xdr_mntdump()
297 val2 = strcmp(mp->ml_dirp, tp->ml_dirp); in xdr_mntdump()
323 otp = &tp->ml_left; in xdr_mntdump()
324 tp = tp->ml_left; in xdr_mntdump()
326 otp = &tp->ml_right; in xdr_mntdump()
327 tp = tp->ml_right; in xdr_mntdump()
/freebsd/sys/netinet/tcp_stacks/
H A Dsack_filter.c109 return (tp->t_maxseg - 12); in tcp_fixed_maxseg()
580 segmax = tcp_fixed_maxseg(tp); in sack_filter_blks()
695 struct tcpcb tp; in main() local
708 memset(&tp, 0, sizeof(tp)); in main()
709 tp.t_maxseg = 1460; in main()
802 tp.snd_una = th_ack; in main()
805 tp.snd_una = th_ack; in main()
823 if (SEQ_GT(endv, tp.snd_max)) in main()
824 tp.snd_max = endv; in main()
856 if (fwrite(&tp, sizeof(tp), 1, io) != 1) { in main()
[all …]
/freebsd/sys/dev/cxgbe/tom/
H A Dt4_tom.c245 tp->tod = &td->tod; in offload_socket()
246 tp->t_toe = toep; in offload_socket()
247 tp->t_flags |= TF_TOE; in offload_socket()
291 tp->tod = NULL; in undo_offload_socket()
292 tp->t_toe = NULL; in undo_offload_socket()
389 tp->tod = NULL; in t4_pcb_detach()
390 tp->t_toe = NULL; in t4_pcb_detach()
935 (SEQ_LT(seq, tp->snd_una) || SEQ_GEQ(seq, tp->snd_max))) { in t4_pmtu_update()
938 __func__, toep->tid, seq, tp->snd_una, tp->snd_max); in t4_pmtu_update()
1229 struct tp_params *tp = &sc->params.tp; in select_ntuple() local
[all …]
/freebsd/contrib/netbsd-tests/lib/libc/locale/
H A Dt_io.c168 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument
170 ATF_TP_ADD_TC(tp, bad_big5_wprintf); in ATF_TP_ADD_TCS()
171 ATF_TP_ADD_TC(tp, bad_big5_swprintf); in ATF_TP_ADD_TCS()
172 ATF_TP_ADD_TC(tp, good_big5_wprintf); in ATF_TP_ADD_TCS()
173 ATF_TP_ADD_TC(tp, good_big5_swprintf); in ATF_TP_ADD_TCS()
174 ATF_TP_ADD_TC(tp, good_big5_getwc); in ATF_TP_ADD_TCS()
175 ATF_TP_ADD_TC(tp, bad_big5_getwc); in ATF_TP_ADD_TCS()

12345678910>>...54