Home
last modified time | relevance | path

Searched refs:FUNCNAME (Results 1 – 4 of 4) sorted by relevance

/Zephyr-latest/subsys/testsuite/include/zephyr/
Dfff.h43 #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 …]
Dfff_extensions.h79 #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/
Dblocking_emul.hpp26 #define CUSTOM_FFF_FUNCTION_TEMPLATE(RETURN, FUNCNAME, ...) \ argument
27 std::function<RETURN(__VA_ARGS__)> FUNCNAME
/Zephyr-latest/tests/drivers/i2c/i2c_emul/include/
Demulated_target.hpp11 #define CUSTOM_FFF_FUNCTION_TEMPLATE(RETURN, FUNCNAME, ...) \ argument
12 std::function<RETURN(__VA_ARGS__)> FUNCNAME