Searched refs:FUNCNAME (Results 1 – 4 of 4) sorted by relevance
/Zephyr-latest/subsys/testsuite/include/zephyr/ |
D | fff.h | 43 #define CUSTOM_FFF_FUNCTION_TEMPLATE(RETURN, FUNCNAME, ...) RETURN (*FUNCNAME)(__VA_ARGS__) argument 46 #define SET_RETURN_SEQ(FUNCNAME, ARRAY_POINTER, ARRAY_LEN) \ argument 47 FUNCNAME##_fake.return_val_seq = ARRAY_POINTER; \ 48 FUNCNAME##_fake.return_val_seq_len = ARRAY_LEN; 49 #define SET_CUSTOM_FAKE_SEQ(FUNCNAME, ARRAY_POINTER, ARRAY_LEN) \ argument 50 FUNCNAME##_fake.custom_fake_seq = ARRAY_POINTER; \ 51 FUNCNAME##_fake.custom_fake_seq_len = ARRAY_LEN; 54 #define RESET_FAKE(FUNCNAME) \ argument 56 FUNCNAME##_reset(); \ 59 #define DECLARE_ARG(type, n, FUNCNAME) \ argument [all …]
|
D | fff_extensions.h | 79 #define RETURN_HANDLED_CONTEXT(FUNCNAME, \ argument 81 if (FUNCNAME##_fake.return_val_seq_len) { \ 83 CONTAINER_OF(FUNCNAME##_fake.return_val_seq, \ 85 size_t const seq_idx = (FUNCNAME##_fake.return_val_seq_idx < \ 86 FUNCNAME##_fake.return_val_seq_len) ? \ 87 FUNCNAME##_fake.return_val_seq_idx++ :\ 88 FUNCNAME##_fake.return_val_seq_idx - 1;\ 92 return FUNCNAME##_fake.return_val
|
/Zephyr-latest/tests/subsys/rtio/rtio_i2c/include/ |
D | blocking_emul.hpp | 26 #define CUSTOM_FFF_FUNCTION_TEMPLATE(RETURN, FUNCNAME, ...) \ argument 27 std::function<RETURN(__VA_ARGS__)> FUNCNAME
|
/Zephyr-latest/tests/drivers/i2c/i2c_emul/include/ |
D | emulated_target.hpp | 11 #define CUSTOM_FFF_FUNCTION_TEMPLATE(RETURN, FUNCNAME, ...) \ argument 12 std::function<RETURN(__VA_ARGS__)> FUNCNAME
|