Searched refs:dest (Results 1 - 25 of 27) sorted by relevance

12

/httpd/os/bs2000/
H A Debcdic.h29 void ebcdic2ascii(unsigned char *dest, const unsigned char *srce, size_t count);
30 void ebcdic2ascii_strictly(unsigned char *dest, const unsigned char *srce, size_t count);
31 void ascii2ebcdic(unsigned char *dest, const unsigned char *srce, size_t count);
H A Debcdic.c186 * dest and srce may be identical, or separate memory blocks, but
190 ebcdic2ascii(unsigned char *dest, const unsigned char *srce, size_t count) argument
193 *dest++ = os_toascii[*srce++];
197 ebcdic2ascii_strictly(unsigned char *dest, const unsigned char *srce, size_t count) argument
200 *dest++ = os_toascii_strictly[*srce++];
204 ascii2ebcdic(unsigned char *dest, const unsigned char *srce, size_t count) argument
207 *dest++ = os_toebcdic[*srce++];
/httpd/server/
H A Dapreq_parser_header.c64 char *dest; local
113 dest = v->data;
120 memcpy(dest, data, dlen);
121 dest += dlen;
127 assert(dest[-1] == '\n');
129 if (dest[-2] == '\r')
130 --dest;
132 dest[-1] = 0;
133 v->dlen = (dest - v->data) - 1;
136 v->name = dest;
[all...]
H A Dscoreboard.c590 AP_DECLARE(void) ap_copy_scoreboard_worker(worker_score *dest, argument
596 memcpy(dest, ws, sizeof *ws);
600 dest->client[sizeof(dest->client) - 1] = '\0';
601 dest->request[sizeof(dest->request) - 1] = '\0';
602 dest->vhost[sizeof(dest->vhost) - 1] = '\0';
H A Dapreq_util.c191 APREQ_DECLARE(apr_size_t) apreq_cp1252_to_utf8(char *dest,
196 unsigned char *d = (unsigned char *)dest;
216 return d - (unsigned char *)dest;
352 static apr_status_t url_decode(char *dest, apr_size_t *dlen, argument
356 unsigned char *start = (unsigned char *)dest;
357 register unsigned char *d = (unsigned char *)dest;
436 if (s == (const char *)d) { /* optimize for src = dest case */
496 APREQ_DECLARE(apr_size_t) apreq_encode(char *dest, const char *src,
499 char *d = dest;
524 return d - dest;
[all...]
H A Dapreq_cookie.c242 char *dest = apr_palloc(p, val - *v), *d = dest; local
250 *vlen = d - dest;
251 *v = dest;
H A Dutil.c2069 AP_DECLARE(apr_size_t) ap_escape_errorlog_item(char *dest, const char *source,
2079 d = (unsigned char *)dest;
2129 return (d - (unsigned char *)dest);
2132 AP_DECLARE(void) ap_bin2hex(const void *src, apr_size_t srclen, char *dest) argument
2138 *dest++ = c2x_table[in[i] >> 4];
2139 *dest++ = c2x_table[in[i] & 0xf];
2141 *dest = '\0';
2516 AP_DECLARE(apr_status_t) ap_str2_alnum(const char *src, char *dest) {
2518 for ( ; *src; src++, dest++)
2521 *dest
[all...]
/httpd/modules/mappers/
H A Dmod_vhost_alias.c262 char *dest; local
281 dest = buf;
285 vhost_alias_checkspace(r, buf, &dest, 1);
286 *dest++ = *map++;
294 vhost_alias_checkspace(r, buf, &dest, 1);
295 *dest++ = '%';
302 vhost_alias_checkspace(r, buf, &dest, 7);
303 dest += apr_snprintf(dest, 7, "%d", ap_get_server_port(r));
362 vhost_alias_checkspace(r, buf, &dest, en
[all...]
/httpd/include/
H A Dapreq_util.h75 * Places a quoted copy of src into dest. Embedded quotes are escaped with a
78 * @param dest Location of quoted copy. Must be large enough to hold the copy
82 * @param dest Destination string.
84 * @return length of quoted copy in dest.
86 APREQ_DECLARE(apr_size_t) apreq_quote(char *dest, const char *src,
92 * that case it assumes src is quoted correctly, and just copies src to dest.
94 * @param dest Location of quoted copy. Must be large enough to hold the copy
98 * @param dest Destination string.
100 * @return length of quoted copy in dest.
102 APREQ_DECLARE(apr_size_t) apreq_quote_once(char *dest, cons
[all...]
H A Dap_slotmem.h135 * @param dest address to store the data
139 apr_status_t (* get)(ap_slotmem_instance_t *s, unsigned int item_id, unsigned char *dest, apr_size_t dest_len);
H A Dscoreboard.h197 * the worker_score structure are copied verbatim into the dest
199 * @param dest Output parameter.
203 AP_DECLARE(void) ap_copy_scoreboard_worker(worker_score *dest,
H A Dhttpd.h1768 * @param dest The buffer to write to
1774 AP_DECLARE(apr_size_t) ap_escape_errorlog_item(char *dest, const char *source,
2083 * @param p pool to use to allocate dest
2085 * @param dest cleaned up, allocated string
2089 const char **dest);
2097 * @param dest cleaned up, pre-allocated string
2100 AP_DECLARE(apr_status_t) ap_str2_alnum(const char *src, char *dest);
2354 * @param dest pointer to buffer of length (2 * srclen + 1). The resulting
2358 AP_DECLARE(void) ap_bin2hex(const void *src, apr_size_t srclen, char *dest)
H A Dhttp_protocol.h324 * @param dest List to copy to
327 AP_DECLARE(void) ap_copy_method_list(ap_method_list_t *dest,
/httpd/modules/cache/
H A Dmod_socache_shmcb.c211 static void shmcb_cyclic_cton_memcpy(unsigned int buf_size, unsigned char *dest, argument
217 memcpy(dest, data + src_offset, src_len);
220 memcpy(dest, data + src_offset, buf_size - src_offset);
221 memcpy(dest + buf_size - src_offset, data,
519 unsigned char *dest, unsigned int *destlen,
532 dest, destlen);
857 unsigned char *dest, unsigned int *destlen)
893 dest, SHMCB_DATA(header, subcache),
979 unsigned char *dest; local
1002 dest
516 socache_shmcb_retrieve(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, unsigned char *dest, unsigned int *destlen, apr_pool_t *p) argument
854 shmcb_subcache_retrieve(server_rec *s, SHMCBHeader *header, SHMCBSubcache *subcache, const unsigned char *id, unsigned int idlen, unsigned char *dest, unsigned int *destlen) argument
[all...]
H A Dmod_socache_dc.c117 unsigned char *dest, unsigned int *destlen,
123 if (!DC_CTX_get_session(ctx->dc, id, idlen, dest, *destlen, &data_len)) {
115 socache_dc_retrieve(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, unsigned char *dest, unsigned int *destlen, apr_pool_t *p) argument
H A Dmod_socache_memcache.c229 unsigned char *dest, unsigned int *destlen,
257 memcpy(dest, data, data_len);
227 socache_mc_retrieve(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, unsigned char *dest, unsigned int *destlen, apr_pool_t *p) argument
H A Dmod_socache_dbm.c262 unsigned char *dest, unsigned int *destlen,
312 memcpy(dest, (char *)dbmval.dptr + sizeof(apr_time_t), nData);
260 socache_dbm_retrieve(ap_socache_instance_t *ctx, server_rec *s, const unsigned char *id, unsigned int idlen, unsigned char *dest, unsigned int *destlen, apr_pool_t *p) argument
H A Dmod_cache_disk.c136 const char *src, const char *dest,
141 rv = apr_file_rename(src, dest, pool);
150 rv = mkdir_structure(conf, dest, pool);
154 rv = apr_file_rename(src, dest, pool);
135 safe_file_rename(disk_cache_conf *conf, const char *src, const char *dest, apr_pool_t *pool) argument
/httpd/modules/ssl/
H A Dssl_scache.c151 unsigned char dest[MODSSL_SESSION_MAX_DER]; local
161 dest, &destlen, p);
171 ptr = dest;
/httpd/modules/slotmem/
H A Dmod_slotmem_plain.c166 static apr_status_t slotmem_get(ap_slotmem_instance_t *slot, unsigned int id, unsigned char *dest, apr_size_t dest_len) argument
188 memcpy(dest, ptr, dest_len); /* bounds check? */
H A Dmod_slotmem_shm.c552 unsigned char *dest, apr_size_t dest_len)
574 memcpy(dest, ptr, dest_len); /* bounds check? */
551 slotmem_get(ap_slotmem_instance_t *slot, unsigned int id, unsigned char *dest, apr_size_t dest_len) argument
/httpd/modules/http/
H A Dhttp_protocol.c1560 AP_DECLARE(void) ap_copy_method_list(ap_method_list_t *dest, argument
1567 dest->method_mask = src->method_mask;
1570 omethods = (char **) apr_array_push(dest->method_list);
1571 *omethods = apr_pstrdup(dest->method_list->pool, imethods[i]);
/httpd/modules/dav/main/
H A Dutil.c80 DAV_DECLARE(dav_error*) dav_join_error(dav_error *dest, dav_error *src) argument
82 dav_error *curr = dest;
84 /* src error doesn't exist so nothing to join just return dest */
86 return dest;
89 /* dest error doesn't exist so nothing to join just return src */
94 /* find last error in dest stack */
99 /* add the src error onto end of dest stack and return it */
101 return dest;
H A Dmod_dav.c2623 const char *dest; local
2658 dest = apr_table_get(r->headers_in, "Destination");
2659 if (dest == NULL) {
2665 dest = apr_psprintf(r->pool, "http://%s%s", nscp_host, nscp_path);
2667 if (dest == NULL) {
2674 lookup = dav_lookup_uri(dest, r, 1 /* must_be_absolute */);
2726 /* quick failure test: if dest exists and overwrite is false. */
4439 const char *dest; local
4462 dest = apr_table_get(r->headers_in, "Destination");
4463 if (dest
[all...]
/httpd/modules/ldap/
H A Dutil_ldap.c653 struct apr_ldap_opt_tls_cert_t *src, *dest; local
667 dest = (struct apr_ldap_opt_tls_cert_t *)dests->elts;
669 if ((strcmp(src[i].path, dest[i].path)) ||
670 (src[i].type != dest[i].type) ||
672 ((src[i].password == NULL) ^ (dest[i].password == NULL)) ||
673 (src[i].password != NULL && dest[i].password != NULL &&
674 strcmp(src[i].password, dest[i].password))) {

Completed in 137 milliseconds

12