Home
last modified time | relevance | path

Searched refs:expected_ret (Results 1 – 11 of 11) sorted by relevance

/third_party/mbedtls/tests/suites/
Dtest_suite_bignum_mod.function247 char *input_D, int expected_ret)
264 TEST_EQUAL(0, test_read_residue(&a, &m, input_A, expected_ret != 0));
265 TEST_EQUAL(0, test_read_residue(&b, &m, input_B, expected_ret != 0));
266 TEST_EQUAL(0, test_read_residue(&d, &m, input_D, expected_ret != 0));
271 if (expected_ret == 0) {
297 * manually-written test cases with expected_ret != 0. */
305 TEST_EQUAL(expected_ret, mbedtls_mpi_mod_sub(&x, &a, &b, &m));
306 if (expected_ret != 0) {
349 int expected_ret)
365 TEST_EQUAL(0, test_read_residue(&a, &N, input_A, expected_ret != 0));
[all …]
Dtest_suite_bignum_random.function116 void mpi_core_random_basic(int min, char *bound_bytes, int expected_ret)
131 TEST_EQUAL(expected_ret,
135 if (expected_ret == 0) {
409 int expected_ret)
426 expected_ret);
427 if (expected_ret == 0) {
445 expected_ret);
446 if (expected_ret == 0) {
462 void mpi_random_fail(int min, data_t *bound_bytes, int expected_ret)
475 TEST_EQUAL(expected_ret, actual_ret);
Dtest_suite_nist_kw.function272 data_t *expected_result, int expected_ret)
287 result, &result_len, sizeof(result)) == expected_ret);
288 if (expected_ret == 0) {
Dtest_suite_ecdh.function428 int expected_ret)
452 expected_ret);
458 expected_ret);
Dtest_suite_ecp.function440 int expected_ret)
470 == expected_ret);
472 if (expected_ret == 0) {
1244 void ecp_export(int id, char *Qx, char *Qy, char *d, int expected_ret, int invalid_grp)
1264 &export_d, &export_Q), expected_ret);
1266 if (expected_ret == 0) {
Dtest_suite_bignum.function1206 int before, int expected_ret)
1224 TEST_ASSERT(ret == expected_ret);
1226 if (expected_ret == 0) {
Dtest_suite_bignum_core.function1012 int extra_limbs, int before, int expected_ret)
1037 TEST_EQUAL(expected_ret, ret);
1039 if (expected_ret == 0) {
/third_party/ltp/testcases/kernel/syscalls/migrate_pages/
Dmigrate_pages_common.c36 int check_ret(long expected_ret) in check_ret() argument
38 if (expected_ret == TEST_RETURN) { in check_ret()
45 TEST_RETURN, expected_ret); in check_ret()
Dmigrate_pages_common.h31 int check_ret(long expected_ret);
/third_party/openssl/test/
Dtrace_api_test.c22 int expected_ret; in test_trace_categories() local
58 expected_ret = cat_name != NULL ? cat_num : -1; in test_trace_categories()
59 if (!TEST_int_eq(expected_ret, ret_cat_num)) in test_trace_categories()
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_VIDIOC_CROPCAP.c37 int expected_ret) in do_ioctl_VIDIOC_CROPCAP() argument
49 __FILE__, __LINE__, buf_type, ret_cap, errno_cap, expected_ret); in do_ioctl_VIDIOC_CROPCAP()
51 if (expected_ret != 0) { in do_ioctl_VIDIOC_CROPCAP()
52 CU_ASSERT_EQUAL(ret_cap, expected_ret); in do_ioctl_VIDIOC_CROPCAP()