Lines Matching refs:path
30 CU_ASSERT(uri.path.length == 16);
31 CU_ASSERT_NSTRING_EQUAL(uri.path.s, ".well-known/core", 16);
53 CU_ASSERT(uri.path.length == 16);
54 CU_ASSERT_NSTRING_EQUAL(uri.path.s, ".well-known/core", 16);
76 CU_ASSERT(uri.path.length == 0);
106 CU_ASSERT(uri.path.length == 0);
107 CU_ASSERT(uri.path.s == NULL);
131 CU_ASSERT(uri.path.length == 16);
132 CU_ASSERT_NSTRING_EQUAL(uri.path.s, ".well-known/core", 16);
149 /* The list of path segments to check against. Each segment is
166 CU_ASSERT(uri.path.length == 36);
167 CU_ASSERT_NSTRING_EQUAL(uri.path.s, "some_resource/with/multiple/segments", 36);
172 /* check path segments */
173 result = coap_split_path(uri.path.s, uri.path.length, buf, &buflen);
218 char teststr[] = "/absolute/path";
229 CU_ASSERT(uri.path.length == 13);
230 CU_ASSERT_NSTRING_EQUAL(uri.path.s, "absolute/path", 13);
248 /* The list of path segments to check against. Each segment is
264 CU_ASSERT(uri.path.length == 45);
265 CU_ASSERT_NSTRING_EQUAL(uri.path.s,
271 /* check path segments */
272 result = coap_split_path(uri.path.s, uri.path.length, buf, &buflen);
289 /* The list of path segments to check against. Each segment is
302 CU_ASSERT(uri.path.length == 6);
303 CU_ASSERT_NSTRING_EQUAL(uri.path.s, "/%2F//", 6);
308 /* check path segments */
309 result = coap_split_path(uri.path.s, uri.path.length, buf, &buflen);
525 /* characters that are not percent-encoded in a path segment */
547 /* characters that must be percent-encoded in a path segment */
567 * for . or .. in the path.