Lines Matching refs:pool

51     apr_pool_t *pool;
70 apr_pool_t *pool;
81 apr_pool_t *pool;
201 apr_pool_t *pool;
203 apr_pool_create(&pool, file->pool);
205 rec = apr_pcalloc(pool, sizeof(uuid_rec));
206 rec->pool = pool;
208 rec->uuid = apr_pstrdup(pool, header->uuid);
220 apr_pool_cleanup_register(pool, rec, cleanup_uuid_rec, cleanup_uuid_rec);
235 apr_pool_t *pool;
237 apr_pool_create(&pool, file->pool);
239 to = apr_pstrcat(pool, header->uuid, header->direction == '>' ? ".response"
241 from = apr_pstrcat(pool, to, ".part", NULL);
244 APR_FILEPATH_SECUREROOT, pool);
247 APR_FILEPATH_SECUREROOT, pool);
249 if (APR_SUCCESS == (status = apr_file_mtime_set(nfrom, file->end, pool))) {
250 if (APR_SUCCESS != (status = apr_file_rename(nfrom, nto, pool))) {
276 apr_pool_destroy(pool);
289 apr_pool_t *pool;
292 apr_pool_create(&pool, file->pool);
294 for (hi = apr_hash_first(pool, file->filters); hi; hi = apr_hash_next(hi)) {
306 apr_pool_destroy(pool);
324 apr_pool_t *pool;
332 apr_pool_create(&pool, file->pool);
335 = apr_pstrcat(pool, header->uuid,
340 APR_FILEPATH_SECUREROOT, pool);
343 | APR_CREATE | APR_APPEND, APR_OS_DEFAULT, pool))) {
363 apr_pool_destroy(pool);
509 bb = apr_brigade_create(file->pool, file->alloc);
510 obb = apr_brigade_create(file->pool, file->alloc);
628 apr_pool_destroy(header.rec->pool);
653 apr_pool_t *pool;
666 if (APR_SUCCESS != (status = apr_pool_create(&pool, NULL))) {
674 file = apr_pcalloc(pool, sizeof(file_rec));
675 apr_file_open_stderr(&file->file_err, pool);
676 apr_file_open_stdin(&file->file_in, pool);
677 apr_file_open_stdout(&file->file_out, pool);
679 file->pool = pool;
680 file->alloc = apr_bucket_alloc_create(pool);
681 file->bb = apr_brigade_create(pool, file->alloc);
682 file->request_uuids = apr_hash_make(pool);
683 file->response_uuids = apr_hash_make(pool);
684 file->filters = apr_hash_make(pool);
686 apr_getopt_init(&opt, pool, argc, argv);
693 APR_OS_DEFAULT, pool);
703 status = apr_stat(&finfo, optarg, APR_FINFO_TYPE, pool);
720 apr_pool_create(&pchild, pool);
722 rec->pool = pchild;
749 apr_pool_create(&pchild, pool);
751 filter->pool = pchild;