/freebsd/sys/fs/ext2fs/ |
H A D | ext2_csum.c | 183 struct ext2fs_direct_tail *tp; in ext2_is_dirent_tail() local 251 struct ext2fs_direct_tail *tp; in ext2_dirent_csum_verify() local 254 if (tp == NULL) in ext2_dirent_csum_verify() 307 old_csum = tp->ht_checksum; in ext2_dx_csum() 308 tp->ht_checksum = 0; in ext2_dx_csum() 316 tp->ht_checksum = old_csum; in ext2_dx_csum() 326 struct ext2fs_htree_tail *tp; in ext2_dx_csum_verify() local 385 if (tp == NULL) in ext2_dirent_csum_set() 388 tp->e2dt_checksum = in ext2_dirent_csum_set() 397 struct ext2fs_htree_tail *tp; in ext2_dx_csum_set() local [all …]
|
/freebsd/sys/netinet/ |
H A D | tcp_ratelimit.h | 116 tcp_set_pacing_rate(struct tcpcb *tp, struct ifnet *ifp, 121 struct tcpcb *tp, struct ifnet *ifp, 125 struct tcpcb *tp); 128 tcp_get_pacing_burst_size_w_divisor(struct tcpcb *tp, uint64_t bw, uint32_t segsiz, int can_use_1ms… 136 tcp_set_pacing_rate(struct tcpcb *tp, struct ifnet *ifp, in tcp_set_pacing_rate() argument 146 struct tcpcb *tp, struct ifnet *ifp, in tcp_chg_pacing_rate() argument 156 struct tcpcb *tp) in tcp_rel_pacing_rate() argument 174 tcp_get_pacing_burst_size_w_divisor(struct tcpcb *tp, uint64_t bw, uint32_t segsiz, int can_use_1ms… in tcp_get_pacing_burst_size_w_divisor() argument 232 tcp_get_pacing_burst_size(struct tcpcb *tp, uint64_t bw, uint32_t segsiz, int can_use_1mss, in tcp_get_pacing_burst_size() argument 236 return (tcp_get_pacing_burst_size_w_divisor(tp, bw, segsiz, in tcp_get_pacing_burst_size()
|
/freebsd/contrib/ntp/ntpd/ |
H A D | refclock_pcf.c | 137 struct tm tm, *tp; in pcf_poll() local 186 tp = gmtime_r(&t, &tm); in pcf_poll() 188 tp = gmtime(&t); in pcf_poll() 190 if (!tp) { in pcf_poll() 197 pp->year = tp->tm_year + 1900; in pcf_poll() 198 pp->day = tp->tm_yday + 1; in pcf_poll() 199 pp->hour = tp->tm_hour; in pcf_poll() 200 pp->minute = tp->tm_min; in pcf_poll() 201 pp->second = tp->tm_sec; in pcf_poll() 209 unit, pp->year, tp->tm_mon + 1, tp->tm_mday, pp->hour, in pcf_poll()
|
/freebsd/sys/dev/sym/ |
H A D | sym_hipd.c | 1251 #define sym_lp(tp, lun) (!lun) ? (tp)->lun0p : 0 argument 1254 (!lun) ? (tp)->lun0p : (tp)->lunmp ? (tp)->lunmp[(lun)] : 0 3540 tcb_p tp; in sym_settrans() local 4903 tcb_p tp; in sym_sir_task_recovery() local 4920 (tp->lun0p && tp->lun0p->to_clear)) { in sym_sir_task_recovery() 4927 if (tp->lunmp[k] && tp->lunmp[k]->to_clear) { in sym_sir_task_recovery() 5055 if (tp->lun0p && tp->lun0p->to_clear) in sym_sir_task_recovery() 5059 if (tp->lunmp[k] && tp->lunmp[k]->to_clear) { in sym_sir_task_recovery() 7235 tcb_p tp; local 7372 tcb_p tp; local [all …]
|
/freebsd/lib/libsecureboot/openpgp/ |
H A D | opgp_key.c | 314 const char **tp; in load_trusted_key_id() local 317 for (tp = trust_store; *tp; tp++) { in load_trusted_key_id() 318 n = (size_t)snprintf(kfile, sizeof(kfile), "%s/%s", *tp, keyID); in load_trusted_key_id() 355 const char **tp; in openpgp_trust_init() local 363 for (tp = ta_ASC; *tp; tp++) { in openpgp_trust_init() 364 if ((cp = strdup(*tp))) { in openpgp_trust_init() 391 const char **vp, **tp; in openpgp_self_tests() local 396 for (tp = ta_ASC, vp = vc_ASC; *tp && *vp && rc; tp++, vp++) { in openpgp_self_tests() 397 if ((fdata = strdup(*tp)) && in openpgp_self_tests()
|
/freebsd/crypto/openssl/crypto/bn/asm/ |
H A D | armv4-mont.pl | 78 $tp="r4"; 178 mov $tp,sp 191 cmp $tp,$num 215 str $tp,[$_bp] @ save bp 219 mov $tp,sp 234 cmp $tp,$num 248 cmp $tp,$tj 259 mov $tp,sp @ "rewind" $tp 264 .Lsub: ldr $tj,[$tp],#4 271 mov $tp,sp @ "rewind" $tp [all …]
|
H A D | ppc64-mont.pl | 130 $tp="r10"; 234 add $tp,$tp,$num ; place for tp[num+1] 235 addi $tp,$tp,`$FRAME+$TRANSFER+8+64+$RZONE` 236 subf $tp,$tp,$sp ; $sp-$tp 237 and $tp,$tp,$i ; minimize TLB usage 238 subf $tp,$sp,$tp ; $tp-$sp 697 stw $t4,8($tp) 891 stw $t4,8($tp) 1473 stw $t4,0($tp) 1512 ldx $t0,$tp,$i [all …]
|
/freebsd/contrib/ncurses/ncurses/tinfo/ |
H A D | read_entry.c | 210 tp->ext_Booleans = 0; in _nc_init_termtype() 211 tp->ext_Numbers = 0; in _nc_init_termtype() 212 tp->ext_Strings = 0; in _nc_init_termtype() 214 if (tp->Booleans == 0) in _nc_init_termtype() 216 if (tp->Numbers == 0) in _nc_init_termtype() 218 if (tp->Strings == 0) in _nc_init_termtype() 221 for_each_boolean(i, tp) in _nc_init_termtype() 222 tp->Booleans[i] = FALSE; in _nc_init_termtype() 224 for_each_number(i, tp) in _nc_init_termtype() 227 for_each_string(i, tp) in _nc_init_termtype() [all …]
|
/freebsd/contrib/nvi/vi/ |
H A D | v_ex.c | 235 TEXT *tp; in v_filter() local 281 tp = TAILQ_FIRST(sp->tiq); in v_filter() 282 if (tp->term != TERM_OK) { in v_filter() 294 if (argv_exp1(sp, &cmd, tp->lb + 1, tp->len - 1, 1)) in v_filter() 324 TEXT *tp; in v_ex() local 357 if (tp->len > 1 && v_ecl_log(sp, tp)) in v_ex() 364 if (tp->term == TERM_BS) in v_ex() 368 if (tp->term != TERM_OK) in v_ex() 376 if (ex_run_str(sp, NULL, tp->lb, tp->len, 0, 1)) in v_ex() 601 len == tp->len && in v_ecl_log() [all …]
|
H A D | v_replace.c | 46 TEXT *tp; in v_replace() local 173 if ((tp = text_init(sp, p, len, len)) == NULL) in v_replace() 177 if (v_txt_auto(sp, vp->m_start.lno, NULL, 0, tp)) in v_replace() 179 vp->m_stop.cno = tp->ai ? tp->ai - 1 : 0; in v_replace() 183 vp->m_stop.cno = tp->ai ? tp->ai - 1 : 0; in v_replace() 184 if (db_append(sp, 1, vp->m_start.lno, tp->lb, tp->len)) in v_replace() 187 text_free(tp); in v_replace()
|
/freebsd/contrib/bsnmp/snmp_mibII/ |
H A D | mibII_tcp.c | 44 struct xtcpcb *tp; member 103 struct xtcpcb *tp; in fetch_tcp() local 131 tp = (struct xtcpcb *)ptr; in fetch_tcp() 132 if (tp->xt_inp.inp_gencnt > xinpgen->xig_gen || in fetch_tcp() 136 if (tp->xt_inp.inp_vflag & INP_IPV4) in fetch_tcp() 155 tp = (struct xtcpcb *)ptr; in fetch_tcp() 157 (tp->xt_inp.inp_vflag & INP_IPV4) == 0) in fetch_tcp() 159 oid->tp = tp; in fetch_tcp() 161 inaddr = ntohl(tp->xt_inp.inp_laddr.s_addr); in fetch_tcp() 167 inaddr = ntohl(tp->xt_inp.inp_faddr.s_addr); in fetch_tcp() [all …]
|
/freebsd/lib/libc/tests/stdio/ |
H A D | printfloat_test.c | 401 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument 404 ATF_TP_ADD_TC(tp, float_within_limits); in ATF_TP_ADD_TCS() 405 ATF_TP_ADD_TC(tp, infinities_and_nans); in ATF_TP_ADD_TCS() 406 ATF_TP_ADD_TC(tp, padding); in ATF_TP_ADD_TCS() 407 ATF_TP_ADD_TC(tp, precision_specifiers); in ATF_TP_ADD_TCS() 409 ATF_TP_ADD_TC(tp, signed_conversions); in ATF_TP_ADD_TCS() 410 ATF_TP_ADD_TC(tp, alternate_form); in ATF_TP_ADD_TCS() 412 ATF_TP_ADD_TC(tp, decimal_rounding); in ATF_TP_ADD_TCS() 414 ATF_TP_ADD_TC(tp, hexadecimal_rounding); in ATF_TP_ADD_TCS() 415 ATF_TP_ADD_TC(tp, subnormal_double); in ATF_TP_ADD_TCS() [all …]
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | gettimeofday.c | 41 gettimeofday (struct timeval *tp, void *ignore) in gettimeofday() argument 55 tp->tv_usec = (ull % 1000000i64); in gettimeofday() 56 tp->tv_sec = (ull / 1000000i64); in gettimeofday() 67 gettimeofday (struct timeval *tp, void *ignore) in gettimeofday() argument 72 tp->tv_sec = (long) t; in gettimeofday() 73 tp->tv_usec = 0; in gettimeofday()
|
/freebsd/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_wait_noproc.c | 323 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument 327 ATF_TP_ADD_TC(tp, wait); in ATF_TP_ADD_TCS() 329 ATF_TP_ADD_TC(tp, waitpid); in ATF_TP_ADD_TCS() 330 ATF_TP_ADD_TC(tp, waitid); in ATF_TP_ADD_TCS() 331 ATF_TP_ADD_TC(tp, wait3); in ATF_TP_ADD_TCS() 332 ATF_TP_ADD_TC(tp, wait4); in ATF_TP_ADD_TCS() 333 ATF_TP_ADD_TC(tp, wait6); in ATF_TP_ADD_TCS() 336 ATF_TP_ADD_TC(tp, waitid_options); in ATF_TP_ADD_TCS() 337 ATF_TP_ADD_TC(tp, wait3_options); in ATF_TP_ADD_TCS() 338 ATF_TP_ADD_TC(tp, wait4_options); in ATF_TP_ADD_TCS() [all …]
|
/freebsd/lib/libc/tests/stdlib/ |
H A D | clearenv_test.c | 157 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument 160 ATF_TP_ADD_TC(tp, clearenv__single_var_test); in ATF_TP_ADD_TCS() 161 ATF_TP_ADD_TC(tp, clearenv__multiple_vars_test); in ATF_TP_ADD_TCS() 162 ATF_TP_ADD_TC(tp, clearenv__recreated_vars_test); in ATF_TP_ADD_TCS() 164 ATF_TP_ADD_TC(tp, clearenv__system_var_test); in ATF_TP_ADD_TCS() 165 ATF_TP_ADD_TC(tp, clearenv__recreated_system_var_test); in ATF_TP_ADD_TCS() 167 ATF_TP_ADD_TC(tp, clearenv__double_clear_vars); in ATF_TP_ADD_TCS() 168 ATF_TP_ADD_TC(tp, clearenv__environ_null); in ATF_TP_ADD_TCS() 170 ATF_TP_ADD_TC(tp, clearenv__putenv_vars); in ATF_TP_ADD_TCS()
|
/freebsd/crypto/heimdal/lib/kadm5/ |
H A D | free.c | 69 krb5_tl_data *tp; in kadm5_free_principal_ent() local 70 tp = princ->tl_data; in kadm5_free_principal_ent() 71 princ->tl_data = tp->tl_data_next; in kadm5_free_principal_ent() 73 memset(tp->tl_data_contents, 0, tp->tl_data_length); in kadm5_free_principal_ent() 74 free(tp->tl_data_contents); in kadm5_free_principal_ent() 75 free(tp); in kadm5_free_principal_ent()
|
/freebsd/contrib/netbsd-tests/lib/libm/ |
H A D | t_scalbn.c | 518 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument 521 ATF_TP_ADD_TC(tp, scalbn_val); in ATF_TP_ADD_TCS() 522 ATF_TP_ADD_TC(tp, scalbn_nan); in ATF_TP_ADD_TCS() 523 ATF_TP_ADD_TC(tp, scalbn_inf_neg); in ATF_TP_ADD_TCS() 524 ATF_TP_ADD_TC(tp, scalbn_inf_pos); in ATF_TP_ADD_TCS() 525 ATF_TP_ADD_TC(tp, scalbn_ldexp); in ATF_TP_ADD_TCS() 529 ATF_TP_ADD_TC(tp, scalbnf_val); in ATF_TP_ADD_TCS() 530 ATF_TP_ADD_TC(tp, scalbnf_nan); in ATF_TP_ADD_TCS() 533 ATF_TP_ADD_TC(tp, scalbnf_ldexpf); in ATF_TP_ADD_TCS() 537 ATF_TP_ADD_TC(tp, scalbnl_val); in ATF_TP_ADD_TCS() [all …]
|
/freebsd/contrib/tcpdump/ |
H A D | print-tcp.c | 144 const struct tcphdr *tp, in tcp_cksum() argument 154 const struct tcphdr *tp, in tcp6_cksum() argument 166 const struct tcphdr *tp; in tcp_print() local 228 ND_TCHECK_SIZE(tp); in tcp_print() 230 hlen = TH_OFF(tp) * 4; in tcp_print() 232 if (hlen < sizeof(*tp)) { in tcp_print() 238 seq = GET_BE_U_4(tp->th_seq); in tcp_print() 239 ack = GET_BE_U_4(tp->th_ack); in tcp_print() 441 if (hlen > sizeof(*tp)) { in tcp_print() 447 cp = (const u_char *)tp + sizeof(*tp); in tcp_print() [all …]
|
/freebsd/lib/libc/tests/nss/ |
H A D | gethostby_test.c | 1452 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument 1456 ATF_TP_ADD_TC(tp, gethostbyaddr_ipv4); in ATF_TP_ADD_TCS() 1458 ATF_TP_ADD_TC(tp, gethostbyaddr_ipv6); in ATF_TP_ADD_TCS() 1462 ATF_TP_ADD_TC(tp, gethostbyaddr_getnameinfo_ipv4); in ATF_TP_ADD_TCS() 1463 ATF_TP_ADD_TC(tp, gethostbyaddr_getnameinfo_ipv6); in ATF_TP_ADD_TCS() 1468 ATF_TP_ADD_TC(tp, gethostbyname2_ipv4); in ATF_TP_ADD_TCS() 1470 ATF_TP_ADD_TC(tp, gethostbyname2_ipv6); in ATF_TP_ADD_TCS() 1476 ATF_TP_ADD_TC(tp, getipnodebyaddr_ipv4); in ATF_TP_ADD_TCS() 1479 ATF_TP_ADD_TC(tp, getipnodebyaddr_ipv6); in ATF_TP_ADD_TCS() 1490 ATF_TP_ADD_TC(tp, getipnodebyname_ipv4); in ATF_TP_ADD_TCS() [all …]
|
/freebsd/tests/sys/audit/ |
H A D | file-delete.c | 256 ATF_TP_ADD_TCS(tp) in ATF_TP_ADD_TCS() argument 258 ATF_TP_ADD_TC(tp, rmdir_success); in ATF_TP_ADD_TCS() 259 ATF_TP_ADD_TC(tp, rmdir_failure); in ATF_TP_ADD_TCS() 261 ATF_TP_ADD_TC(tp, rename_success); in ATF_TP_ADD_TCS() 262 ATF_TP_ADD_TC(tp, rename_failure); in ATF_TP_ADD_TCS() 263 ATF_TP_ADD_TC(tp, renameat_success); in ATF_TP_ADD_TCS() 264 ATF_TP_ADD_TC(tp, renameat_failure); in ATF_TP_ADD_TCS() 266 ATF_TP_ADD_TC(tp, unlink_success); in ATF_TP_ADD_TCS() 267 ATF_TP_ADD_TC(tp, unlink_failure); in ATF_TP_ADD_TCS() 268 ATF_TP_ADD_TC(tp, unlinkat_success); in ATF_TP_ADD_TCS() [all …]
|
/freebsd/tools/tools/mwl/mwldebug/ |
H A D | mwldebug.c | 134 const char *cp, *tp; in main() local 172 for (tp = cp; *tp != '\0' && *tp != '+' && *tp != '-';) in main() 173 tp++; in main() 174 bit = getflag(cp, tp-cp); in main() 186 (int)(tp-cp), cp); in main() 190 } while (*(cp = tp) != '\0'); in main()
|
/freebsd/lib/libc/db/hash/ |
H A D | hash_bigkey.c | 359 char *tp; in __big_return() local 398 tp = (char *)bp; in __big_return() 595 n = tp[0]; in __big_split() 596 off = OFFSET(tp); in __big_split() 600 tp[0] = n; in __big_split() 601 OFFSET(tp) = off; in __big_split() 616 if (tp[0] > 2) { in __big_split() 624 n = tp[4]; in __big_split() 626 off = OFFSET(tp); in __big_split() 627 tp[0] -= 2; in __big_split() [all …]
|
/freebsd/crypto/heimdal/appl/ftp/ftp/ |
H A D | cmds.c | 473 tp++; in mput() 489 tp = dotrans(tp); in mput() 492 tp = domap(tp); in mput() 520 tp = (mapflag) ? domap(tp) : tp; in mput() 524 tp, tp != argv[i] || !interactive); in mput() 547 tp = (mapflag) ? domap(tp) : tp; in mput() 625 while (*tp && !islower((unsigned char)*tp)) { in getit() 626 tp++; in getit() 635 tp++; in getit() 746 tp = dotrans(tp); in mget() [all …]
|
/freebsd/contrib/bsddialog/lib/ |
H A D | lib_util.c | 516 tp->nword = 0; in text_properties() 531 tp->words = realloc(tp->words, maxwords * sizeof(int)); in text_properties() 538 tp->maxwordcols = MAX(wordcols, tp->maxwordcols); in text_properties() 544 tp->words[tp->nword] = wordcols; in text_properties() 554 tp->words[tp->nword] = TB; in text_properties() 559 tp->maxline = MAX(tp->maxline, currlinecols); in text_properties() 562 tp->words[tp->nword] = NL; in text_properties() 568 tp->words[tp->nword] = WS; in text_properties() 580 tp->words[tp->nword] = wordcols; in text_properties() 582 tp->maxwordcols = MAX(wordcols, tp->maxwordcols); in text_properties() [all …]
|
/freebsd/contrib/atf/atf-c/ |
H A D | pkg_config_test.sh | 81 cat >tp.c <<EOF 94 ATF_TP_ADD_TCS(tp) { 95 ATF_TP_ADD_TC(tp, tc); 113 atf_check -s eq:0 -o empty -e empty ${cc} ${cflags} -o tp.o -c tp.c 114 atf_check -s eq:0 -o empty -e empty ${cc} ${ldflags} -o tp tp.o ${libs} 132 atf_check -s eq:0 -o empty -e empty test -x tp
|