Lines Matching full:macro

9  * @brief Macro utilities
11 * Macro utilities are the public interface for C/C++ code and device tree
82 * The macro is not dependent on the bit-width.
97 * @brief Check for macro definition in compiler-visible expressions
99 * This trick was pioneered in Linux as the config_enabled() macro. It
100 * has the effect of taking a macro value that may be defined to "1"
103 * the preprocessor. It is often used with a @p CONFIG_FOO macro which
120 * @param config_macro Macro to check
126 * macros, we need the macro value to be e.g. a literal "1" at
127 * expansion time in the next macro, not "(1)", etc... Standard
141 * during macro expansion.
167 * sometimes more useful when used within another macro's expansion.
251 * @brief Check if a macro has a replacement expression
253 * If @p a is a macro defined to a nonempty value, this will return
257 * This macro may be used with COND_CODE_1() and COND_CODE_0() while
275 * @param ... macro to check for emptiness (may be `__VA_ARGS__`)
291 * During macro expansion, `__VA_ARGS__` and other preprocessor
319 * @brief Macro with an empty expansion
321 * This trivial definition is provided for readability when a macro
338 * @brief Macro that expands to its argument
430 * @param F A macro function that accepts at least two arguments:
445 * @brief Call a macro @p F on each provided argument with a given
459 * @param F Macro to invoke
462 * @param ... Variable argument list. The macro @p F is invoked as
490 * often cumbersome to write a macro @p F that does the right thing
512 * @param F Macro to invoke on each nonempty element of the variable
517 * @param ... Variable argument list. The macro @p F is invoked as
534 * @brief Call macro @p F on each provided argument, with the argument's index
537 * This is like FOR_EACH(), except @p F should be a macro which takes two
551 * @param F Macro to invoke
554 * @param ... Variable argument list. The macro @p F is invoked as
561 * @brief Call macro @p F on each provided argument, with an additional fixed
564 * This is like FOR_EACH(), except @p F should be a macro which takes two
578 * @param F Macro to invoke
581 * @param fixed_arg Fixed argument passed to @p F as the second macro parameter.
582 * @param ... Variable argument list. The macro @p F is invoked as
589 * @brief Calls macro @p F for each variable argument with an index and fixed
605 * @param F Macro to invoke
608 * @param fixed_arg Fixed argument passed to @p F as the third macro parameter.
609 * @param ... Variable list of arguments. The macro @p F is invoked as
639 * @brief Mapping macro that pastes results together
641 * This is similar to FOR_EACH() in that it invokes a macro repeatedly
645 * For example, with this macro FOO:
653 * @param ... Macro to expand on each argument, followed by its
654 * arguments. (The macro should take exactly one argument.)
655 * @return The results of expanding the macro on each argument, all pasted
661 * @brief Mapping macro that pastes a fixed number of results together
668 * @param ... Macro to expand on each argument, followed by its
669 * arguments. (The macro should take exactly one argument.)
670 * @return The results of expanding the macro on each argument, all pasted