/third_party/libcoap/tests/ |
D | test_pdu.c | 891 coap_encode_var_safe(buf, sizeof(buf), new_val), buf); in t_encode_pdu16() 896 coap_encode_var_safe(buf, sizeof(buf), new_val), buf); in t_encode_pdu16() 901 coap_encode_var_safe(buf, sizeof(buf), new_val), buf); in t_encode_pdu16() 906 coap_encode_var_safe(buf, sizeof(buf), new_val), buf); in t_encode_pdu16() 911 coap_encode_var_safe(buf, sizeof(buf), new_val), buf); in t_encode_pdu16() 916 coap_encode_var_safe(buf, sizeof(buf), new_val), buf); in t_encode_pdu16() 953 coap_encode_var_safe(buf, sizeof(buf), new_val), buf); in t_encode_pdu17() 958 coap_encode_var_safe(buf, sizeof(buf), new_val), buf); in t_encode_pdu17() 963 coap_encode_var_safe(buf, sizeof(buf), new_val), buf); in t_encode_pdu17() 968 coap_encode_var_safe(buf, sizeof(buf), new_val), buf); in t_encode_pdu17() [all …]
|
D | test_encode.c | 118 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()
|
/third_party/libcoap/include/coap3/ |
D | coap_encode.h | 84 unsigned int coap_encode_var_safe(uint8_t *buf, 124 return (int)coap_encode_var_safe(buf, sizeof(value), value); in coap_encode_var_bytes()
|
/third_party/libcoap/src/ |
D | coap_block.c | 193 coap_update_option(pdu, number, coap_encode_var_safe(buf, sizeof(buf), in coap_write_block_opt() 224 coap_update_option(pdu, number, coap_encode_var_safe(buf, sizeof(buf), in coap_write_block_b_opt() 310 coap_encode_var_safe(buf, sizeof(buf), in coap_add_data_blocked_response() 317 coap_encode_var_safe(buf, sizeof(buf), maxage), buf); in coap_add_data_blocked_response() 460 coap_encode_var_safe(buf, sizeof(buf), in coap_cancel_observe() 833 coap_encode_var_safe(buf, sizeof(buf), in coap_add_data_large_internal() 839 coap_encode_var_safe(buf, sizeof(buf), in coap_add_data_large_internal() 877 coap_encode_var_safe(buf, sizeof(buf), in coap_add_data_large_internal() 898 coap_encode_var_safe(buf, sizeof(buf), in coap_add_data_large_internal() 942 coap_encode_var_safe(buf, sizeof(buf), in coap_add_data_large_internal() [all …]
|
D | coap_encode.c | 47 coap_encode_var_safe(uint8_t *buf, size_t length, unsigned int val) { in coap_encode_var_safe() function
|
D | coap_net.c | 756 coap_encode_var_safe(buf, sizeof(buf), in coap_option_check_critical() 1172 coap_encode_var_safe(buf, sizeof(buf), in coap_send() 1208 coap_encode_var_safe(buf, sizeof(buf), in coap_send() 1222 coap_encode_var_safe(buf, sizeof(buf), in coap_send() 1232 coap_encode_var_safe(buf, sizeof(buf), in coap_send() 1246 coap_encode_var_safe(buf, sizeof(buf), in coap_send() 1267 coap_encode_var_safe(buf, sizeof(buf), in coap_send() 2533 coap_encode_var_safe(buf, sizeof(buf), in hnd_get_wellknown() 3136 coap_encode_var_safe(buf, sizeof(buf), in handle_request()
|
D | coap_resource.c | 1068 coap_encode_var_safe(buf, sizeof(buf), 1075 coap_encode_var_safe(buf, sizeof(buf), 1086 coap_encode_var_safe(buf, sizeof(buf),
|
D | coap_session.c | 834 coap_encode_var_safe(buf, sizeof(buf), in coap_session_send_csm() 837 coap_encode_var_safe(buf, sizeof(buf), in coap_session_send_csm() 842 coap_encode_var_safe(buf, sizeof(buf), in coap_session_send_csm()
|
D | coap_uri.c | 340 coap_encode_var_safe(buf, 4, in coap_uri_into_options()
|
D | coap_oscore.c | 177 coap_encode_var_safe(option_value_buffer, in coap_rebuild_pdu_for_proxy() 736 coap_encode_var_safe(buf, sizeof(buf), 0), in build_and_send_error_pdu()
|
/third_party/libcoap/examples/lwip/ |
D | server-coap.c | 49 coap_encode_var_safe(buf, sizeof(buf), in hnd_get_time() 54 coap_encode_var_safe(buf, sizeof(buf), 0x01), buf); in hnd_get_time()
|
/third_party/libcoap/examples/riot/examples_libcoap_server/ |
D | server-coap.c | 53 coap_encode_var_safe(buf, sizeof(buf), in hnd_get_time() 59 coap_encode_var_safe(buf, sizeof(buf), 0x01), buf); in hnd_get_time()
|
/third_party/libcoap/examples/ |
D | etsi_iot_01.c | 105 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()
|
D | coap-rd.c | 150 coap_encode_var_safe(buf, sizeof(buf), in hnd_get_resource() 267 coap_encode_var_safe(buf, sizeof(buf), in hnd_get_rd() 273 coap_encode_var_safe(buf, sizeof(buf), 0x2ffff), buf); in hnd_get_rd()
|
D | coap-client.c | 683 node = coap_new_optlist(key, coap_encode_var_safe(buf, sizeof(buf), value), buf); in cmdline_content_type() 699 …node = coap_new_optlist(COAP_OPTION_HOP_LIMIT, coap_encode_var_safe(buf, sizeof(buf), value), buf); in cmdline_hop_limit() 926 opt_length = coap_encode_var_safe(buf, sizeof(buf), in set_blocksize() 940 coap_encode_var_safe(buf, sizeof(buf), in cmdline_subscribe()
|
D | coap-server.c | 371 coap_encode_var_safe(buf, sizeof(buf), in hnd_put_time()
|
/third_party/libcoap/man/ |
D | coap_pdu_setup.txt.in | 23 coap_encode_var_safe, 66 *unsigned int coap_encode_var_safe(uint8_t *_buffer_, size_t _size_, 364 and hence be illegal. This is done by using *coap_encode_var_safe*() or 398 and hence be illegal. This is done by using *coap_encode_var_safe*() or 401 *Function: coap_encode_var_safe()* 403 The *coap_encode_var_safe*() function encodes _value_ into _buffer_ which has 544 *coap_encode_var_safe*() returns either the length of bytes 629 coap_encode_var_safe(buf, sizeof(buf),
|
D | Makefile.am | 156 @echo ".so man3/coap_pdu_setup.3" > coap_encode_var_safe.3
|
D | coap_deprecated.txt.in | 96 *coap_encode_var_safe*(3).
|
D | coap_resource.txt.in | 325 coap_encode_var_safe(buf, sizeof(buf), 331 coap_encode_var_safe(buf, sizeof(buf), 0x2ffff), buf);
|
D | coap_block.txt.in | 377 coap_encode_var_safe(buf, sizeof(buf),
|
/third_party/libcoap/ |
D | libcoap-3.map | 86 coap_encode_var_safe;
|
D | libcoap-3.sym | 82 coap_encode_var_safe
|