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.
113 * @brief Check for macro definition in compiler-visible expressions
115 * This trick was pioneered in Linux as the config_enabled() macro. It
116 * has the effect of taking a macro value that may be defined to "1"
119 * the preprocessor. It is often used with a @p CONFIG_FOO macro which
136 * @param config_macro Macro to check
142 * macros, we need the macro value to be e.g. a literal "1" at
143 * expansion time in the next macro, not "(1)", etc... Standard
157 * during macro expansion.
183 * sometimes more useful when used within another macro's expansion.
267 * @brief Check if a macro has a replacement expression
269 * If @p a is a macro defined to a nonempty value, this will return
273 * This macro may be used with COND_CODE_1() and COND_CODE_0() while
291 * @param ... macro to check for emptiness (may be `__VA_ARGS__`)
319 * During macro expansion, `__VA_ARGS__` and other preprocessor
347 * @brief Macro with an empty expansion
349 * This trivial definition is provided for readability when a macro
366 * @brief Macro that expands to its argument
458 * @param F A macro function that accepts at least two arguments:
473 * @brief Call a macro @p F on each provided argument with a given
487 * @param F Macro to invoke
490 * @param ... Variable argument list. The macro @p F is invoked as
518 * often cumbersome to write a macro @p F that does the right thing
540 * @param F Macro to invoke on each nonempty element of the variable
545 * @param ... Variable argument list. The macro @p F is invoked as
562 * @brief Call macro @p F on each provided argument, with the argument's index
565 * This is like FOR_EACH(), except @p F should be a macro which takes two
579 * @param F Macro to invoke
582 * @param ... Variable argument list. The macro @p F is invoked as
589 * @brief Call macro @p F on each provided argument, with an additional fixed
592 * This is like FOR_EACH(), except @p F should be a macro which takes two
606 * @param F Macro to invoke
609 * @param fixed_arg Fixed argument passed to @p F as the second macro parameter.
610 * @param ... Variable argument list. The macro @p F is invoked as
617 * @brief Calls macro @p F for each variable argument with an index and fixed
633 * @param F Macro to invoke
636 * @param fixed_arg Fixed argument passed to @p F as the third macro parameter.
637 * @param ... Variable list of arguments. The macro @p F is invoked as
680 * @brief Mapping macro that pastes results together
682 * This is similar to FOR_EACH() in that it invokes a macro repeatedly
686 * For example, with this macro FOO:
694 * @param ... Macro to expand on each argument, followed by its
695 * arguments. (The macro should take exactly one argument.)
696 * @return The results of expanding the macro on each argument, all pasted
702 * @brief Mapping macro that pastes a fixed number of results together
709 * @param ... Macro to expand on each argument, followed by its
710 * arguments. (The macro should take exactly one argument.)
711 * @return The results of expanding the macro on each argument, all pasted