Lines Matching refs:pool
157 ctx->r->status_line = apr_pstrdup(ctx->r->pool, sline + 9); in php_apache_sapi_send_headers()
169 ap_set_content_type(ctx->r, apr_pstrdup(ctx->r->pool, ctx->content_type)); in php_apache_sapi_send_headers()
463 apr_pool_userdata_get(&data, userdata_key, s->process->pool); in php_apache_server_startup()
470 apr_pool_userdata_set((const void *)1, userdata_key, apr_pool_cleanup_null, s->process->pool); in php_apache_server_startup()
508 SG(request_info).query_string = apr_pstrdup(r->pool, r->args); in php_apache_request_ctor()
511 SG(request_info).request_uri = apr_pstrdup(r->pool, r->uri); in php_apache_request_ctor()
512 SG(request_info).path_translated = apr_pstrdup(r->pool, r->filename); in php_apache_request_ctor()
534 ctx->r->user = apr_pstrdup(ctx->r->pool, SG(request_info).auth_user); in php_apache_request_ctor()
562 apr_pool_cleanup_run(r->pool, (void *)&SG(server_context), php_server_context_cleanup); in php_apache_ini_dtor()
588 ctx = SG(server_context) = apr_pcalloc(r->pool, sizeof(*ctx)); in php_handler()
593 …apr_pool_cleanup_register(r->pool, (void *)&SG(server_context), php_server_context_cleanup, apr_po… in php_handler()
648 brigade = apr_brigade_create(r->pool, r->connection->bucket_alloc); in php_handler()
707 apr_psprintf(ctx->r->pool, "%" APR_SIZE_T_FMT, zend_memory_peak_usage(1))); in php_handler()
726 apr_pool_cleanup_run(r->pool, (void *)&SG(server_context), php_server_context_cleanup); in php_handler()