Home
last modified time | relevance | path

Searched refs:tst (Results 1 – 25 of 265) sorted by relevance

1234567891011

/third_party/openssl/test/
Dacvp_test.c122 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 …]
Dtls13ccstest.c243 static int test_tls13ccs(int tst) in test_tls13ccs() argument
278 switch (tst) { in test_tls13ccs()
301 if (tst >= 6) { in test_tls13ccs()
316 if ((tst >= 3 && tst <= 5) || tst >= 9) { in test_tls13ccs()
343 if (tst >= 6) { in test_tls13ccs()
348 || (tst <= 8 in test_tls13ccs()
353 if (tst <= 8) { in test_tls13ccs()
378 switch (tst) { in test_tls13ccs()
Dsslapitest.c1470 static int test_ktls_sendfile(int tst) in test_ktls_sendfile() argument
1474 OPENSSL_assert(tst < (int)NUM_KTLS_TEST_CIPHERS); in test_ktls_sendfile()
1475 cipher = &ktls_test_ciphers[tst]; in test_ktls_sendfile()
1519 static int test_large_app_data(int tst) in test_large_app_data() argument
1529 switch (tst >> 2) { in test_large_app_data()
1625 if ((tst & 1) != 0) { in test_large_app_data()
1634 if ((tst & 2) != 0) { in test_large_app_data()
5825 static int test_custom_exts(int tst) in test_custom_exts() argument
5837 if (tst < 3) in test_custom_exts()
5851 if (tst == 2 in test_custom_exts()
[all …]
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/
D1-1.c46 struct unique *tst; in main() local
48 tst = sym; in main()
49 while (tst->name) { in main()
51 printf("Policy: %s\n", tst->name); in main()
54 policy = tst->value; in main()
68 tst->name); in main()
72 tst++; in main()
84 tst->name); in main()
90 tst->name); in main()
94 tst++; in main()
D19-1.c45 struct unique *tst; in main() local
47 tst = sym; in main()
48 while (tst->name) { in main()
49 policy = tst->value; in main()
51 printf("Policy: %s\n", tst->name); in main()
83 tst++; in main()
D17-1.c51 struct unique *tst; in main() local
53 tst = sym; in main()
54 while (tst->name) { in main()
55 policy = tst->value; in main()
57 printf("Policy: %s\n", tst->name); in main()
111 tst++; in main()
/third_party/toybox/tests/
Dkillall.test11 tst=toybox.test
12 (./$tst 2>/dev/null &)
13 testing "short name" "killall -w $tst && echo killed ; sleep 0.1; \
14 pgrep -l $tst || echo really" "killed\nreally\n" "" ""
16 tst=toybox.killall.test.script
17 (./$tst 2>/dev/null &)
18 testing "long name" "killall -w $tst && echo killed ; sleep 0.1; \
19 pgrep -l $tst || echo really" "killed\nreally\n" "" ""
Dbc.test11 tst="$1"
12 results=$(cat "$BDIR/${tst}_results.txt")
13 testcmd "$tst" "-l $BDIR/$tst.txt" "$results\n" "$BDIR/$tst.txt" ""
/third_party/skia/modules/skottie/tests/
DImage.cpp66 TestImageAsset(const TestData* tst, skiatest::Reporter* r) in DEF_TEST() argument
67 : fTest(tst) in DEF_TEST()
91 TestResourceProvider(const TestData* tst, skiatest::Reporter* r) in DEF_TEST() argument
92 : fTest(tst) in DEF_TEST()
117 for (const auto& tst : tests) { in DEF_TEST() local
119 anim->seekFrameTime(tst.t); in DEF_TEST()
123 tst.c[0] == pmap.getColor(render_size.width() / 2, render_size.height() / 2)); in DEF_TEST()
125 tst.c[1] == pmap.getColor(1 , render_size.height() / 2)); in DEF_TEST()
127 tst.c[2] == pmap.getColor(render_size.width() / 2, 1)); in DEF_TEST()
129 tst.c[3] == pmap.getColor(render_size.width() - 1, render_size.height() / 2)); in DEF_TEST()
[all …]
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/sched_h/
D10-1.c39 struct unique *tst; in main() local
41 tst = sym; in main()
43 while (tst->name) { in main()
45 if (tst->value == sym[i].value in main()
46 && strcmp(tst->name, sym[i].name)) { in main()
48 tst->name, sym[i].name); in main()
52 tst++; in main()
/third_party/skia/modules/svg/tests/
DText.cpp150 auto test = [&](const PosTestDesc& tst) { in DEF_TEST() argument
155 a->setX(tst.xa); in DEF_TEST()
156 a->setY(tst.ya); in DEF_TEST()
157 b->setX(tst.xb); in DEF_TEST()
158 b->setY(tst.yb); in DEF_TEST()
169 SkSVGTextContext::ScopedPosResolver pa(*a, lctx, &tctx, tst.offseta); in DEF_TEST()
170 SkSVGTextContext::ScopedPosResolver pb(*b, lctx, &tctx, tst.offsetb); in DEF_TEST()
172 for (size_t i = 0; i < tst.expected.size(); ++i) { in DEF_TEST()
173 const auto& exp = tst.expected[i]; in DEF_TEST()
174 auto pos = i >= tst.offsetb ? pb.resolve(i) : pa.resolve(i); in DEF_TEST()
[all …]
/third_party/node/test/testpy/
D__init__.py110 for tst in all_tests:
111 if self.Contains(path, tst):
112 file_path = os.path.join(self.root, reduce(os.path.join, tst[1:], ""))
113 test_name = tst[:-1] + [os.path.splitext(tst[-1])[0]]
129 for tst in result:
130 tst.parallel = True
152 for tst in all_tests:
153 if self.Contains(path, tst):
154 file_path = os.path.join(self.root, reduce(os.path.join, tst[1:], "") + ".js")
156 SimpleTestCase(tst, file_path, arch, mode, self.context, self, self.additional_flags))
[all …]
/third_party/ltp/testcases/open_posix_testsuite/conformance/definitions/errno_h/
D3-2.c115 struct unique *tst; in main() local
117 tst = sym; in main()
119 while (tst->name) { in main()
121 …if (tst->value == sym[i].value && tst->duplicate != sym[i].value && strcmp(tst->name, sym[i].name)… in main()
123 tst->name, sym[i].name); in main()
127 tst++; in main()
D4-1.c110 struct unique *tst = sym; in main() local
112 while (tst->name) { in main()
113 if (tst->value < 0) { in main()
115 tst->name); in main()
118 tst++; in main()
/third_party/skia/gm/
Dcolorfilters.cpp130 for (const auto& tst: gTests) { in onDraw() local
133 const auto dh = (std::get<1>(tst.h) - std::get<0>(tst.h)) / (kSteps - 1), in onDraw()
134 ds = (std::get<1>(tst.s) - std::get<0>(tst.s)) / (kSteps - 1), in onDraw()
135 dl = (std::get<1>(tst.l) - std::get<0>(tst.l)) / (kSteps - 1); in onDraw()
136 auto h = std::get<0>(tst.h), in onDraw()
137 s = std::get<0>(tst.s), in onDraw()
138 l = std::get<0>(tst.l); in onDraw()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_getscheduler/
D3-1.c46 struct unique *tst; in main() local
48 tst = sym; in main()
60 while (tst->name) { in main()
61 if (result == tst->value) { in main()
65 tst++; in main()
/third_party/skia/modules/skottie/gm/
DExternalProperties.cpp109 const auto& tst = gTests[i - 1]; in update_props() local
112 SkAssertResult(fPropManager->setColor(prop, tst.solid_color)); in update_props()
117 t.fScale = {tst.transform_scale, tst.transform_scale}; in update_props()
123 txt.fText.set(tst.txt_string); in update_props()
124 txt.fFillColor = tst.txt_color; in update_props()
/third_party/ffmpeg/libavcodec/arm/
Didctdsp_arm.S40 tst r6, #0x100
43 tst r8, #0x100
58 tst r6, #0x100
61 tst r8, #0x100
82 tst r6, #0x100
85 tst r8, #0x100
100 tst r6, #0x100
103 tst r8, #0x100
Dstartcode_armv6.S82 tst PTR, #3
88 tst PTR, #3
93 tst PTR, #12
97 tst PTR, #12
100 tst PTR, #16
114 tst SIZE, #31
136 tst SIZE, #3
142 tst SIZE, #3
/third_party/ltp/lib/
DREADME.md29 various test prerequisites. These are described in the tst\_test structure and
34 environment as requested in the tst\_test structure. There are many different
78 the tst\_test structure. It's important that we execute all test callbacks
81 or indirect (SAFE\_MACROS()) call to tst\_brk(). In this case the
88 test can exit at any time by direct or indirect call to tst\_brk().
91 cleanup(). So if a there is a cleanup() callback in the tst\_test structure
93 tst\_brk(TBROK, ...) calls are converted into tst\_res(TWARN, ...) calls. This
97 The test cleanup() is also called by the tst\_brk() handler in order to cleanup
131 tst\_reap\_children() to collect and dissect deceased.
133 Also note that tst\_brk() does exit only the current process, so if a child
[all …]
/third_party/fsverity-utils/scripts/
Drun-tests.sh289 local tst=$1
292 if [ "${tst}_test" = "$func" ]; then
304 for tst; do
305 if ! test_exists "$tst"; then
306 echo 1>&2 "Unknown test: $tst"
310 for tst; do
311 eval "${tst}_test"
/third_party/musl/src/setjmp/arm/
Dsetjmp.S22 tst r1,#0x260
25 tst r1,#0x20
29 2: tst r1,#0x40
38 2: tst r1,#0x200
Dlongjmp.S20 tst r1,#0x260
23 tst r1,#0x20
27 2: tst r1,#0x40
36 2: tst r1,#0x200
/third_party/node/deps/openssl/config/archs/linux-armv4/asm/crypto/
Darmv4cpuid.S44 tst lr,#1
68 .Lot: tst r0,#3
83 tst lr,#1
113 tst lr,#1
201 tst r0,#1
221 tst lr,#1
234 tst lr,#1
247 tst lr,#1
/third_party/node/deps/openssl/config/archs/linux-armv4/asm_avx2/crypto/
Darmv4cpuid.S44 tst lr,#1
68 .Lot: tst r0,#3
83 tst lr,#1
113 tst lr,#1
201 tst r0,#1
221 tst lr,#1
234 tst lr,#1
247 tst lr,#1

1234567891011