/PHP-7.3/ext/mysqlnd/ |
H A D | mysqlnd_block_alloc.c | 104 if (ptr == pool->last) { in mysqlnd_mempool_free_chunk() 110 pool->last = NULL; in mysqlnd_mempool_free_chunk() 124 if (ptr == pool->last in mysqlnd_mempool_resize_chunk() 134 pool->last = ptr = new_ptr; in mysqlnd_mempool_resize_chunk() 149 pool->last = ptr; in mysqlnd_mempool_get_chunk() 193 pool->checkpoint = mysqlnd_arena_checkpoint(pool->arena); in mysqlnd_mempool_save_state() 204 ZEND_ASSERT(pool->checkpoint); in mysqlnd_mempool_restore_state() 206 if (pool->checkpoint) { in mysqlnd_mempool_restore_state() 207 mysqlnd_arena_release(&pool->arena, pool->checkpoint); in mysqlnd_mempool_restore_state() 208 pool->last = NULL; in mysqlnd_mempool_restore_state() [all …]
|
H A D | mysqlnd_block_alloc.h | 24 PHPAPI void mysqlnd_mempool_destroy(MYSQLND_MEMORY_POOL * pool); 25 PHPAPI void mysqlnd_mempool_save_state(MYSQLND_MEMORY_POOL * pool); 26 PHPAPI void mysqlnd_mempool_restore_state(MYSQLND_MEMORY_POOL * pool);
|
H A D | mysqlnd_result.c | 1914 MYSQLND_MEMORY_POOL * pool; in mysqlnd_result_init() local 1920 if (!pool) { in mysqlnd_result_init() 1924 ret = pool->get_chunk(pool, alloc_size); in mysqlnd_result_init() 1927 ret->memory_pool = pool; in mysqlnd_result_init() 1931 mysqlnd_mempool_save_state(pool); in mysqlnd_result_init() 1948 ret = pool->get_chunk(pool, alloc_size); in mysqlnd_result_unbuffered_init() 1951 ret->lengths = pool->get_chunk(pool, field_count * sizeof(size_t)); in mysqlnd_result_unbuffered_init() 1982 ret = pool->get_chunk(pool, alloc_size); in mysqlnd_result_buffered_zval_init() 1989 ret->lengths = pool->get_chunk(pool, field_count * sizeof(size_t)); in mysqlnd_result_buffered_zval_init() 2023 ret = pool->get_chunk(pool, alloc_size); in mysqlnd_result_buffered_c_init() [all …]
|
H A D | mysqlnd_wireprotocol.c | 1356 MYSQLND_MEMORY_POOL * pool, in php_mysqlnd_read_row_ex() argument 1386 buffer->ptr = pool->get_chunk(pool, *data_size + prealloc_more_bytes); in php_mysqlnd_read_row_ex() 1409 …buffer->ptr = pool->resize_chunk(pool, buffer->ptr, *data_size - header.size, *data_size + preallo… in php_mysqlnd_read_row_ex() 1427 pool->free_chunk(pool, buffer->ptr); in php_mysqlnd_read_row_ex()
|
H A D | mysqlnd_structs.h | 59 void* (*get_chunk)(MYSQLND_MEMORY_POOL * pool, size_t size); 60 void* (*resize_chunk)(MYSQLND_MEMORY_POOL * pool, void * ptr, size_t old_size, size_t size); 61 void (*free_chunk)(MYSQLND_MEMORY_POOL * pool, void * ptr);
|
H A D | mysqlnd_ps.c | 254 MYSQLND_MEMORY_POOL * pool; in mysqlnd_stmt_skip_metadata() local 260 pool = mysqlnd_mempool_create(MYSQLND_G(mempool_default_size)); in mysqlnd_stmt_skip_metadata() 261 if (!pool) { in mysqlnd_stmt_skip_metadata() 267 field_packet.memory_pool = pool; in mysqlnd_stmt_skip_metadata() 278 mysqlnd_mempool_destroy(pool); in mysqlnd_stmt_skip_metadata()
|
/PHP-7.3/sapi/fpm/tests/ |
H A D | logtool.inc | 8 const P_PREFIX = '\[pool unconfined\] child \d+ said into stderr: '; 9 const P_PREFIX_STDOUT = '\[pool unconfined\] child \d+ said into stdout: '; 326 * @param string|null $pool 334 if ($pool !== null) { 335 $expectedMessage = '\[pool ' . $pool . '\] ' . $expectedMessage; 357 * @param string|null $pool 362 return $this->expectEntry('DEBUG', $line, $expectedMessage, $pool); 368 * @param string|null $pool 379 * @param string|null $pool 390 * @param string|null $pool [all …]
|
H A D | tester.inc | 785 $pool = $matches[2] ?? 'default'; 791 $varValue[] = $pool; 800 * @param string $pool 805 $port = $this->getPort($type, $pool, true); 815 * @param string $pool 826 return $this->ports['values'][$pool]; 1107 * @param string|null $pool 1119 * @param string|null $pool 1131 * @param string|null $pool 1143 * @param string|null $pool [all …]
|
H A D | status-basic.phpt | 21 'pool' => 'unconfined',
|
H A D | fpm_get_status_basic.phpt | 43 ["pool"]=>
|
H A D | status.inc | 23 'pool' => '\w+',
|
/PHP-7.3/sapi/apache2handler/ |
H A D | sapi_apache2.c | 155 ctx->r->status_line = apr_pstrdup(ctx->r->pool, sline + 9); in php_apache_sapi_send_headers() 167 ap_set_content_type(ctx->r, apr_pstrdup(ctx->r->pool, ctx->content_type)); in php_apache_sapi_send_headers() 461 apr_pool_userdata_get(&data, userdata_key, s->process->pool); in php_apache_server_startup() 506 SG(request_info).query_string = apr_pstrdup(r->pool, r->args); in php_apache_request_ctor() 509 SG(request_info).request_uri = apr_pstrdup(r->pool, r->uri); in php_apache_request_ctor() 510 SG(request_info).path_translated = apr_pstrdup(r->pool, r->filename); in php_apache_request_ctor() 532 ctx->r->user = apr_pstrdup(ctx->r->pool, SG(request_info).auth_user); in php_apache_request_ctor() 560 apr_pool_cleanup_run(r->pool, (void *)&SG(server_context), php_server_context_cleanup); in php_apache_ini_dtor() 586 ctx = SG(server_context) = apr_pcalloc(r->pool, sizeof(*ctx)); in php_handler() 646 brigade = apr_brigade_create(r->pool, r->connection->bucket_alloc); in php_handler() [all …]
|
H A D | apache_config.c | 66 e.value = apr_pstrdup(cmd->pool, value); in real_value_hnd() 114 apache2_php_ini_path_override = ap_server_root_relative(cmd->pool, arg); in php_apache_phpini_set()
|
/PHP-7.3/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 143 ; pool - the name of the pool; 163 ; pool: www 259 ;access.log = log/$pool.access.log 291 ; %n: pool name 323 ;slowlog = log/$pool.log.slow 392 ; pool configuration are added. [all …]
|
H A D | php-fpm.conf.in | 92 ; - The pool process will inherit the master process priority 133 ; ports and different management options. The name of the pool will be
|
/PHP-7.3/sapi/fpm/fpm/ |
H A D | fpm_scoreboard.c | 66 strlcpy(wp->scoreboard->pool, wp->config->name, sizeof(wp->scoreboard->pool)); in fpm_scoreboard_init_main() 322 zlog(ZLOG_DEBUG, "[pool %s] the proc->free_slot was not free. Let's search", scoreboard->pool); in fpm_scoreboard_proc_alloc() 332 zlog(ZLOG_ERROR, "[pool %s] no free scoreboard slot", scoreboard->pool); in fpm_scoreboard_proc_alloc()
|
H A D | fpm_status.c | 59 zlog(ZLOG_NOTICE, "[pool %s] status: scoreboard already in use.", scoreboard_p->pool); in fpm_status_export_to_zval() 83 add_assoc_string(status, "pool", scoreboard.pool); in fpm_status_export_to_zval() 192 zlog(ZLOG_NOTICE, "[pool %s] status: scoreboard already in used.", scoreboard_p->pool); in fpm_status_handle_request() 205 zlog(ZLOG_ERROR, "[pool %s] invalid status values", scoreboard.pool); in fpm_status_handle_request() 457 scoreboard.pool, in fpm_status_handle_request()
|
H A D | fpm_scoreboard.h | 52 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-7.3/ext/pdo_sqlite/tests/ |
H A D | bug35336.phpt | 15 $a = new PDO("sqlite::memory:");// pool ("sqlite::memory:");
|
/PHP-7.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-7.3/ |
H A D | UPGRADING | 283 . A new pool option decorate_workers_output has been added. It allows 287 . In PHP 7.3.11 a new pool option
|
H A D | php.ini-development | 1039 ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off" 1226 ; Default size of the mysqlnd memory pool, which is used by result sets. 1272 ; the database pool must be configured, and the connection string must
|
/PHP-7.3/ext/mbstring/oniguruma/src/ |
H A D | regcomp.c | 329 UChar* pool; in ops_make_string_pool() local 337 curr = pool = (UChar* )xmalloc((size_t )size); in ops_make_string_pool() 338 CHECK_NULL_RETURN_MEMERR(pool); in ops_make_string_pool() 382 reg->string_pool = pool; in ops_make_string_pool() 383 reg->string_pool_end = pool + size; in ops_make_string_pool()
|