/httpd/include/ |
H A D | ap_provider.h | 46 * 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 D | ap_regkey.h | 78 * @param pool The pool in which newkey is allocated 84 apr_pool_t *pool); 105 * @param pool The pool used for temp allocations 112 apr_pool_t *pool); 119 * @param pool The pool used to store the result 127 apr_pool_t *pool); 136 * @param pool Th [all...] |
H A D | ap_socache.h | 73 * @param pool Pool for temporary allocations 84 apr_pool_t *pool); 125 * @param pool Pool for long-lived allocations 130 server_rec *s, apr_pool_t *pool); 148 * @param pool Pool for temporary allocations. 155 apr_pool_t *pool); 167 * @param pool Pool for temporary allocations. 174 apr_pool_t *pool); 183 * @param pool Pool for temporary allocations. 187 apr_pool_t *pool); [all...] |
H A D | ap_slotmem.h | 81 * @param pool is pool used 84 typedef apr_status_t ap_slotmem_callback_fn_t(void* mem, void *data, apr_pool_t *pool); 96 * @param pool is pool used 99 apr_status_t (* doall)(ap_slotmem_instance_t *s, ap_slotmem_callback_fn_t *func, void *data, apr_pool_t *pool); 108 * @param pool is pool used 111 apr_status_t (* create)(ap_slotmem_instance_t **inst, const char *name, apr_size_t item_size, unsigned int item_num, ap_slotmem_type_t type, apr_pool_t *pool); 119 * @param pool i [all...] |
H A D | util_ebcdic.h | 42 * @param pool The pool to allocate out of. 46 apr_status_t ap_init_ebcdic(apr_pool_t *pool);
|
/httpd/server/mpm/simple/ |
H A D | simple_core.c | 49 apr_pool_create(&sc->pool, ap_pglobal); 51 apr_pool_tag(sc->pool, "simple-mpm-core"); 58 sc->children = apr_hash_make(sc->pool); 64 rv = apr_thread_mutex_create(&sc->mtx, 0, sc->pool);
|
/httpd/server/ |
H A D | provider.c | 35 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 D | apreq_parser.c | 34 APREQ_DECLARE(apreq_parser_t *) apreq_parser_make(apr_pool_t *pool, argument 43 apreq_parser_t *p = apr_palloc(pool, sizeof *p); 47 p->pool = pool; 55 APREQ_DECLARE(apreq_hook_t *) apreq_hook_make(apr_pool_t *pool, argument 60 apreq_hook_t *h = apr_palloc(pool, sizeof *h); 63 h->pool = pool; 97 APREQ_DECLARE(apr_status_t) apreq_pre_initialize(apr_pool_t *pool) 107 status = apr_pool_create(&default_parser_pool, pool); 220 apr_pool_t *pool = parser->pool; local 284 apr_pool_t *pool = hook->pool; local [all...] |
H A D | util_regex.c | 31 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 D | apreq_parser_multipart.c | 214 apr_pool_t *pool, 223 struct mfd_ctx *ctx = apr_palloc(pool, sizeof *ctx); 224 char *ct = apr_pstrdup(pool, content_type); 245 ctx->pattern = apr_strmatch_precompile(pool, ctx->bdry, 1); 246 ctx->hdr_parser = apreq_parser_make(pool, ba, "", 251 ctx->bb = apr_brigade_create(pool, ba); 252 ctx->in = apr_brigade_create(pool, ba); 264 apr_pool_t *pool = parser->pool; local 271 pool, b 213 create_multipart_context(const char *content_type, apr_pool_t *pool, apr_bucket_alloc_t *ba, apr_size_t brigade_limit, const char *temp_dir, unsigned level) argument [all...] |
H A D | util_cookies.c | 52 buffer = apr_pstrcat(r->pool, "Max-Age=", apr_ltoa(r->pool, maxage), ";", NULL); 56 rfc2109 = apr_pstrcat(r->pool, name, "=", val, ";", buffer, 94 buffer = apr_pstrcat(r->pool, "Max-Age=", apr_ltoa(r->pool, maxage), ";", NULL); 98 rfc2965 = apr_pstrcat(r->pool, name2, "=", val, ";", buffer, 126 const char *rfc2109 = apr_pstrcat(r->pool, name, "=;Max-Age=0;", 154 const char *rfc2965 = apr_pstrcat(r->pool, name2, "=;Max-Age=0;", 180 char *cookie = apr_pstrdup(v->r->pool, val); 181 const char *name = apr_pstrcat(v->r->pool, [all...] |
/httpd/support/ |
H A D | firehose.c | 51 apr_pool_t *pool; member in struct:file_rec 70 apr_pool_t *pool; member in struct:uuid_rec 81 apr_pool_t *pool; member in struct:filter_rec 201 apr_pool_t *pool; local 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, heade 235 apr_pool_t *pool; local 289 apr_pool_t *pool; local 324 apr_pool_t *pool; local 653 apr_pool_t *pool; local [all...] |
H A D | htpasswd.c | 85 ctx->out = apr_pstrcat(ctx->pool, user, ":", hash_str, NL, NULL); 128 static int accessible(apr_pool_t *pool, char *fname, int mode) argument 132 if (apr_file_open(&f, fname, mode, APR_OS_DEFAULT, pool) != APR_SUCCESS) { 142 static int exists(char *fname, apr_pool_t *pool) argument 147 check = apr_stat(&sbuf, fname, APR_FINFO_TYPE, pool); 170 apr_pool_t *pool = ctx->pool; local 172 rv = apr_getopt_init(&state, pool, argc, argv); 228 *pwfilename = apr_pstrdup(pool, argv[i++]); 235 *user = apr_pstrdup(pool, arg 286 apr_pool_t *pool; local [all...] |
H A D | logresolve.c | 136 apr_pool_t * pool; local 155 if (apr_pool_create(&pool, NULL) != APR_SUCCESS) { 158 apr_file_open_stderr(&errfile, pool); 159 apr_getopt_init(&o, pool, argc, argv); 182 stats = apr_pstrdup(pool, arg); 188 apr_file_open_stdout(&outfile, pool); 189 apr_file_open_stdin(&infile, pool); 192 if ( (outbuffer = apr_palloc(pool, WRITE_BUF_SIZE)) == NULL 193 || (inbuffer = apr_palloc(pool, READ_BUF_SIZE)) == NULL 194 || (line = apr_palloc(pool, LINE_BUF_SIZ [all...] |
H A D | fcgistarter.c | 62 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/filters/ |
H A D | mod_include.h | 49 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/lua/ |
H A D | lua_passwd.c | 48 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 D | lua_vmprep.c | 43 void ap_lua_init_mutex(apr_pool_t *pool, server_rec *s) argument 50 pool); 57 /* Server pool mutex */ 59 apr_thread_mutex_create(&ap_lua_mutex, APR_THREAD_MUTEX_DEFAULT, pool); 233 /* callback for cleaning up a lua vm when pool is closed */ 264 * pool -> lifecycle pool for allocations 272 apr_pool_t *pool, 287 parent_dir = ap_make_dirstr_parent(pool, file); 289 pattern = apr_pstrcat(pool, parent_di 268 munge_path(lua_State *L, const char *field, const char *sub_pat, const char *rep_pat, apr_pool_t *pool, apr_array_header_t *paths, const char *file) argument 391 copy_vm_spec(apr_pool_t* pool, ap_lua_vm_spec* spec) argument 407 server_vm_construct(lua_State **resource, void *params, apr_pool_t *pool) argument [all...] |
H A D | lua_dbd.c | 70 if (db->pool) apr_pool_destroy(db->pool); 81 db->pool = NULL; 104 if (db->pool) apr_pool_destroy(db->pool); 114 db->pool = NULL; 134 rc = apr_dbd_check_conn(db->driver, db->pool, db->handle); 208 apr_dbd_init(r->pool); 209 escaped = apr_dbd_escape(db->driver, r->pool, statement, 248 while (apr_dbd_get_row(res->driver, res->pool, re 667 lua_push_db_handle(lua_State *L, request_rec* r, int type, apr_pool_t* pool) argument 735 apr_pool_t *pool = NULL; local [all...] |
/httpd/modules/loggers/ |
H A D | mod_journald.c | 67 if (info->r && info->r->pool) 68 return info->r->pool; 69 if (info->c && info->c->pool) 70 return info->c->pool; 71 if (info->pool) 72 return info->pool; 73 if (info->s && info->s->process && info->s->process->pool) 74 return info->s->process->pool; 78 static apr_status_t iovec_add_entry(apr_pool_t *pool, struct iovec *iov, argument 83 iov->iov_base = apr_pvsprintf(pool, forma 97 journald_log(apr_pool_t *pool, const char *log, const char *errstr, int len, int priority, const server_rec *s, const request_rec *r) argument 154 apr_pool_t *pool; local [all...] |
/httpd/modules/mappers/ |
H A D | mod_userdir.c | 140 char *kw = ap_getword_conf(cmd->pool, &usernames); 176 s_cfg->userdir = apr_pstrdup(cmd->pool, arg); 184 username = ap_getword_conf(cmd->pool, &usernames); 222 user = ap_getword(r->pool, &dname, '/'); 263 const char *userdir = ap_getword_conf(r->pool, &userdirs); 266 int is_absolute = ap_os_is_path_absolute(r->pool, userdir); 269 prefix = ap_getword(r->pool, &userdir, '*'); 286 redirect = apr_pstrcat(r->pool, prefix, user, userdir, 292 filename = apr_pstrcat(r->pool, prefix, user, userdir, 296 filename = apr_pstrcat(r->pool, userdi [all...] |
H A D | mod_dir.c | 62 d->index_names = apr_array_make(cmd->pool, 2, sizeof(char *)); 66 while ((w = ap_getword_conf(cmd->pool, &t)) && w[0]) { 191 name_ptr = apr_pstrcat(r->pool, name_ptr, "?", r->args, NULL); 202 apr_pool_join(r->pool, rr->pool); 203 r->notes = apr_table_overlay(r->pool, r->notes, rr->notes); 204 r->headers_out = apr_table_overlay(r->pool, r->headers_out, 206 r->err_headers_out = apr_table_overlay(r->pool, r->err_headers_out, 264 ifile = apr_pstrcat(r->pool, ap_escape_uri(r->pool, [all...] |
/httpd/modules/dav/main/ |
H A D | util.c | 198 if (apr_uri_parse(r->pool, uri, &comp) != APR_SUCCESS) { 249 result.err.desc = apr_psprintf(r->pool, 278 comp.hostname = apr_pstrcat(r->pool, comp.hostname, domain, NULL); 297 new_file = apr_uri_unparse(r->pool, &comp, APR_URI_UNP_OMITSITEPART); 336 DAV_DECLARE(const char *) dav_xml_get_cdata(const apr_xml_elem *elem, apr_pool_t *pool, argument 377 cdata = s = apr_palloc(pool, len + 1); 413 DAV_DECLARE(dav_xmlns_info *) dav_xmlns_create(apr_pool_t *pool) argument 415 dav_xmlns_info *xi = apr_pcalloc(pool, sizeof(*xi)); 417 xi->pool = pool; [all...] |
/httpd/modules/database/ |
H A D | mod_dbd.c | 43 (apr_pool_t *pool, dbd_cfg_t *cfg, 45 (pool, cfg, dbd), OK, DECLINED) 47 /************ svr cfg: manage db connection pool ****************/ 59 apr_pool_t *pool; member in struct:dbd_group_t 94 static void *create_dbd_config(apr_pool_t *pool, server_rec *s) argument 96 svr_cfg *svr = apr_pcalloc(pool, sizeof(svr_cfg)); 97 dbd_cfg_t *cfg = svr->cfg = apr_pcalloc(pool, sizeof(dbd_cfg_t)); 109 cfg->queries = apr_hash_make(pool); 110 cfg->init_queries = apr_array_make(pool, DEFAULT_SQL_INIT_ARRAY_SIZE, 116 static void *merge_dbd_config(apr_pool_t *pool, voi argument 434 dbd_prepared_init(apr_pool_t *pool, dbd_cfg_t *cfg, ap_dbd_t *rec) argument 465 dbd_init_sql_init(apr_pool_t *pool, dbd_cfg_t *cfg, ap_dbd_t *rec) argument 494 dbd_destruct(void *data, void *params, apr_pool_t *pool) argument 512 dbd_construct(void **data_ptr, void *params, apr_pool_t *pool) argument 662 dbd_setup_init(apr_pool_t *pool, server_rec *s) argument 766 dbd_check(apr_pool_t *pool, server_rec *s, ap_dbd_t *rec) argument 790 ap_dbd_open(apr_pool_t *pool, server_rec *s) argument 965 dbd_hooks(apr_pool_t *pool) argument [all...] |
/httpd/modules/dav/fs/ |
H A D | repos.c | 46 apr_pool_t *pool; /* memory storage pool associated with request */ member in struct:dav_resource_private 83 apr_pool_t *pool; member in struct:__anon108 229 return resource->info->pool; 251 char *dirpath = ap_make_dirstr_parent(ctx->pool, ctx->pathname); 257 rv = apr_filepath_root(&rootpath, &testpath, 0, ctx->pool); 285 return dav_new_error(ctx->pool, HTTP_INTERNAL_SERVER_ERROR, 0, rv, 473 /* ### need more buffers to replace the pool argument */ 682 ctx = apr_pcalloc(r->pool, sizeof(*ctx)); 687 ctx->pool 1074 apr_pool_t *pool = resource->pool; local 1492 apr_pool_t *pool = params->pool; local [all...] |