Lines Matching defs:pool

39     apr_pool_t *pool;
53 apr_pool_t *pool;
64 apr_pool_t *pool;
111 static apr_status_t crypto_init(apr_pool_t *pool, const char *params,
121 apr_pool_cleanup_register(pool, pool, crypto_shutdown_helper,
179 * registered with the given pool to guarantee a graceful shutdown.
183 * @param pool - process pool
189 apr_pool_t *pool)
192 apr_crypto_t *f = apr_pcalloc(pool, sizeof(apr_crypto_t));
212 if (APR_SUCCESS != (status = apr_tokenize_to_argv(params, &elts, pool))) {
247 f->pool = pool;
249 config = f->config = apr_pcalloc(pool, sizeof(apr_crypto_config_t));
254 f->result = apr_pcalloc(pool, sizeof(apu_err_t));
259 f->keys = apr_array_make(pool, 10, sizeof(apr_crypto_key_t));
264 f->types = apr_hash_make(pool);
273 f->modes = apr_hash_make(pool);
280 apr_pool_cleanup_register(pool, f, crypto_cleanup_helper,
336 * @note If *key is NULL, a apr_crypto_key_t will be created from a pool. If
350 * @param p The pool to use.
459 * @note If *ctx is NULL, a apr_crypto_block_t will be created from a pool. If
463 * an IV will be created at random, in space allocated from the pool.
468 * @param p The pool to use.
487 block->pool = p;
550 * the pool provided. If *out points to a not-NULL value, this
574 /* must we allocate the output buffer from a pool? */
576 buffer = apr_palloc(ctx->pool, inlen + EVP_MAX_BLOCK_LENGTH);
580 apr_crypto_clear(ctx->pool, buffer, inlen + EVP_MAX_BLOCK_LENGTH);
632 * @note If *ctx is NULL, a apr_crypto_block_t will be created from a pool. If
637 * an IV will be created at random, in space allocated from the pool.
640 * @param p The pool to use.
658 block->pool = p;
705 * the pool provided. If *out points to a not-NULL value, this
729 /* must we allocate the output buffer from a pool? */
731 buffer = apr_palloc(ctx->pool, inlen + EVP_MAX_BLOCK_LENGTH);
735 apr_crypto_clear(ctx->pool, buffer, inlen + EVP_MAX_BLOCK_LENGTH);