Lines Matching refs:resource
158 static bool match_queries_resource(const struct coap_resource *resource, in match_queries_resource() argument
162 struct coap_core_metadata *meta = resource->user_data; in match_queries_resource()
184 return match_path_uri(resource->path, uri, uri_len); in match_queries_resource()
368 static int format_resource(const struct coap_resource *resource, in format_resource() argument
373 struct coap_core_metadata *meta = resource->user_data; in format_resource()
377 r = format_uri(resource->path, response, remaining, in format_resource()
618 static int format_resource(const struct coap_resource *resource, in format_resource() argument
621 struct coap_core_metadata *meta = resource->user_data; in format_resource()
625 r = format_uri(resource->path, response); in format_resource()
709 int coap_well_known_core_get(struct coap_resource *resource, in coap_well_known_core_get() argument
714 struct coap_resource *resources = resource + 1; in coap_well_known_core_get()
717 if (resource == NULL) { in coap_well_known_core_get()