Home
last modified time | relevance | path

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

/third_party/libcoap/examples/
H A 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()
249 * using coap_malloc() and must be released. */ in hnd_delete_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()
H A 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()
H A Detsi_iot_01.c61 p = (coap_payload_t *)coap_malloc(sizeof(coap_payload_t) + size); in coap_new_payload()
H A Doscore-interop-server.c354 buf = coap_malloc(statbuf.st_size+1); in read_file_mem()
H A 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()
/third_party/libcoap/include/coap3/
H A Dcoap_mem.h26 * This function must be called once before coap_malloc() can be used on
113 coap_malloc(size_t size) { in coap_malloc() function
153 coap_malloc(size_t size) { in coap_malloc() function
155 LWIP_ASSERT("coap_malloc must not be used in lwIP", 0); in coap_malloc()

Completed in 10 milliseconds