Home
last modified time | relevance | path

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

/PHP-5.3/main/
H A Dphp_variables.c447 size_t alloc_size = sizeof(buf); in _php_import_environment_variables() local
463 if (nlen >= alloc_size) { in _php_import_environment_variables()
464 alloc_size = nlen + 64; in _php_import_environment_variables()
465 t = (t == buf ? emalloc(alloc_size): erealloc(t, alloc_size)); in _php_import_environment_variables()
/PHP-5.3/ext/mysqlnd/
H A Dmysqlnd_result_meta.c473 size_t alloc_size = sizeof(MYSQLND_RES_METADATA) + mysqlnd_plugin_count() * sizeof(void *); in mysqlnd_result_meta_init() local
474 MYSQLND_RES_METADATA *ret = mnd_pecalloc(1, alloc_size, persistent); in mysqlnd_result_meta_init()
H A Dmysqlnd_net.c899 size_t alloc_size = sizeof(MYSQLND_NET) + mysqlnd_plugin_count() * sizeof(void *); in mysqlnd_net_init() local
900 MYSQLND_NET * net = mnd_pecalloc(1, alloc_size, persistent); in mysqlnd_net_init()
H A Dmysqlnd_result.c1717 size_t alloc_size = sizeof(MYSQLND_RES) + mysqlnd_plugin_count() * sizeof(void *); in mysqlnd_result_init() local
1718 MYSQLND_RES *ret = mnd_pecalloc(1, alloc_size, persistent); in mysqlnd_result_init()
H A Dmysqlnd_wireprotocol.c2100 size_t alloc_size = sizeof(MYSQLND_PROTOCOL) + mysqlnd_plugin_count() * sizeof(void *); in mysqlnd_protocol_init() local
2101 MYSQLND_PROTOCOL *ret = mnd_pecalloc(1, alloc_size, persistent); in mysqlnd_protocol_init()
H A Dmysqlnd.c2367 size_t alloc_size = sizeof(MYSQLND) + mysqlnd_plugin_count() * sizeof(void *); in _mysqlnd_init() local
2372 ret = mnd_pecalloc(1, alloc_size, persistent); in _mysqlnd_init()
H A Dmysqlnd_ps.c2355 size_t alloc_size = sizeof(MYSQLND_STMT) + mysqlnd_plugin_count() * sizeof(void *); in _mysqlnd_stmt_init() local
2356 MYSQLND_STMT * ret = mnd_pecalloc(1, alloc_size, conn->persistent); in _mysqlnd_stmt_init()

Completed in 30 milliseconds