Searched defs:pool (Results 1 - 25 of 128) sorted by relevance

123456

/httpd/include/
H A Dap_provider.h46 * provider pool.
47 * @param pool The pool to create any storage from
54 AP_DECLARE(apr_status_t) ap_register_provider(apr_pool_t *pool,
62 * provider pool.
75 * @param pool The pool to create any storage from
81 AP_DECLARE(apr_array_header_t *) ap_list_provider_names(apr_pool_t *pool,
87 * @param pool The pool t
92 AP_DECLARE(apr_array_header_t *) ap_list_provider_groups(apr_pool_t *pool); variable
[all...]
H A Dutil_varbuf.h49 * to memory of the same lifetime as the pool otherwise. */
61 /** The pool for memory allocations and for registering the cleanup;
62 * the buffer memory will be released when this pool is cleared. */
63 apr_pool_t *pool; member in struct:ap_varbuf
72 * pool is cleared. The buffer remains usable until the pool is cleared,
74 * @param pool The pool to allocate small buffers from and to register
80 AP_DECLARE(void) ap_varbuf_init(apr_pool_t *pool, struct ap_varbuf *vb,
92 * @note ap_varbuf_grow() will use pool memor
[all...]
H A Dhttp_protocol.h144 * @param pool The pool to use for allocations
146 AP_DECLARE(void) ap_setup_make_content_type(apr_pool_t *pool); variable
289 * @param p The pool to create registered method numbers from.
313 * @param p Pointer to a pool in which the structure should be
609 * to hold the data will be allocated from the request pool
646 * @param p A pool to use for temporary allocations.
739 * @param p A pool to allocate out of.
749 * @param p A pool to allocate the error string out of.
H A Dapreq_parser.h86 apr_pool_t *pool; /**< pool which allocated this hook */ member in struct:apreq_hook_t
98 /** a pool which outlasts the bucket_alloc. */
99 apr_pool_t *pool; member in struct:apreq_parser_t
187 * @param pool Pool used to allocate the parser.
197 APREQ_DECLARE(apreq_parser_t *) apreq_parser_make(apr_pool_t *pool,
209 * @param pool used to allocate the hook.
215 APREQ_DECLARE(apreq_hook_t *) apreq_hook_make(apr_pool_t *pool,
/httpd/server/
H A Dutil_ebcdic.c31 apr_status_t ap_init_ebcdic(apr_pool_t *pool) argument
35 rv = apr_xlate_open(&ap_hdrs_to_ascii, "ISO-8859-1", APR_DEFAULT_CHARSET, pool);
42 rv = apr_xlate_open(&ap_hdrs_from_ascii, APR_DEFAULT_CHARSET, "ISO-8859-1", pool);
105 ascii_s = apr_pstrmemdup(r->pool, s, len);
H A Dprovider.c35 AP_DECLARE(apr_status_t) ap_register_provider(apr_pool_t *pool,
44 global_providers = apr_hash_make(pool);
45 global_providers_names = apr_hash_make(pool);
46 apr_pool_cleanup_register(pool, NULL, cleanup_global_providers,
55 provider_group_hash = apr_hash_make(pool);
65 provider_version_hash = apr_hash_make(pool);
80 provider_group_hash = apr_hash_make(pool);
90 provider_version_hash = apr_hash_make(pool);
131 AP_DECLARE(apr_array_header_t *) ap_list_provider_names(apr_pool_t *pool, argument
135 apr_array_header_t *ret = apr_array_make(pool, 1
167 ap_list_provider_groups(apr_pool_t *pool) argument
[all...]
H A Dutil_regex.c31 AP_DECLARE(ap_rxplus_t*) ap_rxplus_compile(apr_pool_t *pool, argument
46 ap_rxplus_t *ret = apr_pcalloc(pool, sizeof(ap_rxplus_t));
70 apr_pool_cleanup_register(pool, &ret->rx, rxplus_cleanup,
80 rxstr = apr_pstrndup(pool, str, endp-str);
92 ret->subs = apr_pstrndup(pool, str, (endp-str));
109 apr_pool_cleanup_register(pool, &ret->rx, rxplus_cleanup,
134 ret->pmatch = apr_palloc(pool, ret->nmatch*sizeof(ap_regmatch_t));
139 AP_DECLARE(int) ap_rxplus_exec(apr_pool_t *pool, ap_rxplus_t *rx, argument
153 *newpattern = ap_pregsub(pool, rx->subs, pattern,
165 ret += ap_rxplus_exec(pool, r
203 ap_rxplus_pmatch(apr_pool_t *pool, ap_rxplus_t *rx, int n) argument
[all...]
H A Dapreq_param.c64 apr_pool_t *pool,
79 p = apr_palloc(pool, nlen + vlen + 1 + sizeof *p);
128 APREQ_DECLARE(char *) apreq_param_encode(apr_pool_t *pool, argument
133 data = apr_palloc(pool, 3 * (param->v.nlen + param->v.dlen) + 2);
141 APREQ_DECLARE(apr_status_t) apreq_parse_query_string(apr_pool_t *pool,
169 s = apreq_param_decode(&param, pool, start, nlen, vlen);
245 apr_pool_t *pool)
247 apr_table_t *t = apr_table_make(pool, APREQ_DEFAULT_NELTS);
244 apreq_uploads(const apr_table_t *body, apr_pool_t *pool) argument
H A Dapreq_parser_header.c52 apr_pool_t *pool,
71 param = apreq_param_make(pool, NULL, nlen, NULL, vlen - 1); /*drop (CR)LF */
74 arr.pool = pool;
158 apr_pool_t *pool = parser->pool; local
163 ctx = apr_pcalloc(pool, sizeof *ctx);
164 ctx->bb = apr_brigade_create(pool, parser->bucket_alloc);
314 s = split_header_line(&param, pool, ctx->bb, ctx->nlen, ctx->glen, ctx->vlen);
362 apreq_brigade_setaside(ctx->bb,pool);
51 split_header_line(apreq_param_t **p, apr_pool_t *pool, apr_bucket_brigade *bb, apr_size_t nlen, apr_size_t glen, apr_size_t vlen) argument
[all...]
H A Dapreq_parser_urlencoded.c49 static apr_status_t split_urlword(apreq_param_t **p, apr_pool_t *pool, argument
66 param = apreq_param_make(pool, NULL, nlen, NULL, vlen);
69 arr.pool = pool;
161 apr_pool_t *pool = parser->pool; local
166 ctx = apr_pcalloc(pool, sizeof *ctx);
167 ctx->bb = apr_brigade_create(pool, parser->bucket_alloc);
194 s = split_urlword(&param, pool, ctx->bb, ctx->nlen, ctx->vlen);
245 s = split_urlword(&param, pool, ct
[all...]
/httpd/modules/lua/
H A Dlua_dbd.h33 apr_pool_t *pool; member in struct:__anon207
44 apr_pool_t *pool; member in struct:__anon208
H A Dlua_passwd.c48 apr_pool_t *pool)
59 *errstr = apr_psprintf(pool, "generate_salt(): BUG: Buffer too small");
64 *errstr = apr_psprintf(pool, "Unable to generate random bytes: %pm",
105 ret = generate_salt(salt, 8, &ctx->errstr, ctx->pool);
112 ctx->errstr = apr_psprintf(ctx->pool,
120 ret = generate_salt(salt, 8, &ctx->errstr, ctx->pool);
126 ctx->errstr = apr_psprintf(ctx->pool, "crypt() failed: %pm", &rv);
133 char *truncpw = apr_pstrdup(ctx->pool, pw);
136 ctx->errstr = apr_psprintf(ctx->pool,
149 ctx->errstr = apr_psprintf(ctx->pool, "Unabl
47 generate_salt(char *s, size_t size, const char **errstr, apr_pool_t *pool) argument
[all...]
H A Dlua_passwd.h69 apr_pool_t *pool; member in struct:passwd_ctx
/httpd/modules/aaa/
H A Dmod_allowmethods.c88 static void *am_merge_conf(apr_pool_t *pool, void *a, void *b) argument
92 am_conf_t *conf = apr_palloc(pool, sizeof(am_conf_t));
128 return apr_pstrcat(cmd->pool, "AllowMethods: Invalid Method '",
H A Dmod_authn_dbm.c67 conf->dbmtype = apr_pstrdup(cmd->pool, arg);
86 apr_pool_t *pool)
93 APR_OS_DEFAULT, pool);
109 *value = apr_pstrmemdup(pool, val.dptr, val.dsize);
127 r->pool);
165 apr_pstrcat(r->pool, user, ":", realm, NULL),
166 &dbm_hash, r->pool);
84 fetch_dbm_value(const char *dbmtype, const char *dbmfile, const char *user, char **value, apr_pool_t *pool) argument
/httpd/modules/database/
H A Dmod_dbd.h80 apr_pool_t *pool; member in struct:__anon102
/httpd/modules/filters/
H A Dmod_include.h49 apr_bucket_pool_create(apr_pstrdup((ctx)->pool, (ctx)->error_str), \
50 strlen((ctx)->error_str), (ctx)->pool, \
70 /* permanent pool, use this for creating bucket data */
71 apr_pool_t *pool; member in struct:__anon164
73 /* temp pool; will be cleared after the execution of every directive */
/httpd/modules/session/
H A Dmod_session.h85 apr_pool_t *pool; /* pool to be used for this session */ member in struct:__anon308
/httpd/support/
H A Dfcgistarter.c62 apr_pool_t *pool; local
76 apr_pool_create(&pool, NULL);
78 rv = apr_getopt_init(&gopt, pool, argc, argv);
126 rv = apr_sockaddr_info_get(&skaddr, interface, APR_UNSPEC, port, 0, pool);
131 rv = apr_socket_create(&skt, skaddr->family, SOCK_STREAM, APR_PROTO_TCP, pool);
163 rv = apr_proc_fork(&proc, pool);
180 rv = apr_os_file_put(&infd, &oft, APR_READ | APR_WRITE, pool);
191 pool);
196 rv = apr_file_dup2(infd, skwrapper, pool);
/httpd/modules/arch/unix/
H A Dmod_unixd.c138 unixd_drop_privileges(apr_pool_t *pool, server_rec *s) argument
260 if (!ap_is_directory(cmd->pool, arg)) {
278 return apr_pstrcat(cmd->pool, "suEXEC isn't supported: ",
353 static void unixd_hooks(apr_pool_t *pool) argument
/httpd/modules/cache/
H A Dmod_socache_dc.c168 apr_pool_t *pool)
165 socache_dc_iterate(ap_socache_instance_t *instance, server_rec *s, void *userctx, ap_socache_iterator_t *iterator, apr_pool_t *pool) argument
/httpd/modules/metadata/
H A Dmod_version.c142 static int match_version(apr_pool_t *pool, char *version_string, argument
149 compiled = ap_pregcomp(pool, version_string, AP_REG_EXTENDED);
157 to_match = apr_psprintf(pool, "%d.%d.%d%s",
165 ap_pregfree(pool, compiled);
200 return apr_pstrcat(cmd->pool, cmd->cmd->name,
279 return apr_pstrcat(cmd->pool, "unrecognized operator '", arg1, "'",
288 retval = ap_build_cont_config(cmd->pool, cmd->temp_pool, cmd,
/httpd/modules/ssl/
H A Dssl_engine_ocsp.c24 static const char *extract_responder_uri(X509 *cert, apr_pool_t *pool) argument
41 result = apr_pstrdup(pool,
131 apr_pool_t *pool)
140 ruri = determine_responder_uri(sc, cert, c, pool);
145 request = create_request(ctx, cert, &certID, s, pool, sc);
150 response = modssl_dispatch_ocsp_request(ruri, to, request, c, pool);
252 server_rec *s, conn_rec *c, apr_pool_t *pool)
273 /* Create a temporary pool to constrain memory use (the passed-in
274 * pool may be e.g. a connection pool)
129 verify_ocsp_status(X509 *cert, X509_STORE_CTX *ctx, conn_rec *c, SSLSrvConfigRec *sc, server_rec *s, apr_pool_t *pool) argument
251 modssl_verify_ocsp(X509_STORE_CTX *ctx, SSLSrvConfigRec *sc, server_rec *s, conn_rec *c, apr_pool_t *pool) argument
[all...]
/httpd/os/win32/
H A Dap_regkey.c25 apr_pool_t *pool; member in struct:ap_regkey_t
62 apr_pool_t *pool)
111 *newkey = apr_palloc(pool, sizeof(**newkey));
112 (*newkey)->pool = pool;
114 apr_pool_cleanup_register((*newkey)->pool, (void *)(*newkey),
124 apr_pool_cleanup_kill(regkey->pool, regkey, regkey_cleanup);
132 apr_pool_t *pool)
182 apr_pool_t *pool)
213 wvalue = apr_palloc(pool, siz
[all...]
/httpd/server/mpm/worker/
H A Dfdqueue.c21 apr_pool_t *pool; member in struct:recycled_pool
48 apr_pool_destroy(first_pool->pool);
56 apr_pool_t *pool, int max_idlers)
61 qi = apr_pcalloc(pool, sizeof(*qi));
64 pool);
68 rv = apr_thread_cond_create(&qi->wait_for_idler, pool);
74 apr_pool_cleanup_register(pool, qi, queue_info_cleanup,
87 /* If we have been given a pool to recycle, atomically link
94 new_recycle->pool = pool_to_recycle;
188 /* Atomically pop a pool fro
55 ap_queue_info_create(fd_queue_info_t **queue_info, apr_pool_t *pool, int max_idlers) argument
[all...]

Completed in 197 milliseconds

123456