Lines Matching refs:ret_orig
54 uint32_t ret_orig = 0; in xtest_crypto_test() local
77 &ret_orig)); in xtest_crypto_test()
99 &ret_orig)); in xtest_crypto_test()
136 &ret_orig)); in xtest_crypto_test()
178 &ret_orig)); in xtest_crypto_test()
220 &ret_orig)); in xtest_crypto_test()
237 uint32_t ret_orig = 0; in xtest_tee_test_1001() local
241 &ret_orig); in xtest_tee_test_1001()
249 &session, PTA_INVOKE_TESTS_CMD_SELF_TESTS, NULL, &ret_orig)); in xtest_tee_test_1001()
259 uint32_t ret_orig = 0; in xtest_tee_test_1002() local
266 &ret_orig); in xtest_tee_test_1002()
284 &session, PTA_INVOKE_TESTS_CMD_PARAMS, &op, &ret_orig))) in xtest_tee_test_1002()
358 uint32_t ret_orig = 0; in xtest_tee_test_1003() local
375 &ret_orig); in xtest_tee_test_1003()
433 uint32_t ret_orig = 0; in xtest_tee_test_1004() local
440 NULL, &ret_orig))) in xtest_tee_test_1004()
454 uint32_t ret_orig = 0; in xtest_tee_test_invalid_mem_access() local
458 &ret_orig))) in xtest_tee_test_invalid_mem_access()
468 &ret_orig)); in xtest_tee_test_invalid_mem_access()
473 &ret_orig)); in xtest_tee_test_invalid_mem_access()
475 (void)ADBG_EXPECT_TEEC_ERROR_ORIGIN(c, TEEC_ORIGIN_TEE, ret_orig); in xtest_tee_test_invalid_mem_access()
485 uint32_t ret_orig = 0; in xtest_tee_test_invalid_mem_access2() local
496 &ret_orig))) in xtest_tee_test_invalid_mem_access2()
508 &ret_orig)); in xtest_tee_test_invalid_mem_access2()
513 &ret_orig)); in xtest_tee_test_invalid_mem_access2()
515 (void)ADBG_EXPECT_TEEC_ERROR_ORIGIN(c, TEEC_ORIGIN_TEE, ret_orig); in xtest_tee_test_invalid_mem_access2()
524 uint32_t ret_orig = 0; in xtest_tee_test_1005() local
533 NULL, &ret_orig))) in xtest_tee_test_1005()
545 uint32_t ret_orig = 0; in xtest_tee_test_1006() local
551 &ret_orig))) in xtest_tee_test_1006()
561 &ret_orig)); in xtest_tee_test_1006()
571 uint32_t ret_orig = 0; in xtest_tee_test_1007() local
575 &ret_orig))) in xtest_tee_test_1007()
581 &ret_orig)); in xtest_tee_test_1007()
583 (void)ADBG_EXPECT_TEEC_ERROR_ORIGIN(c, TEEC_ORIGIN_TEE, ret_orig); in xtest_tee_test_1007()
588 &ret_orig)); in xtest_tee_test_1007()
590 (void)ADBG_EXPECT_TEEC_ERROR_ORIGIN(c, TEEC_ORIGIN_TEE, ret_orig); in xtest_tee_test_1007()
625 uint32_t ret_orig = 0; in load_corrupt_ta() local
633 xtest_teec_open_session(&session, &uuid, NULL, &ret_orig))) in load_corrupt_ta()
663 &ret_orig); in load_corrupt_ta()
678 uint32_t ret_orig = 0; in test_1008_corrupt_ta() local
680 res = xtest_teec_open_session(&session, &uuid, NULL, &ret_orig); in test_1008_corrupt_ta()
713 uint32_t ret_orig = 0; in xtest_tee_test_1008() local
719 NULL, &ret_orig))) { in xtest_tee_test_1008()
723 NULL, &ret_orig)); in xtest_tee_test_1008()
742 &ret_orig))) { in xtest_tee_test_1008()
747 &op, &ret_orig)); in xtest_tee_test_1008()
762 NULL, &ret_orig)); in xtest_tee_test_1008()
792 uint32_t ret_orig = 0; in xtest_tee_test_1009_subcase() local
803 NULL, &ret_orig))) { in xtest_tee_test_1009_subcase()
807 ret_orig); in xtest_tee_test_1009_subcase()
823 &ret_orig)); in xtest_tee_test_1009_subcase()
830 &ret_orig)); in xtest_tee_test_1009_subcase()
879 uint32_t ret_orig = 0; in xtest_tee_test_1011() local
894 xtest_teec_open_session(&session, &uuid, NULL, &ret_orig))) in xtest_tee_test_1011()
929 uint32_t ret_orig = 0; in xtest_tee_test_1012() local
946 &ret_orig))) in xtest_tee_test_1012()
958 &ret_orig)); in xtest_tee_test_1012()
963 &ret_orig))) in xtest_tee_test_1012()
975 &op, &ret_orig)); in xtest_tee_test_1012()
992 &op, &ret_orig)); in xtest_tee_test_1012()
999 &ret_orig)); in xtest_tee_test_1012()
1015 &ret_orig)); in xtest_tee_test_1012()
1284 uint32_t ret_orig = 0; in xtest_tee_test_1015() local
1288 &ret_orig); in xtest_tee_test_1015()
1297 NULL, &ret_orig)); in xtest_tee_test_1015()
1308 uint32_t ret_orig = 0; in xtest_tee_test_1016() local
1312 &ret_orig))) in xtest_tee_test_1016()
1320 &ret_orig)); in xtest_tee_test_1016()
1331 uint32_t ret_orig = 0; in xtest_tee_test_1017() local
1343 &ret_orig))) in xtest_tee_test_1017()
1374 &ret_orig)); in xtest_tee_test_1017()
1388 uint32_t ret_orig = 0; in invoke_1byte_out_of_bounds() local
1398 &op, &ret_orig); in invoke_1byte_out_of_bounds()
1400 ADBG_EXPECT_COMPARE_UNSIGNED(c, ret_orig, !=, TEEC_ORIGIN_TRUSTED_APP); in invoke_1byte_out_of_bounds()
1411 uint32_t ret_orig = 0; in xtest_tee_test_1018() local
1422 &ret_orig))) in xtest_tee_test_1018()
1461 &ret_orig); in xtest_tee_test_1018()
1463 ADBG_EXPECT_COMPARE_UNSIGNED(c, ret_orig, !=, TEEC_ORIGIN_TRUSTED_APP); in xtest_tee_test_1018()
1513 uint32_t ret_orig = 0; in xtest_tee_test_1019() local
1517 &ret_orig))) in xtest_tee_test_1019()
1522 &ret_orig)); in xtest_tee_test_1019()
1527 NULL, &ret_orig)); in xtest_tee_test_1019()
1529 (void)ADBG_EXPECT_TEEC_ERROR_ORIGIN(c, TEEC_ORIGIN_TEE, ret_orig); in xtest_tee_test_1019()
1540 uint32_t ret_orig = 0; in xtest_tee_test_1020() local
1544 &ret_orig); in xtest_tee_test_1020()
1552 NULL, &ret_orig); in xtest_tee_test_1020()
1555 ret_orig); in xtest_tee_test_1020()
1575 uint32_t ret_orig = 0; in open_sec_session() local
1583 &op, &ret_orig); in open_sec_session()
1595 uint32_t ret_orig = 0; in sims_get_counter() local
1601 &op, &ret_orig); in sims_get_counter()
1612 uint32_t ret_orig = 0; in trigger_panic() local
1625 &op, &ret_orig); in trigger_panic()
1633 uint32_t ret_orig = 0; in test_panic_ca_to_ta() local
1639 &ret_orig))) in test_panic_ca_to_ta()
1644 &ret_orig))) in test_panic_ca_to_ta()
1676 &ret_orig))) in test_panic_ca_to_ta()
1682 &ret_orig))) in test_panic_ca_to_ta()
1713 uint32_t ret_orig = 0; in test_panic_ta_to_ta() local
1721 &ret_orig))) in test_panic_ta_to_ta()
1727 &ret_orig))) in test_panic_ta_to_ta()
1760 &ret_orig))) in test_panic_ta_to_ta()
1766 &ret_orig))) in test_panic_ta_to_ta()
1818 uint32_t ret_orig = 0; in xtest_tee_test_1022() local
1822 NULL, &ret_orig))) in xtest_tee_test_1022()
1827 &ret_orig)); in xtest_tee_test_1022()
1832 NULL, &ret_orig)); in xtest_tee_test_1022()
1834 (void)ADBG_EXPECT_TEEC_ERROR_ORIGIN(c, TEEC_ORIGIN_TEE, ret_orig); in xtest_tee_test_1022()
1859 uint32_t ret_orig = 0; in xtest_tee_test_1023() local
1866 NULL, &ret_orig))) in xtest_tee_test_1023()
1871 &ret_orig)); in xtest_tee_test_1023()
1878 &ret_orig)); in xtest_tee_test_1023()
1882 &ret_orig)); in xtest_tee_test_1023()
1896 uint32_t ret_orig = 0; in xtest_tee_test_1024() local
1899 NULL, &ret_orig); in xtest_tee_test_1024()
1904 NULL, &ret_orig)); in xtest_tee_test_1024()
1910 NULL, &ret_orig)); in xtest_tee_test_1024()
1924 uint32_t ret_orig = 0; in xtest_tee_test_1025() local
1957 NULL, &ret_orig))) in xtest_tee_test_1025()
1989 &ret_orig)); in xtest_tee_test_1025()
2010 &ret_orig)); in xtest_tee_test_1025()
2020 &ret_orig); in xtest_tee_test_1025()
2036 &op, &ret_orig)); in xtest_tee_test_1025()
2063 uint32_t ret_orig = 0; in xtest_tee_test_1026() local
2069 TEEC_LOGIN_PUBLIC, NULL, NULL, &ret_orig); in xtest_tee_test_1026()
2105 uint32_t ret_orig = 0; in xtest_tee_test_1027() local
2126 TEEC_LOGIN_USER, NULL, NULL, &ret_orig); in xtest_tee_test_1027()
2167 uint32_t ret_orig = 0; in xtest_tee_test_1028() local
2191 TEEC_LOGIN_GROUP, &group, NULL, &ret_orig); in xtest_tee_test_1028()
2223 uint32_t ret_orig = 0; in xtest_tee_test_1029() local
2227 NULL, &ret_orig))) in xtest_tee_test_1029()
2232 &ret_orig); in xtest_tee_test_1029()
2242 &ret_orig); in xtest_tee_test_1029()
2258 uint32_t ret_orig = 0; in xtest_tee_test_1030() local
2262 NULL, &ret_orig))) in xtest_tee_test_1030()
2268 &ret_orig)); in xtest_tee_test_1030()
2274 &ret_orig)); in xtest_tee_test_1030()
2287 uint32_t ret_orig = 0; in xtest_tee_test_1031() local
2291 NULL, &ret_orig))) in xtest_tee_test_1031()
2296 &ret_orig); in xtest_tee_test_1031()
2309 NULL, &ret_orig)); in xtest_tee_test_1031()
2315 NULL, &ret_orig)); in xtest_tee_test_1031()
2321 &ret_orig)); in xtest_tee_test_1031()
2327 &ret_orig)); in xtest_tee_test_1031()
2372 uint32_t ret_orig = 0; in xtest_tee_test_1033() local
2377 NULL, &ret_orig))) in xtest_tee_test_1033()
2394 &ret_orig)); in xtest_tee_test_1033()
2404 &ret_orig)); in xtest_tee_test_1033()
2423 &op, &ret_orig)); in xtest_tee_test_1033()
2448 &ret_orig)); in xtest_tee_test_1033()
2463 &ret_orig)); in xtest_tee_test_1033()
2467 &ret_orig)); in xtest_tee_test_1033()
2471 &ret_orig)); in xtest_tee_test_1033()
2484 &op, &ret_orig)); in xtest_tee_test_1033()
2497 uint32_t ret_orig = 0; in xtest_tee_test_1034() local
2500 &ret_orig); in xtest_tee_test_1034()
2544 uint32_t ret_orig = 0; in get_cpu_feature() local
2551 NULL, &ret_orig))) in get_cpu_feature()
2555 &ret_orig); in get_cpu_feature()
2570 uint32_t ret_orig = 0; in xtest_tee_test_1035() local
2584 NULL, &ret_orig))) in xtest_tee_test_1035()
2593 res = TEEC_InvokeCommand(&session, test->cmd, &op, &ret_orig); in xtest_tee_test_1035()
2621 NULL, &ret_orig))) in xtest_tee_test_1035()
2628 TEEC_InvokeCommand(&session, test->cmd, &op, &ret_orig)); in xtest_tee_test_1035()
2632 ret_orig); in xtest_tee_test_1035()