Lines Matching refs:uri_path
347 coap_string_t *uri_path = coap_get_uri_path(&pdu);
349 CU_ASSERT(uri_path->length == sizeof(COAP_DEFAULT_URI_WELLKNOWN)-1);
350 CU_ASSERT_NSTRING_EQUAL(uri_path->s, COAP_DEFAULT_URI_WELLKNOWN,
352 coap_delete_string(uri_path);
448 coap_string_t *uri_path = coap_get_uri_path(&pdu);
450 CU_ASSERT(uri_path->length == 0);
454 CU_ASSERT_NSTRING_EQUAL(uri_path->s, "", 1);
456 coap_delete_string(uri_path);
473 coap_string_t *uri_path = coap_get_uri_path(&pdu);
475 CU_ASSERT(uri_path->length == 4);
476 CU_ASSERT_NSTRING_EQUAL(uri_path->s, "foo/", 4);
477 coap_delete_string(uri_path);
493 coap_string_t *uri_path = coap_get_uri_path(&pdu);
496 CU_ASSERT(uri_path->length == 1);
497 CU_ASSERT_NSTRING_EQUAL(uri_path->s, "/", 1);
498 coap_delete_string(uri_path);
514 coap_string_t *uri_path = coap_get_uri_path(&pdu);
517 CU_ASSERT(uri_path->length == 4);
518 CU_ASSERT_NSTRING_EQUAL(uri_path->s, "/foo", 4);
519 coap_delete_string(uri_path);
537 coap_string_t *uri_path = coap_get_uri_path(&pdu);
539 CU_ASSERT(uri_path->length == 16);
540 CU_ASSERT_NSTRING_EQUAL(uri_path->s, "-._~!$&'()/*+,;=", 16);
541 coap_delete_string(uri_path);
558 coap_string_t *uri_path = coap_get_uri_path(&pdu);
560 CU_ASSERT(uri_path->length == 15);
561 CU_ASSERT_NSTRING_EQUAL(uri_path->s, "%25%20%23%5B%5D", 15);
562 coap_delete_string(uri_path);