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

/httpd/modules/ssl/
H A Dssl_scache.c118 unsigned char encoded[MODSSL_SESSION_MAX_DER], *ptr; local
130 ptr = encoded;
131 len = i2d_SSL_SESSION(sess, &ptr);
153 const unsigned char *ptr; local
171 ptr = dest;
173 return d2i_SSL_SESSION(NULL, &ptr, destlen);
H A Dssl_engine_init.c1046 const unsigned char *ptr; local
1054 !(ptr = asn1->cpData) ||
1055 !(pkey = d2i_AutoPrivateKey(NULL, &ptr, asn1->nData)) ||
H A Dssl_engine_io.c152 bio_filter_out_ctx_t *outctx = (bio_filter_out_ctx_t *)(bio->ptr);
168 bio->ptr = NULL;
188 bio_filter_out_ctx_t *outctx = (bio_filter_out_ctx_t *)(bio->ptr);
197 bio_filter_out_ctx_t *outctx = (bio_filter_out_ctx_t *)(bio->ptr);
224 static long bio_filter_out_ctrl(BIO *bio, int cmd, long num, void *ptr) argument
227 bio_filter_out_ctx_t *outctx = (bio_filter_out_ctx_t *)(bio->ptr);
271 bio_filter_out_ctx_t *outctx = (bio_filter_out_ctx_t *)(bio->ptr);
281 bio_filter_out_ctx_t *outctx = (bio_filter_out_ctx_t *)(bio->ptr);
452 bio_filter_in_ctx_t *inctx = (bio_filter_in_ctx_t *)(bio->ptr);
477 bio_filter_out_ctx_t *outctx = inctx->bio_out->ptr;
568 bio_filter_in_ctrl(BIO *bio, int cmd, long num, void *ptr) argument
[all...]
H A Dssl_engine_vars.c626 char *result, *ptr; local
632 ptr = strchr(var, '_');
633 if (ptr != NULL && strspn(ptr + 1, "0123456789") == strlen(ptr + 1)) {
634 idx = atoi(ptr + 1);
635 varlen = ptr - var;
1131 char **ptr = apr_array_push(array); local
1133 *ptr = apr_pstrmemdup(p, buf->data, buf->length);
/httpd/modules/arch/netware/
H A Dmod_netware.c102 char *cmd_only, *ptr; local
128 for (ptr = cmd_only; *ptr && (*ptr != ' '); ptr++);
129 *ptr = '\0';
H A Dmod_nw_ssl.c636 char **ptr = (char **)apr_array_push(certlist); local
638 *ptr = apr_pstrdup(cmd->pool, arg);
/httpd/modules/debugging/
H A Dmod_dumpio.c54 static void dumpit(ap_filter_t *f, apr_bucket *b, dumpio_conf_t *ptr) argument
133 dumpio_conf_t *ptr = f->ctx; local
146 dumpit(f, b, ptr);
162 dumpio_conf_t *ptr = f->ctx; local
174 dumpit(f, b, ptr);
182 dumpio_conf_t *ptr; local
184 ptr = (dumpio_conf_t *) ap_get_module_config(c->base_server->module_config,
187 if (ptr->enable_input)
188 ap_add_input_filter("DUMPIO_IN", ptr, NULL, c);
189 if (ptr
210 dumpio_conf_t *ptr = apr_pcalloc(p, sizeof *ptr); local
218 dumpio_conf_t *ptr = ap_get_module_config(cmd->server->module_config, local
227 dumpio_conf_t *ptr = ap_get_module_config(cmd->server->module_config, local
[all...]
H A Dmod_firehose.c521 firehose_conf_t *ptr = apr_pcalloc(p, sizeof(firehose_conf_t)); local
523 ptr->firehoses = apr_array_make(p, 2, sizeof(firehose_conn_t));
525 return ptr;
549 *ptr = local
553 firehose = apr_array_push(ptr->firehoses);
/httpd/modules/proxy/
H A Dajp_header.c544 const char *ptr; local
557 rc = ajp_msg_get_string(msg, &ptr);
560 ptr = apr_pstrdup(r->pool, ptr);
561 ap_xlate_proto_from_ascii(ptr, strlen(ptr));
563 r->status_line = apr_psprintf(r->pool, "%d %s", status, ptr);
784 apr_uint16_t *len, char **ptr)
824 *ptr = (char *)&(msg->buf[msg->pos]);
854 apr_status_t ajp_alloc_data_msg(apr_pool_t *pool, char **ptr, apr_size_ argument
783 ajp_parse_data(request_rec *r, ajp_msg_t *msg, apr_uint16_t *len, char **ptr) argument
[all...]
H A Dmod_proxy.c1590 const char *ptr; local
1596 ((ptr = ap_strchr_c(url, '|')) != NULL)) {
1600 ret = ptr + 1;
H A Dproxy_util.c1662 char *ptr, *sockpath = NULL; local
1669 ptr = ap_strchr((char *)url, '|');
1670 if (ptr) {
1671 *ptr = '\0';
1675 url = ptr+1; /* so we get the scheme for the uds */
1678 *ptr = '|';
1713 /* recall that we get a ptr to the ptr here */
1740 ptr = apr_uri_unparse(p, &uri, APR_URI_UNP_REVEALPASSWORD);
1741 if (PROXY_STRNCPY(wshared->name, ptr) !
1985 char *ptr, *ptr2; local
[all...]
/httpd/modules/slotmem/
H A Dmod_slotmem_plain.c44 char *ptr; local
52 ptr = (char *)mem->base;
57 retval = func((void *) ptr, data, pool);
61 ptr += mem->size;
152 char *ptr; local
159 ptr = (char *)score->base + score->size * id;
160 if (!ptr)
162 *mem = ptr;
168 void *ptr; local
183 ret = slotmem_dptr(slot, id, &ptr);
194 void *ptr; local
[all...]
H A Dmod_slotmem_shm.c63 void *shm; /* ptr to memory segment (apr_shm_t *) */
182 static apr_status_t restore_slotmem(void *ptr, const char *name, apr_size_t size, argument
201 rv = apr_file_read(fp, ptr, &nbytes);
214 apr_md5(digest2, ptr, nbytes);
271 char *ptr; local
279 ptr = (char *)mem->base;
284 retval = func((void *) ptr, data, pool);
288 ptr += mem->desc.size;
301 char *ptr; local
363 ptr
449 char *ptr; local
534 char *ptr; local
554 void *ptr; local
581 void *ptr; local
[all...]
/httpd/modules/filters/
H A Dsed0.c910 sed_label_t *ptr; local
913 ptr = commands->lab;
914 while (rp < ptr) {
915 if (strcmp(rp->asc, ptr->asc) == 0)
H A Dmod_deflate.c141 char *ptr; local
157 for (ptr=token+1; apr_isspace(*ptr); ++ptr);
158 if (!strcasecmp(ptr, "gzip")
159 || !strcasecmp(ptr, "x-gzip")) {
169 else if (!ptr[0] || !strcasecmp(ptr, "identity")) {
/httpd/modules/ldap/
H A Dutil_ldap_cache_mgr.c79 void util_ald_free(util_ald_cache_t *cache, const void *ptr) argument
83 if (ptr)
85 apr_rmm_free(cache->rmm_addr, apr_rmm_offset_get(cache->rmm_addr, (void *)ptr));
88 if (ptr)
90 free((void *)ptr);
93 if (ptr)
94 free((void *)ptr);
143 * Returns: ptr to a new copy of the subgroupList or NULL if allocation failed.
/httpd/modules/dav/lock/
H A Dlocks.c441 char *ptr; local
479 ptr = val.dptr = apr_pcalloc(lockdb->info->pool, val.dsize);
485 *ptr++ = DAV_LOCK_DIRECT;
486 memcpy(ptr, dp, sizeof(dp->f)); /* Fixed portion of struct */
487 ptr += sizeof(dp->f);
488 memcpy(ptr, dp->locktoken, sizeof(*dp->locktoken));
489 ptr += sizeof(*dp->locktoken);
491 *ptr++ = '\0';
494 memcpy(ptr, dp->owner, strlen(dp->owner) + 1);
495 ptr
[all...]
/httpd/support/
H A Dfirehose.c199 uuid_rec **ptr)
222 *ptr = rec;
198 make_uuid_rec(file_rec *file, header_rec *header, uuid_rec **ptr) argument
H A Drotatelogs.c441 char *ptr = strrchr(newlog.name, '/'); local
442 if (ptr && ptr > newlog.name) {
443 char *path = apr_pstrmemdup(newlog.pool, newlog.name, ptr - newlog.name);
514 char *ptr = NULL; local
517 if ((ptr = strchr(arg, 'B')) != NULL) { /* Found KB size */
520 else if ((ptr = strchr(arg, 'K')) != NULL) { /* Found KB size */
523 else if ((ptr = strchr(arg, 'M')) != NULL) { /* Found MB size */
526 else if ((ptr = strchr(arg, 'G')) != NULL) { /* Found GB size */
529 if (ptr) { /* rotatio
[all...]
/httpd/modules/core/
H A Dmod_macro.c114 char * ptr,
118 for (p=ptr; *p; p++) {
124 what, cfg->line_number, cfg->name, ptr);
150 char *ptr = line; local
155 first = ap_getword_conf_nc(pool, &ptr);
421 char *ptr = buf, local
431 while ((ptr = next_substitution(ptr, macro->arguments, &whichone))) {
432 const char *errmsg = substitute(ptr, buf - ptr
113 warn_if_non_blank(const char * what, char * ptr, ap_configfile_t * cfg) argument
[all...]
/httpd/modules/dav/fs/
H A Dlock.c420 char *ptr; local
458 ptr = val.dptr = apr_pcalloc(lockdb->info->pool, val.dsize);
463 *ptr++ = DAV_LOCK_DIRECT; /* Direct lock - lock_discovery struct follows */
464 memcpy(ptr, dp, sizeof(dp->f)); /* Fixed portion of struct */
465 ptr += sizeof(dp->f);
466 memcpy(ptr, dp->locktoken, sizeof(*dp->locktoken));
467 ptr += sizeof(*dp->locktoken);
469 *ptr++ = '\0';
472 memcpy(ptr, dp->owner, strlen(dp->owner) + 1);
473 ptr
[all...]
/httpd/modules/metadata/
H A Dmod_headers.c189 char *ptr; local
191 hdr = ptr = apr_pstrdup(p, hdr);
194 if (*ptr == APR_ASCII_LF || *ptr == APR_ASCII_CR)
195 *ptr = APR_ASCII_BLANK;
196 } while (*ptr++);
/httpd/server/
H A Dutil_expr_scan.c2660 void *ap_expr_yyrealloc (void * ptr, yy_size_t size , yyscan_t yyscanner) argument
2669 return (void *) realloc( (char *) ptr, size );
2672 void ap_expr_yyfree (void * ptr , yyscan_t yyscanner)
2674 free( (char *) ptr ); /* see ap_expr_yyrealloc() for (char *) cast */
H A Dutil.c1150 const unsigned char *ptr = (const unsigned char *)*field; local
1156 while (*ptr == ',' || apr_isspace(*ptr))
1157 ++ptr;
1159 token = ptr;
1164 *ptr && (in_qpair || in_qstr || in_com || *ptr != ',');
1165 ++ptr) {
1171 switch (*ptr) {
1188 if ((*len = (ptr
1211 const unsigned char *ptr; local
1307 const unsigned char *ptr = (const unsigned char *)line; local
1553 const char *ptr = *accept_line; local
2511 void **ptr = (void **)data_; local
2586 ap_parse_form_data(request_rec *r, ap_filter_t *f, apr_array_header_t **ptr, apr_size_t num, apr_size_t usize) argument
2982 ap_realloc(void *ptr, size_t size) argument
[all...]

Completed in 572 milliseconds