/third_party/libcoap/examples/contiki/ |
D | server.c | 86 && coap_string_equal(query, coap_make_str_const("ticks"))) { in hnd_get_time() 119 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_coap_resources() 120 coap_add_attr(r, coap_make_str_const("title"), coap_make_str_const("\"General Info\""), 0); in init_coap_resources() 126 r = coap_resource_init(coap_make_str_const("time"), 0); in init_coap_resources() 137 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_coap_resources() 139 coap_add_attr(r, coap_make_str_const("rt"), coap_make_str_const("\"ticks\""), 0); in init_coap_resources() 140 coap_add_attr(r, coap_make_str_const("if"), coap_make_str_const("\"clock\""), 0); in init_coap_resources() 145 r = coap_resource_init(coap_make_str_const("async"), 0); in init_coap_resources() 148 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_coap_resources()
|
/third_party/libcoap/examples/lwip/ |
D | server-coap.c | 64 && coap_string_equal(query, coap_make_str_const("ticks"))) { in hnd_get_time() 79 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_coap_resources() 80 coap_add_attr(r, coap_make_str_const("title"), coap_make_str_const("\"General Info\""), 0); in init_coap_resources() 86 r = coap_resource_init(coap_make_str_const("time"), 0); in init_coap_resources() 97 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_coap_resources() 99 coap_add_attr(r, coap_make_str_const("rt"), coap_make_str_const("\"ticks\""), 0); in init_coap_resources() 100 coap_add_attr(r, coap_make_str_const("if"), coap_make_str_const("\"clock\""), 0); in init_coap_resources() 105 r = coap_resource_init(coap_make_str_const("async"), 0); in init_coap_resources() 108 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_coap_resources()
|
/third_party/libcoap/examples/riot/examples_libcoap_server/ |
D | server-coap.c | 68 && coap_string_equal(query, coap_make_str_const("ticks"))) { in hnd_get_time() 83 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_coap_resources() 84 coap_add_attr(r, coap_make_str_const("title"), coap_make_str_const("\"General Info\""), 0); in init_coap_resources() 90 r = coap_resource_init(coap_make_str_const("time"), 0); in init_coap_resources() 102 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_coap_resources() 105 coap_add_attr(r, coap_make_str_const("rt"), coap_make_str_const("\"ticks\""), 0); in init_coap_resources() 106 coap_add_attr(r, coap_make_str_const("if"), coap_make_str_const("\"clock\""), 0); in init_coap_resources() 111 r = coap_resource_init(coap_make_str_const("async"), 0); in init_coap_resources() 114 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_coap_resources()
|
/third_party/libcoap/examples/ |
D | etsi_iot_01.c | 447 r = coap_resource_init(coap_make_str_const("test"), 0); in init_resources() 453 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_resources() 454 coap_add_attr(r, coap_make_str_const("rt"), coap_make_str_const("test"), 0); in init_resources() 455 coap_add_attr(r, coap_make_str_const("if"), coap_make_str_const("core#b"), 0); in init_resources() 457 coap_add_attr(r, coap_make_str_const("obs"), NULL, 0); in init_resources() 470 r = coap_resource_init(coap_make_str_const("large"), 0); in init_resources() 473 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("41"), 0); in init_resources() 474 coap_add_attr(r, coap_make_str_const("rt"), coap_make_str_const("large"), 0); in init_resources() 491 r = coap_resource_init(coap_make_str_const("seg1/seg2/seg3"), 0); in init_resources() 494 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_resources() [all …]
|
D | oscore-interop-server.c | 284 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_resources() 285 coap_add_attr(r, coap_make_str_const("title"), in init_resources() 286 coap_make_str_const("\"General Info\""), 0); in init_resources() 289 r = coap_resource_init(coap_make_str_const("oscore/hello/coap"), in init_resources() 294 r = coap_resource_init(coap_make_str_const("oscore/hello/1"), in init_resources() 299 r = coap_resource_init(coap_make_str_const("oscore/hello/2"), in init_resources() 304 r = coap_resource_init(coap_make_str_const("oscore/hello/3"), in init_resources() 309 r = coap_resource_init(coap_make_str_const("oscore/hello/6"), in init_resources() 314 r = coap_resource_init(coap_make_str_const("oscore/hello/7"), in init_resources() 319 r = coap_resource_init(coap_make_str_const("oscore/observe1"), in init_resources() [all …]
|
D | coap-rd.c | 342 coap_make_str_const("A"), in add_source_address() 472 coap_make_str_const("ins"), in hnd_post_rd() 489 coap_make_str_const("rt"), in hnd_post_rd() 538 r = coap_resource_init(coap_make_str_const(RD_ROOT_STR), 0); in init_resources() 542 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("40"), 0); in init_resources() 543 coap_add_attr(r, coap_make_str_const("rt"), coap_make_str_const("\"core.rd\""), 0); in init_resources() 544 coap_add_attr(r, coap_make_str_const("ins"), coap_make_str_const("\"default\""), 0); in init_resources()
|
D | coap-server.c | 291 coap_str_const_t *ticks = coap_make_str_const("ticks"); in hnd_get_fetch_time() 1353 coap_make_str_const("ct"), in hnd_put_post() 1354 coap_make_str_const((char *)buf), in hnd_put_post() 1540 coap_add_attr(r, coap_make_str_const("title"), coap_make_str_const("\"Dynamic\""), 0); in hnd_put_post_unknown() 1752 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_resources() 1753 coap_add_attr(r, coap_make_str_const("title"), coap_make_str_const("\"General Info\""), 0); in init_resources() 1759 r = coap_resource_init(coap_make_str_const("time"), resource_flags); in init_resources() 1766 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in init_resources() 1767 coap_add_attr(r, coap_make_str_const("title"), coap_make_str_const("\"Internal Clock\""), 0); in init_resources() 1768 coap_add_attr(r, coap_make_str_const("rt"), coap_make_str_const("\"ticks\""), 0); in init_resources() [all …]
|
/third_party/libcoap/tests/ |
D | test_wellknown.c | 48 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in t_wellknown1() 49 coap_add_attr(r, coap_make_str_const("title"), coap_make_str_const("\"some attribute\""), 0); in t_wellknown1() 94 r = coap_resource_init(coap_make_str_const("abcd"), 0); in t_wellknown2() 96 coap_add_attr(r, coap_make_str_const("if"), coap_make_str_const("\"one\""), 0); in t_wellknown2() 219 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); in t_wkc_tests_create() 220 coap_add_attr(r, coap_make_str_const("title"), coap_make_str_const("\"some attribute\""), 0); in t_wkc_tests_create() 226 coap_add_attr(r, coap_make_str_const("if"), coap_make_str_const("\"one\""), 0); in t_wkc_tests_create()
|
/third_party/libcoap/man/ |
D | coap_attribute.txt.in | 138 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); 139 coap_add_attr(r, coap_make_str_const("title"), 140 coap_make_str_const("\"General Info\""), 0); 145 r = coap_resource_init(coap_make_str_const("time"), 153 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); 154 coap_add_attr(r, coap_make_str_const("title"), 155 coap_make_str_const("\"Internal Clock\""), 0); 156 coap_add_attr(r, coap_make_str_const("rt"), coap_make_str_const("\"secs\""), 158 coap_add_attr(r, coap_make_str_const("if"), coap_make_str_const("\"clock\""),
|
D | coap_string.txt.in | 23 coap_make_str_const, 40 *coap_str_const_t *coap_make_str_const(const char *_string_);* 130 *Function: coap_make_str_const()* 132 The *coap_make_str_const*() function is used to take some read-only text and 135 call *coap_make_str_const*() twice. 183 *coap_make_str_const*() returns a pointer to a structure in
|
D | coap_resource.txt.in | 392 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); 393 coap_add_attr(r, coap_make_str_const("title"), 394 coap_make_str_const("\"General Info\""), 0); 399 r = coap_resource_init(coap_make_str_const("time"), 407 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); 408 coap_add_attr(r, coap_make_str_const("title"), 409 coap_make_str_const("\"Internal Clock\""), 0); 410 coap_add_attr(r, coap_make_str_const("rt"), coap_make_str_const("\"secs\""), 412 coap_add_attr(r, coap_make_str_const("if"), coap_make_str_const("\"clock\""),
|
D | coap_block.txt.in | 462 if (query != NULL && coap_string_equal(query, coap_make_str_const("secs"))) { 522 r = coap_resource_init(coap_make_str_const("time"), 528 coap_add_attr(r, coap_make_str_const("ct"), coap_make_str_const("0"), 0); 529 coap_add_attr(r, coap_make_str_const("title"), 530 coap_make_str_const("\"Internal Clock\""), 0); 531 coap_add_attr(r, coap_make_str_const("rt"), coap_make_str_const("\"secs\""), 533 coap_add_attr(r, coap_make_str_const("if"), coap_make_str_const("\"clock\""),
|
D | coap_persist.txt.in | 231 if (query != NULL && coap_string_equal(query, coap_make_str_const("secs"))) { 279 if (coap_string_equal(uri_path, coap_make_str_const("time"))) { 299 r = coap_resource_init(coap_make_str_const("time"),
|
D | coap_observe.txt.in | 186 if (query != NULL && coap_string_equal(query, coap_make_str_const("secs"))) { 234 if (coap_string_equal(uri_path, coap_make_str_const("time"))) { 254 r = coap_resource_init(coap_make_str_const("time"),
|
D | Makefile.am | 196 @echo ".so man3/coap_string.3" > coap_make_str_const.3
|
D | coap_handler.txt.in | 299 if (query != NULL && coap_string_equal(query, coap_make_str_const("secs"))) {
|
D | coap_pdu_setup.txt.in | 682 if (query != NULL && coap_string_equal(query, coap_make_str_const("secs"))) {
|
/third_party/libcoap/src/oscore/ |
D | oscore_context.c | 399 coap_make_str_const("Key"), in oscore_update_ctx() 409 coap_make_str_const("Key"), in oscore_update_ctx() 418 coap_make_str_const("IV"), in oscore_update_ctx() 471 coap_make_str_const("Key"), in oscore_duplicate_ctx() 479 coap_make_str_const("IV"), in oscore_duplicate_ctx() 549 coap_make_str_const("BAD"), in oscore_derive_ctx() 554 coap_make_str_const("Key"), in oscore_derive_ctx() 562 coap_make_str_const("IV"), in oscore_derive_ctx() 630 coap_make_str_const("BAD"), in oscore_add_recipient() 635 coap_make_str_const("Key"), in oscore_add_recipient()
|
/third_party/libcoap/include/coap3/ |
D | coap_str.h | 178 coap_str_const_t *coap_make_str_const(const char *string);
|
/third_party/libcoap/src/ |
D | coap_str.c | 66 coap_make_str_const(const char *string) { in coap_make_str_const() function
|
D | coap_oscore.c | 1868 if (coap_string_equal(coap_make_str_const("recipient_id"), &keyword)) { in coap_parse_oscore_conf_mem()
|
/third_party/libcoap/ |
D | libcoap-3.map | 124 coap_make_str_const;
|
D | libcoap-3.sym | 121 coap_make_str_const
|