Home
last modified time | relevance | path

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

12

/PHP-8.0/ext/mysqlnd/
H A Dmysqlnd_block_alloc.c32 if (ptr == pool->last) { in mysqlnd_mempool_free_chunk()
37 pool->arena->ptr = (char*)ptr; in mysqlnd_mempool_free_chunk()
38 pool->last = NULL; in mysqlnd_mempool_free_chunk()
54 if (ptr == pool->last in mysqlnd_mempool_resize_chunk()
67 pool->last = ptr = new_ptr; in mysqlnd_mempool_resize_chunk()
81 pool->last = ptr; in mysqlnd_mempool_get_chunk()
125 pool->checkpoint = zend_arena_checkpoint(pool->arena); in mysqlnd_mempool_save_state()
138 if (pool->checkpoint) { in mysqlnd_mempool_restore_state()
139 zend_arena_release(&pool->arena, pool->checkpoint); in mysqlnd_mempool_restore_state()
140 pool->last = NULL; 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.c1929 MYSQLND_MEMORY_POOL * pool; in mysqlnd_result_init() local
1935 if (!pool) { in mysqlnd_result_init()
1939 ret = pool->get_chunk(pool, alloc_size); in mysqlnd_result_init()
1942 ret->memory_pool = pool; in mysqlnd_result_init()
1946 mysqlnd_mempool_save_state(pool); in mysqlnd_result_init()
1963 ret = pool->get_chunk(pool, alloc_size); in mysqlnd_result_unbuffered_init()
1966 ret->lengths = pool->get_chunk(pool, field_count * sizeof(size_t)); in mysqlnd_result_unbuffered_init()
1997 ret = pool->get_chunk(pool, alloc_size); in mysqlnd_result_buffered_zval_init()
2004 ret->lengths = pool->get_chunk(pool, field_count * sizeof(size_t)); in mysqlnd_result_buffered_zval_init()
2038 ret = pool->get_chunk(pool, alloc_size); in mysqlnd_result_buffered_c_init()
[all …]
H A Dmysqlnd_ps.c283 MYSQLND_MEMORY_POOL * pool; in mysqlnd_stmt_skip_metadata() local
289 pool = mysqlnd_mempool_create(MYSQLND_G(mempool_default_size)); in mysqlnd_stmt_skip_metadata()
290 if (!pool) { in mysqlnd_stmt_skip_metadata()
296 field_packet.memory_pool = pool; in mysqlnd_stmt_skip_metadata()
307 mysqlnd_mempool_destroy(pool); in mysqlnd_stmt_skip_metadata()
H A Dmysqlnd_structs.h57 void* (*get_chunk)(MYSQLND_MEMORY_POOL * pool, size_t size);
58 void* (*resize_chunk)(MYSQLND_MEMORY_POOL * pool, void * ptr, size_t old_size, size_t size);
59 void (*free_chunk)(MYSQLND_MEMORY_POOL * pool, void * ptr);
H A Dmysqlnd_wireprotocol.c1373 MYSQLND_MEMORY_POOL * pool, in php_mysqlnd_read_row_ex() argument
1425 buffer->ptr = pool->get_chunk(pool, *data_size + header.size + prealloc_more_bytes); in php_mysqlnd_read_row_ex()
1440 pool->free_chunk(pool, buffer->ptr); in php_mysqlnd_read_row_ex()
/PHP-8.0/sapi/fpm/tests/
H A Dlogtool.inc9 const P_PREFIX = '\[pool unconfined\] child \d+ said into stderr: ';
493 ?string $pool,
496 if ($pool !== null) {
497 $expectedMessage = '\[pool ' . $pool . '\] ' . $expectedMessage;
553 string $pool = null,
584 string $pool = null,
601 * @param string|null $pool
615 * @param string|null $pool
629 * @param string|null $pool
643 * @param string|null $pool
[all …]
H A Dtester.inc1092 * @param string $pool
1118 * @param string $pool
1516 * @param string|null $pool The pool for pool prefixed log entry
1525 string $pool = null,
1541 * @param string|null $pool
1556 * @param string|null $pool
1571 * @param string|null $pool
1586 * @param string|null $pool
1601 * @param string|null $pool
1650 * @param string|null $pool The pool for pool prefixed log entry
[all …]
H A Dstatus-basic.phpt21 'pool' => 'unconfined',
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 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 Dfpm_get_status_basic.phpt43 ["pool"]=>
H A Dstatus.inc23 'pool' => '\w+',
/PHP-8.0/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()
465 apr_pool_userdata_get(&data, userdata_key, s->process->pool); in php_apache_server_startup()
513 SG(request_info).query_string = apr_pstrdup(r->pool, r->args); in php_apache_request_ctor()
516 SG(request_info).request_uri = apr_pstrdup(r->pool, r->uri); in php_apache_request_ctor()
517 SG(request_info).path_translated = apr_pstrdup(r->pool, r->filename); in php_apache_request_ctor()
539 ctx->r->user = apr_pstrdup(ctx->r->pool, SG(request_info).auth_user); in php_apache_request_ctor()
567 apr_pool_cleanup_run(r->pool, (void *)&SG(server_context), php_server_context_cleanup); in php_apache_ini_dtor()
595 ctx = SG(server_context) = apr_pcalloc(r->pool, sizeof(*ctx)); in php_handler()
655 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-8.0/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
144 ; pool - the name of the pool;
164 ; pool: www
276 ;access.log = log/$pool.access.log
308 ; %n: pool name
340 ;slowlog = log/$pool.log.slow
409 ; pool configuration are added.
[all …]
H A Dphp-fpm.conf.in92 ; - The pool process will inherit the master process priority
133 ; ports and different management options. The name of the pool will be
/PHP-8.0/sapi/fpm/fpm/
H A Dfpm_scoreboard.c66 strlcpy(wp->scoreboard->pool, wp->config->name, sizeof(wp->scoreboard->pool)); in fpm_scoreboard_init_main()
414 zlog(ZLOG_DEBUG, "[pool %s] the proc->free_slot was not free. Let's search", scoreboard->pool); in fpm_scoreboard_proc_alloc()
424 zlog(ZLOG_ERROR, "[pool %s] no free scoreboard slot", scoreboard->pool); in fpm_scoreboard_proc_alloc()
H A Dfpm_status.c58 zlog(ZLOG_NOTICE, "[pool %s] status: scoreboard already in use.", scoreboard_p->pool); in fpm_status_export_to_zval()
82 add_assoc_string(status, "pool", scoreboard.pool); in fpm_status_export_to_zval()
196 zlog(ZLOG_ERROR, "[pool %s] invalid status values", scoreboard_p->pool); in fpm_status_handle_request()
424 scoreboard_p->pool, in fpm_status_handle_request()
H A Dfpm_scoreboard.h55 char pool[32]; member
H A Dfpm_log.c134 …_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-8.0/ext/pdo_sqlite/tests/
H A Dbug35336.phpt15 $a = new PDO("sqlite::memory:");// pool ("sqlite::memory:");
/PHP-8.0/ext/oci8/tests/
H A Ddrcp_conn_close2.phpt16 // With oci_close() the connection is released to the pool and hence the
H A Ddrcp_pconn_close2.phpt16 // With oci_close() the connection is released to the pool and hence the

Completed in 117 milliseconds

12