Lines Matching refs:pool

49     apr_pool_t *pool;
54 apr_pool_t *pool;
60 apr_pool_t *pool;
71 #define DRIVER_LOAD(name,driver_name,pool,params,rv,result) \
76 rv = driver_name.init(pool, params, result); \
93 APU_DECLARE(apr_status_t) apr_crypto_init(apr_pool_t *pool)
102 /* Top level pool scope, need process-scope lifetime */
103 for (parent = apr_pool_parent_get(pool);
104 parent && parent != pool;
105 parent = apr_pool_parent_get(pool))
106 pool = parent;
109 apu_dso_init(pool);
111 drivers = apr_hash_make(pool);
113 apr_pool_cleanup_register(pool, NULL, apr_crypto_term,
130 APU_DECLARE(apr_status_t) apr_crypto_clear(apr_pool_t *pool,
133 apr_crypto_clear_t *clear = apr_palloc(pool, sizeof(apr_crypto_clear_t));
138 apr_pool_cleanup_register(pool, clear, crypto_clear,
146 const char *params, const apu_err_t **result, apr_pool_t *pool)
176 * drivers hash table; ignore the passed-in pool */
177 pool = apr_hash_pool_get(drivers);
189 rv = apu_dso_load(&dso, &symbol, modname, symname, pool);
192 name = apr_pstrdup(pool, name);
196 rv = (*driver)->init(pool, params, result);
202 char *buffer = apr_pcalloc(pool, ERROR_SIZE);
203 apu_err_t *err = apr_pcalloc(pool, sizeof(apu_err_t));
207 err->reason = apr_pstrdup(pool, modname);
218 DRIVER_LOAD("openssl", apr_crypto_openssl_driver, pool, params, rv, result);
223 DRIVER_LOAD("nss", apr_crypto_nss_driver, pool, params, rv, result);
228 DRIVER_LOAD("mscapi", apr_crypto_mscapi_driver, pool, params, rv, result);
233 DRIVER_LOAD("mscng", apr_crypto_mscng_driver, pool, params, rv, result);
271 * registered with the given pool to guarantee a graceful shutdown.
275 * @param pool - process pool
283 const apr_crypto_driver_t *driver, const char *params, apr_pool_t *pool)
285 return driver->make(f, driver, params, pool);
323 * @note If *key is NULL, a apr_crypto_key_t will be created from a pool. If
337 * @param p The pool to use.
357 * @note If *ctx is NULL, a apr_crypto_block_t will be created from a pool. If
361 * an IV will be created at random, in space allocated from the pool.
366 * @param p The pool to use.
385 * the pool provided. If *out points to a not-NULL value, this
429 * @note If *ctx is NULL, a apr_crypto_block_t will be created from a pool. If
435 * @param p The pool to use.
454 * the pool provided. If *out points to a not-NULL value, this