Home
last modified time | relevance | path

Searched refs:query (Results 1 – 10 of 10) sorted by relevance

/net-tools-3.4.0/libcoap/tests/
Dtest_uri.c33 CU_ASSERT(uri.query.length == 0); in t_parse_uri1()
34 CU_ASSERT(uri.query.s == NULL); in t_parse_uri1()
56 CU_ASSERT(uri.query.length == 0); in t_parse_uri2()
57 CU_ASSERT(uri.query.s == NULL); in t_parse_uri2()
78 CU_ASSERT(uri.query.length == 13); in t_parse_uri3()
79 CU_ASSERT_NSTRING_EQUAL(uri.query.s, "foo&bla=fasel", 13); in t_parse_uri3()
109 CU_ASSERT(uri.query.length == 0); in t_parse_uri5()
110 CU_ASSERT(uri.query.s == NULL); in t_parse_uri5()
134 CU_ASSERT(uri.query.length == 0); in t_parse_uri6()
135 CU_ASSERT(uri.query.s == NULL); in t_parse_uri6()
[all …]
/net-tools-3.4.0/libcoap/src/
Duri.c170 COAP_SET_STR(&uri->query, len, p); in coap_split_uri()
437 result = (coap_uri_t *)coap_malloc( uri->query.length + uri->host.length + in coap_clone_uri()
461 if ( uri->query.length ) { in coap_clone_uri()
462 result->query.s = URI_DATA(result) + uri->host.length + uri->path.length; in coap_clone_uri()
463 result->query.length = uri->query.length; in coap_clone_uri()
465 memcpy(result->query.s, uri->query.s, uri->query.length); in coap_clone_uri()
/net-tools-3.4.0/libcoap/examples/
Detsi_testcases.sh378 testaddress=coap://$SERVERTUP/query
379 query="?first=1&second=2&third=3"
380 echo -e "perform GET (CON mode) on resource $testaddress with query $query"
381 testaddress=$testaddress$query
Dcoap-rd.c397 coap_opt_t *query; in hnd_post_rd() local
415 query = coap_check_option(request, COAP_OPTION_URI_QUERY, &opt_iter); in hnd_post_rd()
416 if (query) { in hnd_post_rd()
418 COAP_OPT_VALUE(query), COAP_OPT_LENGTH(query), &h); in hnd_post_rd()
420 COAP_OPT_VALUE(query), COAP_OPT_LENGTH(query), &ins); in hnd_post_rd()
422 COAP_OPT_VALUE(query), COAP_OPT_LENGTH(query), &lt); in hnd_post_rd()
424 COAP_OPT_VALUE(query), COAP_OPT_LENGTH(query), &rt); in hnd_post_rd()
Dclient.c712 if (uri.query.length) { in cmdline_uri()
715 res = coap_split_query(uri.query.s, uri.query.length, buf, &buflen); in cmdline_uri()
/net-tools-3.4.0/libcoap/include/coap/
Duri.h25 str query; /**< The query part if present */ member
/net-tools-3.4.0/libcoap/examples/lwip/
DREADME13 and query `coap://192.168.0.2/` with any coap tool.
/net-tools-3.4.0/
Dcoap-client.c280 RES(query, "query");
695 if (uri.query.length) { in parse_uri()
698 res = coap_split_query(uri.query.s, uri.query.length, in parse_uri()
/net-tools-3.4.0/libcoap/
DChangeLog187 * examples/client.c (cmdline_uri): split path and query here to
/net-tools-3.4.0/mbedtls-2.4.0/
DChangeLog325 * Add mbedtls_ssl_get_max_frag_len() to query the current maximum fragment