/PHP-5.6/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);
|
/PHP-5.6/sapi/fpm/tests/ |
H A D | 015.phpt | 77 [%s] NOTICE: [pool pool1] pm.start_servers is not set. It's been set to 2. 78 [%s] NOTICE: [pool pool1] 'user' directive is ignored when FPM is not running as root 81 [%s] WARNING: [pool pool2] child %d said into stderr: "ERROR: Wrong IP address 'xxx' in listen.allo… 82 [%s] WARNING: [pool pool2] child %d said into stderr: "ERROR: There are no allowed addresses for th… 83 [%s] WARNING: [pool pool2] child %d said into stderr: "ERROR: Connection disallowed: IP address '12…
|
H A D | 016.phpt | 63 [%s] NOTICE: [pool aaaa] 'user' directive is ignored when FPM is not running as root 64 [%s] NOTICE: [pool bbbb] 'user' directive is ignored when FPM is not running as root 65 [%s] NOTICE: [pool cccc] 'user' directive is ignored when FPM is not running as root 66 [%s] NOTICE: [pool dddd] 'user' directive is ignored when FPM is not running as root 67 [%s] NOTICE: [pool eeee] 'user' directive is ignored when FPM is not running as root
|
H A D | 010.phpt | 42 var_dump(strpos($json, 'application/json') && strpos($json, '"pool":"unconfined"')); 67 pool: unconfined
|
H A D | apparmor.phpt | 4 This test tries to launches a pool which tries to change to non existing
|
H A D | 008.phpt | 2 FPM: Test multi pool (dynamic + ondemand + static) (bug #68423)
|
H A D | 020.phpt | 2 FPM: Test pool prefix
|
/PHP-5.6/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() 438 apr_pool_userdata_get(&data, userdata_key, s->process->pool); in php_apache_server_startup() 478 SG(request_info).query_string = apr_pstrdup(r->pool, r->args); in php_apache_request_ctor() 481 SG(request_info).request_uri = apr_pstrdup(r->pool, r->uri); in php_apache_request_ctor() 482 SG(request_info).path_translated = apr_pstrdup(r->pool, r->filename); in php_apache_request_ctor() 500 ctx->r->user = apr_pstrdup(ctx->r->pool, SG(request_info).auth_user); in php_apache_request_ctor() 532 apr_pool_cleanup_run(r->pool, (void *)&SG(server_context), php_server_context_cleanup); in php_apache_ini_dtor() 554 ctx = SG(server_context) = apr_pcalloc(r->pool, sizeof(*ctx)); in php_handler() 614 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.6/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() 545 char *p = getword(r->pool, &authorization, ' '); in init_request_info() 547 tmp = uudecode(r->pool, authorization); in init_request_info() 548 tmp_user = getword_nulls_nc(r->pool, &tmp, ':'); in init_request_info() 585 mimetype = pstrdup(r->pool, tmpmimetype); in php_apache_get_default_mimetype() 766 static void *php_create_dir(pool *p, char *dummy) in php_create_dir() 780 static void *php_merge_dir(pool *p, void *basev, void *addv) in php_merge_dir() 939 static void php_child_exit_handler(server_rec *s, pool *p) in php_child_exit_handler() [all …]
|
H A D | php_apache.c | 452 …ap_table_setn(r->subprocess_env, ap_pstrndup(r->pool, var, var_len), ap_pstrndup(r->pool, val, val… in PHP_FUNCTION()
|
/PHP-5.6/sapi/apache2filter/ |
H A D | sapi_apache2.c | 81 bb = apr_brigade_create(ctx->r->pool, ba); in php_apache_sapi_ub_write() 127 ctx->r->content_type = apr_pstrdup(ctx->r->pool, val); in php_apache_sapi_header_handler() 280 bb = apr_brigade_create(ctx->r->pool, ba); in php_apache_sapi_flush() 385 ctx->post_data = apr_brigade_create(f->r->pool, f->c->bucket_alloc); in php_input_filter() 414 f->r->content_type = apr_pstrdup(f->r->pool, content_type); in php_apache_request_ctor() 485 pbb = f->ctx = apr_palloc(f->r->pool, sizeof(*pbb)); in php_output_filter() 486 pbb->bb = apr_brigade_create(f->r->pool, f->c->bucket_alloc); in php_output_filter() 611 apr_pool_userdata_get(&data, userdata_key, s->process->pool); in php_apache_server_startup() 619 apr_pool_cleanup_null, s->process->pool); in php_apache_server_startup() 686 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.6/sapi/fpm/fpm/ |
H A D | fpm_scoreboard.c | 75 strlcpy(wp->scoreboard->pool, wp->config->name, sizeof(wp->scoreboard->pool)); in fpm_scoreboard_init_main() 304 zlog(ZLOG_DEBUG, "[pool %s] the proc->free_slot was not free. Let's search", scoreboard->pool); in fpm_scoreboard_proc_alloc() 314 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() 360 scoreboard.pool, in fpm_status_handle_request()
|
H A D | fpm_scoreboard.h | 54 char pool[32]; member
|
H A D | fpm_log.c | 136 …_WARNING, "[pool %s] Unable to acquire shm slot while preparing the access log", scoreboard->pool); in fpm_log_write() 288 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", scoreboard->pool[0] ? scoreboard->pool : "-"); in fpm_log_write()
|
/PHP-5.6/sapi/fpm/ |
H A D | www.conf.in | 1 ; Start a new pool named 'www'. 3 ; pool name ('www' here) 6 ; Per pool prefix 18 ;prefix = /path/to/pools/$pool 137 ; pool - the name of the pool; 157 ; pool: www 253 ;access.log = log/$pool.access.log 285 ; %n: pool name 317 ;slowlog = log/$pool.log.slow 367 ; pool configuration are added. [all …]
|
H A D | php-fpm.conf.in | 127 ; Start a new pool named 'www'. 129 ; pool name ('www' here) 132 ; Per pool prefix 144 ;prefix = /path/to/pools/$pool 271 ; pool - the name of the pool; 291 ; pool: www 387 ;access.log = log/$pool.access.log 419 ; %n: pool name 447 ;slowlog = log/$pool.log.slow 497 ; pool configuration are added. [all …]
|
/PHP-5.6/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() 597 tmp = uudecode(r->pool, authorization); in init_request_info() 598 tmp_user = getword_nulls_nc(r->pool, &tmp, ':'); in init_request_info() 635 mimetype = pstrdup(r->pool, tmpmimetype); in php_apache_get_default_mimetype() 836 static void *php_create_server(pool *p, char *dummy) in php_create_server() 852 static void *php_create_dir(pool *p, char *dummy) in php_create_dir() 875 static void *php_merge_dir(pool *p, void *basev, void *addv) in php_merge_dir() 1225 static void php_child_exit_handler(server_rec *s, pool *p) in php_child_exit_handler() [all …]
|
/PHP-5.6/ext/pdo_sqlite/tests/ |
H A D | bug35336.phpt | 15 $a = new PDO("sqlite::memory:");// pool ("sqlite::memory:");
|
/PHP-5.6/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.6/sapi/nsapi/ |
H A D | nsapi.c | 499 header_name = pool_strdup(rc->sn->pool, sapi_header->header); in php_nsapi_remove_header() 513 pool_free(rc->sn->pool, header_name); in php_nsapi_remove_header() 537 header_name = pool_strdup(rc->sn->pool, sapi_header->header); in sapi_nsapi_header_handler() 560 pool_free(rc->sn->pool, header_name); in sapi_nsapi_header_handler() 1009 request_context = (nsapi_request_context *)pool_malloc(sn->pool, sizeof(nsapi_request_context)); in php5_execute() 1067 pool_free(sn->pool, request_context); in php5_execute()
|