Lines Matching defs:cntxt
356 apr_pool_t *cntxt;
1238 apr_pool_create(&c->ctx, cntxt);
1669 connecthost = apr_pstrdup(cntxt, proxyhost);
1673 connecthost = apr_pstrdup(cntxt, hostname);
1694 if ((status = apr_pollset_create(&readbits, concurrency, cntxt,
1702 hdrs = apr_pstrcat(cntxt, hdrs, "Host: ", host_field, colonhost, "\r\n", NULL);
1710 hdrs = apr_pstrcat(cntxt, hdrs, "User-Agent: ApacheBench/", AP_AB_BASEREVISION, "\r\n", NULL);
1718 hdrs = apr_pstrcat(cntxt, hdrs, "Accept: */*\r\n", NULL);
1784 if ((rv = apr_sockaddr_info_get(&mysa, myhost, APR_UNSPEC, 0, 0, cntxt)) != APR_SUCCESS) {
1795 connectport, 0, cntxt))
2025 fullurl = apr_pstrdup(cntxt, url);
2048 h = apr_pstrmemdup(cntxt, url, cp - url);
2049 rv = apr_parse_addr_port(&hostname, &scope_id, &port, h, cntxt);
2053 path = apr_pstrdup(cntxt, cp);
2056 host_field = apr_psprintf(cntxt, "[%s]", hostname);
2077 colonhost = apr_psprintf(cntxt,":%d",port);
2094 rv = apr_file_open(&postfd, pfile, APR_READ, APR_OS_DEFAULT, cntxt);
2145 apr_pool_create(&cntxt, NULL);
2146 apr_pool_abort_set(abort_on_oom, cntxt);
2149 status = apr_xlate_open(&to_ascii, "ISO-8859-1", APR_DEFAULT_CHARSET, cntxt);
2154 status = apr_xlate_open(&from_ascii, APR_DEFAULT_CHARSET, "ISO-8859-1", cntxt);
2168 apr_getopt_init(&opt, cntxt, argc, argv);
2246 content_type = apr_pstrdup(cntxt, opt_arg);
2249 cookie = apr_pstrcat(cntxt, "Cookie: ", opt_arg, "\r\n", NULL);
2264 auth = apr_pstrcat(cntxt, auth, "Authorization: Basic ", tmp,
2279 auth = apr_pstrcat(cntxt, auth, "Proxy-Authorization: Basic ",
2283 hdrs = apr_pstrcat(cntxt, hdrs, opt_arg, "\r\n", NULL);
2317 proxyhost = apr_pstrdup(cntxt, opt_arg);
2336 myhost = apr_pstrdup(cntxt, opt_arg);
2378 if (parse_url(apr_pstrdup(cntxt, opt->argv[opt->ind++]))) {
2442 apr_pool_destroy(cntxt);