Lines Matching defs:pool
57 apr_pool_t *pool;
69 static const char *handle_special_names(const char *page, apr_pool_t *pool)
72 return apr_os_default_encoding(pool);
75 return apr_os_locale_encoding(pool);
88 return apr_iconv_close(old->ich, old->pool);
130 convset->sbcs_table = apr_palloc(convset->pool, sizeof(outbuf));
172 convset->sbcs_table = apr_palloc(convset->pool, sizeof(outbuf));
174 apr_iconv_close(convset->ich, convset->pool);
182 apr_iconv_close(convset->ich, convset->pool);
184 convset->pool, &convset->ich);
193 convset->sbcs_table = apr_palloc(convset->pool, 256);
201 apr_pool_t *pool)
209 topage = handle_special_names(topage, pool);
210 frompage = handle_special_names(frompage, pool);
212 new = (apr_xlate_t *)apr_pcalloc(pool, sizeof(apr_xlate_t));
217 new->pool = pool;
218 new->topage = apr_pstrdup(pool, topage);
219 new->frompage = apr_pstrdup(pool, frompage);
240 rv = apr_iconv_open(topage, frompage, pool, &new->ich);
265 apr_pool_cleanup_register(pool, (void *)new, apr_xlate_cleanup,
420 return apr_pool_cleanup_run(convset->pool, convset, apr_xlate_cleanup);
428 apr_pool_t *pool)