/freebsd-12-stable/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-12-stable/contrib/netbsd-tests/lib/libm/ |
H A D | t_exp.c | 534 ATF_TP_ADD_TCS(tp) 537 ATF_TP_ADD_TC(tp, exp2_is_nan); 538 ATF_TP_ADD_TC(tp, exp2_is_plus_zero); 539 ATF_TP_ADD_TC(tp, exp2_values); 540 ATF_TP_ADD_TC(tp, exp2_powers); 542 ATF_TP_ADD_TC(tp, exp_nan); 543 ATF_TP_ADD_TC(tp, exp_inf_neg); 544 ATF_TP_ADD_TC(tp, exp_inf_pos); 545 ATF_TP_ADD_TC(tp, exp_product); 546 ATF_TP_ADD_TC(tp, exp_zero_ne [all...] |
H A D | t_asin.c | 276 ATF_TP_ADD_TCS(tp) 279 ATF_TP_ADD_TC(tp, asin_nan); 280 ATF_TP_ADD_TC(tp, asin_inf_neg); 281 ATF_TP_ADD_TC(tp, asin_inf_pos); 282 ATF_TP_ADD_TC(tp, asin_range); 283 ATF_TP_ADD_TC(tp, asin_inrange); 284 ATF_TP_ADD_TC(tp, asin_zero_neg); 285 ATF_TP_ADD_TC(tp, asin_zero_pos); 287 ATF_TP_ADD_TC(tp, asinf_nan); 288 ATF_TP_ADD_TC(tp, asinf_inf_ne [all...] |
/freebsd-12-stable/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 349 ngt_getc_inject(struct tty *tp, void *buf, size_t len) argument 393 ngt_getc_poll(struct tty *tp) argument 407 ngt_rint_bypass(struct tty *tp, const void *buf, size_t len) argument 456 ngt_rint(struct tty *tp, char c, int flags) argument 507 ngt_rint_poll(struct tty *tp) argument [all...] |
/freebsd-12-stable/lib/libc/inet/ |
H A D | inet_cidr_ntop.c | 166 char *tp; local 212 tp = tmp; 218 *tp++ = ':'; 223 *tp++ = ':'; 236 n = decoct(src+12, n, tp, sizeof tmp - (tp - tmp)); 241 tp += strlen(tp); 244 tp += SPRINTF((tp, " [all...] |
/freebsd-12-stable/lib/libsecureboot/openpgp/ |
H A D | opgp_key.c | 316 const char **tp; local 319 for (tp = trust_store; *tp; tp++) { 320 n = (size_t)snprintf(kfile, sizeof(kfile), "%s/%s", *tp, keyID); 357 const char **tp; local 365 for (tp = ta_ASC; *tp; tp++) { 366 if ((cp = strdup(*tp))) { 393 const char **vp, **tp; local [all...] |
/freebsd-12-stable/sys/dev/cxgbe/tom/ |
H A D | t4_cpl_io.c | 102 send_flowc_wr(struct toepcb *toep, struct tcpcb *tp) argument 116 if (tp != NULL) 159 if (tp) { 161 FLOWC_PARAM(SNDNXT, tp->snd_nxt); 162 FLOWC_PARAM(RCVNXT, tp->rcv_nxt); 168 tp ? tp->snd_nxt : 0, tp ? tp->rcv_nxt : 0); 270 struct tcpcb *tp local 324 assign_rxopt(struct tcpcb *tp, uint16_t opt) argument 385 struct tcpcb *tp = intotcpcb(inp); local 457 t4_rcvd_locked(struct toedev *tod, struct tcpcb *tp) argument 482 t4_rcvd(struct toedev *tod, struct tcpcb *tp) argument 687 struct tcpcb *tp = intotcpcb(inp); local 952 struct tcpcb *tp = intotcpcb(inp); local 1116 t4_tod_output(struct toedev *tod, struct tcpcb *tp) argument 1140 t4_send_fin(struct toedev *tod, struct tcpcb *tp) argument 1167 t4_send_rst(struct toedev *tod, struct tcpcb *tp) argument 1200 struct tcpcb *tp = NULL; local 1302 struct tcpcb *tp = NULL; local 1384 abort_status_to_errno(struct tcpcb *tp, unsigned int abort_reason) argument 1412 struct tcpcb *tp; local 1519 struct tcpcb *tp; local 1686 struct tcpcb *tp; local 2012 struct tcpcb *tp; local 2238 struct tcpcb *tp; local 2262 struct tcpcb *tp = so_sototcpcb(so); local [all...] |
/freebsd-12-stable/lib/libnv/tests/ |
H A D | dnv_tests.cc | 546 ATF_INIT_TEST_CASES(tp) 548 ATF_ADD_TEST_CASE(tp, dnvlist_get_bool__present); 549 ATF_ADD_TEST_CASE(tp, dnvlist_get_bool__default_value); 550 ATF_ADD_TEST_CASE(tp, dnvlist_get_number__present); 551 ATF_ADD_TEST_CASE(tp, dnvlist_get_number__default_value); 552 ATF_ADD_TEST_CASE(tp, dnvlist_get_string__present); 553 ATF_ADD_TEST_CASE(tp, dnvlist_get_string__default_value); 554 ATF_ADD_TEST_CASE(tp, dnvlist_get_nvlist__present); 555 ATF_ADD_TEST_CASE(tp, dnvlist_get_nvlist__default_value); 556 ATF_ADD_TEST_CASE(tp, dnvlist_get_binary__presen [all...] |
/freebsd-12-stable/sys/dev/dcons/ |
H A D | dcons_os.c | 214 dcons_outwakeup(struct tty *tp) argument 219 dc = tty_softc(tp); 221 while (ttydisc_getc(tp, &ch, sizeof ch) != 0) 228 struct tty *tp; local 234 tp = dc->tty; 236 tty_lock(tp); 238 ttydisc_rint(tp, c, 0); 241 ttydisc_rint_done(tp); 242 tty_unlock(tp); 248 callout_reset(&dcons_callout, polltime, dcons_timeout, tp); 379 struct tty *tp; local 406 struct tty *tp; local [all...] |
/freebsd-12-stable/crypto/openssl/crypto/bn/asm/ |
H A D | sparct4-mont.pl | 290 # save tp[$NUM] ######################################################## 441 # int bn_pwr5_mont_t4_$NUM(u64 *tp,const u64 *np,const BN_ULONG *n0, 446 my ($tp,$np,$pwrtbl,$pwr,$sentinel)=map("%g$_",(1..5)); 488 mov %i0,$tp 500 # load tp[$NUM] ######################################################## 506 ldx [$tp+$i*8],@A[$i] 511 ldd [$tp+$i*8],@A[$i] 620 # save tp[$NUM] ######################################################## 642 std @R[$i],[$tp+$i*8] 714 ($t0,$t1,$t2,$t3,$cnt,$tp, [all...] |
H A D | armv8-mont.pl | 56 $ovf, $i,$j,$tp,$tj) = map("x$_",6..17,19..24); 85 sub $tp,sp,$num,lsl#3 89 and $tp,$tp,#-16 // ABI says so 98 mul $m1,$lo0,$n0 // "tp[0]"*n0 99 mov sp,$tp // alloca 135 str $lo1,[$tp],#8 // tp[j-1] 152 stp $lo1,$hi1,[$tp] 157 ldr $tj,[sp] // tp[ [all...] |
H A D | ppc-mont.pl | 117 my $tp="r22"; 174 addi $tp,$sp,$LOCALS 181 $UMULL $m1,$lo0,$n0 ; "tp[0]"*n0 211 $ST $lo1,0($tp) ; tp[j-1] 214 addi $tp,$tp,$BNSZ ; tp++ 224 $ST $lo1,0($tp) ; tp[ [all...] |
/freebsd-12-stable/tests/sys/audit/ |
H A D | administrative.c | 74 struct timeval tp; local 76 ATF_REQUIRE_EQ(0, gettimeofday(&tp, &tzp)); 80 ATF_REQUIRE_EQ(0, settimeofday(&tp, &tzp)); 102 struct timeval tp; local 104 ATF_REQUIRE_EQ(0, gettimeofday(&tp, &tzp)); 107 tp.tv_sec = -1; 108 /* Failure reason: Invalid value for tp.tv_sec; */ 109 ATF_REQUIRE_EQ(-1, settimeofday(&tp, &tzp)); 131 struct timespec tp; local 132 ATF_REQUIRE_EQ(0, clock_gettime(CLOCK_REALTIME, &tp)); 158 struct timespec tp; local [all...] |
H A D | file-create.c | 556 ATF_TP_ADD_TCS(tp) 558 ATF_TP_ADD_TC(tp, mkdir_success); 559 ATF_TP_ADD_TC(tp, mkdir_failure); 560 ATF_TP_ADD_TC(tp, mkdirat_success); 561 ATF_TP_ADD_TC(tp, mkdirat_failure); 563 ATF_TP_ADD_TC(tp, mkfifo_success); 564 ATF_TP_ADD_TC(tp, mkfifo_failure); 565 ATF_TP_ADD_TC(tp, mkfifoat_success); 566 ATF_TP_ADD_TC(tp, mkfifoat_failure); 568 ATF_TP_ADD_TC(tp, mknod_succes [all...] |
/freebsd-12-stable/contrib/netbsd-tests/lib/librt/ |
H A D | t_sched.c | 241 ATF_TP_ADD_TCS(tp) 244 ATF_TP_ADD_TC(tp, sched_getparam); 245 ATF_TP_ADD_TC(tp, sched_priority); 247 ATF_TP_ADD_TC(tp, sched_setscheduler_1); 248 ATF_TP_ADD_TC(tp, sched_setscheduler_2); 249 ATF_TP_ADD_TC(tp, sched_setscheduler_3); 250 ATF_TP_ADD_TC(tp, sched_setscheduler_4); 252 ATF_TP_ADD_TC(tp, sched_rr_get_interval_1); 253 ATF_TP_ADD_TC(tp, sched_rr_get_interval_2);
|
/freebsd-12-stable/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-12-stable/tests/sys/kern/acct/ |
H A D | acct_test.c | 227 ATF_TP_ADD_TCS(tp) 230 ATF_TP_ADD_TC(tp, encode_long); 231 ATF_TP_ADD_TC(tp, encode_tv_zero); 232 ATF_TP_ADD_TC(tp, encode_tv_only_sec); 233 ATF_TP_ADD_TC(tp, encode_tv_only_usec); 234 ATF_TP_ADD_TC(tp, encode_tv_many_usec); 235 ATF_TP_ADD_TC(tp, encode_tv_usec_overflow); 236 ATF_TP_ADD_TC(tp, encode_tv_upper_limit); 237 ATF_TP_ADD_TC(tp, encode_tv_random_million);
|
/freebsd-12-stable/sbin/ping/tests/ |
H A D | in_cksum_test.c | 134 ATF_TP_ADD_TCS(tp) 136 ATF_TP_ADD_TC(tp, aligned_even_length_big_endian); 137 ATF_TP_ADD_TC(tp, aligned_odd_length_big_endian); 138 ATF_TP_ADD_TC(tp, aligned_even_length_little_endian); 139 ATF_TP_ADD_TC(tp, aligned_odd_length_little_endian); 140 ATF_TP_ADD_TC(tp, unaligned_even_length_big_endian); 141 ATF_TP_ADD_TC(tp, unaligned_odd_length_big_endian); 142 ATF_TP_ADD_TC(tp, unaligned_even_length_little_endian); 143 ATF_TP_ADD_TC(tp, unaligned_odd_length_little_endian);
|
/freebsd-12-stable/tools/tools/ath/athdebug/ |
H A D | athdebug.c | 150 const char *cp, *tp; local 195 for (tp = cp; *tp != '\0' && *tp != '+' && *tp != '-';) 196 tp++; 197 bit = getflag(cp, tp-cp); 208 (int) (tp-cp), cp); 212 } while (*(cp = tp) != '\0');
|
/freebsd-12-stable/tools/tools/mwl/mwldebug/ |
H A D | mwldebug.c | 136 const char *cp, *tp; local 174 for (tp = cp; *tp != '\0' && *tp != '+' && *tp != '-';) 175 tp++; 176 bit = getflag(cp, tp-cp); 188 (int)(tp-cp), cp); 192 } while (*(cp = tp) != '\0');
|
/freebsd-12-stable/lib/libcam/tests/ |
H A D | libcam_test.c | 303 ATF_TP_ADD_TCS(tp) 306 ATF_TP_ADD_TC(tp, cam_get_device_negative_test_NULL_path); 307 ATF_TP_ADD_TC(tp, cam_get_device_negative_test_bad_path); 308 ATF_TP_ADD_TC(tp, cam_get_device_negative_test_nul_path); 309 ATF_TP_ADD_TC(tp, cam_get_device_negative_test_root); 310 ATF_TP_ADD_TC(tp, cam_get_device_positive_test); 311 ATF_TP_ADD_TC(tp, cam_get_device_sa_test); 312 ATF_TP_ADD_TC(tp, cam_open_device_negative_test_O_RDONLY); 313 ATF_TP_ADD_TC(tp, cam_open_device_negative_test_nonexistent); 314 ATF_TP_ADD_TC(tp, cam_open_device_negative_test_unprivilege [all...] |
/freebsd-12-stable/sys/dev/sio/ |
H A D | sio.c | 227 struct tty *tp; /* cross reference */ member in struct:com_s 259 static void combreak(struct tty *tp, int sig); 262 static void comclose(struct tty *tp); 263 static int comopen(struct tty *tp, struct cdev *dev); 267 static int commodem(struct tty *tp, int sigon, int sigoff); 268 static int comparam(struct tty *tp, struct termios *t); 272 static void comstart(struct tty *tp); 273 static void comstop(struct tty *tp, int rw); 335 struct tty *tp; local 352 tp 885 struct tty *tp; local 1128 comopen(struct tty *tp, struct cdev *dev) argument 1316 struct tty *tp; local 1697 struct tty *tp; local 1942 struct tty *tp; local 2130 commodem(struct tty *tp, int sigon, int sigoff) argument [all...] |
/freebsd-12-stable/contrib/atf/atf-c++/ |
H A D | pkg_config_test.sh | 82 cat >tp.cpp <<EOF 113 atf_check -s eq:0 -o empty -e empty ${cxx} ${cxxflags} -o tp.o -c tp.cpp 114 atf_check -s eq:0 -o empty -e empty ${cxx} ${ldflags} -o tp tp.o ${libs} 132 atf_check -s eq:0 -o empty -e empty test -x tp 134 "LD_LIBRARY_PATH=${libpath} ./tp tc"
|
/freebsd-12-stable/contrib/amd/amd/ |
H A D | info_hesiod.c | 62 int amu_hesiod_init(mnt_map *m, char *map, time_t *tp); 63 int hesiod_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp); 72 amu_hesiod_init(mnt_map *m, char *map, time_t *tp) argument 75 *tp = 0; 91 hesiod_search(mnt_map *m, char *map, char *key, char **pval, time_t *tp) argument 99 dlog("hesiod_search(m=%lx, map=%s, key=%s, pval=%lx tp=%lx)", 100 (unsigned long) m, map, key, (unsigned long) pval, (unsigned long) tp);
|
/freebsd-12-stable/lib/libc/tests/stdio/ |
H A D | mkostemp_test.c | 175 ATF_TP_ADD_TCS(tp) 178 ATF_TP_ADD_TC(tp, zero); 179 ATF_TP_ADD_TC(tp, O_CLOEXEC); 180 ATF_TP_ADD_TC(tp, O_APPEND); 181 ATF_TP_ADD_TC(tp, O_APPEND__O_CLOEXEC); 182 ATF_TP_ADD_TC(tp, bad_flags);
|