Searched defs:arr (Results 1 - 22 of 22) sorted by relevance

/httpd/modules/metadata/
H A Dmod_env.c54 const apr_array_header_t *arr; local
71 arr = apr_table_elts(add->unsetenv);
72 if (arr) {
73 elts = (const apr_table_entry_t *)arr->elts;
75 for (i = 0; i < arr->nelts; ++i) {
80 arr = apr_table_elts(add->vars);
81 if (arr) {
82 elts = (const apr_table_entry_t *)arr->elts;
84 for (i = 0; i < arr->nelts; ++i) {
H A Dmod_setenvif.c553 *arr = apr_table_elts(r->headers_in); local
555 elts = (const apr_table_entry_t *) arr->elts;
557 for (j = 0; j < arr->nelts; ++j) {
593 const apr_array_header_t *arr = apr_table_elts(b->features); local
594 elts = (const apr_table_entry_t *) arr->elts;
596 for (j = 0; j < arr->nelts; ++j) {
/httpd/server/
H A Dapreq_param.c193 apr_array_header_t *arr = data; local
194 *(apreq_param_t **)apr_array_push(arr) =
204 apr_array_header_t *arr; local
206 arr = apr_array_make(p, apr_table_elts(t)->nelts,
209 apr_table_do(param_push, arr, t, key, NULL);
210 return arr;
218 apr_array_header_t *arr = apreq_params_as_array(p, t, key); local
219 apreq_param_t **elt = (apreq_param_t **)arr->elts;
220 apreq_param_t **const end = elt + arr->nelts;
221 if (arr
[all...]
H A Dapreq_parser_header.c63 apr_array_header_t arr; local
74 arr.pool = pool;
75 arr.elt_size = sizeof(struct iovec);
76 arr.nelts = 0;
77 arr.nalloc = APREQ_DEFAULT_NELTS;
78 arr.elts = (char *)vec;
86 end = apr_array_push(&arr);
137 iov = (struct iovec *)arr.elts;
H A Dapreq_parser_urlencoded.c59 apr_array_header_t arr; local
69 arr.pool = pool;
70 arr.elt_size = sizeof(struct iovec);
71 arr.nelts = 0;
72 arr.nalloc = APREQ_DEFAULT_NELTS;
73 arr.elts = (char *)vec;
79 struct iovec *iov = apr_array_push(&arr);
97 mark = arr.nelts;
100 struct iovec *iov = apr_array_push(&arr);
120 (struct iovec *)arr
[all...]
H A Dapreq_util.c600 const apr_array_header_t *arr,
605 const apreq_value_t **a = (const apreq_value_t **)arr->elts;
607 const int n = arr->nelts;
598 apreq_join(apr_pool_t *p, const char *sep, const apr_array_header_t *arr, apreq_join_t mode) argument
H A Dconfig.c1734 apr_array_header_t *arr,
1744 arr_parms.array = arr;
1733 process_command_config(server_rec *s, apr_array_header_t *arr, ap_directive_t **conftree, apr_pool_t *p, apr_pool_t *ptemp) argument
/httpd/modules/proxy/
H A Dajp_header.c223 const apr_array_header_t *arr = apr_table_elts(r->subprocess_env); local
224 const apr_table_entry_t *elts = (const apr_table_entry_t *)arr->elts;
481 for (i = 0; i < (apr_uint32_t)arr->nelts; i++) {
H A Dmod_proxy.c1630 const apr_array_header_t *arr; local
1723 arr = apr_table_elts(params);
1724 elts = (const apr_table_entry_t *)arr->elts;
1749 for (i = 0; i < arr->nelts; i++) {
1788 for (i = 0; i < arr->nelts; i++) {
2202 const apr_array_header_t *arr; local
2270 arr = apr_table_elts(params);
2271 elts = (const apr_table_entry_t *)arr->elts;
2272 for (i = 0; i < arr->nelts; i++) {
/httpd/modules/ssl/
H A Dssl_engine_pphrase.c87 * since apr_array_push() will apr_alloc arr->nalloc * 2 elts,
88 * leaving the original arr->elts to waste.
122 static char *pphrase_array_get(apr_array_header_t *arr, int idx) argument
124 if ((idx < 0) || (idx >= arr->nelts)) {
128 return ((char **)arr->elts)[idx];
H A Dssl_ct_util.c62 apr_array_header_t *arr = apr_array_make(p, 10, sizeof(char *)); local
86 *(const char **)apr_array_push(arr) = line;
91 *out = arr;
134 apr_array_header_t *arr; local
141 arr = *outarr;
142 if (arr == NULL) {
143 arr = apr_array_make(p, 4, sizeof(char *));
164 *(char **)apr_array_push(arr) = apr_pstrdup(p, fn);
179 *outarr = arr;
465 apr_array_header_t *arr)
463 ctutil_log_array(const char *file, int line, int module_index, int level, server_rec *s, const char *desc, apr_array_header_t *arr) argument
662 apr_array_header_t *arr; local
[all...]
H A Dssl_engine_kernel.c266 const apr_array_header_t *arr = apr_table_elts(r->subprocess_env); local
267 const apr_table_entry_t *elts = (const apr_table_entry_t *)arr->elts;
271 for (i = 0; i < arr->nelts; i++) {
H A Dmod_ssl_ct.c280 apr_array_header_t *arr; local
325 arr = NULL; /* Build list from scratch, creating array */
326 rv = ctutil_read_dir(p, s, cert_sct_dir, "*.sct", &arr);
334 rv = ctutil_read_dir(p, s, static_cert_sct_dir, "*.sct", &arr);
341 elts = (const char * const *)arr->elts;
343 for (i = 0; i < arr->nelts; i++) {
723 apr_array_header_t *arr; local
732 arr = NULL; /* Build list from scratch, creating array */
733 rv = ctutil_read_dir(p, s, cert_sct_dir, LOG_SCT_PREFIX "*.sct", &arr);
738 elts = (const char * const *)arr
[all...]
/httpd/modules/generators/
H A Dmod_info.c759 apr_array_header_t *arr = apr_array_make(p, 64, sizeof(module *)); local
762 entry = &APR_ARRAY_PUSH(arr, module *);
765 qsort(arr->elts, arr->nelts, sizeof(module *), cmp_module_name);
766 return arr;
H A Dmod_autoindex.c197 static void push_item(apr_array_header_t *arr, char *type, const char *to, argument
200 struct item *p = (struct item *) apr_array_push(arr);
210 p->data = apr_pstrdup(arr->pool, data);
211 p->apply_path = apr_pstrcat(arr->pool, path, "*", NULL);
214 p->apply_to = apr_pstrcat(arr->pool, "*", to, NULL);
217 p->apply_to = apr_pstrdup(arr->pool, to);
/httpd/modules/arch/win32/
H A Dmod_isapi.c503 const apr_array_header_t *arr = apr_table_elts(r->subprocess_env); local
504 const apr_table_entry_t *elts = (const apr_table_entry_t *)arr->elts;
507 for (len = 0, i = 0; i < arr->nelts; i++) {
519 for (i = 0; i < arr->nelts; i++) {
541 const apr_array_header_t *arr = apr_table_elts(r->headers_in); local
542 const apr_table_entry_t *elts = (const apr_table_entry_t *)arr->elts;
545 for (len = 0, i = 0; i < arr->nelts; i++) {
555 for (i = 0; i < arr->nelts; i++) {
/httpd/modules/cache/
H A Dmod_cache_disk.c67 static apr_status_t read_array(request_rec *r, apr_array_header_t* arr,
321 apr_array_header_t *arr)
326 *((const char **) apr_array_push(arr)) = token;
330 qsort((void *) arr->elts, arr->nelts,
711 static apr_status_t read_array(request_rec *r, apr_array_header_t* arr, argument
741 *((const char **) apr_array_push(arr)) = apr_pstrdup(r->pool, w);
747 static apr_status_t store_array(apr_file_t *fd, apr_array_header_t* arr) argument
755 elts = (const char **) arr->elts;
757 for (i = 0; i < arr
320 tokens_to_array(apr_pool_t *p, const char *data, apr_array_header_t *arr) argument
[all...]
H A Dmod_cache_socache.c133 static apr_status_t read_array(request_rec *r, apr_array_header_t *arr, argument
144 *((const char **) apr_array_push(arr)) = apr_pstrndup(r->pool,
164 static apr_status_t store_array(apr_array_header_t *arr, unsigned char *buffer, argument
170 elts = (const char **) arr->elts;
172 for (i = 0; i < arr->nelts; i++) {
335 apr_array_header_t *arr)
340 *((const char **) apr_array_push(arr)) = token;
344 qsort((void *) arr->elts, arr->nelts, sizeof(char *), array_alphasort);
334 tokens_to_array(apr_pool_t *p, const char *data, apr_array_header_t *arr) argument
/httpd/modules/aaa/
H A Dmod_auth_digest.c164 unsigned char arr[sizeof(apr_time_t)]; member in union:time_union
1080 apr_base64_encode_binary(nonce, t.arr, sizeof(t.arr));
1392 apr_base64_decode_binary(nonce_time.arr, resp->nonce);
/httpd/modules/mappers/
H A Dmod_negotiation.c2458 apr_array_header_t *arr; local
2474 arr = apr_array_make(r->pool, max_vlist_array, sizeof(char *));
2476 arr = NULL;
2532 *((const char **) apr_array_push(arr)) = "{\"";
2533 *((const char **) apr_array_push(arr)) = ap_escape_path_segment(r->pool, variant->file_name);
2534 *((const char **) apr_array_push(arr)) = "\" ";
2549 *((const char **) apr_array_push(arr)) = qstr;
2552 *((const char **) apr_array_push(arr)) = " {type ";
2553 *((const char **) apr_array_push(arr)) = variant->mime_type;
2554 *((const char **) apr_array_push(arr))
2633 apr_array_header_t *arr; local
[all...]
/httpd/modules/dav/main/
H A Dmod_dav.c1291 const apr_array_header_t *arr; local
1302 arr = apr_table_elts(methods);
1303 elts = (const apr_table_entry_t *)arr->elts;
1305 for (i = 0; i < arr->nelts; ++i) {
1601 const apr_array_header_t *arr; local
1824 arr = apr_table_elts(methods);
1825 elts = (const apr_table_entry_t *)arr->elts;
1829 for (i = 0; i < arr->nelts; ++i) {
1839 for (i = 0; i < arr->nelts; ++i) {
/httpd/modules/filters/
H A Dmod_include.c2683 const apr_array_header_t *arr; local
2705 arr = apr_table_elts(r->subprocess_env);
2706 elts = (apr_table_entry_t *)arr->elts;
2708 for (i = 0; i < arr->nelts; ++i) {

Completed in 125 milliseconds