range 185 http/modules/ngx_http_geo_module.c ngx_http_geo_range_t *range; range 191 http/modules/ngx_http_geo_module.c range = ctx->u.high.low[addr >> 16]; range 193 http/modules/ngx_http_geo_module.c if (range) { range 196 http/modules/ngx_http_geo_module.c if (n >= (ngx_uint_t) range->start && n <= (ngx_uint_t) range->end) range 198 http/modules/ngx_http_geo_module.c *v = *range->value; range 201 http/modules/ngx_http_geo_module.c } while ((++range)->value); range 635 http/modules/ngx_http_geo_module.c ngx_http_geo_range_t *range; range 667 http/modules/ngx_http_geo_module.c range = a->elts; range 673 http/modules/ngx_http_geo_module.c if (e < (ngx_uint_t) range[i].start) { range 677 http/modules/ngx_http_geo_module.c if (s > (ngx_uint_t) range[i].end) { range 681 http/modules/ngx_http_geo_module.c range = ngx_array_push(a); range 682 http/modules/ngx_http_geo_module.c if (range == NULL) { range 686 http/modules/ngx_http_geo_module.c range = a->elts; range 688 http/modules/ngx_http_geo_module.c ngx_memmove(&range[i + 2], &range[i + 1], range 691 http/modules/ngx_http_geo_module.c range[i + 1].start = (u_short) s; range 692 http/modules/ngx_http_geo_module.c range[i + 1].end = (u_short) e; range 693 http/modules/ngx_http_geo_module.c range[i + 1].value = ctx->value; range 698 http/modules/ngx_http_geo_module.c if (s == (ngx_uint_t) range[i].start range 699 http/modules/ngx_http_geo_module.c && e == (ngx_uint_t) range[i].end) range 703 http/modules/ngx_http_geo_module.c ctx->net, ctx->value, range[i].value); range 705 http/modules/ngx_http_geo_module.c range[i].value = ctx->value; range 710 http/modules/ngx_http_geo_module.c if (s > (ngx_uint_t) range[i].start range 711 http/modules/ngx_http_geo_module.c && e < (ngx_uint_t) range[i].end) range 715 http/modules/ngx_http_geo_module.c range = ngx_array_push(a); range 716 http/modules/ngx_http_geo_module.c if (range == NULL) { range 720 http/modules/ngx_http_geo_module.c range = ngx_array_push(a); range 721 http/modules/ngx_http_geo_module.c if (range == NULL) { range 725 http/modules/ngx_http_geo_module.c range = a->elts; range 727 http/modules/ngx_http_geo_module.c ngx_memmove(&range[i + 3], &range[i + 1], range 730 http/modules/ngx_http_geo_module.c range[i + 2].start = (u_short) (e + 1); range 731 http/modules/ngx_http_geo_module.c range[i + 2].end = range[i].end; range 732 http/modules/ngx_http_geo_module.c range[i + 2].value = range[i].value; range 734 http/modules/ngx_http_geo_module.c range[i + 1].start = (u_short) s; range 735 http/modules/ngx_http_geo_module.c range[i + 1].end = (u_short) e; range 736 http/modules/ngx_http_geo_module.c range[i + 1].value = ctx->value; range 738 http/modules/ngx_http_geo_module.c range[i].end = (u_short) (s - 1); range 743 http/modules/ngx_http_geo_module.c if (s == (ngx_uint_t) range[i].start range 744 http/modules/ngx_http_geo_module.c && e < (ngx_uint_t) range[i].end) range 748 http/modules/ngx_http_geo_module.c range = ngx_array_push(a); range 749 http/modules/ngx_http_geo_module.c if (range == NULL) { range 753 http/modules/ngx_http_geo_module.c range = a->elts; range 755 http/modules/ngx_http_geo_module.c ngx_memmove(&range[i + 1], &range[i], range 758 http/modules/ngx_http_geo_module.c range[i + 1].start = (u_short) (e + 1); range 760 http/modules/ngx_http_geo_module.c range[i].start = (u_short) s; range 761 http/modules/ngx_http_geo_module.c range[i].end = (u_short) e; range 762 http/modules/ngx_http_geo_module.c range[i].value = ctx->value; range 767 http/modules/ngx_http_geo_module.c if (s > (ngx_uint_t) range[i].start range 768 http/modules/ngx_http_geo_module.c && e == (ngx_uint_t) range[i].end) range 772 http/modules/ngx_http_geo_module.c range = ngx_array_push(a); range 773 http/modules/ngx_http_geo_module.c if (range == NULL) { range 777 http/modules/ngx_http_geo_module.c range = a->elts; range 779 http/modules/ngx_http_geo_module.c ngx_memmove(&range[i + 2], &range[i + 1], range 782 http/modules/ngx_http_geo_module.c range[i + 1].start = (u_short) s; range 783 http/modules/ngx_http_geo_module.c range[i + 1].end = (u_short) e; range 784 http/modules/ngx_http_geo_module.c range[i + 1].value = ctx->value; range 786 http/modules/ngx_http_geo_module.c range[i].end = (u_short) (s - 1); range 791 http/modules/ngx_http_geo_module.c s = (ngx_uint_t) range[i].start; range 792 http/modules/ngx_http_geo_module.c e = (ngx_uint_t) range[i].end; range 805 http/modules/ngx_http_geo_module.c range = ngx_array_push(a); range 806 http/modules/ngx_http_geo_module.c if (range == NULL) { range 810 http/modules/ngx_http_geo_module.c range->start = (u_short) s; range 811 http/modules/ngx_http_geo_module.c range->end = (u_short) e; range 812 http/modules/ngx_http_geo_module.c range->value = ctx->value; range 830 http/modules/ngx_http_geo_module.c ngx_http_geo_range_t *range; range 858 http/modules/ngx_http_geo_module.c range = a->elts; range 861 http/modules/ngx_http_geo_module.c if (s == (ngx_uint_t) range[i].start range 862 http/modules/ngx_http_geo_module.c && e == (ngx_uint_t) range[i].end) range 864 http/modules/ngx_http_geo_module.c ngx_memmove(&range[i], &range[i + 1], range 872 http/modules/ngx_http_geo_module.c if (s != (ngx_uint_t) range[i].start range 873 http/modules/ngx_http_geo_module.c && e != (ngx_uint_t) range[i].end) range 1153 http/modules/ngx_http_geo_module.c ngx_http_geo_range_t *range, **ranges; range 1265 http/modules/ngx_http_geo_module.c range = (ngx_http_geo_range_t *) &ranges[0x10000]; range 1267 http/modules/ngx_http_geo_module.c while ((u_char *) range < base + size) { range 1268 http/modules/ngx_http_geo_module.c while (range->value) { range 1269 http/modules/ngx_http_geo_module.c ngx_crc32_update(&crc32, (u_char *) range, range 1271 http/modules/ngx_http_geo_module.c range->value = (ngx_http_variable_value_t *) range 1272 http/modules/ngx_http_geo_module.c ((u_char *) range->value + (size_t) base); range 1273 http/modules/ngx_http_geo_module.c range++; range 1275 http/modules/ngx_http_geo_module.c ngx_crc32_update(&crc32, (u_char *) range, sizeof(void *)); range 1276 http/modules/ngx_http_geo_module.c range = (ngx_http_geo_range_t *) ((u_char *) range + sizeof(void *)); range 1320 http/modules/ngx_http_geo_module.c ngx_http_geo_range_t *r, *range, **ranges; range 1359 http/modules/ngx_http_geo_module.c range = (ngx_http_geo_range_t *) p; range 1369 http/modules/ngx_http_geo_module.c range->value = (ngx_http_variable_value_t *) gvvn->offset; range 1370 http/modules/ngx_http_geo_module.c range->start = r->start; range 1371 http/modules/ngx_http_geo_module.c range->end = r->end; range 1372 http/modules/ngx_http_geo_module.c range++; range 1376 http/modules/ngx_http_geo_module.c range->value = NULL; range 1378 http/modules/ngx_http_geo_module.c p = (u_char *) range + sizeof(void *); range 161 http/modules/ngx_http_range_filter_module.c if (r->headers_in.range == NULL range 162 http/modules/ngx_http_range_filter_module.c || r->headers_in.range->value.len < 7 range 163 http/modules/ngx_http_range_filter_module.c || ngx_strncasecmp(r->headers_in.range->value.data, range 240 http/modules/ngx_http_range_filter_module.c ngx_http_range_t *range; range 242 http/modules/ngx_http_range_filter_module.c p = r->headers_in.range->value.data + 6; range 273 http/modules/ngx_http_range_filter_module.c range = ngx_array_push(&ctx->ranges); range 274 http/modules/ngx_http_range_filter_module.c if (range == NULL) { range 278 http/modules/ngx_http_range_filter_module.c range->start = start; range 279 http/modules/ngx_http_range_filter_module.c range->end = r->headers_out.content_length_n; range 316 http/modules/ngx_http_range_filter_module.c range = ngx_array_push(&ctx->ranges); range 317 http/modules/ngx_http_range_filter_module.c if (range == NULL) { range 321 http/modules/ngx_http_range_filter_module.c range->start = start; range 328 http/modules/ngx_http_range_filter_module.c range->end = r->headers_out.content_length_n; range 331 http/modules/ngx_http_range_filter_module.c range->end = end + 1; range 346 http/modules/ngx_http_range_filter_module.c ngx_http_range_t *range; range 366 http/modules/ngx_http_range_filter_module.c range = ctx->ranges.elts; range 370 http/modules/ngx_http_range_filter_module.c range->start, range->end - 1, range 374 http/modules/ngx_http_range_filter_module.c r->headers_out.content_length_n = range->end - range->start; range 391 http/modules/ngx_http_range_filter_module.c ngx_http_range_t *range; range 472 http/modules/ngx_http_range_filter_module.c range = ctx->ranges.elts; range 477 http/modules/ngx_http_range_filter_module.c range[i].content_range.data = range 480 http/modules/ngx_http_range_filter_module.c if (range[i].content_range.data == NULL) { range 484 http/modules/ngx_http_range_filter_module.c range[i].content_range.len = ngx_sprintf(range[i].content_range.data, range 486 http/modules/ngx_http_range_filter_module.c range[i].start, range[i].end - 1, range 488 http/modules/ngx_http_range_filter_module.c - range[i].content_range.data; range 490 http/modules/ngx_http_range_filter_module.c len += ctx->boundary_header.len + range[i].content_range.len range 491 http/modules/ngx_http_range_filter_module.c + (size_t) (range[i].end - range[i].start); range 581 http/modules/ngx_http_range_filter_module.c ngx_http_range_t *range; range 600 http/modules/ngx_http_range_filter_module.c range = ctx->ranges.elts; range 602 http/modules/ngx_http_range_filter_module.c if (start > range[i].start || last < range[i].end) { range 628 http/modules/ngx_http_range_filter_module.c ngx_http_range_t *range; range 632 http/modules/ngx_http_range_filter_module.c range = ctx->ranges.elts; range 652 http/modules/ngx_http_range_filter_module.c if (range->end <= start || range->start >= last) { range 667 http/modules/ngx_http_range_filter_module.c if (range->start > start) { range 670 http/modules/ngx_http_range_filter_module.c buf->file_pos += range->start - start; range 674 http/modules/ngx_http_range_filter_module.c buf->pos += (size_t) (range->start - start); range 678 http/modules/ngx_http_range_filter_module.c if (range->end <= last) { range 681 http/modules/ngx_http_range_filter_module.c buf->file_last -= last - range->end; range 685 http/modules/ngx_http_range_filter_module.c buf->last -= (size_t) (last - range->end); range 715 http/modules/ngx_http_range_filter_module.c ngx_http_range_t *range; range 719 http/modules/ngx_http_range_filter_module.c range = ctx->ranges.elts; range 762 http/modules/ngx_http_range_filter_module.c b->pos = range[i].content_range.data; range 763 http/modules/ngx_http_range_filter_module.c b->last = range[i].content_range.data + range[i].content_range.len; range 787 http/modules/ngx_http_range_filter_module.c b->file_pos = body_start + range[i].start; range 788 http/modules/ngx_http_range_filter_module.c b->file_last = body_start + range[i].end; range 792 http/modules/ngx_http_range_filter_module.c b->pos = buf->start + (size_t) range[i].start; range 793 http/modules/ngx_http_range_filter_module.c b->last = buf->start + (size_t) range[i].end; range 109 http/ngx_http_request.c { ngx_string("Range"), offsetof(ngx_http_headers_in_t, range), range 178 http/ngx_http_request.h ngx_table_elt_t *range;