Searched refs:PW_FUNCTION_ARG_COUNT (Results 1 – 3 of 3) sorted by relevance
/external/pigweed/pw_preprocessor/public/pw_preprocessor/ |
D | arguments.h | 77 _PW_PASTE2(function, PW_FUNCTION_ARG_COUNT(__VA_ARGS__)), \ 112 #define PW_FUNCTION_ARG_COUNT(...) \ macro
|
/external/pigweed/pw_tokenizer/public/pw_tokenizer/ |
D | tokenize.h | 216 PW_FUNCTION_ARG_COUNT(__VA_ARGS__) <= PW_TOKENIZER_MAX_SUPPORTED_ARGS, \ 219 PW_STRINGIFY(PW_FUNCTION_ARG_COUNT(__VA_ARGS__)) \
|
/external/pigweed/pw_preprocessor/ |
D | arguments_test.cc | 200 static_assert(PW_FUNCTION_ARG_COUNT(a) == 1); in TEST() 201 static_assert(PW_FUNCTION_ARG_COUNT(1, 2) == 2); in TEST() 202 static_assert(PW_FUNCTION_ARG_COUNT(1, 2, 3) == 3); in TEST() 206 static_assert(PW_FUNCTION_ARG_COUNT() == 0); in TEST() 207 static_assert(PW_FUNCTION_ARG_COUNT(a, ) == 1); in TEST() 208 static_assert(PW_FUNCTION_ARG_COUNT(1, 2, ) == 2); in TEST() 209 static_assert(PW_FUNCTION_ARG_COUNT(1, 2, 3, ) == 3); in TEST() 211 static_assert(PW_FUNCTION_ARG_COUNT(a, EMPTY_ARG) == 1); in TEST() 212 static_assert(PW_FUNCTION_ARG_COUNT(1, 2, EMPTY_ARG) == 2); in TEST() 213 static_assert(PW_FUNCTION_ARG_COUNT(1, 2, 3, EMPTY_ARG) == 3); in TEST()
|