Lines Matching refs:pool
164 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()
445 apr_pool_userdata_set((const void *)1, userdata_key, apr_pool_cleanup_null, 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()
559 …apr_pool_cleanup_register(r->pool, (void *)&SG(server_context), php_server_context_cleanup, apr_po… in php_handler()
614 brigade = apr_brigade_create(r->pool, r->connection->bucket_alloc); in php_handler()
673 apr_psprintf(ctx->r->pool, "%" APR_SIZE_T_FMT, zend_memory_peak_usage(1 TSRMLS_CC))); in php_handler()
692 apr_pool_cleanup_run(r->pool, (void *)&SG(server_context), php_server_context_cleanup); in php_handler()