Lines Matching refs:path
87 goto path;
233 path: /* at this point, p must point to an absolute path */
248 COAP_SET_STR(&uri->path, q - p, p);
345 if (uri->path.length) {
346 if (uri->path.length > buflen)
347 coap_log_warn("URI path will be truncated (max buffer %zu)\n",
349 res = coap_split_path(uri->path.s, uri->path.length, buf, &buflen);
438 * Runs through the given path (or query) segment and checks if
467 * point to a (percent-encoded) path or query segment of a coap_uri_t
532 * Checks if path segment @p s consists of one or two dots.
665 uri->path.length + sizeof(coap_uri_t) + 1);
681 if (uri->path.length) {
682 result->path.s = p = URI_DATA(result) + uri->host.length;
683 result->path.length = uri->path.length;
685 memcpy(p, uri->path.s, uri->path.length);
689 result->query.s = p = URI_DATA(result) + uri->host.length + uri->path.length;
785 uri_path = coap_new_string(uri.path.length);
787 memcpy(uri_path->s, uri.path.s, uri.path.length);