Lines Matching refs:pool
94 apr_pool_t *pool)
165 APR_THREAD_MUTEX_DEFAULT, pool);
208 (*new) = (apr_file_t *)apr_pcalloc(pool, sizeof(apr_file_t));
209 (*new)->pool = pool;
213 (*new)->fname = apr_pstrdup(pool, fname);
219 (*new)->buffer = apr_palloc(pool, APR_FILE_DEFAULT_BUFSIZE);
246 apr_pool_cleanup_register((*new)->pool, (void *)(*new),
255 return apr_pool_cleanup_run(file->pool, file, apr_unix_file_cleanup);
258 APR_DECLARE(apr_status_t) apr_file_remove(const char *path, apr_pool_t *pool)
287 apr_int32_t flags, apr_pool_t *pool)
291 (*file) = apr_pcalloc(pool, sizeof(apr_file_t));
292 (*file)->pool = pool;
309 (*file)->buffer = apr_palloc(pool, APR_FILE_DEFAULT_BUFSIZE);
315 APR_THREAD_MUTEX_DEFAULT, pool);
335 apr_pool_t *pool)
339 return apr_os_file_put(thefile, &fd, flags | APR_FOPEN_WRITE, pool);
344 apr_pool_t *pool)
348 return apr_os_file_put(thefile, &fd, flags | APR_FOPEN_WRITE, pool);
353 apr_pool_t *pool)
357 return apr_os_file_put(thefile, &fd, flags | APR_FOPEN_READ, pool);
361 apr_pool_t *pool)
363 return apr_file_open_flags_stderr(thefile, 0, pool);
367 apr_pool_t *pool)
369 return apr_file_open_flags_stdout(thefile, 0, pool);
373 apr_pool_t *pool)
375 return apr_file_open_flags_stdin(thefile, 0, pool);
378 APR_IMPLEMENT_INHERIT_SET(file, flags, pool, apr_unix_file_cleanup)
399 apr_pool_child_cleanup_set(thefile->pool,