Searched refs:coap_malloc (Results 1 – 12 of 12) sorted by relevance
98 COAP_STATIC_INLINE void *coap_malloc(size_t size) { in coap_malloc() function129 COAP_STATIC_INLINE void *coap_malloc(size_t size) { in coap_malloc() function
89 rd = (rd_t *)coap_malloc(sizeof(rd_t)); in rd_new()170 tmp.s = (unsigned char *)coap_malloc(tmp.length); in hnd_put_resource()312 buf = (char *)coap_malloc(BUFSIZE); in add_source_address()382 rd->data.s = (unsigned char *)coap_malloc(rd->data.length); in make_rd()415 loc = (unsigned char *)coap_malloc(LOCSIZE); in hnd_post_rd()480 buf = (unsigned char *)coap_malloc(ins.length + 2); in hnd_post_rd()497 buf = (unsigned char *)coap_malloc(rt.length + 2); in hnd_post_rd()
970 buf->s = (unsigned char *)coap_malloc(len); in cmdline_input()991 buf->s = (unsigned char *)coap_malloc(buf->length); in cmdline_input_from_file()1011 buf->s = (unsigned char *)coap_malloc(buf->length); in cmdline_input_from_file()1134 buf = coap_malloc(statbuf.st_size+1); in read_file_mem()1493 output_file.s = (unsigned char *)coap_malloc(output_file.length + 1); in main()
61 p = (coap_payload_t *)coap_malloc(sizeof(coap_payload_t) + size); in coap_new_payload()
180 transient_value = coap_malloc(sizeof(transient_value_t)); in alloc_resource_data()1838 buf = coap_malloc(statbuf.st_size+1); in read_file_mem()2376 proxy_host_name_list = coap_malloc(proxy_host_name_count * sizeof(char*)); in cmdline_proxy()
196 coap_key_t *digest_ctx = coap_malloc(sizeof(coap_local_hash_t)); in coap_digest_setup()
60 s = (coap_async_t *)coap_malloc(sizeof(coap_async_t)); in coap_register_async()
485 result = (unsigned char*)coap_malloc(length + 1 + sizeof(coap_uri_t)); in coap_new_uri()508 result = (coap_uri_t *)coap_malloc( uri->query.length + uri->host.length + in coap_clone_uri()
50 ctx->cache_ignore_options = coap_malloc(count * sizeof(options[0])); in coap_cache_ignore_options()
439 coap_tiny_context_t *t_context = coap_malloc(sizeof(coap_tiny_context_t)); in coap_dtls_new_context()738 uint8_t *tbuf = coap_malloc(size); in pem_base64_decode()1202 dtls_sha256_ctx *digest_ctx = coap_malloc(sizeof(dtls_sha256_ctx)); in coap_digest_setup()
59 ((coap_##Type##_t *)coap_malloc(sizeof(coap_##Type##_t)))379 r->proxy_name_list = coap_malloc(host_name_count *
723 context = (coap_openssl_context_t *)coap_malloc(sizeof(coap_openssl_context_t)); in coap_dtls_new_context()