GDB (xrefs)
|
Classes | |
struct | func_obj_const_op |
struct | func_obj_non_const_op |
struct | plus_one_int_func_obj |
Functions | |
static int | plus_one_fn_int (int val) |
static short | plus_one_fn_short (short val) |
static int | call_callback_int (int val, gdb::function_view< int(int)> callback) |
static void | call_callback_void (int val, gdb::function_view< void(int)> callback) |
static void | test_function_view () |
template<typename T > | |
static int | tmpl_func (T val, gdb::function_view< T(T)> callback) |
static int | make_fv_test_func (int val) |
static void | test_make_function_view () |
static void | run_tests () |
|
static |
Definition at line 40 of file function-view-selftests.c.
Referenced by test_function_view().
|
static |
Definition at line 46 of file function-view-selftests.c.
Referenced by test_function_view().
|
static |
Definition at line 182 of file function-view-selftests.c.
Referenced by test_make_function_view().
|
static |
Definition at line 28 of file function-view-selftests.c.
Referenced by test_function_view().
|
static |
Definition at line 34 of file function-view-selftests.c.
Referenced by test_function_view().
|
static |
Definition at line 245 of file function-view-selftests.c.
References test_function_view(), and test_make_function_view().
Referenced by _initialize_function_view_selftests().
|
static |
Definition at line 64 of file function-view-selftests.c.
References call_callback_int(), call_callback_void(), selftests::function_view::plus_one_int_func_obj::call_count, plus_one_fn_int(), plus_one_fn_short(), and value.
Referenced by run_tests().
|
static |
Definition at line 208 of file function-view-selftests.c.
References make_fv_test_func(), and tmpl_func().
Referenced by run_tests().
|
static |
Definition at line 176 of file function-view-selftests.c.
Referenced by test_make_function_view().