| /components/net/lwip/lwip-2.1.2/test/unit/core/ |
| A D | test_mem.c | 42 p1 = mem_malloc(SIZE1); in START_TEST() 47 p2 = mem_malloc(SIZE2); in START_TEST() 69 p[i] = mem_malloc((mem_size_t)size); in malloc_keep_x() 122 ptr = (u8_t *)mem_malloc(1); in START_TEST() 150 ptr1 = (u8_t *)mem_malloc(1); in START_TEST() 154 ptr2 = (u8_t *)mem_malloc(1); in START_TEST() 158 ptr3 = (u8_t *)mem_malloc(1); in START_TEST() 193 ptr1b = (u8_t *)mem_malloc(MIN_SIZE * 2); in START_TEST()
|
| /components/net/lwip/lwip-1.4.1/src/include/lwip/ |
| A D | mem.h | 56 #ifndef mem_malloc 57 #define mem_malloc malloc macro 91 void *mem_malloc(mem_size_t size);
|
| A D | memp.h | 87 #define memp_malloc(type) mem_malloc(memp_sizes[type])
|
| /components/net/lwip/lwip-2.0.3/test/unit/core/ |
| A D | test_mem.c | 40 p1 = mem_malloc(SIZE1); in START_TEST() 45 p2 = mem_malloc(SIZE2); in START_TEST() 67 p[i] = mem_malloc((mem_size_t)size); in malloc_keep_x()
|
| /components/net/lwip/lwip-1.4.1/test/unit/core/ |
| A D | test_mem.c | 44 p1 = mem_malloc(SIZE1); in START_TEST() 49 p2 = mem_malloc(SIZE2); in START_TEST()
|
| /components/net/lwip/lwip-2.1.2/src/include/lwip/apps/ |
| A D | smtp_opts.h | 68 #define SMTP_STATE_MALLOC(size) mem_malloc(size)
|
| /components/net/lwip/lwip-2.0.3/src/include/lwip/ |
| A D | mem.h | 74 void *mem_malloc(mem_size_t size);
|
| /components/net/lwip/lwip-2.1.2/src/include/lwip/ |
| A D | mem.h | 74 void *mem_malloc(mem_size_t size);
|
| /components/net/lwip/lwip-2.0.3/src/core/ |
| A D | mem.c | 122 mem_malloc(mem_size_t size) in mem_malloc() function 166 mem_malloc(mem_size_t size) in mem_malloc() function 603 mem_malloc(mem_size_t size) in mem_malloc() function 770 p = mem_malloc(count * size); in mem_calloc()
|
| A D | memp.c | 301 memp = (struct memp *)mem_malloc(MEMP_SIZE + MEMP_ALIGN_SIZE(desc->size)); in do_memp_malloc_pool()
|
| /components/net/lwip/lwip-2.1.2/test/sockets/ |
| A D | sockets_stresstest.c | 458 …data = (struct sockets_stresstest_fullduplex*)mem_malloc(sizeof(struct sockets_stresstest_fulldupl… in sockets_stresstest_conn_client() 660 struct test_settings *settings = (struct test_settings *)mem_malloc(sizeof(struct test_settings)); in sockets_stresstest_init_loopback() 679 struct test_settings *settings = (struct test_settings *)mem_malloc(sizeof(struct test_settings)); in sockets_stresstest_init_server() 703 …struct sockaddr_storage *addr = (struct sockaddr_storage *)mem_malloc(sizeof(struct sockaddr_stora… in sockets_stresstest_init_client()
|
| /components/net/lwip/lwip-1.4.1/src/core/ |
| A D | mem.c | 79 mem_malloc(mem_size_t size) in mem_malloc() function 494 mem_malloc(mem_size_t size) in mem_malloc() function 651 p = mem_malloc(count * size); in mem_calloc()
|
| /components/net/lwip/lwip-2.1.2/src/apps/altcp_tls/ |
| A D | altcp_tls_mbedtls_mem.c | 121 hlpr = (altcp_mbedtls_malloc_helper_t *)mem_malloc((mem_size_t)alloc_size); in tls_malloc()
|
| /components/net/lwip/lwip-2.1.2/src/core/ |
| A D | mem.c | 207 mem_malloc(mem_size_t size) in mem_malloc() function 251 mem_malloc(mem_size_t size) in mem_malloc() function 831 mem_malloc(mem_size_t size_in) in mem_malloc() function 1010 p = mem_malloc((mem_size_t)alloc_size); in mem_calloc()
|
| A D | memp.c | 254 memp = (struct memp *)mem_malloc(MEMP_SIZE + MEMP_ALIGN_SIZE(desc->size)); in do_memp_malloc_pool()
|
| /components/net/lwip/lwip-1.4.1/doc/ |
| A D | sys_arch.txt | 212 Be carefull with using mem_malloc() in sys_arch. When malloc() refers to 213 mem_malloc() you can run into a circular function call problem. In mem.c 214 mem_init() tries to allcate a semaphore using mem_malloc, which of course 215 can't be performed when sys_arch uses mem_malloc.
|
| /components/net/lwip/lwip-2.0.3/doc/ |
| A D | sys_arch.txt | 248 Be careful with using mem_malloc() in sys_arch. When malloc() refers to 249 mem_malloc() you can run into a circular function call problem. In mem.c 250 mem_init() tries to allcate a semaphore using mem_malloc, which of course 251 can't be performed when sys_arch uses mem_malloc.
|
| /components/net/lwip/lwip-2.1.2/src/netif/ |
| A D | zepif.c | 226 struct zepif_state *state = (struct zepif_state *)mem_malloc(sizeof(struct zepif_state)); in zepif_init()
|
| A D | slipif.c | 373 priv = (struct slipif_priv *)mem_malloc(sizeof(struct slipif_priv)); in slipif_init()
|
| /components/net/lwip-dhcpd/ |
| A D | dhcp_server_raw.c | 264 node = (struct dhcp_client_node *)mem_malloc(sizeof(struct dhcp_client_node)); in dhcp_client_alloc() 632 dhcp_server = (struct dhcp_server *)mem_malloc(sizeof(struct dhcp_server)); in dhcp_server_start()
|
| /components/net/lwip/lwip-1.4.1/src/netif/ |
| A D | slipif.c | 326 priv = (struct slipif_priv *)mem_malloc(sizeof(struct slipif_priv)); in slipif_init()
|
| /components/net/lwip/lwip-2.0.3/src/netif/ |
| A D | slipif.c | 369 priv = (struct slipif_priv *)mem_malloc(sizeof(struct slipif_priv)); in slipif_init()
|
| /components/net/lwip/lwip-2.1.2/src/apps/http/ |
| A D | http_client.c | 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()
|
| A D | altcp_proxyconnect.c | 137 buffer = (char *)mem_malloc(alloc_len); in altcp_proxyconnect_send_request()
|
| /components/net/lwip/lwip-2.0.3/src/core/ipv4/ |
| A D | autoip.c | 273 autoip = (struct autoip *)mem_malloc(sizeof(struct autoip)); in autoip_start()
|