Home
last modified time | relevance | path

Searched refs:coap_encode_var_safe (Results 1 – 21 of 21) sorted by relevance

/third_party/libcoap/tests/
Dtest_pdu.c874 coap_encode_var_safe(buf, sizeof(buf), new_val), buf); in t_encode_pdu16()
879 coap_encode_var_safe(buf, sizeof(buf), new_val), buf); in t_encode_pdu16()
884 coap_encode_var_safe(buf, sizeof(buf), new_val), buf); in t_encode_pdu16()
889 coap_encode_var_safe(buf, sizeof(buf), new_val), buf); in t_encode_pdu16()
894 coap_encode_var_safe(buf, sizeof(buf), new_val), buf); in t_encode_pdu16()
899 coap_encode_var_safe(buf, sizeof(buf), new_val), buf); in t_encode_pdu16()
933 coap_encode_var_safe(buf, sizeof(buf), new_val), buf); in t_encode_pdu17()
938 coap_encode_var_safe(buf, sizeof(buf), new_val), buf); in t_encode_pdu17()
943 coap_encode_var_safe(buf, sizeof(buf), new_val), buf); in t_encode_pdu17()
948 coap_encode_var_safe(buf, sizeof(buf), new_val), buf); in t_encode_pdu17()
[all …]
Dtest_encode.c118 result = coap_encode_var_safe(buf, sizeof(buf), 0x00); in t_encode1()
131 result = coap_encode_var_safe(buf, sizeof(buf), 0x01); in t_encode2()
157 result = coap_encode_var_safe(buf, 2, 0x01020304); in t_encode4()
Dtest_wellknown.c195 coap_encode_var_safe(buf, sizeof(buf), in t_wellknown5()
234 coap_encode_var_safe(buf, sizeof(buf), in t_wellknown6()
/third_party/libcoap/include/coap3/
Dencode.h77 unsigned int coap_encode_var_safe(uint8_t *buf,
117 return (int)coap_encode_var_safe(buf, sizeof(value), value); in coap_encode_var_bytes()
/third_party/libcoap/src/
Dblock.c117 coap_insert_option(pdu, number, coap_encode_var_safe(buf, sizeof(buf), in coap_write_block_opt()
180 coap_encode_var_safe(buf, sizeof(buf), in coap_add_data_blocked_response()
187 coap_encode_var_safe(buf, sizeof(buf), maxage), buf); in coap_add_data_blocked_response()
319 coap_encode_var_safe(buf, sizeof(buf), in coap_cancel_observe()
500 coap_encode_var_safe(buf, sizeof(buf), in coap_add_data_large_internal()
531 coap_encode_var_safe(buf, sizeof(buf), in coap_add_data_large_internal()
549 coap_encode_var_safe(buf, sizeof(buf), in coap_add_data_large_internal()
584 coap_encode_var_safe(buf, sizeof(buf), in coap_add_data_large_internal()
605 coap_encode_var_safe(buf, sizeof(buf), in coap_add_data_large_internal()
674 coap_encode_var_safe(buf, sizeof(buf), in coap_add_data_large_response()
[all …]
Dencode.c40 coap_encode_var_safe(uint8_t *buf, size_t length, unsigned int val) { in coap_encode_var_safe() function
Dresource.c929 coap_encode_var_safe(buf, sizeof (buf),
935 coap_encode_var_safe(buf, sizeof(buf),
Dcoap_session.c371 coap_encode_var_safe(buf, sizeof(buf), in coap_session_send_csm()
374 coap_encode_var_safe(buf, sizeof(buf), in coap_session_send_csm()
Dnet.c2283 assert(coap_encode_var_safe(buf, sizeof(buf), in coap_wellknown_response()
2286 coap_encode_var_safe(buf, sizeof(buf), in coap_wellknown_response()
2785 coap_encode_var_safe(buf, sizeof (buf), in handle_request()
/third_party/libcoap/examples/lwip/
Dserver-coap.c45 coap_encode_var_safe(buf, sizeof(buf), in hnd_get_time()
50 coap_encode_var_safe(buf, sizeof(buf), 0x01), buf); in hnd_get_time()
/third_party/libcoap/examples/
Detsi_iot_01.c105 coap_encode_var_safe(buf, sizeof(buf),
110 coap_encode_var_safe(buf, sizeof(buf), 0x2ffff), buf);
311 coap_encode_var_safe(buf, sizeof(buf), in hnd_get_query()
Dcoap-client.c594 node = coap_new_optlist(key, coap_encode_var_safe(buf, sizeof(buf), value), buf); in cmdline_content_type()
610 …node = coap_new_optlist(COAP_OPTION_HOP_LIMIT, coap_encode_var_safe(buf, sizeof(buf), value), buf); in cmdline_hop_limit()
682 coap_encode_var_safe(portbuf, sizeof(portbuf), in cmdline_uri()
767 opt_length = coap_encode_var_safe(buf, sizeof(buf), in set_blocksize()
781 coap_encode_var_safe(buf, sizeof(buf), in cmdline_subscribe()
Dcoap-rd.c130 coap_encode_var_safe(buf, sizeof(buf), in hnd_get_resource()
248 coap_encode_var_safe(buf, sizeof(buf), in hnd_get_rd()
254 coap_encode_var_safe(buf, sizeof(buf), 0x2ffff), buf); in hnd_get_rd()
Dcoap-server.c342 coap_encode_var_safe(buf, sizeof(buf), in hnd_put_time()
1133 coap_encode_var_safe(portbuf, sizeof(portbuf), in hnd_proxy_uri()
/third_party/libcoap/man/
Dcoap_pdu_setup.txt.in22 coap_encode_var_safe,
63 *unsigned int coap_encode_var_safe(uint8_t *_buffer_, size_t _size_,
252 and hence be illegal. This is done by using coap_encode_var_safe() or
331 and hence be illegal. This is done by using coap_encode_var_safe() or
334 The *coap_encode_var_safe*() function encodes _value_ into _buffer_ which has
396 The *coap_encode_var_safe*() function returns either the length of bytes
473 coap_encode_var_safe(buf, sizeof(buf),
DMakefile.am106 @echo ".so man3/coap_pdu_setup.3" > coap_encode_var_safe.3
Dcoap_resource.txt.in211 coap_encode_var_safe(buf, sizeof(buf),
217 coap_encode_var_safe(buf, sizeof(buf), 0x2ffff), buf);
Dcoap_block.txt.in255 coap_encode_var_safe(buf, sizeof(buf),
/third_party/libcoap/
Dlibcoap-3.sym68 coap_encode_var_safe
Dlibcoap-3.map70 coap_encode_var_safe;
/third_party/libcoap/examples/contiki/
Dcoap-observer.c142 coap_encode_var_safe(portbuf, sizeof(portbuf), in PROCESS_THREAD()