Lines Matching defs:arr
2458 apr_array_header_t *arr;
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)) = "}";
2557 *((const char **) apr_array_push(arr)) = " {charset ";
2558 *((const char **) apr_array_push(arr)) = variant->content_charset;
2559 *((const char **) apr_array_push(arr)) = "}";
2562 *((const char **) apr_array_push(arr)) = " {language ";
2563 *((const char **) apr_array_push(arr)) = lang;
2564 *((const char **) apr_array_push(arr)) = "}";
2569 *((const char **) apr_array_push(arr)) = " {encoding ";
2570 *((const char **) apr_array_push(arr)) = variant->content_encoding;
2571 *((const char **) apr_array_push(arr)) = "}";
2592 *((const char **) apr_array_push(arr)) = " {length ";
2593 *((const char **) apr_array_push(arr)) = apr_off_t_toa(r->pool,
2595 *((const char **) apr_array_push(arr)) = "}";
2598 *((const char **) apr_array_push(arr)) = "}";
2599 *((const char **) apr_array_push(arr)) = ", "; /* trimmed below */
2603 arr->nelts--; /* remove last comma */
2605 apr_array_pstrcat(r->pool, arr, '\0'));
2633 apr_array_header_t *arr;
2641 arr = apr_array_make(r->pool, max_vlist_array, sizeof(char *));
2643 *((const char **) apr_array_push(arr)) = "Available variants:\n<ul>\n";
2658 *((const char **) apr_array_push(arr)) = "<li><a href=\"";
2659 *((const char **) apr_array_push(arr)) = ap_escape_path_segment(r->pool, filename);
2660 *((const char **) apr_array_push(arr)) = "\">";
2661 *((const char **) apr_array_push(arr)) = ap_escape_html(r->pool, filename);
2662 *((const char **) apr_array_push(arr)) = "</a> ";
2663 *((const char **) apr_array_push(arr)) = description;
2666 *((const char **) apr_array_push(arr)) = ", type ";
2667 *((const char **) apr_array_push(arr)) = variant->mime_type;
2670 *((const char **) apr_array_push(arr)) = ", language ";
2671 *((const char **) apr_array_push(arr)) = apr_array_pstrcat(r->pool,
2675 *((const char **) apr_array_push(arr)) = ", charset ";
2676 *((const char **) apr_array_push(arr)) = variant->content_charset;
2679 *((const char **) apr_array_push(arr)) = ", encoding ";
2680 *((const char **) apr_array_push(arr)) = variant->content_encoding;
2682 *((const char **) apr_array_push(arr)) = "</li>\n";
2684 *((const char **) apr_array_push(arr)) = "</ul>\n";
2686 return apr_array_pstrcat(r->pool, arr, '\0');