Home
last modified time | relevance | path

Searched refs:PW_MACRO_ARG_COUNT (Results 1 – 5 of 5) sorted by relevance

/external/pigweed/pw_preprocessor/
Darguments_test.cc154 static_assert(PW_MACRO_ARG_COUNT() == 0); in TEST()
155 static_assert(PW_MACRO_ARG_COUNT(/**/) == 0); in TEST()
156 static_assert(PW_MACRO_ARG_COUNT(/* uhm, hi */) == 0); in TEST()
159 static_assert(PW_MACRO_ARG_COUNT( ) == 0); in TEST()
160 static_assert(PW_MACRO_ARG_COUNT( in TEST()
162 static_assert(PW_MACRO_ARG_COUNT( in TEST()
171 static_assert(PW_MACRO_ARG_COUNT(,) == 2); in TEST()
172 static_assert(PW_MACRO_ARG_COUNT(,,) == 3); in TEST()
173 static_assert(PW_MACRO_ARG_COUNT(,,,) == 4); in TEST()
175 static_assert(PW_MACRO_ARG_COUNT(, ) == 2); in TEST()
[all …]
/external/pigweed/pw_preprocessor/public/pw_preprocessor/
Darguments.h96 #define PW_MACRO_ARG_COUNT(...) \ macro
118 #define _PW_FUNCTION_ARG_COUNT_0 PW_MACRO_ARG_COUNT
120 PW_MACRO_ARG_COUNT(PW_DROP_LAST_ARG(__VA_ARGS__))
124 _PW_PASTE2(_PW_LAST_ARG_, PW_MACRO_ARG_COUNT(__VA_ARGS__))(__VA_ARGS__)
128 _PW_PASTE2(_PW_DROP_LAST_ARG_, PW_MACRO_ARG_COUNT(__VA_ARGS__))(__VA_ARGS__)
Dconcat.h22 _PW_CONCAT_IMPL1(PW_MACRO_ARG_COUNT(__VA_ARGS__), __VA_ARGS__)
/external/pigweed/pw_log_tokenized/
Dtest.cc21 PW_MACRO_ARG_COUNT(__VA_ARGS__), \
/external/pigweed/pw_tokenizer/
Dargument_types_test.cc78 PW_MACRO_ARG_COUNT(__VA_ARGS__))