Lines Matching refs:RES
41 #define RES(n) &detail[n] macro
54 HTTP_RESOURCE_DEFINE(resource_0, service_A, "/", RES(0));
55 HTTP_RESOURCE_DEFINE(resource_1, service_A, "/index.html", RES(1));
56 HTTP_RESOURCE_DEFINE(resource_2, service_A, "/fs/*", RES(5));
61 HTTP_RESOURCE_DEFINE(resource_3, service_B, "/foo.htm", RES(2));
62 HTTP_RESOURCE_DEFINE(resource_4, service_B, "/bar/baz.php", RES(3));
75 HTTP_RESOURCE_DEFINE(resource_5, service_D, "/foo1.htm*", RES(0));
76 HTTP_RESOURCE_DEFINE(resource_6, service_D, "/fo*", RES(1));
77 HTTP_RESOURCE_DEFINE(resource_7, service_D, "/f[ob]o3.html", RES(1));
78 HTTP_RESOURCE_DEFINE(resource_8, service_D, "/fb?3.htm", RES(0));
79 HTTP_RESOURCE_DEFINE(resource_9, service_D, "/f*4.html", RES(3));
270 zassert_equal(res->detail, RES(0)); in ZTEST()
273 zassert_equal(res->detail, RES(1)); in ZTEST()
276 zassert_equal(res->detail, RES(5)); in ZTEST()
287 zassert_equal(res->detail, RES(2)); in ZTEST()
290 zassert_equal(res->detail, RES(3)); in ZTEST()
313 zassert_equal(res, RES(0), "Resource mismatch"); in ZTEST()
322 zassert_equal(res, RES(0), "Resource mismatch"); in ZTEST()
327 zassert_equal(res, RES(1), "Resource mismatch"); in ZTEST()
332 zassert_equal(res, RES(1), "Resource mismatch"); in ZTEST()
337 zassert_equal(res, RES(0), "Resource mismatch"); in ZTEST()
342 zassert_equal(res, RES(3), "Resource mismatch"); in ZTEST()
347 zassert_equal(res, RES(5), "Resource mismatch"); in ZTEST()