Home
last modified time | relevance | path

Searched refs:pool (Results 1 – 25 of 36) sorted by relevance

12

/php-src/ext/mysqlnd/
H A Dmysqlnd_block_alloc.c27 mysqlnd_mempool_get_chunk(MYSQLND_MEMORY_POOL * pool, size_t size) in mysqlnd_mempool_get_chunk() argument
30 DBG_RETURN(zend_arena_alloc(&pool->arena, size)); in mysqlnd_mempool_get_chunk()
55 mysqlnd_mempool_destroy(MYSQLND_MEMORY_POOL * pool) in mysqlnd_mempool_destroy() argument
59 zend_arena_destroy(pool->arena); in mysqlnd_mempool_destroy()
66 mysqlnd_mempool_save_state(MYSQLND_MEMORY_POOL * pool) in mysqlnd_mempool_save_state() argument
69 pool->checkpoint = zend_arena_checkpoint(pool->arena); in mysqlnd_mempool_save_state()
76 mysqlnd_mempool_restore_state(MYSQLND_MEMORY_POOL * pool) in mysqlnd_mempool_restore_state() argument
80 ZEND_ASSERT(pool->checkpoint); in mysqlnd_mempool_restore_state()
82 if (pool->checkpoint) { in mysqlnd_mempool_restore_state()
83 zend_arena_release(&pool->arena, pool->checkpoint); in mysqlnd_mempool_restore_state()
[all …]
H A Dmysqlnd_block_alloc.h22 PHPAPI void mysqlnd_mempool_destroy(MYSQLND_MEMORY_POOL * pool);
23 PHPAPI void mysqlnd_mempool_save_state(MYSQLND_MEMORY_POOL * pool);
24 PHPAPI void mysqlnd_mempool_restore_state(MYSQLND_MEMORY_POOL * pool);
H A Dmysqlnd_result.c1114 MYSQLND_MEMORY_POOL * pool; in mysqlnd_result_init() local
1120 if (!pool) { in mysqlnd_result_init()
1124 ret = pool->get_chunk(pool, alloc_size); in mysqlnd_result_init()
1127 ret->row_data = pool->get_chunk(pool, field_count * sizeof(zval)); in mysqlnd_result_init()
1130 ret->memory_pool = pool; in mysqlnd_result_init()
1134 mysqlnd_mempool_save_state(pool); in mysqlnd_result_init()
1151 ret = pool->get_chunk(pool, alloc_size); in mysqlnd_result_unbuffered_init()
1154 ret->result_set_memory_pool = pool; in mysqlnd_result_unbuffered_init()
1167 ret->lengths = pool->get_chunk(pool, field_count * sizeof(size_t)); in mysqlnd_result_unbuffered_init()
1186 ret = pool->get_chunk(pool, alloc_size); in mysqlnd_result_buffered_init()
[all …]
/php-src/sapi/fpm/tests/
H A Dlogtool.inc9 const P_PREFIX = '\[pool unconfined\] child \d+ said into stderr: ';
508 ?string $pool,
511 if ($pool !== null) {
512 $expectedMessage = '\[pool ' . $pool . '\] ' . $expectedMessage;
572 ?string $pool = null,
607 ?string $pool = null,
637 * @param string|null $pool
651 * @param string|null $pool
665 * @param string|null $pool
679 * @param string|null $pool
[all …]
H A Dtester.inc1806 * @param string|null $pool The pool for pool prefixed log entry.
1852 * @param string|null $pool The pool for pool prefixed log entry.
1874 $pool,
1888 * @param string|null $pool The pool for pool prefixed log entry.
1910 $pool,
1923 * @param string|null $pool The pool for pool prefixed log entry.
1945 $pool,
1958 * @param string|null $pool The pool for pool prefixed log entry.
1993 * @param string|null $pool The pool for pool prefixed log entry.
2153 * @param string|null $pool The pool for pool prefixed log entry
[all …]
H A Dbug68591-conf-test-user.phpt31 ERROR: [pool unconfined] cannot get uid for user 'aaaaaa'
H A Dbug68591-conf-test-group.phpt32 ERROR: [pool unconfined] cannot get gid for group 'aaaaaa'
H A Dbug68591-conf-test-listen-group.phpt32 ERROR: [pool unconfined] cannot get gid for group 'aaaaaa': %s
H A Dbug68591-conf-test-listen-owner.phpt32 ERROR: [pool unconfined] cannot get uid for user 'aaaaaa': %s
H A Dstatus-ping.phpt2 FPM: Ping on the status invisible pool
H A Dstatus-listen-expose-php-off.phpt2 FPM: Status pool is inheriting FPM setting overrides test - expose_php = off
H A Dstatus-listen-expose-php-on.phpt2 FPM: Status pool is inheriting FPM setting overrides test - expose_php = on
H A Dbug76601-reload-child-signals.phpt39 …* [22-Oct-2019 03:28:19.532703] DEBUG: pid 21315, fpm_pctl_kill_all(), line 161: [pool unconfi…
40 …* [22-Oct-2019 03:28:19.533471] DEBUG: pid 21315, fpm_children_bury(), line 259: [pool unconfi…
H A Dstatus-basic.phpt21 'pool' => 'unconfined',
H A Dbug80024-socket-reduced-inherit.phpt2 FPM: bug80024 - Duplication of info about inherited socket after pool removing
H A Dstatus-listen.phpt22 'pool' => 'unconfined',
H A Dstatus.inc24 'pool' => '\w+',
234 …$pattern = "(# HELP phpfpm_up Could pool " . $fields['pool'] . " using a " . $fields['process mana…
240 "# HELP phpfpm_accepted_connections The number of requests accepted by the pool\.\n" .
/php-src/sapi/apache2handler/
H A Dsapi_apache2.c159 ctx->r->status_line = apr_pstrdup(ctx->r->pool, sline + 9); in php_apache_sapi_send_headers()
171 ap_set_content_type(ctx->r, apr_pstrdup(ctx->r->pool, ctx->content_type)); in php_apache_sapi_send_headers()
472 apr_pool_userdata_get(&data, userdata_key, s->process->pool); in php_apache_server_startup()
525 SG(request_info).query_string = apr_pstrdup(r->pool, r->args); in php_apache_request_ctor()
528 SG(request_info).request_uri = apr_pstrdup(r->pool, r->uri); in php_apache_request_ctor()
529 SG(request_info).path_translated = apr_pstrdup(r->pool, r->filename); in php_apache_request_ctor()
551 ctx->r->user = apr_pstrdup(ctx->r->pool, SG(request_info).auth_user); in php_apache_request_ctor()
579 apr_pool_cleanup_run(r->pool, (void *)&SG(server_context), php_server_context_cleanup); in php_apache_ini_dtor()
607 ctx = SG(server_context) = apr_pcalloc(r->pool, sizeof(*ctx)); in php_handler()
667 brigade = apr_brigade_create(r->pool, r->connection->bucket_alloc); in php_handler()
[all …]
H A Dapache_config.c70 e.value = apr_pstrdup(cmd->pool, value); in real_value_hnd()
118 apache2_php_ini_path_override = ap_server_root_relative(cmd->pool, arg); in php_apache_phpini_set()
/php-src/sapi/fpm/
H A Dwww.conf.in1 ; Start a new pool named 'www'.
3 ; pool name ('www' here)
6 ; Per pool prefix
18 ;prefix = /path/to/pools/$pool
163 ; pool - the name of the pool;
183 ; pool: www
295 ;access.log = log/$pool.access.log
327 ; %n: pool name
375 ;slowlog = log/$pool.log.slow
444 ; pool configuration are added.
[all …]
/php-src/sapi/fpm/fpm/
H A Dfpm_scoreboard.c66 strlcpy(wp->scoreboard->pool, wp->config->name, sizeof(wp->scoreboard->pool)); in fpm_scoreboard_init_main()
417 zlog(ZLOG_DEBUG, "[pool %s] the proc->free_slot was not free. Let's search", scoreboard->pool); in fpm_scoreboard_proc_alloc()
427 zlog(ZLOG_ERROR, "[pool %s] no free scoreboard slot", scoreboard->pool); in fpm_scoreboard_proc_alloc()
H A Dfpm_status.c84 add_assoc_string(status, "pool", scoreboard.pool); in fpm_status_export_to_zval()
205 zlog(ZLOG_ERROR, "[pool %s] invalid status values", scoreboard_p->pool); in fpm_status_handle_request()
497 scoreboard_p->pool, in fpm_status_handle_request()
514 scoreboard_p->pool, in fpm_status_handle_request()
H A Dfpm_scoreboard.h55 char pool[32]; member
H A Dfpm_log.c144 …_WARNING, "[pool %s] Unable to acquire shm slot while preparing the access log", scoreboard->pool); in fpm_log_write()
303 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", scoreboard->pool[0] ? scoreboard->pool : "-"); in fpm_log_write()
/php-src/ext/pdo_sqlite/tests/
H A Dbug35336.phpt13 $a = new PDO("sqlite::memory:");// pool ("sqlite::memory:");

Completed in 48 milliseconds

12