/netbsd-src/crypto/external/bsd/openssl/dist/test/ |
H A D | acvp_test.c | 122 const struct ecdsa_keygen_st *tst = &ecdsa_keygen_data[id]; in ecdsa_keygen_test() local 126 if (!TEST_ptr(pkey = EVP_PKEY_Q_keygen(libctx, NULL, "EC", tst->curve_name)) in ecdsa_keygen_test() 183 const struct ecdsa_pub_verify_st *tst = &ecdsa_pv_data[id]; in ecdsa_pub_verify_test() local 189 if (!TEST_true(ecdsa_create_pkey(&pkey, tst->curve_name, in ecdsa_pub_verify_test() 190 tst->pub, tst->pub_len, tst->pass))) in ecdsa_pub_verify_test() 193 if (tst->pass) { in ecdsa_pub_verify_test() 195 || !TEST_int_eq(EVP_PKEY_public_check(key_ctx), tst->pass)) in ecdsa_pub_verify_test() 254 const struct ecdsa_siggen_st *tst = &ecdsa_siggen_data[id]; in ecdsa_siggen_test() local 256 if (!TEST_ptr(pkey = EVP_PKEY_Q_keygen(libctx, NULL, "EC", tst->curve_name))) in ecdsa_siggen_test() 259 if (!TEST_true(sig_gen(pkey, NULL, tst->digest_alg, tst->msg, tst->msg_len, in ecdsa_siggen_test() [all …]
|
/netbsd-src/tests/sys/netatalk/ |
H A D | t_print.c | 42 } tst[] = { variable 69 for (size_t i = 0; i < __arraycount(tst); i++) { in ATF_TC_BODY() 70 r = at_print(buf, l, &tst[i].ia); in ATF_TC_BODY() 71 ATF_REQUIRE_STREQ(buf, tst[i].str); in ATF_TC_BODY() 72 ATF_REQUIRE_EQ(r, tst[i].len); in ATF_TC_BODY() 76 for (size_t i = 0; i < __arraycount(tst); i++) { in ATF_TC_BODY() 77 r = at_print(buf, l, &tst[i].ia); in ATF_TC_BODY() 78 ATF_CHECK(strncmp(buf, tst[i].str, l - 1) == 0); in ATF_TC_BODY() 81 ATF_REQUIRE_EQ(r, tst[i].len); in ATF_TC_BODY() 101 for (size_t i = 0; i < __arraycount(tst); i++) { in ATF_TC_BODY() [all …]
|
/netbsd-src/common/lib/libc/arch/sh3/string/ |
H A D | memcpy.S | 70 tst r0,r0 /* (src ^ dst) & 3 */ 74 tst REG_LEN,REG_LEN /* if ( len==0 ) return; */ 79 tst #1,r0 /* if ( src & 1 ) */ 92 tst #2,r0 /* (src & 2) { */ 104 tst REG_LEN,REG_LEN 114 tst REG_LEN,REG_LEN 119 tst #1,r0 121 tst REG_LEN,REG_LEN /* if ( len == 0 ) return; */ 126 tst #1,r0 138 tst REG_LEN,REG_LEN [all …]
|
H A D | ffs.S | 48 tst #0xff,r0 52 tst r0,r0 ! ffs(0) is 0 56 tst #0xff,r0 61 tst #0xff,r0 69 tst #0x0f,r0 72 tst #0x03,r0 74 tst #0x01,r0 ! not bit 0 -> T 79 2: tst #0x04,r0 84 4: tst #0x30,r0 86 tst #0x10,r0 [all …]
|
H A D | memset.S | 66 tst REG_LEN,REG_LEN 97 tst #1,r0 158 tst #1,r0 /* len is aligned? */ 210 tst REG_TMP1,REG_DST 214 tst REG_TMP1,REG_LEN 266 tst REG_TMP1,REG_DST /* if (dst & 1) { */ 269 tst REG_TMP1,REG_DST 272 tst REG_TMP1,REG_DST 281 tst #3,REG_PTR /* if (ptr & 3) { */ 284 tst #1,REG_PTR /* if (ptr & 1) { */ [all …]
|
/netbsd-src/tests/sys/netinet/ |
H A D | t_print.c | 42 } tst[] = { variable 79 for (size_t i = 0; i < __arraycount(tst); i++) { in ATF_TC_BODY() 80 r = in_print(buf, l, &tst[i].ia); in ATF_TC_BODY() 81 ATF_REQUIRE_STREQ(buf, tst[i].str); in ATF_TC_BODY() 82 ATF_REQUIRE_EQ(r, tst[i].len); in ATF_TC_BODY() 86 for (size_t i = 0; i < __arraycount(tst); i++) { in ATF_TC_BODY() 87 r = in_print(buf, l, &tst[i].ia); in ATF_TC_BODY() 88 ATF_CHECK(strncmp(buf, tst[i].str, l - 1) == 0); in ATF_TC_BODY() 90 ATF_REQUIRE_EQ(r, tst[i].len); in ATF_TC_BODY() 110 for (size_t i = 0; i < __arraycount(tst); i++) { in ATF_TC_BODY() [all …]
|
/netbsd-src/tests/sys/netinet6/ |
H A D | t_print.c | 43 } tst[] = { variable 87 for (size_t i = 0; i < __arraycount(tst); i++) { in ATF_TC_BODY() 88 r = in6_print(buf, l, &tst[i].ia); in ATF_TC_BODY() 89 ATF_REQUIRE_STREQ(buf, tst[i].str); in ATF_TC_BODY() 90 ATF_REQUIRE_EQ(r, tst[i].len); in ATF_TC_BODY() 94 for (size_t i = 0; i < __arraycount(tst); i++) { in ATF_TC_BODY() 95 r = in6_print(buf, l, &tst[i].ia); in ATF_TC_BODY() 96 ATF_CHECK(strncmp(buf, tst[i].str, l - 1) == 0); in ATF_TC_BODY() 99 ATF_REQUIRE_EQ(r, tst[i].len); in ATF_TC_BODY() 119 for (size_t i = 0; i < __arraycount(tst); i++) { in ATF_TC_BODY() [all …]
|
/netbsd-src/external/lgpl3/gmp/dist/mini-gmp/tests/ |
H A D | t-mpq_addsub.c | 94 int tst; in testmain() local 139 tst = mpq_cmp_si (rr, mpz_get_si (q), 1); in testmain() 141 tst = mpq_cmp_ui (rr, mpz_get_ui (q), 1); in testmain() 143 tst = mpq_cmp_z (rr, q); in testmain() 145 tst = - tst; in testmain() 146 if ((tst != mpz_sgn (r)) && ((tst < 0 && mpz_sgn (r) >= 0) || (tst > 0 && mpz_sgn (r) <= 0))) in testmain() 148 fprintf (stderr, "mpq_cmp ii failed: %i %i\n", tst, mpz_sgn (r)); in testmain() 159 tst = mpq_cmp_si (rr, mpz_get_si (r), mpz_get_ui (b)); in testmain() 161 tst = mpq_cmp_ui (rr, mpz_get_ui (r), mpz_get_ui (b)); in testmain() 163 tst = mpq_cmp (rr, ff); in testmain() [all …]
|
/netbsd-src/sys/arch/m68k/fpsp/ |
H A D | scale.sa | 95 tst.b d0 117 tst.w ETEMP(a6) ;check src sign 125 tst.w d1 ;check for denorm 131 tst.b L_SCR1(a6) 140 tst.b L_SCR1(a6) 150 tst.b L_SCR1(a6) 154 tst.l FPTEMP_HI(a6) ;check j bit 178 tst.b L_SCR1(a6) 208 tst.w d0 ;it is finished when 210 tst.b L_SCR2(a6) [all …]
|
H A D | round.sa | 77 tst.l d0 ;if grs are zero, go force 107 tst.b LOCAL_SGN(a0) ;check for sign 120 tst.b LOCAL_SGN(a0) ;check for sign 164 tst.w d1 179 tst.l LOCAL_LO(a0) ;test lower mantissa 181 tst.l d0 ;test original g,r,s 191 tst.l d0 ;test word original g,r,s 225 tst.l d0 ;test for rs = 0 247 tst.l d0 ;test rs = 0 266 tst.l d0 ;test for rs = 0 [all …]
|
/netbsd-src/tests/sys/net/ |
H A D | t_print.c | 42 } tst[] = { variable 114 for (size_t i = 0; i < __arraycount(tst); i++) { in ATF_TC_BODY() 115 r = dl_print(buf, l, &tst[i].ia); in ATF_TC_BODY() 116 ATF_REQUIRE_STREQ(buf, tst[i].str); in ATF_TC_BODY() 117 ATF_REQUIRE_EQ(r, tst[i].len); in ATF_TC_BODY() 121 for (size_t i = 0; i < __arraycount(tst); i++) { in ATF_TC_BODY() 122 r = dl_print(buf, l, &tst[i].ia); in ATF_TC_BODY() 123 ATF_CHECK(strncmp(buf, tst[i].str, l - 1) == 0); in ATF_TC_BODY() 126 ATF_REQUIRE_EQ(r, tst[i].len); in ATF_TC_BODY() 146 for (size_t i = 0; i < __arraycount(tst); i++) { in ATF_TC_BODY() [all …]
|
/netbsd-src/crypto/external/bsd/heimdal/dist/tests/can/ |
H A D | test_can.in | 42 tst=$2 44 if [ ! -f ${srcdir}/${tst}.req ] ; then 45 echo "${tst}.req missing" 47 if [ ! -f ${srcdir}/${tst}.kadm ] ; then 48 echo "${tst}.kadm missing" 56 if [ -f ${objdir}/${tst}.cf ]; then 57 KRB5_CONFIG="${objdir}/${tst}.cf" 68 echo "Load database for ${tst}" 71 done < ${srcdir}/${tst}.kadm || exit 1 77 ${replay} ${srcdir}/${tst}.req || { cat messages.log ; exit 1; }
|
/netbsd-src/external/bsd/bzip2/dist/ |
H A D | makefile.msc | 31 .\\bzip2 -d < sample1.bz2 > sample1.tst 32 .\\bzip2 -d < sample2.bz2 > sample2.tst 33 .\\bzip2 -ds < sample3.bz2 > sample3.tst 43 fc sample1.tst sample1.ref 44 fc sample2.tst sample2.ref 45 fc sample3.tst sample3.ref 57 del sample1.tst 58 del sample2.tst 59 del sample3.tst
|
/netbsd-src/sys/arch/m68k/060sp/dist/ |
H A D | itest.s | 62 tst.l %d0 194 tst.b %d0 218 tst.b %d0 240 tst.b %d0 264 tst.b %d0 288 tst.b %d0 312 tst.b %d0 336 tst.b %d0 360 tst.b %d0 384 tst.b %d0 [all …]
|
H A D | ftest.s | 78 tst.l %d0 278 tst.b %d0 282 tst.b %d0 318 tst.b %d0 322 tst.b %d0 355 tst.b %d0 359 tst.b %d0 391 tst.b %d0 395 tst.b %d0 428 tst.b %d0 [all …]
|
/netbsd-src/lib/csu/arch/sh3/ |
H A D | crtbegin.S | 114 tst r1, r1 127 tst r1, r1 138 tst r0, r0 152 tst r1, r1 157 tst r1, r1 168 tst r2, r2 173 tst r1, r1 193 tst r0, r0 256 tst r1, r1 268 tst r1, r1 [all …]
|
/netbsd-src/common/lib/libc/arch/arm/string/ |
H A D | memset_arm.S | 82 tst ip, #1 /* halfword aligned? */ 84 tst ip, #2 /* word aligned? */ 86 tst ip, #4 /* dword aligned? */ 118 tst ip, #8 /* quadword aligned? */ 121 1: tst ip, #16 /* octaword aligned? *? 124 2: tst ip, #32 /* 32 word aligned? */ 142 tst r1, #32 /* do we have 16 bytes left? */ 148 tst r1, #16 /* do we have 16 bytes left? */ 154 tst r1, #8 /* do we have 8 bytes left? */ 160 tst r1, #4 /* do we have a word left? */ [all …]
|
H A D | memset_naive.S | 52 tst ip, #1 /* halfword aligned? */ 54 tst ip, #2 /* word aligned? */ 56 tst ip, #4 /* dword aligned? */ 71 tst r1, #8 /* can we write at least 8 bytes? */ 73 tst r1, #4 /* can we write at least 4 bytes? */ 75 tst r1, #2 /* can we write at least 2 bytes? */ 77 tst r1, #1 /* can we write 1 bytes? */
|
H A D | strrchr_arm.S | 61 2: tst r1, #3 /* test for word alignment */ 140 tst r3, #BYTE0 /* is byte 0 a NUL? */ 142 tst r4, #BYTE0 /* is byte 0 a match? */ 144 tst r3, #BYTE1 /* is byte 1 a NUL? */ 146 tst r4, #BYTE1 /* is byte 1 a match? */ 148 tst r3, #BYTE2 /* is byte 2 a NUL? */ 150 tst r4, #BYTE2 /* is byte 2 a match? */ 152 tst r3, #BYTE3 /* is byte 3 a NUL? */ 154 tst r4, #BYTE3 /* is byte 3 a match? */
|
H A D | strchr_arm.S | 57 1: tst r0, #3 /* test for word alignment */ 134 tst r3, #BYTE0 /* is this byte NUL? */ 147 tst r1, #BYTE0 /* does this byte match? */ 150 tst r3, #BYTE0 /* is this byte NUL? */ 153 tst r1, #BYTE1 /* does this byte match? */ 156 tst r3, #BYTE1 /* is this byte NUL? */ 159 tst r1, #BYTE2 /* does this byte match? */ 162 tst r3, #BYTE2 /* is this byte NUL? */ 165 tst r1, #BYTE3 /* does this byte match? */
|
/netbsd-src/external/lgpl3/gmp/dist/mpn/arm/v7a/cora15/ |
H A D | com.asm | 69 tst r12, #1 74 tst r12, #2 79 L(b00): tst n, n 88 tst r12, #1 93 L(bx0): tst r12, #2 98 L(b00): tst n, n 125 tst n, n 145 tst n, n 158 tst n, n 168 tst n, n
|
H A D | logops_n.asm | 104 tst r6, #1 111 tst r6, #2 117 L(b00): tst n, n 127 tst r6, #1 134 L(bx0): tst r6, #2 140 L(b00): tst n, n 174 tst n, n 202 tst n, n 221 tst n, n 237 tst n, n
|
/netbsd-src/sys/arch/sh3/sh3/ |
H A D | cpu_in_cksum.S | 102 tst reg_len, reg_len 107 tst reg_m, reg_m 130 tst reg_m, reg_m 134 tst reg_mlen, reg_mlen 152 tst #1, r0 164 tst #2, r0 200 tst #1, r0 209 tst reg_len, reg_len 214 tst reg_byte_swapped, reg_byte_swapped
|
/netbsd-src/crypto/external/bsd/heimdal/dist/lib/hx509/ |
H A D | test_crypto.in | 89 cmp test ${srcdir}/tst-crypto-select1 > /dev/null || \ 94 cmp test ${srcdir}/tst-crypto-select1 > /dev/null || \ 99 cmp test ${srcdir}/tst-crypto-select2 > /dev/null || \ 107 cmp test ${srcdir}/tst-crypto-select3 > /dev/null || \ 116 cmp test ${srcdir}/tst-crypto-select4 > /dev/null || \ 125 cmp test ${srcdir}/tst-crypto-select5 > /dev/null || \ 134 cmp test ${srcdir}/tst-crypto-select6 > /dev/null || \ 144 cmp test ${srcdir}/tst-crypto-select7 > /dev/null || \ 151 #cmp test ${srcdir}/tst-crypto-available1 > /dev/null || \ 158 cmp test ${srcdir}/tst-crypto-available2 > /dev/null || \ [all …]
|
/netbsd-src/external/lgpl3/mpfr/dist/tests/ |
H A D | Makefile.in | 1539 # containing $f, in $tst the test, in $log the log. Executes the 1558 tst=$$dir$$f; log='$@'; \ 3157 "$$tst" $(AM_TESTS_FD_REDIRECT) 3164 "$$tst" $(AM_TESTS_FD_REDIRECT) 3171 "$$tst" $(AM_TESTS_FD_REDIRECT) 3178 "$$tst" $(AM_TESTS_FD_REDIRECT) 3185 "$$tst" $(AM_TESTS_FD_REDIRECT) 3192 "$$tst" $(AM_TESTS_FD_REDIRECT) 3199 "$$tst" $(AM_TESTS_FD_REDIRECT) 3206 "$$tst" $(AM_TESTS_FD_REDIRECT) [all …]
|