Home
last modified time | relevance | path

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

/PHP-7.1/ext/mysqlnd/
H A Dmysqlnd_block_alloc.c34 if (chunk->ptr == (pool->arena + (pool->arena_size - pool->free_size - chunk->size))) { in mysqlnd_mempool_free_chunk()
39 pool->free_size += chunk->size; in mysqlnd_mempool_free_chunk()
57 if (chunk->ptr == (pool->arena + (pool->arena_size - pool->free_size - chunk->size))) { in mysqlnd_mempool_resize_chunk()
70 pool->free_size += chunk->size; in mysqlnd_mempool_resize_chunk()
75 pool->free_size += (chunk->size - size); in mysqlnd_mempool_resize_chunk()
120 if (size > pool->free_size) { in mysqlnd_mempool_get_chunk()
124 pool->free_chunk(pool, chunk); in mysqlnd_mempool_get_chunk()
129 chunk->ptr = pool->arena + (pool->arena_size - pool->free_size); in mysqlnd_mempool_get_chunk()
131 pool->free_size -= size; in mysqlnd_mempool_get_chunk()
169 mnd_efree(pool->arena); in mysqlnd_mempool_destroy()
[all …]
H A Dmysqlnd_block_alloc.h24 PHPAPI void mysqlnd_mempool_destroy(MYSQLND_MEMORY_POOL * pool);
H A Dmysqlnd_structs.h64 MYSQLND_MEMORY_POOL_CHUNK* (*get_chunk)(MYSQLND_MEMORY_POOL * pool, unsigned int size);
65 …enum_func_status (*resize_chunk)(MYSQLND_MEMORY_POOL * pool, MYSQLND_MEMORY_POOL_CHUNK * chunk, un…
66 void (*free_chunk)(MYSQLND_MEMORY_POOL * pool, MYSQLND_MEMORY_POOL_CHUNK * chunk);
H A Dmysqlnd_wireprotocol.c1461 MYSQLND_MEMORY_POOL * pool, in php_mysqlnd_read_row_ex() argument
1498 *buffer = pool->get_chunk(pool, *data_size + prealloc_more_bytes); in php_mysqlnd_read_row_ex()
1513 if (FAIL == pool->resize_chunk(pool, *buffer, *data_size + prealloc_more_bytes)) { in php_mysqlnd_read_row_ex()
1533 pool->free_chunk(pool, *buffer); in php_mysqlnd_read_row_ex()
H A Dmysqlnd_result.c257 MYSQLND_MEMORY_POOL * pool; in MYSQLND_METHOD() local
270 pool = set->result_set_memory_pool; in MYSQLND_METHOD()
273 pool->free_chunk(pool, current_buffer); in MYSQLND_METHOD()
/PHP-7.1/sapi/fpm/tests/
H A Dlogtool.inc8 const P_PREFIX = '\[pool unconfined\] child \d+ said into stderr: ';
312 * @param string|null $pool
320 if ($pool !== null) {
321 $expectedMessage = '\[pool ' . $pool . '\] ' . $expectedMessage;
343 * @param string|null $pool
348 return $this->expectEntry('DEBUG', $line, $expectedMessage, $pool);
354 * @param string|null $pool
365 * @param string|null $pool
376 * @param string|null $pool
381 return $this->expectEntry('ERROR', $line, $expectedMessage, $pool);
[all …]
H A Dtester.inc785 $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 Dstatus-basic.phpt21 'pool' => 'unconfined',
H A Dstatus.inc23 'pool' => '\w+',
/PHP-7.1/sapi/apache2handler/
H A Dsapi_apache2.c161 ctx->r->status_line = apr_pstrdup(ctx->r->pool, sline + 9); in php_apache_sapi_send_headers()
173 ap_set_content_type(ctx->r, apr_pstrdup(ctx->r->pool, ctx->content_type)); in php_apache_sapi_send_headers()
474 apr_pool_userdata_get(&data, userdata_key, s->process->pool); in php_apache_server_startup()
519 SG(request_info).query_string = apr_pstrdup(r->pool, r->args); in php_apache_request_ctor()
522 SG(request_info).request_uri = apr_pstrdup(r->pool, r->uri); in php_apache_request_ctor()
523 SG(request_info).path_translated = apr_pstrdup(r->pool, r->filename); in php_apache_request_ctor()
545 ctx->r->user = apr_pstrdup(ctx->r->pool, SG(request_info).auth_user); in php_apache_request_ctor()
573 apr_pool_cleanup_run(r->pool, (void *)&SG(server_context), php_server_context_cleanup); in php_apache_ini_dtor()
599 ctx = SG(server_context) = apr_pcalloc(r->pool, sizeof(*ctx)); in php_handler()
659 brigade = apr_brigade_create(r->pool, r->connection->bucket_alloc); in php_handler()
[all …]
H A Dapache_config.c68 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-7.1/sapi/fpm/fpm/
H A Dfpm_scoreboard.c74 strlcpy(wp->scoreboard->pool, wp->config->name, sizeof(wp->scoreboard->pool)); in fpm_scoreboard_init_main()
303 zlog(ZLOG_DEBUG, "[pool %s] the proc->free_slot was not free. Let's search", scoreboard->pool); in fpm_scoreboard_proc_alloc()
313 zlog(ZLOG_ERROR, "[pool %s] no free scoreboard slot", scoreboard->pool); in fpm_scoreboard_proc_alloc()
H A Dfpm_status.c96 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()
361 scoreboard.pool, in fpm_status_handle_request()
H A Dfpm_scoreboard.h53 char pool[32]; member
H A Dfpm_log.c135 …_WARNING, "[pool %s] Unable to acquire shm slot while preparing the access log", scoreboard->pool); in fpm_log_write()
287 len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", scoreboard->pool[0] ? scoreboard->pool : "-"); in fpm_log_write()
/PHP-7.1/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
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
373 ; pool configuration are added.
[all …]
H A Dphp-fpm.conf.in74 ; - The pool process will inherit the master process priority
115 ; ports and different management options. The name of the pool will be
/PHP-7.1/ext/pdo_sqlite/tests/
H A Dbug35336.phpt15 $a = new PDO("sqlite::memory:");// pool ("sqlite::memory:");
/PHP-7.1/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
/PHP-7.1/
H A Dphp.ini-development1024 ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
1229 ; Default size of the mysqlnd memory pool, which is used by result sets.
1280 ; the database pool must be configured, and the connection string must
H A Dphp.ini-production1024 ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
1229 ; Default size of the mysqlnd memory pool, which is used by result sets.
1280 ; the database pool must be configured, and the connection string must
/PHP-7.1/ext/fileinfo/tests/
H A Dmagic11307 # MGR bitmaps (Michael Haardt, u31b3hs@pool.informatik.rwth-aachen.de)
12229 # From Martin Pool (m.pool@pharos.com.au)
H A Dmagic私はガラスを食べられます11307 # MGR bitmaps (Michael Haardt, u31b3hs@pool.informatik.rwth-aachen.de)
12229 # From Martin Pool (m.pool@pharos.com.au)

Completed in 219 milliseconds