Lines Matching full:n
24 file.write("/**\n")
25 file.write(" * @cond INTERNAL_HIDDEN\n")
26 file.write(" */\n")
30 file.write("/**\n")
31 file.write(" * INTERNAL_HIDDEN @endcond\n")
32 file.write(" */\n")
38 file.write("\n")
39 file.write("#ifndef ZEPHYR_INCLUDE_SYS_UTIL_LOOPS_H_\n")
40 ….write("#error \"This header should not be used directly, please include util_loops.h instead\"\n")
41 file.write("#endif /* ZEPHYR_INCLUDE_SYS_UTIL_LOOPS_H_ */\n")
42 file.write("\n")
43 file.write("#ifndef ZEPHYR_INCLUDE_SYS_UTIL_LISTIFY_H_\n")
44 file.write("#define ZEPHYR_INCLUDE_SYS_UTIL_LISTIFY_H_\n")
45 file.write("\n")
47 file.write("/* Set of UTIL_LISTIFY particles */\n")
48 file.write("#define Z_UTIL_LISTIFY_0(F, sep, ...)\n\n")
49 file.write("#define Z_UTIL_LISTIFY_1(F, sep, ...) \\\n")
50 file.write(" F(0, __VA_ARGS__)\n\n")
53 file.write(f"#define Z_UTIL_LISTIFY_{i}(F, sep, ...) \\\n")
54 file.write(f" Z_UTIL_LISTIFY_{i - 1}(F, sep, __VA_ARGS__) __DEBRACKET sep \\\n")
55 file.write(f" F({i - 1}, __VA_ARGS__)\n")
57 file.write("\n")
58 file.write("#endif /* ZEPHYR_INCLUDE_SYS_UTIL_LISTIFY_H_ */\n")
59 file.write("\n")
66 file.write("\n")
67 file.write("#ifndef ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_H_\n")
69 please include util_internal.h instead\"\n")
70 file.write("#endif /* ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_H_ */\n")
71 file.write("\n")
72 file.write("#ifndef ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_IS_EQ_H_\n")
73 file.write("#define ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_IS_EQ_H_\n")
74 file.write("\n")
77 file.write(f"#define Z_IS_{i}_EQ_{i}(...) \\,\n")
79 file.write("\n")
80 file.write("#endif /* ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_IS_EQ_H_ */\n")
81 file.write("\n")
88 file.write("\n")
89 file.write("#ifndef ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_H_\n")
91 please include util_internal.h instead\"\n")
92 file.write("#endif /* ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_H_ */\n")
93 file.write("\n")
94 file.write("#ifndef ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_UTIL_INC_H_\n")
95 file.write("#define ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_UTIL_INC_H_\n")
96 file.write("\n")
99 file.write(f"#define Z_UTIL_INC_{i} {i + 1}\n")
101 file.write("\n")
102 file.write("#endif /* ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_UTIL_INC_H_ */\n")
103 file.write("\n")
110 file.write("\n")
111 file.write("#ifndef ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_H_\n")
113 please include util_internal.h instead\"\n")
114 file.write("#endif /* ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_H_ */\n")
115 file.write("\n")
116 file.write("#ifndef ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_UTIL_DEC_H_\n")
117 file.write("#define ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_UTIL_DEC_H_\n")
118 file.write("\n")
120 file.write(f"#define Z_UTIL_DEC_0 0\n")
122 file.write(f"#define Z_UTIL_DEC_{i} {i - 1}\n")
124 file.write("\n")
125 file.write("#endif /* ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_UTIL_DEC_H_ */\n")
126 file.write("\n")
133 file.write("\n")
134 file.write("#ifndef ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_H_\n")
136 please include util_internal.h instead\"\n")
137 file.write("#endif /* ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_H_ */\n")
138 file.write("\n")
139 file.write("#ifndef ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_UTIL_X2_H_\n")
140 file.write("#define ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_UTIL_X2_H_\n")
141 file.write("\n")
144 file.write(f"#define Z_UTIL_X2_{i} {i *2}\n")
146 file.write("\n")
147 file.write("#endif /* ZEPHYR_INCLUDE_SYS_UTIL_INTERNAL_UTIL_X2_H_ */\n")
148 file.write("\n")