Searched defs:src (Results 1 - 15 of 15) sorted by relevance

/httpd/include/
H A Dapreq_util.h75 * Places a quoted copy of src into dest. Embedded quotes are escaped with a
80 * @param src Original string.
86 APREQ_DECLARE(apr_size_t) apreq_quote(char *dest, const char *src,
91 * Same as apreq_quote() except when src begins and ends in quote marks. In
92 * that case it assumes src is quoted correctly, and just copies src to dest.
96 * @param src Original string.
102 APREQ_DECLARE(apr_size_t) apreq_quote_once(char *dest, const char *src,
110 * @param src Original string.
115 APREQ_DECLARE(apr_size_t) apreq_encode(char *dest, const char *src,
205 apreq_escape(apr_pool_t *p, const char *src, const apr_size_t slen) argument
[all...]
/httpd/modules/slotmem/
H A Dmod_slotmem_plain.c192 static apr_status_t slotmem_put(ap_slotmem_instance_t *slot, unsigned int id, unsigned char *src, apr_size_t src_len) argument
214 memcpy(ptr, src, src_len); /* bounds check? */
H A Dmod_slotmem_shm.c579 unsigned char *src, apr_size_t src_len)
601 memcpy(ptr, src, src_len); /* bounds check? */
578 slotmem_put(ap_slotmem_instance_t *slot, unsigned int id, unsigned char *src, apr_size_t src_len) argument
/httpd/modules/metadata/
H A Dmod_setenvif.c192 const char *src = s; local
196 while (*src) {
197 switch (*src) {
231 src++;
237 char *unescaped = (char *)apr_palloc(p, src - s + 1);
239 src = s;
241 if (*src == '\\') {
242 src++;
244 } while ((*dst++ = *src++));
/httpd/server/
H A Dapreq_util.c192 const char *src, apr_size_t slen)
194 const unsigned char *s = (unsigned const char *)src;
240 APREQ_DECLARE(apreq_charset_t) apreq_charset_divine(const char *src,
246 register const unsigned char *s = (const unsigned char *)src;
353 const char *src, apr_size_t *slen)
355 register const char *s = src;
358 const char *end = src + *slen;
394 *slen = s - src;
417 *slen = s - src;
425 *slen = s - src;
352 url_decode(char *dest, apr_size_t *dlen, const char *src, apr_size_t *slen) argument
[all...]
H A Dutil_script.c686 const char *src; local
696 src = bucket_data;
698 while ((src < src_end) && (dst < dst_end) && !done) {
699 if (*src == '\n') {
702 else if (*src != '\r') {
703 *dst++ = *src;
705 src++;
708 if (src < src_end) {
709 apr_bucket_split(e, src - bucket_data);
H A Dvhost.c283 ipaddr_chain *src; local
291 for (src = iphash_table[i]; src; src = src->next) {
817 const char *src; local
826 src = host_header ? host_header : r->hostname;
829 if (!*src) {
836 for (c = src; apr_isdigit(*c); ++c);
843 src);
1002 name_chain *src; local
1071 name_chain *src; local
1201 name_chain *src; local
[all...]
H A Dutil.c386 const char *src = input; local
396 len = strlen(src);
400 *result = apr_pstrmemdup(p, src, len);
404 ap_varbuf_strmemcat(vb, src, len);
410 while ((c = *src++) != '\0') {
411 if (c == '$' && apr_isdigit(*src))
412 no = *src++ - '0';
417 if (c == '\\' && *src)
418 src++;
445 src
2132 ap_bin2hex(const void *src, apr_size_t srclen, char *dest) argument
[all...]
/httpd/modules/http/
H A Dhttp_protocol.c1561 ap_method_list_t *src)
1567 dest->method_mask = src->method_mask;
1568 imethods = (char **) src->method_list->elts;
1569 for (i = 0; i < src->method_list->nelts; ++i) {
1560 ap_copy_method_list(ap_method_list_t *dest, ap_method_list_t *src) argument
/httpd/modules/cache/
H A Dmod_cache_disk.c136 const char *src, const char *dest,
141 rv = apr_file_rename(src, 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
H A Dmod_socache_shmcb.c196 unsigned int dest_offset, const unsigned char *src,
201 memcpy(data + dest_offset, src, src_len);
204 memcpy(data + dest_offset, src, buf_size - dest_offset);
205 memcpy(data, src + buf_size - dest_offset,
231 const unsigned char *src,
236 return memcmp(data + dest_offset, src, src_len);
241 diff = memcmp(data + dest_offset, src, buf_size - dest_offset);
245 return memcmp(data, src + buf_size - dest_offset,
195 shmcb_cyclic_ntoc_memcpy(unsigned int buf_size, unsigned char *data, unsigned int dest_offset, const unsigned char *src, unsigned int src_len) argument
229 shmcb_cyclic_memcmp(unsigned int buf_size, unsigned char *data, unsigned int dest_offset, const unsigned char *src, unsigned int src_len) argument
/httpd/modules/dav/main/
H A Dutil.c80 DAV_DECLARE(dav_error*) dav_join_error(dav_error *dest, dav_error *src) argument
84 /* src error doesn't exist so nothing to join just return dest */
85 if (src == NULL) {
89 /* dest error doesn't exist so nothing to join just return src */
91 return src;
99 /* add the src error onto end of dest stack and return it */
100 curr->prev = src;
/httpd/modules/aaa/
H A Dmod_auth_digest.c1476 apr_uri_t *src, request_rec *r) {
1477 if (src->scheme && src->scheme[0] != '\0') {
1478 dst->scheme = src->scheme;
1484 if (src->hostname && src->hostname[0] != '\0') {
1485 dst->hostname = apr_pstrdup(r->pool, src->hostname);
1492 if (src->port_str && src->port_str[0] != '\0') {
1493 dst->port = src
1475 copy_uri_components(apr_uri_t *dst, apr_uri_t *src, request_rec *r) argument
[all...]
/httpd/modules/dav/fs/
H A Drepos.c323 /* Copy or move src to dst; src_finfo is used to propagate permissions
329 const char *src,
363 if ((status = apr_file_open(&inf, src, APR_READ | APR_BINARY,
436 if (is_move && (status = apr_file_remove(src, p)) != APR_SUCCESS) {
449 "inconsistent state.", src, dst));
484 const char *src; local
488 src = apr_pstrcat(p, src_dir, "/" DAV_FS_STATE_DIR "/", src_file, NULL);
491 rv = apr_stat(&src_finfo, src, APR_FINFO_NORM, p);
534 rv = apr_file_rename(src, dst, p);
536 return dav_fs_copymove_file(is_move, p, src, ds
326 dav_fs_copymove_file( int is_move, apr_pool_t * p, const char *src, const char *dst, const apr_finfo_t *src_finfo, const apr_finfo_t *dst_finfo, dav_buffer *pbuf) argument
553 dav_fs_copymoveset(int is_move, apr_pool_t *p, const dav_resource *src, const dav_resource *dst, dav_buffer *pbuf) argument
1209 dav_fs_copymove_resource( int is_move, const dav_resource *src, const dav_resource *dst, int depth, dav_response **response) argument
1271 dav_fs_copy_resource( const dav_resource *src, dav_resource *dst, int depth, dav_response **response) argument
1302 dav_fs_move_resource( dav_resource *src, dav_resource *dst, dav_response **response) argument
[all...]
/httpd/modules/ldap/
H A Dutil_ldap.c653 struct apr_ldap_opt_tls_cert_t *src, *dest; local
666 src = (struct apr_ldap_opt_tls_cert_t *)srcs->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 2361 milliseconds