Lines Matching defs:pool
108 static char **apr_ldap_str2charray(apr_pool_t *pool,
259 APU_DECLARE(int) apr_ldap_url_parse_ext(apr_pool_t *pool,
271 apr_ldap_err_t *result = (apr_ldap_err_t *)apr_pcalloc(pool, sizeof(apr_ldap_err_t));
291 url = (char *)apr_pstrdup(pool, url_tmp);
311 ludp = (apr_ldap_url_desc_t *)apr_pcalloc(pool, sizeof(apr_ldap_url_desc_t));
328 ludp->lud_scheme = (char *)apr_pstrdup(pool, scheme);
376 ludp->lud_host = (char *)apr_pstrdup(pool, url + ( *url == '[' ));
400 ludp->lud_dn = (char *)apr_pstrdup(pool, q);
402 ludp->lud_dn = (char *)apr_pstrdup(pool, "");
429 ludp->lud_dn = (char *)apr_pstrdup(pool, p);
431 ludp->lud_dn = (char *)apr_pstrdup(pool, "");
458 ludp->lud_attrs = apr_ldap_str2charray(pool, p, ",");
520 ludp->lud_filter = (char *)apr_pstrdup(pool, p);
546 ludp->lud_exts = apr_ldap_str2charray(pool, p, ",");
582 APU_DECLARE(int) apr_ldap_url_parse(apr_pool_t *pool,
588 int rc = apr_ldap_url_parse_ext(pool, url_in, ludpp, result_err);
644 static char **apr_ldap_str2charray(apr_pool_t *pool,
654 str = (char *)apr_pstrdup(pool, str_in);
669 res = (char **) apr_pcalloc(pool, (i + 1) * sizeof(char *));
680 res[i] = (char *)apr_pstrdup(pool, s);