/third_party/ltp/testcases/kernel/syscalls/membarrier/ |
D | membarrier01.c | 33 long exp_ret; /* expected return code for given cmd */ member 52 .exp_ret = -1, 65 .exp_ret = -1, 78 .exp_ret = 0, 93 .exp_ret = -1, 105 .exp_ret = 0, 122 .exp_ret = 0, 140 .exp_ret = -1, 152 .exp_ret = 0, 166 .exp_ret = 0, [all …]
|
/third_party/ltp/testcases/kernel/syscalls/writev/ |
D | writev01.c | 49 int exp_ret; member 57 .exp_ret = -1, 65 .exp_ret = -1, 73 .exp_ret = -1, 81 .exp_ret = 0, 88 .exp_ret = CHUNK, 95 .exp_ret = -1, 121 ret = (TST_RET == tcase->exp_ret); in test_writev() 122 if (TST_RET < 0 || tcase->exp_ret < 0) { in test_writev() 126 tcase->exp_ret, tst_strerrno(tcase->exp_errno), in test_writev() [all …]
|
/third_party/ltp/testcases/kernel/syscalls/waitid/ |
D | waitid02.c | 60 int exp_ret; member 84 .exp_ret = -1, 92 .exp_ret = -1, 100 .exp_ret = 0, 108 .exp_ret = 0, 115 .exp_ret = 0, 122 .exp_ret = 0, 130 .exp_ret = 0, 139 .exp_ret = -1, 264 if (TEST_RETURN == t->exp_ret) { in test_waitid() [all …]
|
/third_party/openssl/test/ |
D | pkits-test.pl | 767 my ( $tnum, $title, $exp_ret ) = @$_; 769 $exp_ret += 32 if $exp_ret; 787 if ( $exp_ret != $ret ) { 789 $errmsg .= "expected $exp_ret\n"; 803 my ( $tnum, $title, $exargs, $exp_epol, $exp_aset, $exp_uset, $exp_ret ) 806 $exp_ret += 32 if $exp_ret; 881 if ( $exp_ret != $ret ) { 882 print "Return code:$ret, expected $exp_ret\n";
|
/third_party/ltp/testcases/kernel/syscalls/setns/ |
D | setns01.c | 27 int exp_ret; member 78 .exp_ret = -1, 84 .exp_ret = -1, 91 .exp_ret = -1, 97 .exp_ret = -1, 103 .exp_ret = -1, 126 if (ret == t->exp_ret) { in test_setns() 138 t->msg, ret, t->exp_ret); in test_setns()
|
/third_party/ltp/testcases/kernel/syscalls/clock_nanosleep/ |
D | clock_nanosleep01.c | 47 int exp_ret; member 58 .exp_ret = -1, 67 .exp_ret = -1, 76 .exp_ret = -1, 85 .exp_ret = -1, 92 .exp_ret = -1, 101 .exp_ret = -1, 211 if ((TST_RET != tc->exp_ret) || (TST_ERR != tc->exp_err)) { in do_test() 214 tc->exp_ret, tst_strerrno(tc->exp_err), tc->exp_err); in do_test()
|
/third_party/ltp/testcases/kernel/syscalls/fgetxattr/ |
D | fgetxattr02.c | 78 int exp_ret; member 91 .exp_ret = XATTR_TEST_VALUE_SIZE, 102 .exp_ret = XATTR_TEST_VALUE_SIZE, 113 .exp_ret = XATTR_TEST_VALUE_SIZE, 123 .exp_ret = -1, 134 .exp_ret = -1, 145 .exp_ret = -1, 156 .exp_ret = -1, 172 if (tc[i].exp_ret == TST_RET) { in verify_fgetxattr() 250 if (tc[i].exp_ret >= 0) { in setup()
|
D | fgetxattr01.c | 51 int exp_ret; member 59 .exp_ret = -1, 66 .exp_ret = -1, 73 .exp_ret = XATTR_TEST_VALUE_SIZE, 87 if (tc[i].exp_ret == TST_RET) in verify_fgetxattr()
|
/third_party/ltp/testcases/kernel/syscalls/mremap/ |
D | mremap05.c | 57 void *exp_ret; member 80 .exp_ret = MAP_FAILED, 89 .exp_ret = MAP_FAILED, 98 .exp_ret = MAP_FAILED, 143 if (t->ret == t->exp_ret) { in test_mremap() 158 t->ret, t->exp_ret); in test_mremap() 184 t->exp_ret = t->new_address; in setup3() 192 t->exp_ret = t->new_address; in setup4()
|
/third_party/ltp/testcases/kernel/syscalls/readlinkat/ |
D | readlinkat01.c | 58 int exp_ret; member 78 if (TEST_RETURN != test->exp_ret) { in verify_readlinkat() 81 TEST_RETURN, test->exp_ret); in verify_readlinkat() 88 TEST_RETURN, test->exp_ret); in verify_readlinkat() 92 if (test->exp_ret > 0 && strcmp(test->exp_buf, buf)) { in verify_readlinkat()
|
/third_party/ltp/testcases/kernel/syscalls/readv/ |
D | readv01.c | 32 int iov_count, exp_ret; member 64 else if (TST_RET != tc->exp_ret) in test_readv() 68 if (TST_RET != tc->exp_ret) in test_readv() 77 if (ptr[j] != (fpos < tc->exp_ret ? 0x42 : 0)) in test_readv() 85 tst_res(TPASS, "readv() correctly read %d bytes ", tc->exp_ret); in test_readv()
|
/third_party/ltp/testcases/kernel/syscalls/select/ |
D | select01.c | 42 int exp_ret = 1; in run() local 49 exp_ret++; in run() 64 if (TST_RET != exp_ret) { in run() 66 tc->desc, TST_RET, exp_ret); in run() 70 tst_res(TPASS, "select() %s returned %i", tc->desc, exp_ret); in run()
|
/third_party/ltp/testcases/kernel/syscalls/fchownat/ |
D | fchownat01.c | 51 int exp_ret; member 110 if (TEST_RETURN != test->exp_ret) { in fchownat_verify() 113 TEST_RETURN, test->exp_ret, test->exp_errno); in fchownat_verify() 120 test->exp_ret, strerror(test->exp_errno)); in fchownat_verify()
|
/third_party/ltp/testcases/kernel/syscalls/openat/ |
D | openat01.c | 58 int exp_ret; member 74 if ((test->exp_ret == -1 && TEST_RETURN != -1) || in verify_openat() 75 (test->exp_ret == 0 && TEST_RETURN < 0)) { in verify_openat() 78 TEST_RETURN, test->exp_ret); in verify_openat()
|
/third_party/ltp/testcases/kernel/syscalls/set_thread_area/ |
D | set_thread_area01.c | 42 int exp_ret; member 79 if (TEST_RETURN != tests[i].exp_ret) { in main() 82 TEST_RETURN, tests[i].exp_ret); in main()
|
/third_party/ltp/testcases/kernel/syscalls/mkdirat/ |
D | mkdirat01.c | 53 int exp_ret; member 70 if (TEST_RETURN != test->exp_ret) { in verify_mkdirat() 73 TEST_RETURN, test->exp_ret); in verify_mkdirat()
|
/third_party/ltp/testcases/kernel/syscalls/mknodat/ |
D | mknodat01.c | 58 int exp_ret; member 77 if (TEST_RETURN != test->exp_ret) { in verify_mknodat() 80 TEST_RETURN, test->exp_ret); in verify_mknodat()
|
/third_party/ltp/testcases/kernel/syscalls/futex/ |
D | futex_cmp_requeue01.c | 91 int exp_ret = tc->set_wakes + tc->set_requeues; in verify_futex_cmp_requeue() local 123 if (TST_RET > exp_ret) { in verify_futex_cmp_requeue() 125 TST_RET, exp_ret); in verify_futex_cmp_requeue()
|
/third_party/ltp/testcases/kernel/syscalls/setreuid/ |
D | setreuid03.c | 26 int exp_ret; member 84 if (tc->exp_ret) { in run()
|
D | setreuid05.c | 28 int exp_ret; member 87 if (tc->exp_ret) { in run_child()
|
/third_party/ltp/testcases/kernel/syscalls/setregid/ |
D | setregid03.c | 25 int *exp_ret; member 116 if (*tc->exp_ret == 0) in run()
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_x509parse.function | 678 int exp_ret ) 698 TEST_ASSERT( ret == exp_ret ); 708 int exp_ret, char *exp_vrfy_out ) 733 TEST_ASSERT( ret == exp_ret );
|
D | test_suite_ssl.function | 3489 int exp_ret; 3659 exp_ret = ( i == padlen ) ? 0 : MBEDTLS_ERR_SSL_INVALID_MAC; 3660 TEST_EQUAL( exp_ret, mbedtls_ssl_decrypt_buf( &ssl, &t1, &rec ) ); 4066 char *label, data_t *result_str, int exp_ret ) 4078 output, result_str->len ) == exp_ret ); 4080 if( exp_ret == 0 )
|