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.
121 * @brief Check for macro definition in compiler-visible expressions
123 * This trick was pioneered in Linux as the config_enabled() macro. It
124 * has the effect of taking a macro value that may be defined to "1"
127 * the preprocessor. It is often used with a @p CONFIG_FOO macro which
144 * @param config_macro Macro to check
150 * macros, we need the macro value to be e.g. a literal "1" at
151 * expansion time in the next macro, not "(1)", etc... Standard
165 * during macro expansion.
191 * sometimes more useful when used within another macro's expansion.
275 * @brief Check if a macro has a replacement expression
277 * If @p a is a macro defined to a nonempty value, this will return
281 * This macro may be used with COND_CODE_1() and COND_CODE_0() while
299 * @param ... macro to check for emptiness (may be `__VA_ARGS__`)
327 * During macro expansion, `__VA_ARGS__` and other preprocessor
355 * @brief Macro with an empty expansion
357 * This trivial definition is provided for readability when a macro
374 * @brief Macro that expands to its argument
466 * @param F A macro function that accepts at least two arguments:
481 * @brief Call a macro @p F on each provided argument with a given
495 * @param F Macro to invoke
498 * @param ... Variable argument list. The macro @p F is invoked as
526 * often cumbersome to write a macro @p F that does the right thing
548 * @param F Macro to invoke on each nonempty element of the variable
553 * @param ... Variable argument list. The macro @p F is invoked as
570 * @brief Call macro @p F on each provided argument, with the argument's index
573 * This is like FOR_EACH(), except @p F should be a macro which takes two
587 * @param F Macro to invoke
590 * @param ... Variable argument list. The macro @p F is invoked as
597 * @brief Call macro @p F on each provided argument, with an additional fixed
600 * This is like FOR_EACH(), except @p F should be a macro which takes two
614 * @param F Macro to invoke
617 * @param fixed_arg Fixed argument passed to @p F as the second macro parameter.
618 * @param ... Variable argument list. The macro @p F is invoked as
625 * @brief Calls macro @p F for each variable argument with an index and fixed
641 * @param F Macro to invoke
644 * @param fixed_arg Fixed argument passed to @p F as the third macro parameter.
645 * @param ... Variable list of arguments. The macro @p F is invoked as
688 * @brief Mapping macro that pastes results together
690 * This is similar to FOR_EACH() in that it invokes a macro repeatedly
694 * For example, with this macro FOO:
702 * @param ... Macro to expand on each argument, followed by its
703 * arguments. (The macro should take exactly one argument.)
704 * @return The results of expanding the macro on each argument, all pasted
710 * @brief Mapping macro that pastes a fixed number of results together
717 * @param ... Macro to expand on each argument, followed by its
718 * arguments. (The macro should take exactly one argument.)
719 * @return The results of expanding the macro on each argument, all pasted