Lines Matching +full:- +full:x
1 /* SPDX-License-Identifier: BSD-3-Clause
19 #include <sof/trace/preproc-private.h>
22 /* count number of var args - during preprocesing
33 /* treat x as string while forcing x expansion beforehand */
34 #define META_QUOTE(x) _META_QUOTE(x) argument
36 /* concat x and y while forcing x and y expansion beforehand */
37 #define META_CONCAT(x, y) _META_CONCAT_BASE(x, y) argument
39 /* discard first x-1 args in vararg and return the xth arg */
48 * notice, that any x!=0 would also result in 0
49 * e.x. META_NOT(123) evaluates to 0
51 #define META_NOT(x) _META_IS_PROBE(META_CONCAT(_META_NOT_, x)) argument
53 #define META_BOOL(x) META_NOT(META_NOT(x)) argument
55 /* META_IF_ELSE(X)(a)(b) expands to
56 * b for X == 0
57 * a for X != 0
74 #define META_INC(x) META_CONCAT(_META_INC_, x) argument
77 #define META_DEC(x) META_CONCAT(_META_DEC_, x) argument
87 /* while(count--!=0) do
89 * DEC_0, DEC_1, ..., DEC_N-1, DEC_N
109 * i.e. aggr=x;arg_count=1;m=ADD;args=1,2,3,4,5,6,7...
110 * results in x = ... ADD(7,ADD(6,ADD(5,ADD(4,ADD(3,ADD(2,ADD(1,x))))))) ...
153 * args=(int x, int y)
155 * void foo_bar(int x, int y)