Lines Matching refs:name
90 extern bool test__start_subtest(const char *name);
133 #define ASSERT_TRUE(actual, name) ({ \ argument
136 CHECK(!___ok, (name), "unexpected %s: got FALSE\n", (name)); \
140 #define ASSERT_FALSE(actual, name) ({ \ argument
143 CHECK(!___ok, (name), "unexpected %s: got TRUE\n", (name)); \
147 #define ASSERT_EQ(actual, expected, name) ({ \ argument
152 CHECK(!___ok, (name), \
154 (name), (long long)(___act), (long long)(___exp)); \
158 #define ASSERT_NEQ(actual, expected, name) ({ \ argument
163 CHECK(!___ok, (name), \
165 (name), (long long)(___act), (long long)(___exp)); \
169 #define ASSERT_LT(actual, expected, name) ({ \ argument
174 CHECK(!___ok, (name), \
176 (name), (long long)(___act), (long long)(___exp)); \
180 #define ASSERT_LE(actual, expected, name) ({ \ argument
185 CHECK(!___ok, (name), \
187 (name), (long long)(___act), (long long)(___exp)); \
191 #define ASSERT_GT(actual, expected, name) ({ \ argument
196 CHECK(!___ok, (name), \
198 (name), (long long)(___act), (long long)(___exp)); \
202 #define ASSERT_GE(actual, expected, name) ({ \ argument
207 CHECK(!___ok, (name), \
209 (name), (long long)(___act), (long long)(___exp)); \
213 #define ASSERT_STREQ(actual, expected, name) ({ \ argument
218 CHECK(!___ok, (name), \
220 (name), ___act, ___exp); \
224 #define ASSERT_STRNEQ(actual, expected, len, name) ({ \ argument
230 CHECK(!___ok, (name), \
232 (name), ___len, ___act, ___len, ___exp); \
236 #define ASSERT_OK(res, name) ({ \ argument
240 CHECK(!___ok, (name), "unexpected error: %lld (errno %d)\n", \
245 #define ASSERT_ERR(res, name) ({ \ argument
249 CHECK(!___ok, (name), "unexpected success: %lld\n", ___res); \
253 #define ASSERT_NULL(ptr, name) ({ \ argument
257 CHECK(!___ok, (name), "unexpected pointer: %p\n", ___res); \
261 #define ASSERT_OK_PTR(ptr, name) ({ \ argument
266 CHECK(!___ok, (name), "unexpected error: %d\n", ___err); \
270 #define ASSERT_ERR_PTR(ptr, name) ({ \ argument
275 CHECK(!___ok, (name), "unexpected pointer: %p\n", ___res); \
289 int bpf_find_map(const char *test, struct bpf_object *obj, const char *name);