Searched refs:range (Results 1 - 10 of 10) sorted by relevance

/httpd/docs/manual/style/scripts/
H A Dprettify.js334 // If the range might intersect letters, then expand it.
355 var range = ranges[i];
356 if (range[0] <= lastRange[1] + 1) {
357 lastRange[1] = Math.max(lastRange[1], range[1]);
359 consolidatedRanges.push(lastRange = range);
364 var range = consolidatedRanges[i];
365 out.push(encodeEscape(range[0]));
366 if (range[1] > range[0]) {
367 if (range[
[all...]
H A Dprettify.min.js18 ranges.sort(function(a,b){return(a[0]-b[0])||(b[1]-a[1]);});var consolidatedRanges=[];var lastRange=[];for(var i=0;i<ranges.length;++i){var range=ranges[i];if(range[0]<=lastRange[1]+1){lastRange[1]=Math.max(lastRange[1],range[1]);}else{consolidatedRanges.push(lastRange=range);}}
19 for(var i=0;i<consolidatedRanges.length;++i){var range=consolidatedRanges[i];out.push(encodeEscape(range[0]));if(range[1]>range[0]){if(range[1]+1>range[
[all...]
/httpd/modules/http/
H A Dbyterange_filter.c84 const char *range; local
103 range = apr_table_get(r->headers_in, "Range");
104 if (!range || strncasecmp(range, "bytes=", 6) || r->status != HTTP_OK) {
108 /* is content already a single range? */
113 /* is content already a multiple range? */
126 range += 6;
127 it = range;
133 it = range;
138 while ((cur = ap_getword(r->pool, &range, ','))) {
[all...]
/httpd/support/
H A Ddbmmanage.in154 my @range = ();
176 @range = (qw(. /), '0'..'9','a'..'z','A'..'Z');
177 $x = int scalar @range;
181 join '', map $range[rand $x], 1..shift||1;
185 genseed() unless @range;
198 genseed() unless @range;
/httpd/
H A Dap.d28 char *range;
/httpd/modules/filters/
H A Dmod_filter.c73 const char* range ; member in struct:__anon154
254 else if (rctx && rctx->range) {
255 /* restore range header we saved earlier */
256 apr_table_setn(r->headers_in, "Range", rctx->range);
257 rctx->range = NULL;
667 ctx->range = apr_table_get(r->headers_in, "Range");
/httpd/modules/lua/test/htdocs/
H A Dtest.lua97 pf("range")
/httpd/include/
H A Dhttpd.h882 const char *range; member in struct:request_rec
2292 * Get a pseudo random number in a range.
2293 * @param min low end of range
2294 * @param max high end of range
2295 * @return a number in the range
/httpd/modules/dav/main/
H A Dmod_dav.c766 * @return 1 if valid content-range,
767 * 0 if no content-range,
768 * -1 if malformed content-range
774 char *range; local
779 range_c = apr_table_get(r->headers_in, "content-range");
783 range = apr_pstrdup(r->pool, range_c);
784 if (strncasecmp(range, "bytes ", 6) != 0
785 || (dash = ap_strchr(range, '-')) == NULL
786 || (slash = ap_strchr(range, '/')) == NULL) {
794 if (apr_strtoff(range_start, range
[all...]
/httpd/modules/lua/
H A Dlua_request.c625 return r->range;
2771 apr_hash_set(dispatch, "range", APR_HASH_KEY_STRING,

Completed in 90 milliseconds