Home
last modified time | relevance | path

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

/reactos/drivers/network/tcpip/lwip/src/netif/
H A Dbridgeif_fdb.c199 mem_size_t alloc_len = (mem_size_t)alloc_len_sizet; in bridgeif_fdb_init() local
200 LWIP_ASSERT("alloc_len == alloc_len_sizet", alloc_len == alloc_len_sizet); in bridgeif_fdb_init()
201 …BRIDGEIF_DEBUG, ("bridgeif_fdb_init: allocating %d bytes for private FDB data\n", (int)alloc_len)); in bridgeif_fdb_init()
202 fdb = (bridgeif_dfdb_t *)mem_calloc(1, alloc_len); in bridgeif_fdb_init()
H A Dbridgeif.c418 mem_size_t alloc_len; in bridgeif_init() local
438 alloc_len = (mem_size_t)alloc_len_sizet; in bridgeif_init()
439 LWIP_ASSERT("alloc_len == alloc_len_sizet", alloc_len == alloc_len_sizet); in bridgeif_init()
440 …_DEBUGF(BRIDGEIF_DEBUG, ("bridgeif_init: allocating %d bytes for private data\n", (int)alloc_len)); in bridgeif_init()
441 br = (bridgeif_private_t *)mem_calloc(1, alloc_len); in bridgeif_init()
/reactos/drivers/network/tcpip/lwip/src/apps/http/
H A Dhttp_client.c512 size_t alloc_len; in httpc_init_connection_common() local
528 alloc_len = sizeof(httpc_state_t); in httpc_init_connection_common()
532 alloc_len += server_name_len + 1 + uri_len + 1; in httpc_init_connection_common()
534 mem_alloc_len = (mem_size_t)alloc_len; in httpc_init_connection_common()
535 if ((mem_alloc_len < alloc_len) || (req_len + 1 > 0xFFFF)) { in httpc_init_connection_common()
539 req = (httpc_state_t*)mem_malloc((mem_size_t)alloc_len); in httpc_init_connection_common()
729 size_t file_len, alloc_len; in httpc_fs_init() local
733 alloc_len = sizeof(httpc_filestate_t) + file_len + 1; in httpc_fs_init()
735 filestate = (httpc_filestate_t *)mem_malloc((mem_size_t)alloc_len); in httpc_fs_init()
H A Daltcp_proxyconnect.c113 mem_size_t alloc_len; in altcp_proxyconnect_send_request() local
131 alloc_len = (mem_size_t)len; in altcp_proxyconnect_send_request()
132 if ((len < 0) || (int)alloc_len != len) { in altcp_proxyconnect_send_request()
137 buffer = (char *)mem_malloc(alloc_len); in altcp_proxyconnect_send_request()
142 len2 = altcp_proxyconnect_format_request(buffer, alloc_len, host, state->outer_port); in altcp_proxyconnect_send_request()
/reactos/modules/rosapps/applications/explorer-old/shell/
H A Dntobjfs.h42 WORD alloc_len; member
48 WORD alloc_len; member
H A Dntobjfs.cpp143 alloc_len = (WORD)len; in UnicodeString()
/reactos/drivers/network/tcpip/lwip/src/core/ipv4/
H A Dicmp.c162 u16_t alloc_len = (u16_t)(p->tot_len + hlen); in icmp_input() local
163 if (alloc_len < p->tot_len) { in icmp_input()
168 r = pbuf_alloc(PBUF_LINK, alloc_len, PBUF_RAM); in icmp_input()
/reactos/drivers/network/tcpip/lwip/src/core/
H A Dpbuf.c275 mem_size_t alloc_len = (mem_size_t)(LWIP_MEM_ALIGN_SIZE(SIZEOF_STRUCT_PBUF) + payload_len); in pbuf_alloc() local
279 (alloc_len < LWIP_MEM_ALIGN_SIZE(length))) { in pbuf_alloc()
284 p = (struct pbuf *)mem_malloc(alloc_len); in pbuf_alloc()
/reactos/dll/3rdparty/mbedtls/
H A Dssl_tls.c3698 size_t alloc_len; in ssl_get_reassembly_buffer_size() local
3700 alloc_len = 12; /* Handshake header */ in ssl_get_reassembly_buffer_size()
3701 alloc_len += msg_len; /* Content buffer */ in ssl_get_reassembly_buffer_size()
3704 alloc_len += msg_len / 8 + ( msg_len % 8 != 0 ); /* Bitmap */ in ssl_get_reassembly_buffer_size()
3706 return( alloc_len ); in ssl_get_reassembly_buffer_size()
/reactos/dll/win32/oleaut32/
H A Dtypelib.c4185 … INT alloc_len = MultiByteToWideChar(CP_ACP, 0, pBlk + pItem->byte_offs + 2, len, NULL, 0); in SLTG_DoVars() local
4186 str = SysAllocStringLen(NULL, alloc_len); in SLTG_DoVars()
4187 MultiByteToWideChar(CP_ACP, 0, pBlk + pItem->byte_offs + 2, len, str, alloc_len); in SLTG_DoVars()