Searched refs:mem_size_t (Results 1 – 13 of 13) sorted by relevance
/third_party/lwip/src/core/ |
D | mem.c | 169 mem_trim(void *mem, mem_size_t size) in mem_trim() 193 #define MEM_LIBC_STATSHELPER_SIZE LWIP_MEM_ALIGN_SIZE(sizeof(mem_size_t)) 207 mem_malloc(mem_size_t size) in mem_malloc() 215 *(mem_size_t *)ret = size; in mem_malloc() 234 MEM_STATS_DEC_USED_LOCKED(used, *(mem_size_t *)rmem); in mem_free() 251 mem_malloc(mem_size_t size) in mem_malloc() 256 mem_size_t required_size = size + LWIP_MEM_ALIGN_SIZE(sizeof(struct memp_malloc_helper)); in mem_malloc() 351 mem_size_t next; 353 mem_size_t prev; 358 mem_size_t user_size; [all …]
|
D | pbuf.c | 274 … mem_size_t payload_len = (mem_size_t)(LWIP_MEM_ALIGN_SIZE(offset) + LWIP_MEM_ALIGN_SIZE(length)); in pbuf_alloc() 275 mem_size_t alloc_len = (mem_size_t)(LWIP_MEM_ALIGN_SIZE(SIZEOF_STRUCT_PBUF) + payload_len); in pbuf_alloc() 444 q = (struct pbuf *)mem_trim(q, (mem_size_t)(((u8_t *)q->payload - (u8_t *)q) + rem_len)); in pbuf_realloc()
|
/third_party/lwip/src/include/lwip/ |
D | mem.h | 50 typedef size_t mem_size_t; typedef 55 typedef u16_t mem_size_t; 64 typedef u32_t mem_size_t; 67 typedef u16_t mem_size_t; 73 void *mem_trim(void *mem, mem_size_t size); 74 void *mem_malloc(mem_size_t size); 75 void *mem_calloc(mem_size_t count, mem_size_t size);
|
D | stats.h | 103 mem_size_t avail; 104 mem_size_t used; 105 mem_size_t max; 391 #define MEM_STATS_INC_USED(x, y) STATS_INC_USED(mem, y, mem_size_t) 392 #define MEM_STATS_DEC_USED(x, y) lwip_stats.mem.x = (mem_size_t)((lwip_stats.mem.x) - (y))
|
/third_party/lwip/src/apps/altcp_tls/ |
D | altcp_tls_mbedtls_mem.c | 121 hlpr = (altcp_mbedtls_malloc_helper_t *)mem_malloc((mem_size_t)alloc_size); in tls_malloc() 193 size_t checked_size = (mem_size_t)size; in altcp_mbedtls_alloc_config() 198 ret = (altcp_mbedtls_state_t *)mem_calloc(1, (mem_size_t)size); in altcp_mbedtls_alloc_config()
|
/third_party/lwip/test/unit/core/ |
D | test_mem.c | 37 mem_size_t s1, s2; in START_TEST() 66 LWIP_ASSERT("invalid size", size >= 0 && size < (mem_size_t)-1); in malloc_keep_x() 69 p[i] = mem_malloc((mem_size_t)size); in malloc_keep_x()
|
/third_party/lwip/src/netif/ |
D | bridgeif_fdb.c | 199 mem_size_t alloc_len = (mem_size_t)alloc_len_sizet; in bridgeif_fdb_init()
|
D | bridgeif.c | 418 mem_size_t alloc_len; in bridgeif_init() 438 alloc_len = (mem_size_t)alloc_len_sizet; in bridgeif_init()
|
/third_party/lwip/src/apps/http/ |
D | http_client.c | 511 mem_size_t mem_alloc_len; in httpc_init_connection_common() 532 mem_alloc_len = (mem_size_t)alloc_len; in httpc_init_connection_common() 537 req = (httpc_state_t*)mem_malloc((mem_size_t)alloc_len); in httpc_init_connection_common() 733 filestate = (httpc_filestate_t *)mem_malloc((mem_size_t)alloc_len); in httpc_fs_init()
|
D | altcp_proxyconnect.c | 113 mem_size_t alloc_len; in altcp_proxyconnect_send_request() 131 alloc_len = (mem_size_t)len; in altcp_proxyconnect_send_request()
|
D | httpd.c | 1135 hs->buf = (char *)mem_malloc((mem_size_t)count);
|
/third_party/lwip/src/apps/smtp/ |
D | smtp.c | 605 s = (struct smtp_session *)SMTP_STATE_MALLOC((mem_size_t)mem_len); in smtp_send_mail()
|
/third_party/lwip/ |
D | CHANGELOG | 3298 and/or warnings on some systems where mem_size_t and size_t differ. 3966 facilitate printing of mem_size_t and u16_t statistics.
|