Home
last modified time | relevance | path

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

/PHP-5.4/ext/mysqlnd/
H A Dmysqlnd_driver.c195 size_t alloc_size = sizeof(MYSQLND_STMT) + mysqlnd_plugin_count() * sizeof(void *); in MYSQLND_METHOD() local
196 MYSQLND_STMT * ret = mnd_pecalloc(1, alloc_size, conn->persistent); in MYSQLND_METHOD()
253 size_t alloc_size = sizeof(MYSQLND_NET) + mysqlnd_plugin_count() * sizeof(void *); in MYSQLND_METHOD() local
254 MYSQLND_NET * net = mnd_pecalloc(1, alloc_size, persistent); in MYSQLND_METHOD()
276 size_t alloc_size = sizeof(MYSQLND_PROTOCOL) + mysqlnd_plugin_count() * sizeof(void *); in MYSQLND_METHOD() local
277 MYSQLND_PROTOCOL *ret = mnd_pecalloc(1, alloc_size, persistent); in MYSQLND_METHOD()
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_result.c1683 size_t alloc_size = sizeof(MYSQLND_RES) + mysqlnd_plugin_count() * sizeof(void *); in mysqlnd_result_init() local
1684 MYSQLND_RES *ret = mnd_pecalloc(1, alloc_size, persistent); in mysqlnd_result_init()
/PHP-5.4/sapi/litespeed/
H A Dlsapi_main.c238 size_t alloc_size = sizeof(buf); in litespeed_php_import_environment_variables() local
269 if (nlen >= alloc_size) { in litespeed_php_import_environment_variables()
270 alloc_size = nlen + 64; in litespeed_php_import_environment_variables()
271 t = (t == buf ? emalloc(alloc_size): erealloc(t, alloc_size)); in litespeed_php_import_environment_variables()
/PHP-5.4/main/
H A Dphp_variables.c423 size_t alloc_size = sizeof(buf); in _php_import_environment_variables() local
432 if (nlen >= alloc_size) { in _php_import_environment_variables()
433 alloc_size = nlen + 64; in _php_import_environment_variables()
434 t = (t == buf ? emalloc(alloc_size): erealloc(t, alloc_size)); in _php_import_environment_variables()
/PHP-5.4/sapi/cgi/
H A Dcgi_main.c1592 size_t alloc_size = sizeof(buf); local
1601 if (var_len >= alloc_size) {
1602 alloc_size = var_len + 64;
1603 t = (t == buf ? emalloc(alloc_size): erealloc(t, alloc_size));
1615 if (var_len >= alloc_size) {
1616 alloc_size = var_len + 64;
1617 t = (t == buf ? emalloc(alloc_size): erealloc(t, alloc_size));

Completed in 21 milliseconds