| /freebsd/sys/netinet/ |
| H A D | tcp_hpts_test.c | 934 struct tcpcb *tp1, *tp2; in KTEST_FUNC() local 946 tp2 = test_hpts_create_tcpcb(ctx, pace); in KTEST_FUNC() 948 KTEST_NEQUAL(tp2, NULL); in KTEST_FUNC() 952 tp2->t_hpts_cpu = 0; in KTEST_FUNC() 960 INP_WLOCK(&tp2->t_inpcb); in KTEST_FUNC() 961 tp2->t_flags2 |= TF2_HPTS_CALLS; in KTEST_FUNC() 962 tcp_hpts_insert(pace, tp2, 100, NULL); in KTEST_FUNC() 963 INP_WUNLOCK(&tp2->t_inpcb); in KTEST_FUNC() 987 KTEST_EQUAL(tp2->t_in_hpts, IHPTS_NONE); in KTEST_FUNC() 990 test_hpts_free_tcpcb(tp2); in KTEST_FUNC() [all …]
|
| H A D | sctp_indata.c | 3738 struct sctp_tmit_chunk *tp1, *tp2, *a_adv = NULL; in sctp_try_advance_peer_ack_point() local 3745 TAILQ_FOREACH_SAFE(tp1, &asoc->sent_queue, sctp_next, tp2) { in sctp_try_advance_peer_ack_point() 3915 struct sctp_tmit_chunk *tp1, *tp2; in sctp_express_handle_sack() local 4006 TAILQ_FOREACH_SAFE(tp1, &asoc->sent_queue, sctp_next, tp2) { in sctp_express_handle_sack() 4394 struct sctp_tmit_chunk *tp1, *tp2; in sctp_handle_sack() local 4756 TAILQ_FOREACH_SAFE(tp1, &asoc->sent_queue, sctp_next, tp2) { in sctp_handle_sack()
|
| H A D | sctputil.c | 5070 struct sctp_tmit_chunk *chk = NULL, *tp2; in sctp_release_pr_sctp_chunk() local 5146 TAILQ_FOREACH_SAFE(tp1, &stcb->asoc.send_queue, sctp_next, tp2) { in sctp_release_pr_sctp_chunk()
|
| /freebsd/lib/libc/stdlib/ |
| H A D | merge.c | 115 u_char *f1, *f2, *t, *b, *tp2, *q, *l1, *l2; in mergesort_b() local 140 for (tp2 = p2 = list2; p2 != last; p1 = EVAL(l2)) { in mergesort_b() 198 ICOPY_LIST(f2, tp2, b); in mergesort_b() 199 ICOPY_ELT(f1, tp2, i); in mergesort_b() 201 CCOPY_LIST(f2, tp2, b); in mergesort_b() 202 CCOPY_ELT(f1, tp2, i); in mergesort_b() 206 ICOPY_LIST(f1, tp2, b); in mergesort_b() 207 ICOPY_ELT(f2, tp2, i); in mergesort_b() 209 CCOPY_LIST(f1, tp2, b); in mergesort_b() 210 CCOPY_ELT(f2, tp2, i); in mergesort_b() [all …]
|
| /freebsd/sys/dev/nmdm/ |
| H A D | nmdm.c | 322 struct tty *tp2; in nmdm_param() local 325 tp2 = np->np_other->np_tty; in nmdm_param() 327 if (!((t->c_cflag | tp2->t_termios.c_cflag) & CDSR_OFLOW)) { in nmdm_param() 340 bpc = imax(bits_per_char(t), bits_per_char(&tp2->t_termios)); in nmdm_param() 344 speed = imin(tp2->t_termios.c_ospeed, t->c_ispeed); in nmdm_param() 369 t = &tp2->t_termios; in nmdm_param() 370 tp2 = tp; in nmdm_param()
|
| /freebsd/crypto/openssl/crypto/aes/ |
| H A D | aes_x86core.c | 597 u32 tp1, tp2, tp4, tp8, tp9, tpb, tpd, tpe, m; in AES_set_decrypt_key() local 601 tp2 = ((tp1 & 0x7f7f7f7f) << 1) ^ ((m - (m >> 7)) & 0x1b1b1b1b); in AES_set_decrypt_key() 602 m = tp2 & 0x80808080; in AES_set_decrypt_key() 603 tp4 = ((tp2 & 0x7f7f7f7f) << 1) ^ ((m - (m >> 7)) & 0x1b1b1b1b); in AES_set_decrypt_key() 607 tpb = tp9 ^ tp2; in AES_set_decrypt_key() 609 tpe = tp8 ^ tp4 ^ tp2; in AES_set_decrypt_key() 778 u32 tp1, tp2, tp4, tp8, tp9, tpb, tpd, tpe, m; in AES_decrypt() local 783 tp2 = ((tp1 & 0x7f7f7f7f) << 1) ^ ((m - (m >> 7)) & 0x1b1b1b1b); in AES_decrypt() 784 m = tp2 & 0x80808080; in AES_decrypt() 785 tp4 = ((tp2 & 0x7f7f7f7f) << 1) ^ ((m - (m >> 7)) & 0x1b1b1b1b); in AES_decrypt() [all …]
|
| H A D | aes_core.c | 3601 u32 tp1, tp2, tp4, tp8, tp9, tpb, tpd, tpe, m; in AES_set_decrypt_key() local 3605 tp2 = ((tp1 & 0x7f7f7f7f) << 1) ^ ((m - (m >> 7)) & 0x1b1b1b1b); in AES_set_decrypt_key() 3606 m = tp2 & 0x80808080; in AES_set_decrypt_key() 3607 tp4 = ((tp2 & 0x7f7f7f7f) << 1) ^ ((m - (m >> 7)) & 0x1b1b1b1b); in AES_set_decrypt_key() 3611 tpb = tp9 ^ tp2; in AES_set_decrypt_key() 3613 tpe = tp8 ^ tp4 ^ tp2; in AES_set_decrypt_key()
|
| /freebsd/usr.bin/calendar/ |
| H A D | day.c | 49 settimes(time_t now, int before, int after, int friday, struct tm *tp1, struct tm *tp2) in settimes() argument 63 localtime_r(&time2, tp2); in settimes() 64 year2 = 1900 + tp2->tm_year; in settimes()
|
| H A D | calendar.c | 71 struct tm tp1, tp2; in main() local 181 settimes(f_time, f_dayBefore, f_dayAfter, Friday, &tp1, &tp2); in main() 182 generatedates(&tp1, &tp2); in main()
|
| H A D | calendar.h | 160 void settimes(time_t,int before, int after, int friday, struct tm *tp1, struct tm *tp2); 182 void generatedates(struct tm *tp1, struct tm *tp2);
|
| H A D | dates.c | 170 generatedates(struct tm *tp1, struct tm *tp2) in generatedates() argument 179 y2 = tp2->tm_year; in generatedates() 180 m2 = tp2->tm_mon + 1; in generatedates() 181 d2 = tp2->tm_mday; in generatedates()
|
| /freebsd/crypto/heimdal/appl/ftp/ftp/ |
| H A D | cmds.c | 462 char *cp, *tp2, tmpbuf[MaxPathLen]; in mput() local 477 tp2 = tmpbuf; in mput() 478 while ((*tp2 = *tp) != '\0') { in mput() 479 if (isupper((unsigned char)*tp2)) { in mput() 480 *tp2 = 'a' + *tp2 - 'A'; in mput() 483 tp2++; in mput() 623 char *tp = argv[1], *tp2, tmpbuf[MaxPathLen]; in getit() local 630 tp2 = tmpbuf; in getit() 631 while ((*tp2 = *tp) != '\0') { in getit() 632 if (isupper((unsigned char)*tp2)) { in getit() [all …]
|
| /freebsd/contrib/kyua/model/ |
| H A D | test_program_test.cpp | 318 const TestProgram tp2 = tp1; in check_operators_eq_and_ne__copy() local 319 ATF_REQUIRE( tp1 == tp2); in check_operators_eq_and_ne__copy() 320 ATF_REQUIRE(!(tp1 != tp2)); in check_operators_eq_and_ne__copy() 489 const TestProgram tp2( in check_operator_lt() local 500 ATF_REQUIRE( tp1 < tp2); in check_operator_lt() 501 ATF_REQUIRE(!(tp2 < tp1)); in check_operator_lt() 510 programs.insert(tp2); in check_operator_lt()
|
| /freebsd/sys/cddl/dev/sdt/ |
| H A D | sdt.c | 491 struct sdt_tracepoint *tp2; in sdt_kld_unload_probes() local 497 tp2 = STAILQ_FIRST(&tp->probe->tracepoint_list); in sdt_kld_unload_probes() 498 if (tp2 == tp) { in sdt_kld_unload_probes() 501 } else if (tp2 != NULL) { in sdt_kld_unload_probes() 505 tp3 = STAILQ_NEXT(tp2, in sdt_kld_unload_probes() 512 tp2, tracepoint_entry); in sdt_kld_unload_probes() 515 tp2 = tp3; in sdt_kld_unload_probes()
|
| /freebsd/contrib/tcpdump/ |
| H A D | print-atalk.c | 589 struct hnamemem *tp, *tp2; in ataddr_string() local 653 for (tp2 = &hnametable[i & (HASHNAMESIZE-1)]; tp2->nxt; tp2 = tp2->nxt) in ataddr_string() 654 if (tp2->addr == i) { in ataddr_string() 658 tp2->name, athost); in ataddr_string()
|
| /freebsd/crypto/openssl/crypto/aes/asm/ |
| H A D | aes-mips.pl | 1666 my ($tp1,$tp2,$tp4,$tp8,$tp9,$tpb,$tpd,$tpe)=($a4,$a5,$a6,$a7,$s0,$s1,$s2,$s3); 1741 and $tp2,$tp1,$x7f7f7f7f 1743 addu $tp2,$tp2 # tp2<<1 1746 xor $tp2,$m 1748 and $m,$tp2,$x80808080 1749 and $tp4,$tp2,$x7f7f7f7f 1766 xor $tpb,$tp9,$tp2 1771 xor $tpe,$tp2 1772 rotr $tp2,$tp9,8 1775 xor $tpe,$tp2 [all …]
|
| H A D | aes-586.pl | 1283 my $tp2 = @s[($i+2)%4]; $tp2 = @s[2] if ($i==1); 1291 &lea ($tp2,&DWP(0,$s[$i],$s[$i])); 1293 &and ($tp2,0xfefefefe); 1295 &xor ($tp2,$acc); 1298 &and ($tmp,$tp2); 1301 &lea ($tp4,&DWP(0,$tp2,$tp2)); 1305 &xor ($tp2,$s[$i]); # tp2^tp1 1320 &xor ($s[$i],$tp2); 1321 &xor ($tp2,$tp8); 1324 &rotl ($tp2,24); [all …]
|
| H A D | aes-x86_64.pl | 1569 my ($tp1,$tp2,$tp4,$tp8,$acc)=("%eax","%ebx","%edi","%edx","%r8d"); 1576 lea 0($tp1,$tp1),$tp2 1578 and \$0xfefefefe,$tp2 1580 xor $tp2,$acc 1581 mov $acc,$tp2 1586 lea 0($tp2,$tp2),$tp4 1590 xor $tp1,$tp2 # tp2^tp1 1606 xor $tp8,$tp2 # tp2^tp1^tp8 1608 xor $tp2,$tp8 1612 rol \$24,$tp2 # ROTATE(tp2^tp1^tp8,24) [all …]
|
| /freebsd/tests/sys/kern/ |
| H A D | unix_stream.c | 498 struct timespec tp1, tp2, rtp, sleep = { .tv_nsec = 100000000 }; in ATF_TC_BODY() local 509 ATF_REQUIRE_EQ(0, clock_gettime(CLOCK_MONOTONIC_PRECISE, &tp2)); in ATF_TC_BODY() 510 timespecsub(&tp2, &tp1, &rtp); in ATF_TC_BODY()
|
| /freebsd/contrib/unbound/validator/ |
| H A D | autotrust.c | 998 struct trust_anchor *tp = NULL, *tp2; in autr_read_file() local 1032 if(!(tp2=load_trustanchor(anchors, line, nm, origin, in autr_read_file() 1039 if(tp && tp != tp2) { in autr_read_file() 1048 tp = tp2; in autr_read_file() 2077 struct trust_anchor key, *tp2; in set_next_probe() 2089 tp2 = (struct trust_anchor*)rbtree_search(env->anchors->tree, &key); in set_next_probe() 2090 if(!tp2) { in set_next_probe() 2095 log_assert(tp == tp2); in set_next_probe() 2062 struct trust_anchor key, *tp2; set_next_probe() local
|
| /freebsd/sys/teken/ |
| H A D | teken_subr.h | 819 teken_pos_t tp2; in teken_subr_do_putchar() local 823 tp2.tp_row = tp->tp_row; in teken_subr_do_putchar() 824 tp2.tp_col = tp->tp_col + 1; in teken_subr_do_putchar() 827 teken_funcs_putchar(t, &tp2, c, &attr); in teken_subr_do_putchar()
|