/PHP-5.3/ext/mysqlnd/ |
H A D | mysqlnd_block_alloc.c | 34 MYSQLND_MEMORY_POOL * pool = chunk->pool; in mysqlnd_mempool_free_chunk() local 38 if (chunk->ptr == (pool->arena + (pool->arena_size - pool->free_size - chunk->size))) { in mysqlnd_mempool_free_chunk() 45 pool->refcount--; in mysqlnd_mempool_free_chunk() 61 MYSQLND_MEMORY_POOL * pool = chunk->pool; in mysqlnd_mempool_resize_chunk() local 63 if (chunk->ptr == (pool->arena + (pool->arena_size - pool->free_size - chunk->size))) { in mysqlnd_mempool_resize_chunk() 79 pool->refcount--; in mysqlnd_mempool_resize_chunk() 98 pool->refcount--; in mysqlnd_mempool_resize_chunk() 130 chunk->pool = pool; in mysqlnd_mempool_get_chunk() 140 ++pool->refcount; in mysqlnd_mempool_get_chunk() 141 chunk->ptr = pool->arena + (pool->arena_size - pool->free_size); in mysqlnd_mempool_get_chunk() [all …]
|
H A D | mysqlnd_block_alloc.h | 27 PHPAPI void mysqlnd_mempool_destroy(MYSQLND_MEMORY_POOL * pool TSRMLS_DC);
|
H A D | mysqlnd_structs.h | 42 MYSQLND_MEMORY_POOL_CHUNK* (*get_chunk)(MYSQLND_MEMORY_POOL * pool, unsigned int size TSRMLS_DC); 48 MYSQLND_MEMORY_POOL *pool; member
|
/PHP-5.3/sapi/apache/ |
H A D | mod_php5.c | 44 static void php_init_handler(server_rec *s, pool *p); 48 static void php_child_exit_handler(server_rec *s, pool *p); 198 r->content_type = pstrdup(r->pool, header_content); in sapi_apache_header_handler() 549 char *p = getword(r->pool, &authorization, ' '); in init_request_info() 551 tmp = uudecode(r->pool, authorization); in init_request_info() 552 tmp_user = getword_nulls_nc(r->pool, &tmp, ':'); in init_request_info() 589 mimetype = pstrdup(r->pool, tmpmimetype); in php_apache_get_default_mimetype() 770 static void *php_create_dir(pool *p, char *dummy) in php_create_dir() 784 static void *php_merge_dir(pool *p, void *basev, void *addv) in php_merge_dir() 943 static void php_child_exit_handler(server_rec *s, pool *p) in php_child_exit_handler() [all …]
|
H A D | php_apache.c | 454 …ap_table_setn(r->subprocess_env, ap_pstrndup(r->pool, var, var_len), ap_pstrndup(r->pool, val, val… in PHP_FUNCTION()
|
/PHP-5.3/sapi/apache2handler/ |
H A D | sapi_apache2.c | 164 ctx->r->status_line = apr_pstrdup(ctx->r->pool, sline + 9); in php_apache_sapi_send_headers() 176 ap_set_content_type(ctx->r, apr_pstrdup(ctx->r->pool, ctx->content_type)); in php_apache_sapi_send_headers() 439 apr_pool_userdata_get(&data, userdata_key, s->process->pool); in php_apache_server_startup() 479 SG(request_info).query_string = apr_pstrdup(r->pool, r->args); in php_apache_request_ctor() 482 SG(request_info).request_uri = apr_pstrdup(r->pool, r->uri); in php_apache_request_ctor() 483 SG(request_info).path_translated = apr_pstrdup(r->pool, r->filename); in php_apache_request_ctor() 499 ctx->r->user = apr_pstrdup(ctx->r->pool, SG(request_info).auth_user); in php_apache_request_ctor() 534 apr_pool_cleanup_run(r->pool, (void *)&SG(server_context), php_server_context_cleanup); in php_apache_ini_dtor() 556 ctx = SG(server_context) = apr_pcalloc(r->pool, sizeof(*ctx)); in php_handler() 616 brigade = apr_brigade_create(r->pool, r->connection->bucket_alloc); in php_handler() [all …]
|
H A D | apache_config.c | 68 e.value = apr_pstrdup(cmd->pool, value); in real_value_hnd() 116 apache2_php_ini_path_override = ap_server_root_relative(cmd->pool, arg); in php_apache_phpini_set()
|
/PHP-5.3/sapi/apache2filter/ |
H A D | sapi_apache2.c | 81 bb = apr_brigade_create(ctx->r->pool, ba); in php_apache_sapi_ub_write() 129 ctx->r->content_type = apr_pstrdup(ctx->r->pool, val); in php_apache_sapi_header_handler() 277 bb = apr_brigade_create(ctx->r->pool, ba); in php_apache_sapi_flush() 416 f->r->content_type = apr_pstrdup(f->r->pool, content_type); in php_apache_request_ctor() 490 pbb = f->ctx = apr_palloc(f->r->pool, sizeof(*pbb)); in php_output_filter() 491 pbb->bb = apr_brigade_create(f->r->pool, f->c->bucket_alloc); in php_output_filter() 494 if(ap_save_brigade(NULL, &pbb->bb, &bb, f->r->pool) != APR_SUCCESS) { in php_output_filter() 616 apr_pool_userdata_get(&data, userdata_key, s->process->pool); in php_apache_server_startup() 624 apr_pool_cleanup_null, s->process->pool); in php_apache_server_startup() 691 SG(server_context) = ctx = apr_pcalloc(r->pool, sizeof(*ctx)); in php_post_read_request() [all …]
|
H A D | apache_config.c | 68 e.value = apr_pstrdup(cmd->pool, value); in real_value_hnd() 116 apache2_php_ini_path_override = ap_server_root_relative(cmd->pool, arg); in php_apache_phpini_set()
|
/PHP-5.3/sapi/fpm/fpm/ |
H A D | fpm_scoreboard.c | 70 strlcpy(wp->scoreboard->pool, wp->config->name, sizeof(wp->scoreboard->pool)); in fpm_scoreboard_init_main() 293 zlog(ZLOG_DEBUG, "[pool %s] the proc->free_slot was not free. Let's search", scoreboard->pool); in fpm_scoreboard_proc_alloc() 303 zlog(ZLOG_ERROR, "[pool %s] no free scoreboard slot", scoreboard->pool); in fpm_scoreboard_proc_alloc()
|
H A D | fpm_status.c | 96 zlog(ZLOG_NOTICE, "[pool %s] status: scoreboard already in used.", scoreboard_p->pool); in fpm_status_handle_request() 109 zlog(ZLOG_ERROR, "[pool %s] invalid status values", scoreboard.pool); in fpm_status_handle_request() 356 scoreboard.pool, in fpm_status_handle_request()
|
H A D | fpm_scoreboard.h | 54 char pool[32]; member
|
H A D | fpm_log.c | 134 …_WARNING, "[pool %s] Unable to acquire shm slot while preparing the access log", scoreboard->pool); in fpm_log_write() 286 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", scoreboard->pool[0] ? scoreboard->pool : "-"); in fpm_log_write()
|
/PHP-5.3/sapi/fpm/ |
H A D | php-fpm.conf.in | 119 ; Start a new pool named 'www'. 121 ; pool name ('www' here) 124 ; Per pool prefix 135 ;prefix = /path/to/pools/$pool 247 ; pool - the name of the pool; 267 ; pool: www 290 ; query string will also return status for each pool process. 363 ;access.log = log/$pool.access.log 395 ; %n: pool name 423 ;slowlog = log/$pool.log.slow [all …]
|
/PHP-5.3/sapi/apache_hooks/ |
H A D | mod_php5.c | 43 static void php_init_handler(server_rec *s, pool *p); 47 static void php_child_exit_handler(server_rec *s, pool *p); 343 r->content_type = pstrdup(r->pool, header_content); in sapi_apache_header_handler() 602 tmp = uudecode(r->pool, authorization); in init_request_info() 603 tmp_user = getword_nulls_nc(r->pool, &tmp, ':'); in init_request_info() 640 mimetype = pstrdup(r->pool, tmpmimetype); in php_apache_get_default_mimetype() 841 static void *php_create_server(pool *p, char *dummy) in php_create_server() 857 static void *php_create_dir(pool *p, char *dummy) in php_create_dir() 880 static void *php_merge_dir(pool *p, void *basev, void *addv) in php_merge_dir() 1230 static void php_child_exit_handler(server_rec *s, pool *p) in php_child_exit_handler() [all …]
|
H A D | php_apache.c | 225 *target = ap_pstrdup(r->pool, new_value); in apache_request_string_slot() 974 r->content_type = pstrdup(r->pool, type); in PHP_FUNCTION() 1828 …ap_table_setn(r->subprocess_env, ap_pstrndup(r->pool, var, var_len), ap_pstrndup(r->pool, val, val… in PHP_FUNCTION()
|
/PHP-5.3/ext/pdo_sqlite/tests/ |
H A D | bug35336.phpt | 15 $a = new PDO("sqlite::memory:");// pool ("sqlite::memory:");
|
/PHP-5.3/ext/oci8/tests/ |
H A D | drcp_conn_close2.phpt | 16 // With oci_close() the connection is released to the pool and hence the
|
H A D | drcp_pconn_close2.phpt | 16 // With oci_close() the connection is released to the pool and hence the
|
/PHP-5.3/sapi/nsapi/ |
H A D | nsapi.c | 501 header_name = pool_strdup(rc->sn->pool, sapi_header->header); in php_nsapi_remove_header() 515 pool_free(rc->sn->pool, header_name); in php_nsapi_remove_header() 539 header_name = pool_strdup(rc->sn->pool, sapi_header->header); in sapi_nsapi_header_handler() 562 pool_free(rc->sn->pool, header_name); in sapi_nsapi_header_handler() 1014 request_context = (nsapi_request_context *)pool_malloc(sn->pool, sizeof(nsapi_request_context)); in php5_execute() 1072 pool_free(sn->pool, request_context); in php5_execute()
|
/PHP-5.3/ |
H A D | TODO | 49 * Implement generalized connection pool for stated protocols such as
|
H A D | php.ini-development | 1061 ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off" 1358 ; the database pool must be configured, and the connection string must
|
H A D | php.ini-production | 1061 ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off" 1358 ; the database pool must be configured, and the connection string must
|
/PHP-5.3/ext/fileinfo/tests/ |
H A D | magic | 8453 # MGR bitmaps (Michael Haardt, u31b3hs@pool.informatik.rwth-aachen.de) 9141 # From Martin Pool (m.pool@pharos.com.au)
|