Searched defs:cp (Results 1 - 24 of 24) sorted by relevance

/httpd/modules/cache/
H A Dmod_socache_memcache.c184 char *cp; local
189 cp = apr_cpystrn(key, ctx->tag, ctx->taglen);
190 ap_bin2hex(id, idlen, cp);
H A Dmod_cache_disk.c820 unsigned char *cp, native; local
823 for (cp = w; *cp != '\0'; ++cp) {
824 native = apr_xlate_conv_byte(ap_hdrs_from_ascii, *cp);
825 if (apr_isprint(*cp) && !apr_isprint(native))
827 if (!apr_isprint(*cp) && apr_isprint(native))
834 inbytes_left = outbytes_left = cp - w;
H A Dmod_socache_shmcb.c290 char *path, *cp, *cp2; local
304 cp = strrchr(path, '(');
306 if (cp) {
312 *cp++ = '\0';
316 ctx->shm_size = strtol(cp, &endptr, 10);
/httpd/modules/metadata/
H A Dmod_ident.c164 char *cp; local
205 while((cp = strchr(buffer, '\012')) == NULL && i < sizeof(buffer) - 1) {
235 if ((cp = strchr(user, '\r')))
236 *cp = '\0';
H A Dmod_usertrack.c182 char *cp; local
183 cp = apr_palloc(p, sp - cookie_name + danger_chars + 1); /* 1 == \0 */
185 cookie_name = cp;
188 *cp++ = '\\';
190 *cp++ = *sp++;
192 *cp = '\0';
/httpd/support/
H A Dhtpasswd.c282 char *scratch, cp[MAX_STRING_LEN]; local
410 strcpy(cp, line);
411 scratch = cp;
H A Dab.c2019 char *cp; local
2046 if ((cp = strchr(url, '/')) == NULL)
2048 h = apr_pstrmemdup(cntxt, url, cp - url);
2053 path = apr_pstrdup(cntxt, cp);
2054 *cp = '\0';
/httpd/modules/ssl/
H A Dssl_util_ssl.c168 char *cp; local
180 if ((cp = BN_bn2dec(bn)) == NULL) {
185 *pathlen = atoi(cp);
186 OPENSSL_free(cp);
360 const char *cp; local
383 (cp = ap_strchr_c(name, '.')) && !strcasecmp(id[i]+1, cp)) ||
H A Dssl_engine_init.c481 char *cp; local
494 cp = apr_pstrcat(p,
502 cp[strlen(cp)-2] = NUL;
505 "Creating new SSL context (protocols: %s)", cp);
H A Dssl_engine_vars.c180 char *cp, *cp2; local
190 if ((cp = strchr(var_library, ' ')) != NULL) {
191 *cp = '/';
192 if ((cp2 = strchr(cp, ' ')) != NULL)
196 if ((cp = strchr(var_library_interface, ' ')) != NULL) {
197 *cp = '/';
198 if ((cp2 = strchr(cp, ' ')) != NULL)
502 char *cp = X509_NAME_oneline(xsname, NULL, 0); local
503 result = apr_pstrdup(p, cp);
504 OPENSSL_free(cp);
[all...]
H A Dssl_engine_kernel.c1053 char *cp = X509_NAME_oneline(name, NULL, 0); local
1054 sslconn->client_dn = apr_pstrdup(r->connection->pool, cp);
1055 OPENSSL_free(cp);
/httpd/modules/filters/
H A Dlibsed.h77 char *cp; member in struct:sed_commands_s
/httpd/modules/proxy/
H A Dmod_proxy_scgi.c258 char *buf, *cp, *bodylen; local
297 cp = buf = apr_palloc(r->pool, headerlen);
298 memcpy(cp, ns_len, len);
299 cp += len;
301 memcpy(cp, CONTENT_LENGTH, sizeof(CONTENT_LENGTH));
302 cp += sizeof(CONTENT_LENGTH);
303 memcpy(cp, bodylen, bodylen_size);
304 cp += bodylen_size;
305 memcpy(cp, SCGI_MAGIC, sizeof(SCGI_MAGIC));
306 cp
[all...]
H A Dmod_serf.c423 ap_serf_cluster_provider_t *cp; local
441 cp = ap_lookup_provider(AP_SERF_CLUSTER_PROVIDER, cluster->provider, "0");
443 if (cp == NULL) {
449 if (cp->list_servers == NULL) {
455 rc = cp->list_servers(cp->baton,
H A Dmod_proxy.h410 proxy_conn_pool *cp; /* Connection pool to use */ member in struct:proxy_worker
H A Dproxy_util.c1319 if (worker->cp->res) {
1320 worker->cp->pool = NULL;
1328 proxy_conn_pool *cp; local
1342 cp = (proxy_conn_pool *)apr_pcalloc(p, sizeof(proxy_conn_pool));
1343 cp->pool = pool;
1344 worker->cp = cp;
1363 if (!worker->cp) {
1392 if (worker->s->hmax && worker->cp->res) {
1394 apr_reslist_release(worker->cp
[all...]
/httpd/server/
H A Dutil_script.c59 char *cp = res; local
62 *cp++ = 'H';
63 *cp++ = 'T';
64 *cp++ = 'T';
65 *cp++ = 'P';
66 *cp++ = '_';
70 *cp++ = apr_toupper(c);
73 *cp++ = '_';
83 *cp = 0;
538 unsigned char *cp, nativ local
[all...]
H A Dutil_expr_scan.c1134 char *cp = yytext; variable
1135 while (*cp != '\0') {
1136 STR_APPEND(*cp); variable
1137 cp++;
H A Dcore.c1234 char *res_buf, *cp; local
1305 res_buf = cp = apr_palloc(p, outlen + 1);
1308 memcpy(cp, result->string, result->len);
1309 cp += result->len;
H A Dutil.c979 char *cp; local
1003 cp = cbuf;
1004 cp += strlen(cp);
1005 if (cp > buf && cp[-1] == LF) {
1006 cp--;
1007 if (cp > buf && cp[-1] == CR)
1008 cp
[all...]
/httpd/modules/http/
H A Dmod_mime.c542 const char *cp, *mp; local
560 cp = mp;
561 while (apr_isspace(*cp)) {
562 cp++;
564 if (!*cp) {
570 ctp->type = cp;
572 cp++;
573 } while (*cp && (*cp != '/') && !apr_isspace(*cp)
[all...]
/httpd/modules/loggers/
H A Dmod_log_config.c517 char *cp = result; local
522 *cp++ = ',';
523 *cp++ = ' ';
525 memcpy(cp, rp->value, rp->len);
526 cp += rp->len;
529 *cp = '\0';
539 const char *cp = NULL; local
542 cp = ap_field_noparam(r->pool, r->content_type);
545 cp = find_multiple_headers(r->pool, r->headers_out, a);
548 cp
1086 const char *cp; local
[all...]
/httpd/modules/mappers/
H A Dmod_negotiation.c450 char *cp; local
458 for (cp = parm; (*cp && !apr_isspace(*cp) && *cp != '='); ++cp) {
459 *cp = apr_tolower(*cp);
462 if (!*cp) {
466 *cp
747 char *cp; local
912 char *cp = header; local
1022 char *cp; local
[all...]
H A Dmod_rewrite.c687 char *cp; local
696 cp = uri + scheme;
699 if (cp[-1] == '/') {
701 while (*cp && *cp != '/') {
702 ++cp;
706 if (!*cp || !*++cp) {
711 scheme = cp - uri;
723 token[0] = cp
808 char *cp; local
3485 data_item *cp = cfg->cookie; local
3514 data_item *cp = cfg->env; local
4817 char *cp; local
[all...]

Completed in 121 milliseconds