Lines Matching refs:uri_path
209 if (!match(r->uri_path, &query_pattern, (flags & MATCH_PREFIX) != 0,
269 coap_resource_init(coap_str_const_t *uri_path, int flags) { argument
278 if (uri_path)
279 uri_path = coap_new_str_const(uri_path->s, uri_path->length);
281 uri_path = coap_new_str_const(null_path->s, null_path->length);
282 } else if (!uri_path) {
284 uri_path = coap_new_str_const(null_path->s, null_path->length);
287 if (uri_path)
288 r->uri_path = uri_path;
311 … r->uri_path = coap_new_str_const(coap_unknown_resource_uri, sizeof(coap_unknown_resource_uri)-1);
345 r->uri_path = coap_new_str_const(coap_proxy_resource_uri, sizeof(coap_proxy_resource_uri)-1);
478 resource->context->resource_deleted(resource->context, resource->uri_path,
488 coap_delete_str_const(resource->uri_path);
524 resource->uri_path);
528 (int)resource->uri_path->length, (int)resource->uri_path->length,
529 resource->uri_path->s);
542 context->dyn_resource_added(context->unknown_session, resource->uri_path,
606 coap_get_resource_from_uri_path(coap_context_t *context, coap_str_const_t *uri_path) { argument
609 RESOURCES_FIND(context->resources, uri_path, result);
629 resource->uri_path->s, resource->uri_path->length, *len);
910 resource->context->track_observe_value(resource->context,resource->uri_path,
1101 (int)r->uri_path->length, (int)r->uri_path->length,
1102 r->uri_path->s);
1190 r->context->track_observe_value(r->context, r->uri_path,
1233 return resource->uri_path;