ReactOS 0.4.16-dev-87-g3dfbe52
|
Go to the source code of this file.
Classes | |
struct | volatile_context |
struct | subtest |
Macros | |
#define | DEFINE_TEST(NAME_) static int NAME_(void) |
#define | USE_TEST_NAME_(NAME_) # NAME_ |
#define | USE_TEST_NAME(NAME_) USE_TEST_NAME_(NAME_) |
#define | USE_TEST(NAME_) { USE_TEST_NAME(NAME_), NAME_ } |
Functions | |
void | no_op (void) |
int | return_arg (int) |
int | return_zero (void) |
int | return_positive (void) |
int | return_negative (void) |
int | return_one (void) |
int | return_minusone (void) |
int | return_zero_2 (void *) |
int | return_positive_2 (void *) |
int | return_negative_2 (void *) |
int | return_one_2 (void *) |
int | return_minusone_2 (void *) |
int | return_zero_3 (int) |
int | return_positive_3 (int) |
int | return_negative_3 (int) |
int | return_one_3 (int) |
int | return_minusone_3 (int) |
int | return_zero_4 (void *, int) |
int | return_positive_4 (void *, int) |
int | return_negative_4 (void *, int) |
int | return_one_4 (void *, int) |
int | return_minusone_4 (void *, int) |
void | set_positive (int *) |
DEFINE_TEST (test_empty_1) | |
DEFINE_TEST (test_empty_2) | |
DEFINE_TEST (test_empty_3) | |
DEFINE_TEST (test_empty_4) | |
DEFINE_TEST (test_empty_5) | |
DEFINE_TEST (test_empty_6) | |
DEFINE_TEST (test_empty_7) | |
DEFINE_TEST (test_empty_8) | |
DEFINE_TEST (test_execute_handler_1) | |
DEFINE_TEST (test_continue_execution_1) | |
DEFINE_TEST (test_continue_search_1) | |
DEFINE_TEST (test_execute_handler_2) | |
DEFINE_TEST (test_continue_execution_2) | |
DEFINE_TEST (test_execute_handler_3) | |
DEFINE_TEST (test_continue_execution_3) | |
DEFINE_TEST (test_continue_search_2) | |
DEFINE_TEST (test_execute_handler_4) | |
DEFINE_TEST (test_continue_execution_4) | |
DEFINE_TEST (test_execute_handler_5) | |
DEFINE_TEST (test_continue_execution_5) | |
DEFINE_TEST (test_continue_search_3) | |
DEFINE_TEST (test_execute_handler_6) | |
DEFINE_TEST (test_continue_execution_6) | |
DEFINE_TEST (test_execute_handler_7) | |
DEFINE_TEST (test_continue_execution_7) | |
DEFINE_TEST (test_continue_search_4) | |
DEFINE_TEST (test_execute_handler_8) | |
DEFINE_TEST (test_continue_execution_8) | |
DEFINE_TEST (test_execute_handler_9) | |
DEFINE_TEST (test_continue_execution_9) | |
DEFINE_TEST (test_continue_search_5) | |
DEFINE_TEST (test_execute_handler_10) | |
DEFINE_TEST (test_continue_execution_10) | |
DEFINE_TEST (test_execute_handler_11) | |
DEFINE_TEST (test_continue_execution_11) | |
DEFINE_TEST (test_continue_search_6) | |
DEFINE_TEST (test_execute_handler_12) | |
DEFINE_TEST (test_continue_execution_12) | |
DEFINE_TEST (test_leave_1) | |
DEFINE_TEST (test_leave_2) | |
DEFINE_TEST (test_leave_3) | |
DEFINE_TEST (test_leave_4) | |
DEFINE_TEST (test_leave_5) | |
DEFINE_TEST (test_leave_6) | |
static int | test_yield_1_helper (void) |
DEFINE_TEST (test_yield_1) | |
static int | test_yield_2_helper (void) |
DEFINE_TEST (test_yield_2) | |
static int | test_yield_3_helper (void) |
DEFINE_TEST (test_yield_3) | |
static int | test_yield_4_helper (void) |
DEFINE_TEST (test_yield_4) | |
static int | test_yield_5_helper (void) |
DEFINE_TEST (test_yield_5) | |
static int | test_yield_6_helper (void) |
DEFINE_TEST (test_yield_6) | |
DEFINE_TEST (test_finally_1) | |
DEFINE_TEST (test_finally_2) | |
DEFINE_TEST (test_finally_3) | |
static int | test_finally_4_helper (void) |
DEFINE_TEST (test_finally_4) | |
DEFINE_TEST (test_finally_5) | |
DEFINE_TEST (test_finally_6) | |
DEFINE_TEST (test_finally_7) | |
DEFINE_TEST (test_finally_8) | |
static int | test_finally_9_helper (void) |
DEFINE_TEST (test_finally_9) | |
DEFINE_TEST (test_finally_10) | |
DEFINE_TEST (test_finally_11) | |
DEFINE_TEST (test_finally_12) | |
static void | test_finally_13_helper (void) |
DEFINE_TEST (test_finally_13) | |
static void | test_finally_14_helper (void) |
DEFINE_TEST (test_finally_14) | |
static int | verify_xpointers (struct _EXCEPTION_POINTERS *ep, DWORD code, DWORD flags, DWORD argc, const ULONG_PTR *argv, int *ret, int filter) |
DEFINE_TEST (test_xpointers_1) | |
DEFINE_TEST (test_xpointers_2) | |
DEFINE_TEST (test_xpointers_3) | |
DEFINE_TEST (test_xpointers_4) | |
DEFINE_TEST (test_xpointers_5) | |
DEFINE_TEST (test_xpointers_6) | |
DEFINE_TEST (test_xpointers_7) | |
DEFINE_TEST (test_xpointers_8) | |
DEFINE_TEST (test_xpointers_9) | |
DEFINE_TEST (test_xpointers_10) | |
DEFINE_TEST (test_xpointers_11) | |
DEFINE_TEST (test_xpointers_12) | |
DEFINE_TEST (test_xpointers_13) | |
DEFINE_TEST (test_xpointers_14) | |
DEFINE_TEST (test_xpointers_15) | |
DEFINE_TEST (test_xpointers_16) | |
static int | verify_xcode (int code, int xcode, int *ret, int filter) |
DEFINE_TEST (test_xcode_1) | |
DEFINE_TEST (test_xcode_2) | |
DEFINE_TEST (test_xcode_3) | |
DEFINE_TEST (test_abnorm_1) | |
DEFINE_TEST (test_abnorm_2) | |
DEFINE_TEST (test_abnorm_3) | |
DEFINE_TEST (test_abnorm_4) | |
DEFINE_TEST (test_abnorm_5) | |
DEFINE_TEST (test_abnorm_6) | |
DEFINE_TEST (test_abnorm_7) | |
DEFINE_TEST (test_abnorm_8) | |
DEFINE_TEST (test_nested_locals_1) | |
DEFINE_TEST (test_nested_locals_2) | |
DEFINE_TEST (test_nested_locals_3) | |
static void | test_bug_4004_helper_1 (void) |
static void | test_bug_4004_helper_2 (void) |
DEFINE_TEST (test_bug_4004) | |
DEFINE_TEST (test_bug_4663) | |
DEFINE_TEST (test_unvolatile) | |
DEFINE_TEST (test_unvolatile_2) | |
DEFINE_TEST (test_unvolatile_3) | |
DEFINE_TEST (test_unvolatile_4) | |
DEFINE_TEST (test_finally_goto) | |
DEFINE_TEST (test_nested_exception) | |
static LONG WINAPI | unhandled_exception (PEXCEPTION_POINTERS ExceptionInfo) |
static DECLSPEC_NOINLINE int | sanity_check (int ret, struct volatile_context *before, struct volatile_context *after) |
static int | passthrough_handler (struct _EXCEPTION_RECORD *e, void *f, struct _CONTEXT *c, void *d) |
static DECLSPEC_NOINLINE int | call_test (int(*func)(void)) |
DEFINE_TEST (test_PSEH3_bug) | |
void | use_lots_of_stack (void) |
DEFINE_TEST (test_PSEH3_bug2) | |
START_TEST (pseh) | |
Variables | |
static int | test_yield_5_ret |
static int | test_yield_6_ret |
static int | test_finally_4_ret |
static int | test_finally_9_ret |
static int | test_finally_13_ret |
static int | test_finally_14_ret |
#define USE_TEST | ( | NAME_ | ) | { USE_TEST_NAME(NAME_), NAME_ } |
#define USE_TEST_NAME | ( | NAME_ | ) | USE_TEST_NAME_(NAME_) |
|
static |
Definition at line 2647 of file pseh.c.
Referenced by START_TEST().
DEFINE_TEST | ( | test_abnorm_1 | ) |
Definition at line 2046 of file pseh.c.
DEFINE_TEST | ( | test_abnorm_2 | ) |
Definition at line 2065 of file pseh.c.
DEFINE_TEST | ( | test_abnorm_3 | ) |
DEFINE_TEST | ( | test_abnorm_4 | ) |
Definition at line 2104 of file pseh.c.
DEFINE_TEST | ( | test_abnorm_5 | ) |
Definition at line 2132 of file pseh.c.
DEFINE_TEST | ( | test_abnorm_6 | ) |
Definition at line 2159 of file pseh.c.
DEFINE_TEST | ( | test_abnorm_7 | ) |
Definition at line 2186 of file pseh.c.
DEFINE_TEST | ( | test_abnorm_8 | ) |
Definition at line 2214 of file pseh.c.
DEFINE_TEST | ( | test_bug_4004 | ) |
Definition at line 2359 of file pseh.c.
DEFINE_TEST | ( | test_bug_4663 | ) |
Definition at line 2374 of file pseh.c.
DEFINE_TEST | ( | test_continue_execution_1 | ) |
DEFINE_TEST | ( | test_continue_execution_10 | ) |
DEFINE_TEST | ( | test_continue_execution_11 | ) |
DEFINE_TEST | ( | test_continue_execution_12 | ) |
DEFINE_TEST | ( | test_continue_execution_2 | ) |
DEFINE_TEST | ( | test_continue_execution_3 | ) |
DEFINE_TEST | ( | test_continue_execution_4 | ) |
DEFINE_TEST | ( | test_continue_execution_5 | ) |
DEFINE_TEST | ( | test_continue_execution_6 | ) |
DEFINE_TEST | ( | test_continue_execution_7 | ) |
DEFINE_TEST | ( | test_continue_execution_8 | ) |
DEFINE_TEST | ( | test_continue_execution_9 | ) |
DEFINE_TEST | ( | test_continue_search_1 | ) |
DEFINE_TEST | ( | test_continue_search_2 | ) |
DEFINE_TEST | ( | test_continue_search_3 | ) |
DEFINE_TEST | ( | test_continue_search_4 | ) |
DEFINE_TEST | ( | test_continue_search_5 | ) |
DEFINE_TEST | ( | test_continue_search_6 | ) |
Definition at line 710 of file pseh.c.
DEFINE_TEST | ( | test_empty_1 | ) |
DEFINE_TEST | ( | test_empty_2 | ) |
DEFINE_TEST | ( | test_empty_3 | ) |
DEFINE_TEST | ( | test_empty_4 | ) |
DEFINE_TEST | ( | test_execute_handler_1 | ) |
DEFINE_TEST | ( | test_execute_handler_10 | ) |
DEFINE_TEST | ( | test_execute_handler_11 | ) |
DEFINE_TEST | ( | test_execute_handler_12 | ) |
DEFINE_TEST | ( | test_execute_handler_2 | ) |
DEFINE_TEST | ( | test_execute_handler_3 | ) |
DEFINE_TEST | ( | test_execute_handler_4 | ) |
DEFINE_TEST | ( | test_execute_handler_5 | ) |
DEFINE_TEST | ( | test_execute_handler_6 | ) |
DEFINE_TEST | ( | test_execute_handler_7 | ) |
DEFINE_TEST | ( | test_execute_handler_8 | ) |
DEFINE_TEST | ( | test_execute_handler_9 | ) |
DEFINE_TEST | ( | test_finally_1 | ) |
Definition at line 1107 of file pseh.c.
DEFINE_TEST | ( | test_finally_10 | ) |
Definition at line 1345 of file pseh.c.
DEFINE_TEST | ( | test_finally_11 | ) |
DEFINE_TEST | ( | test_finally_12 | ) |
Definition at line 1421 of file pseh.c.
DEFINE_TEST | ( | test_finally_13 | ) |
Definition at line 1495 of file pseh.c.
DEFINE_TEST | ( | test_finally_14 | ) |
Definition at line 1560 of file pseh.c.
DEFINE_TEST | ( | test_finally_2 | ) |
Definition at line 1126 of file pseh.c.
DEFINE_TEST | ( | test_finally_3 | ) |
DEFINE_TEST | ( | test_finally_5 | ) |
DEFINE_TEST | ( | test_finally_6 | ) |
Definition at line 1220 of file pseh.c.
DEFINE_TEST | ( | test_finally_7 | ) |
Definition at line 1249 of file pseh.c.
DEFINE_TEST | ( | test_finally_8 | ) |
Definition at line 1279 of file pseh.c.
DEFINE_TEST | ( | test_finally_9 | ) |
Definition at line 1340 of file pseh.c.
DEFINE_TEST | ( | test_finally_goto | ) |
Definition at line 2532 of file pseh.c.
DEFINE_TEST | ( | test_leave_1 | ) |
DEFINE_TEST | ( | test_leave_2 | ) |
DEFINE_TEST | ( | test_leave_3 | ) |
DEFINE_TEST | ( | test_leave_4 | ) |
Definition at line 853 of file pseh.c.
DEFINE_TEST | ( | test_leave_5 | ) |
DEFINE_TEST | ( | test_leave_6 | ) |
DEFINE_TEST | ( | test_nested_exception | ) |
Definition at line 2567 of file pseh.c.
DEFINE_TEST | ( | test_nested_locals_1 | ) |
Definition at line 2252 of file pseh.c.
DEFINE_TEST | ( | test_nested_locals_2 | ) |
Definition at line 2270 of file pseh.c.
DEFINE_TEST | ( | test_nested_locals_3 | ) |
Definition at line 2287 of file pseh.c.
DEFINE_TEST | ( | test_PSEH3_bug | ) |
Definition at line 2709 of file pseh.c.
DEFINE_TEST | ( | test_PSEH3_bug2 | ) |
Definition at line 2741 of file pseh.c.
DEFINE_TEST | ( | test_unvolatile | ) |
DEFINE_TEST | ( | test_unvolatile_2 | ) |
DEFINE_TEST | ( | test_unvolatile_3 | ) |
Definition at line 2464 of file pseh.c.
DEFINE_TEST | ( | test_unvolatile_4 | ) |
DEFINE_TEST | ( | test_xcode_1 | ) |
Definition at line 1976 of file pseh.c.
DEFINE_TEST | ( | test_xcode_2 | ) |
Definition at line 1996 of file pseh.c.
DEFINE_TEST | ( | test_xcode_3 | ) |
Definition at line 2016 of file pseh.c.
DEFINE_TEST | ( | test_xpointers_1 | ) |
Definition at line 1602 of file pseh.c.
DEFINE_TEST | ( | test_xpointers_10 | ) |
Definition at line 1782 of file pseh.c.
DEFINE_TEST | ( | test_xpointers_11 | ) |
Definition at line 1803 of file pseh.c.
DEFINE_TEST | ( | test_xpointers_12 | ) |
Definition at line 1824 of file pseh.c.
DEFINE_TEST | ( | test_xpointers_13 | ) |
Definition at line 1851 of file pseh.c.
DEFINE_TEST | ( | test_xpointers_14 | ) |
Definition at line 1879 of file pseh.c.
DEFINE_TEST | ( | test_xpointers_15 | ) |
Definition at line 1907 of file pseh.c.
DEFINE_TEST | ( | test_xpointers_16 | ) |
Definition at line 1935 of file pseh.c.
DEFINE_TEST | ( | test_xpointers_2 | ) |
Definition at line 1621 of file pseh.c.
DEFINE_TEST | ( | test_xpointers_3 | ) |
Definition at line 1640 of file pseh.c.
DEFINE_TEST | ( | test_xpointers_4 | ) |
Definition at line 1660 of file pseh.c.
DEFINE_TEST | ( | test_xpointers_5 | ) |
Definition at line 1680 of file pseh.c.
DEFINE_TEST | ( | test_xpointers_6 | ) |
Definition at line 1700 of file pseh.c.
DEFINE_TEST | ( | test_xpointers_7 | ) |
Definition at line 1720 of file pseh.c.
DEFINE_TEST | ( | test_xpointers_8 | ) |
Definition at line 1740 of file pseh.c.
DEFINE_TEST | ( | test_xpointers_9 | ) |
Definition at line 1761 of file pseh.c.
DEFINE_TEST | ( | test_yield_6 | ) |
Definition at line 1100 of file pseh.c.
Definition at line 30 of file psehtest2.c.
|
static |
Definition at line 24 of file psehtest2.c.
Referenced by DEFINE_TEST(), test_bug_4004_helper_1(), test_finally_14_helper(), test_finally_4_helper(), and test_finally_9_helper().
Definition at line 107 of file psehtest2.c.
Referenced by DEFINE_TEST().
Definition at line 137 of file psehtest2.c.
Referenced by DEFINE_TEST().
Definition at line 53 of file psehtest2.c.
Referenced by DEFINE_TEST(), test_finally_13_helper(), test_finally_14_helper(), test_finally_9_helper(), and test_yield_6_helper().
Definition at line 41 of file psehtest2.c.
Referenced by DEFINE_TEST(), test_bug_4004_helper_1(), test_finally_13_helper(), test_finally_14_helper(), test_finally_4_helper(), test_finally_9_helper(), test_yield_1_helper(), test_yield_2_helper(), test_yield_3_helper(), test_yield_4_helper(), test_yield_5_helper(), test_yield_6_helper(), verify_xcode(), and verify_xpointers().
Definition at line 35 of file psehtest2.c.
Referenced by DEFINE_TEST(), test_finally_13_helper(), test_finally_14_helper(), test_finally_4_helper(), test_finally_9_helper(), test_yield_1_helper(), test_yield_2_helper(), test_yield_3_helper(), test_yield_4_helper(), test_yield_5_helper(), and test_yield_6_helper().
|
static |
Definition at line 2626 of file pseh.c.
Referenced by call_test().
Definition at line 155 of file psehtest2.c.
Referenced by DEFINE_TEST().
START_TEST | ( | pseh | ) |
Definition at line 2768 of file pseh.c.
Definition at line 2327 of file pseh.c.
Referenced by test_bug_4004_helper_2().
Definition at line 2347 of file pseh.c.
Referenced by DEFINE_TEST().
Definition at line 1463 of file pseh.c.
Referenced by DEFINE_TEST().
Definition at line 1519 of file pseh.c.
Referenced by DEFINE_TEST().
Definition at line 1169 of file pseh.c.
Referenced by DEFINE_TEST().
Definition at line 1312 of file pseh.c.
Referenced by DEFINE_TEST().
Definition at line 942 of file pseh.c.
Referenced by DEFINE_TEST().
Definition at line 963 of file pseh.c.
Referenced by DEFINE_TEST().
Definition at line 1050 of file pseh.c.
Referenced by DEFINE_TEST().
Definition at line 1075 of file pseh.c.
Referenced by DEFINE_TEST().
|
static |
Definition at line 2602 of file pseh.c.
Referenced by call_test().
Definition at line 1966 of file pseh.c.
Referenced by DEFINE_TEST().
|
static |
Definition at line 1584 of file pseh.c.
Referenced by DEFINE_TEST().
|
static |
Definition at line 1460 of file pseh.c.
Referenced by DEFINE_TEST(), and test_finally_13_helper().
|
static |
Definition at line 1516 of file pseh.c.
Referenced by DEFINE_TEST(), and test_finally_14_helper().
|
static |
Definition at line 1167 of file pseh.c.
Referenced by DEFINE_TEST(), and test_finally_4_helper().
|
static |
Definition at line 1310 of file pseh.c.
Referenced by DEFINE_TEST(), and test_finally_9_helper().
|
static |
Definition at line 1047 of file pseh.c.
Referenced by DEFINE_TEST(), and test_yield_5_helper().
|
static |
Definition at line 1072 of file pseh.c.
Referenced by DEFINE_TEST(), and test_yield_6_helper().