Searched refs:coap_malloc (Results 1 – 6 of 6) sorted by relevance
113 coap_malloc(size_t size) { in coap_malloc() function153 coap_malloc(size_t size) { in coap_malloc() function
109 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()
721 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()
61 p = (coap_payload_t *)coap_malloc(sizeof(coap_payload_t) + size); in coap_new_payload()
354 buf = coap_malloc(statbuf.st_size+1); in read_file_mem()
213 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()