Home
last modified time | relevance | path

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

/third_party/lwip/src/apps/altcp_tls/
Daltcp_tls_mbedtls_mem.c105 altcp_mbedtls_malloc_helper_t *hlpr; in tls_malloc() local
121 hlpr = (altcp_mbedtls_malloc_helper_t *)mem_malloc((mem_size_t)alloc_size); in tls_malloc()
122 if (hlpr == NULL) { in tls_malloc()
134 hlpr->c = c; in tls_malloc()
135 hlpr->len = len; in tls_malloc()
136 ret = hlpr + 1; in tls_malloc()
145 altcp_mbedtls_malloc_helper_t *hlpr; in tls_free() local
150 hlpr = ((altcp_mbedtls_malloc_helper_t *)ptr) - 1; in tls_free()
153 altcp_mbedtls_malloc_stats.allocedBytes -= hlpr->c * hlpr->len; in tls_free()
156 mem_free(hlpr); in tls_free()