Home
last modified time | relevance | path

Searched refs:coap_malloc (Results 1 – 6 of 6) sorted by relevance

/third_party/libcoap/include/coap3/
Dcoap_mem.h113 coap_malloc(size_t size) { in coap_malloc() function
153 coap_malloc(size_t size) { in coap_malloc() function
/third_party/libcoap/examples/
Dcoap-rd.c109 rd = (rd_t *)coap_malloc(sizeof(rd_t)); in rd_new()
190 tmp.s = (unsigned char *)coap_malloc(tmp.length); in hnd_put_resource()
333 buf = (char *)coap_malloc(BUFSIZE); in add_source_address()
365 rd->data.s = (unsigned char *)coap_malloc(rd->data.length); in make_rd()
398 loc = (unsigned char *)coap_malloc(LOCSIZE); in hnd_post_rd()
463 buf = (unsigned char *)coap_malloc(ins.length + 2); in hnd_post_rd()
480 buf = (unsigned char *)coap_malloc(rt.length + 2); in hnd_post_rd()
Dcoap-client.c721 buf = coap_malloc(statbuf.st_size+1); in read_file_mem()
1129 buf->s = (unsigned char *)coap_malloc(len); in cmdline_input()
1150 buf->s = (unsigned char *)coap_malloc(buf->length); in cmdline_input_from_file()
1170 buf->s = (unsigned char *)coap_malloc(buf->length); in cmdline_input_from_file()
1676 output_file.s = (unsigned char *)coap_malloc(output_file.length + 1); in main()
1883 data = coap_malloc(payload.length); in main()
1971 data = coap_malloc(payload.length); in main()
Detsi_iot_01.c61 p = (coap_payload_t *)coap_malloc(sizeof(coap_payload_t) + size); in coap_new_payload()
Doscore-interop-server.c354 buf = coap_malloc(statbuf.st_size+1); in read_file_mem()
Dcoap-server.c213 transient_value = coap_malloc(sizeof(transient_value_t)); in alloc_resource_data()
1850 buf = coap_malloc(statbuf.st_size+1); in read_file_mem()
2379 proxy_host_name_list = coap_malloc(proxy_host_name_count * sizeof(char *)); in cmdline_proxy()