Lines Matching refs:_service
113 #define COAP_RESOURCE_DEFINE(_name, _service, ...) \ argument
114 STRUCT_SECTION_ITERABLE_ALTERNATE(_CONCAT(coap_resource_, _service), coap_resource, \
153 #define COAP_SERVICE_RESOURCE_COUNT(_service) ((_service)->res_end - (_service)->res_begin) argument
161 #define COAP_SERVICE_HAS_RESOURCE(_service, _resource) \ argument
162 ((_service)->res_begin <= _resource && _resource < (_service)->res_end)
179 #define COAP_RESOURCE_FOREACH(_service, _it) \ argument
180 STRUCT_SECTION_FOREACH_ALTERNATE(_CONCAT(coap_resource_, _service), coap_resource, _it)
190 #define COAP_SERVICE_FOREACH_RESOURCE(_service, _it) \ argument
191 for (struct coap_resource *_it = (_service)->res_begin; ({ \
192 __ASSERT(_it <= (_service)->res_end, "unexpected list end location"); \
193 _it < (_service)->res_end; \