Home
last modified time | relevance | path

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

/PHP-5.5/ext/mysqlnd/
H A Dmysqlnd_block_alloc.c34 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 Dmysqlnd_block_alloc.h27 PHPAPI void mysqlnd_mempool_destroy(MYSQLND_MEMORY_POOL * pool TSRMLS_DC);
H A Dmysqlnd_structs.h51 MYSQLND_MEMORY_POOL_CHUNK* (*get_chunk)(MYSQLND_MEMORY_POOL * pool, unsigned int size TSRMLS_DC);
57 MYSQLND_MEMORY_POOL *pool; member
/PHP-5.5/sapi/apache2handler/
H A Dsapi_apache2.c164 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 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-5.5/sapi/apache/
H A Dmod_php5.c44 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 Dphp_apache.c452 …ap_table_setn(r->subprocess_env, ap_pstrndup(r->pool, var, var_len), ap_pstrndup(r->pool, val, val… in PHP_FUNCTION()
/PHP-5.5/sapi/apache2filter/
H A Dsapi_apache2.c81 bb = apr_brigade_create(ctx->r->pool, ba); in php_apache_sapi_ub_write()
129 ctx->r->content_type = apr_pstrdup(ctx->r->pool, val); in php_apache_sapi_header_handler()
277 bb = apr_brigade_create(ctx->r->pool, ba); in php_apache_sapi_flush()
415 f->r->content_type = apr_pstrdup(f->r->pool, content_type); in php_apache_request_ctor()
436 ctx->r->user = apr_pstrdup(ctx->r->pool, SG(request_info).auth_user); in php_apache_request_ctor()
488 pbb = f->ctx = apr_palloc(f->r->pool, sizeof(*pbb)); in php_output_filter()
489 pbb->bb = apr_brigade_create(f->r->pool, f->c->bucket_alloc); in php_output_filter()
614 apr_pool_userdata_get(&data, userdata_key, s->process->pool); in php_apache_server_startup()
622 apr_pool_cleanup_null, s->process->pool); in php_apache_server_startup()
689 SG(server_context) = ctx = apr_pcalloc(r->pool, sizeof(*ctx)); in php_post_read_request()
[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-5.5/sapi/fpm/fpm/
H A Dfpm_scoreboard.c70 strlcpy(wp->scoreboard->pool, wp->config->name, sizeof(wp->scoreboard->pool)); in fpm_scoreboard_init_main()
296 zlog(ZLOG_DEBUG, "[pool %s] the proc->free_slot was not free. Let's search", scoreboard->pool); in fpm_scoreboard_proc_alloc()
306 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()
360 scoreboard.pool, in fpm_status_handle_request()
H A Dfpm_scoreboard.h54 char pool[32]; member
H A Dfpm_log.c136 …_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.5/sapi/apache_hooks/
H A Dmod_php5.c43 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 …]
H A Dphp_apache.c225 *target = ap_pstrdup(r->pool, new_value); in apache_request_string_slot()
974 r->content_type = pstrdup(r->pool, type); in PHP_FUNCTION()
1827 …ap_table_setn(r->subprocess_env, ap_pstrndup(r->pool, var, var_len), ap_pstrndup(r->pool, val, val… in PHP_FUNCTION()
/PHP-5.5/sapi/fpm/
H A Dphp-fpm.conf.in127 ; Start a new pool named 'www'.
129 ; pool name ('www' here)
132 ; Per pool prefix
144 ;prefix = /path/to/pools/$pool
260 ; pool - the name of the pool;
280 ; pool: www
376 ;access.log = log/$pool.access.log
408 ; %n: pool name
436 ;slowlog = log/$pool.log.slow
486 ; pool configuration are added.
[all …]
/PHP-5.5/ext/pdo_sqlite/tests/
H A Dbug35336.phpt15 $a = new PDO("sqlite::memory:");// pool ("sqlite::memory:");
/PHP-5.5/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-5.5/sapi/nsapi/
H A Dnsapi.c499 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()
/PHP-5.5/
H A Dphp.ini-development963 ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
1255 ; the database pool must be configured, and the connection string must
H A Dphp.ini-production963 ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
1255 ; the database pool must be configured, and the connection string must
H A DNEWS1030 . Fixed bug #67531 (syslog cannot be set in pool configuration). (Remi)
/PHP-5.5/ext/fileinfo/tests/
H A Dmagic10014 # MGR bitmaps (Michael Haardt, u31b3hs@pool.informatik.rwth-aachen.de)
10809 # From Martin Pool (m.pool@pharos.com.au)

Completed in 246 milliseconds