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

/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));
/PHP_5_4/ext/mysqlnd/
H A Dmysqlnd_driver.c195 size_t alloc_size = sizeof(MYSQLND_STMT) + mysqlnd_plugin_count() * sizeof(void *); local
196 MYSQLND_STMT * ret = mnd_pecalloc(1, alloc_size, conn->persistent);
253 size_t alloc_size = sizeof(MYSQLND_NET) + mysqlnd_plugin_count() * sizeof(void *); local
254 MYSQLND_NET * net = mnd_pecalloc(1, alloc_size, persistent);
276 size_t alloc_size = sizeof(MYSQLND_PROTOCOL) + mysqlnd_plugin_count() * sizeof(void *); local
277 MYSQLND_PROTOCOL *ret = mnd_pecalloc(1, alloc_size, persistent);
H A Dmysqlnd_result_meta.c473 size_t alloc_size = sizeof(MYSQLND_RES_METADATA) + mysqlnd_plugin_count() * sizeof(void *); variable
474 MYSQLND_RES_METADATA *ret = mnd_pecalloc(1, alloc_size, persistent);
H A Dmysqlnd_result.c1683 size_t alloc_size = sizeof(MYSQLND_RES) + mysqlnd_plugin_count() * sizeof(void *); variable
1684 MYSQLND_RES *ret = mnd_pecalloc(1, alloc_size, persistent);
/PHP_5_4/main/
H A Dphp_variables.c423 size_t alloc_size = sizeof(buf); local
432 if (nlen >= alloc_size) {
433 alloc_size = nlen + 64;
434 t = (t == buf ? emalloc(alloc_size): erealloc(t, alloc_size));
/PHP_5_4/sapi/litespeed/
H A Dlsapi_main.c238 size_t alloc_size = sizeof(buf); local
269 if (nlen >= alloc_size) {
270 alloc_size = nlen + 64;
271 t = (t == buf ? emalloc(alloc_size): erealloc(t, alloc_size));

Completed in 15 milliseconds