len 494 core/nginx.c var->len = 2; len 505 core/nginx.c if (var[i].data[var[i].len] == '=') { len 512 core/nginx.c if (ngx_strncmp(*p, var[i].data, var[i].len) == 0 len 513 core/nginx.c && (*p)[var[i].len] == '=') len 537 core/nginx.c if (var[i].data[var[i].len] == '=') { len 544 core/nginx.c if (ngx_strncmp(*p, var[i].data, var[i].len) == 0 len 545 core/nginx.c && (*p)[var[i].len] == '=') len 792 core/nginx.c size_t len; len 804 core/nginx.c len = ngx_strlen(argv[i]) + 1; len 806 core/nginx.c ngx_argv[i] = ngx_alloc(len, cycle->log); len 811 core/nginx.c (void) ngx_cpystrn((u_char *) ngx_argv[i], (u_char *) argv[i], len); len 828 core/nginx.c size_t len; len 831 core/nginx.c len = ngx_strlen(ngx_prefix); len 835 core/nginx.c p = ngx_pnalloc(cycle->pool, len + 1); len 840 core/nginx.c ngx_memcpy(p, ngx_prefix, len); len 841 core/nginx.c p[len++] = '/'; len 844 core/nginx.c cycle->conf_prefix.len = len; len 846 core/nginx.c cycle->prefix.len = len; len 863 core/nginx.c len = ngx_strlen(p); len 865 core/nginx.c p[len++] = '/'; len 867 core/nginx.c cycle->conf_prefix.len = len; len 869 core/nginx.c cycle->prefix.len = len; len 885 core/nginx.c cycle->conf_file.len = ngx_strlen(ngx_conf_file); len 896 core/nginx.c for (p = cycle->conf_file.data + cycle->conf_file.len - 1; len 901 core/nginx.c cycle->conf_prefix.len = p - ngx_cycle->conf_file.data + 1; len 908 core/nginx.c cycle->conf_param.len = ngx_strlen(ngx_conf_params); len 1004 core/nginx.c if (ccf->pid.len == 0) { len 1012 core/nginx.c ccf->oldpid.len = ccf->pid.len + sizeof(NGX_OLDPID_EXT); len 1014 core/nginx.c ccf->oldpid.data = ngx_pnalloc(cycle->pool, ccf->oldpid.len); len 1019 core/nginx.c ngx_memcpy(ngx_cpymem(ccf->oldpid.data, ccf->pid.data, ccf->pid.len), len 1052 core/nginx.c if (ccf->lock_file.len == 0) { len 1065 core/nginx.c if (lock_file.len) { len 1066 core/nginx.c lock_file.len--; len 1068 core/nginx.c if (ccf->lock_file.len != lock_file.len len 1069 core/nginx.c || ngx_strncmp(ccf->lock_file.data, lock_file.data, lock_file.len) len 1076 core/nginx.c cycle->lock_file.len = lock_file.len + 1; len 1077 core/nginx.c lock_file.len += sizeof(".accept"); len 1085 core/nginx.c cycle->lock_file.len = ccf->lock_file.len + 1; len 1087 core/nginx.c ccf->lock_file.len + sizeof(".accept")); len 1093 core/nginx.c ccf->lock_file.len), len 1183 core/nginx.c for (i = 0; i < value[1].len; i++) { len 1187 core/nginx.c var->len = i; len 1224 core/nginx.c ccf->priority = ngx_atoi(&value[1].data[n], value[1].len - n); len 1264 core/nginx.c if (value[n].len > 32) { len 1272 core/nginx.c for (i = 0; i < value[n].len; i++) { len 72 core/ngx_conf_file.c if (param->len == 0) { len 82 core/ngx_conf_file.c b.last = param->data + param->len; len 154 core/ngx_conf_file.c cf->conf_file->file.name.len = filename->len; len 307 core/ngx_conf_file.c for ( /* void */ ; cmd->name.len; cmd++) { len 309 core/ngx_conf_file.c if (name->len != cmd->name.len) { len 438 core/ngx_conf_file.c size_t len; len 485 core/ngx_conf_file.c len = b->pos - start; len 487 core/ngx_conf_file.c if (len == NGX_CONF_BUFFER) { len 509 core/ngx_conf_file.c if (len) { len 510 core/ngx_conf_file.c ngx_memmove(b->start, start, len); len 515 core/ngx_conf_file.c if (size > b->end - (b->start + len)) { len 516 core/ngx_conf_file.c size = b->end - (b->start + len); len 519 core/ngx_conf_file.c n = ngx_read_file(&cf->conf_file->file, b->start + len, size, len 534 core/ngx_conf_file.c b->pos = b->start + len; len 691 core/ngx_conf_file.c for (dst = word->data, src = start, len = 0; len 693 core/ngx_conf_file.c len++) len 723 core/ngx_conf_file.c word->len = len; len 785 core/ngx_conf_file.c file.len = name.len++; len 806 core/ngx_conf_file.c size_t len; len 817 core/ngx_conf_file.c len = cycle->conf_prefix.len; len 821 core/ngx_conf_file.c len = cycle->prefix.len; len 828 core/ngx_conf_file.c len = rc; len 833 core/ngx_conf_file.c n = ngx_pnalloc(cycle->pool, len + name->len + 1); len 838 core/ngx_conf_file.c p = ngx_cpymem(n, prefix, len); len 839 core/ngx_conf_file.c ngx_cpystrn(p, name->data, name->len + 1); len 841 core/ngx_conf_file.c name->len += len; len 856 core/ngx_conf_file.c if (name->len < 2) { len 910 core/ngx_conf_file.c if (name->len) { len 931 core/ngx_conf_file.c if (full.len != file[i].name.len) { len 946 core/ngx_conf_file.c if (name->len) { len 964 core/ngx_conf_file.c ssize_t n, len; len 985 core/ngx_conf_file.c len = file[i].pos - file[i].buffer; len 987 core/ngx_conf_file.c if (file[i].buffer == NULL || len == 0) { len 991 core/ngx_conf_file.c n = ngx_write_fd(file[i].fd, file[i].buffer, len); len 998 core/ngx_conf_file.c } else if (n != len) { len 1001 core/ngx_conf_file.c file[i].name.data, n, len); len 1199 core/ngx_conf_file.c *np = ngx_atoi(value[1].data, value[1].len); len 1361 core/ngx_conf_file.c bufs->num = ngx_atoi(value[1].data, value[1].len); len 1393 core/ngx_conf_file.c for (i = 0; e[i].name.len != 0; i++) { len 1394 core/ngx_conf_file.c if (e[i].name.len != value[1].len len 1427 core/ngx_conf_file.c for (m = 0; mask[m].name.len != 0; m++) { len 1429 core/ngx_conf_file.c if (mask[m].name.len != value[i].len len 1446 core/ngx_conf_file.c if (mask[m].name.len == 0) { len 292 core/ngx_conf_file.h conf.len = prev.len; \ len 295 core/ngx_conf_file.h conf.len = sizeof(default) - 1; \ len 21 core/ngx_connection.c size_t len; len 43 core/ngx_connection.c len = ngx_sock_ntop(sa, text, NGX_SOCKADDR_STRLEN, 1); len 44 core/ngx_connection.c ls->addr_text.len = len; len 55 core/ngx_connection.c len++; len 66 core/ngx_connection.c ls->addr_text.data = ngx_pnalloc(cf->pool, len); len 71 core/ngx_connection.c ngx_memcpy(ls->addr_text.data, text, len); len 91 core/ngx_connection.c size_t len; len 125 core/ngx_connection.c len = NGX_INET6_ADDRSTRLEN + sizeof(":65535") - 1; len 132 core/ngx_connection.c len = NGX_UNIX_ADDRSTRLEN; len 138 core/ngx_connection.c len = NGX_INET_ADDRSTRLEN + sizeof(":65535") - 1; len 149 core/ngx_connection.c ls[i].addr_text.data = ngx_pnalloc(cycle->pool, len); len 154 core/ngx_connection.c len = ngx_sock_ntop(ls[i].sockaddr, ls[i].addr_text.data, len, 1); len 155 core/ngx_connection.c if (len == 0) { len 159 core/ngx_connection.c ls[i].addr_text.len = len; len 962 core/ngx_connection.c socklen_t len; len 992 core/ngx_connection.c len = NGX_SOCKADDRLEN; len 994 core/ngx_connection.c if (getsockname(c->fd, (struct sockaddr *) &sa, &len) == -1) { len 999 core/ngx_connection.c c->local_sockaddr = ngx_palloc(c->pool, len); len 1004 core/ngx_connection.c ngx_memcpy(c->local_sockaddr, &sa, len); len 1011 core/ngx_connection.c s->len = ngx_sock_ntop(c->local_sockaddr, s->data, s->len, port); len 18 core/ngx_crc.h ngx_crc(u_char *data, size_t len) len 22 core/ngx_crc.h for (sum = 0; len; len--) { len 20 core/ngx_crc32.h ngx_crc32_short(u_char *p, size_t len) len 27 core/ngx_crc32.h while (len--) { len 38 core/ngx_crc32.h ngx_crc32_long(u_char *p, size_t len) len 44 core/ngx_crc32.h while (len--) { len 57 core/ngx_crc32.h ngx_crc32_update(uint32_t *crc, u_char *p, size_t len) len 63 core/ngx_crc32.h while (len--) { len 89 core/ngx_cycle.c cycle->conf_prefix.len = old_cycle->conf_prefix.len; len 96 core/ngx_cycle.c cycle->prefix.len = old_cycle->prefix.len; len 103 core/ngx_cycle.c cycle->conf_file.len = old_cycle->conf_file.len; len 104 core/ngx_cycle.c cycle->conf_file.data = ngx_pnalloc(pool, old_cycle->conf_file.len + 1); len 110 core/ngx_cycle.c old_cycle->conf_file.len + 1); len 112 core/ngx_cycle.c cycle->conf_param.len = old_cycle->conf_param.len; len 203 core/ngx_cycle.c cycle->hostname.len = ngx_strlen(hostname); len 205 core/ngx_cycle.c cycle->hostname.data = ngx_pnalloc(pool, cycle->hostname.len); len 211 core/ngx_cycle.c ngx_strlow(cycle->hostname.data, (u_char *) hostname, cycle->hostname.len); len 317 core/ngx_cycle.c if (ccf->pid.len != old_ccf->pid.len len 364 core/ngx_cycle.c if (file[i].name.len == 0) { len 442 core/ngx_cycle.c if (shm_zone[i].shm.name.len != oshm_zone[n].shm.name.len) { len 448 core/ngx_cycle.c shm_zone[i].shm.name.len) len 639 core/ngx_cycle.c if (oshm_zone[i].shm.name.len == shm_zone[n].shm.name.len len 642 core/ngx_cycle.c oshm_zone[i].shm.name.len) len 951 core/ngx_cycle.c file = ngx_pnalloc(cycle->pool, cycle->lock_file.len + zn->shm.name.len); len 973 core/ngx_cycle.c size_t len; len 999 core/ngx_cycle.c len = ngx_snprintf(pid, NGX_INT64_LEN + 2, "%P%N", ngx_pid) - pid; len 1001 core/ngx_cycle.c if (ngx_write_file(&file, pid, len, 0) == NGX_ERROR) { len 1118 core/ngx_cycle.c ssize_t n, len; len 1138 core/ngx_cycle.c if (file[i].name.len == 0) { len 1142 core/ngx_cycle.c len = file[i].pos - file[i].buffer; len 1144 core/ngx_cycle.c if (file[i].buffer && len != 0) { len 1146 core/ngx_cycle.c n = ngx_write_fd(file[i].fd, file[i].buffer, len); len 1153 core/ngx_cycle.c } else if (n != len) { len 1156 core/ngx_cycle.c file[i].name.data, n, len); len 1282 core/ngx_cycle.c if (name->len != shm_zone[i].shm.name.len) { len 1286 core/ngx_cycle.c if (ngx_strncmp(name->data, shm_zone[i].shm.name.data, name->len) len 48 core/ngx_file.c file->name.len = path->name.len + 1 + path->len + 10; len 50 core/ngx_file.c file->name.data = ngx_pnalloc(pool, file->name.len + 1); len 56 core/ngx_file.c for (i = 0; i < file->name.len; i++) { len 61 core/ngx_file.c ngx_memcpy(file->name.data, path->name.data, path->name.len); len 71 core/ngx_file.c (void) ngx_sprintf(file->name.data + path->name.len + 1 + path->len, len 74 core/ngx_file.c ngx_create_hashed_filename(path, file->name.data, file->name.len); len 118 core/ngx_file.c ngx_create_hashed_filename(ngx_path_t *path, u_char *file, size_t len) len 123 core/ngx_file.c i = path->name.len + 1; len 125 core/ngx_file.c file[path->name.len + path->len] = '/'; len 134 core/ngx_file.c len -= level; len 136 core/ngx_file.c ngx_memcpy(&file[i], &file[len], level); len 149 core/ngx_file.c pos = path->name.len; len 262 core/ngx_file.c if (path->name.data[path->name.len - 1] == '/') { len 263 core/ngx_file.c path->name.len--; len 270 core/ngx_file.c path->len = 0; len 277 core/ngx_file.c level = ngx_atoi(value[n].data, value[n].len); len 283 core/ngx_file.c path->len += level + 1; len 328 core/ngx_file.c (*path)->len = init->level[0] + (init->level[0] ? 1 : 0) len 416 core/ngx_file.c if (p[i]->name.len == path->name.len len 611 core/ngx_file.c name = ngx_alloc(to->len + 1 + 10 + 1, ext->log); len 616 core/ngx_file.c (void) ngx_sprintf(name, "%*s.%010uD%Z", to->len, to->data, len 674 core/ngx_file.c size_t len; len 706 core/ngx_file.c len = cf->buf_size ? cf->buf_size : 65536; len 708 core/ngx_file.c if ((off_t) len > size) { len 709 core/ngx_file.c len = (size_t) size; len 712 core/ngx_file.c buf = ngx_alloc(len, cf->log); len 728 core/ngx_file.c if ((off_t) len > size) { len 729 core/ngx_file.c len = (size_t) size; len 732 core/ngx_file.c n = ngx_read_fd(fd, buf, len); len 740 core/ngx_file.c if ((size_t) n != len) { len 747 core/ngx_file.c n = ngx_write_fd(nfd, buf, len); len 755 core/ngx_file.c if ((size_t) n != len) { len 822 core/ngx_file.c size_t len; len 876 core/ngx_file.c len = ngx_de_namelen(&dir); len 880 core/ngx_file.c "tree name %uz:\"%s\"", len, name); len 882 core/ngx_file.c if (len == 1 && name[0] == '.') { len 886 core/ngx_file.c if (len == 2 && name[0] == '.' && name[1] == '.') { len 890 core/ngx_file.c file.len = tree->len + 1 + len; len 892 core/ngx_file.c if (file.len + NGX_DIR_MASK_LEN > buf.len) { len 894 core/ngx_file.c if (buf.len) { len 898 core/ngx_file.c buf.len = tree->len + 1 + len + NGX_DIR_MASK_LEN; len 900 core/ngx_file.c buf.data = ngx_alloc(buf.len + 1, ctx->log); len 906 core/ngx_file.c p = ngx_cpymem(buf.data, tree->data, tree->len); len 908 core/ngx_file.c ngx_memcpy(p, name, len + 1); len 976 core/ngx_file.c if (buf.len) { len 43 core/ngx_file.h size_t len; len 127 core/ngx_file.h void ngx_create_hashed_filename(ngx_path_t *path, u_char *file, size_t len); len 12 core/ngx_hash.c ngx_hash_find(ngx_hash_t *hash, ngx_uint_t key, u_char *name, size_t len) len 18 core/ngx_hash.c ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, 0, "hf:\"%*s\"", len, name); len 28 core/ngx_hash.c if (len != (size_t) elt->len) { len 32 core/ngx_hash.c for (i = 0; i < len; i++) { len 42 core/ngx_hash.c elt = (ngx_hash_elt_t *) ngx_align_ptr(&elt->name[0] + elt->len, len 52 core/ngx_hash.c ngx_hash_find_wc_head(ngx_hash_wildcard_t *hwc, u_char *name, size_t len) len 58 core/ngx_hash.c ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, 0, "wch:\"%*s\"", len, name); len 61 core/ngx_hash.c n = len; len 73 core/ngx_hash.c for (i = n; i < len; i++) { len 81 core/ngx_hash.c value = ngx_hash_find(&hwc->hash, key, &name[n], len - n); len 146 core/ngx_hash.c ngx_hash_find_wc_tail(ngx_hash_wildcard_t *hwc, u_char *name, size_t len) len 152 core/ngx_hash.c ngx_log_error(NGX_LOG_ALERT, ngx_cycle->log, 0, "wct:\"%*s\"", len, name); len 157 core/ngx_hash.c for (i = 0; i < len; i++) { len 165 core/ngx_hash.c if (i == len) { len 193 core/ngx_hash.c value = ngx_hash_find_wc_tail(hwc, &name[i], len - i); len 211 core/ngx_hash.c size_t len) len 216 core/ngx_hash.c value = ngx_hash_find(&hash->hash, key, name, len); len 223 core/ngx_hash.c if (len == 0) { len 228 core/ngx_hash.c value = ngx_hash_find_wc_head(hash->wc_head, name, len); len 236 core/ngx_hash.c value = ngx_hash_find_wc_tail(hash->wc_tail, name, len); len 248 core/ngx_hash.c (sizeof(void *) + ngx_align((name)->key.len + 2, sizeof(void *))) len 254 core/ngx_hash.c size_t len; len 339 core/ngx_hash.c len = 0; len 348 core/ngx_hash.c len += test[i]; len 370 core/ngx_hash.c elts = ngx_palloc(hinit->pool, len + ngx_cacheline_size); len 401 core/ngx_hash.c elt->len = (u_short) names[n].key.len; len 403 core/ngx_hash.c ngx_strlow(elt->name, names[n].key.data, names[n].key.len); len 438 core/ngx_hash.c val.len = elt->len; len 441 core/ngx_hash.c key = hinit->key(val.data, val.len); len 446 core/ngx_hash.c elt = (ngx_hash_elt_t *) ngx_align_ptr(&elt->name[0] + elt->len, len 461 core/ngx_hash.c size_t len, dot_len; len 491 core/ngx_hash.c for (len = 0; len < names[n].key.len; len++) { len 492 core/ngx_hash.c if (names[n].key.data[len] == '.') { len 503 core/ngx_hash.c name->key.len = len; len 505 core/ngx_hash.c name->key_hash = hinit->key(name->key.data, name->key.len); len 513 core/ngx_hash.c dot_len = len + 1; len 516 core/ngx_hash.c len++; len 521 core/ngx_hash.c if (names[n].key.len != len) { len 527 core/ngx_hash.c next_name->key.len = names[n].key.len - len; len 528 core/ngx_hash.c next_name->key.data = names[n].key.data + len; len 539 core/ngx_hash.c if (ngx_strncmp(names[n].key.data, names[i].key.data, len) != 0) { len 544 core/ngx_hash.c && names[i].key.len > len len 545 core/ngx_hash.c && names[i].key.data[len] != '.') len 555 core/ngx_hash.c next_name->key.len = names[i].key.len - dot_len; len 580 core/ngx_hash.c if (names[n].key.len == len) { len 603 core/ngx_hash.c ngx_hash_key(u_char *data, size_t len) len 609 core/ngx_hash.c for (i = 0; i < len; i++) { len 618 core/ngx_hash.c ngx_hash_key_lc(u_char *data, size_t len) len 624 core/ngx_hash.c for (i = 0; i < len; i++) { len 709 core/ngx_hash.c size_t len; len 716 core/ngx_hash.c last = key->len; len 727 core/ngx_hash.c for (i = 0; i < key->len; i++) { len 740 core/ngx_hash.c if (key->len > 1 && key->data[0] == '.') { len 745 core/ngx_hash.c if (key->len > 2) { len 783 core/ngx_hash.c if (last != name[i].len) { len 835 core/ngx_hash.c len = last - skip; len 838 core/ngx_hash.c if (len != name[i].len) { len 842 core/ngx_hash.c if (ngx_strncmp(&key->data[1], name[i].data, len) == 0) { len 861 core/ngx_hash.c name->len = last - 1; len 862 core/ngx_hash.c name->data = ngx_pnalloc(ha->temp_pool, name->len); len 867 core/ngx_hash.c ngx_memcpy(name->data, &key->data[1], name->len); len 883 core/ngx_hash.c len = 0; len 888 core/ngx_hash.c ngx_memcpy(&p[n], &key->data[i + 1], len); len 889 core/ngx_hash.c n += len; len 891 core/ngx_hash.c len = 0; len 895 core/ngx_hash.c len++; len 898 core/ngx_hash.c if (len) { len 899 core/ngx_hash.c ngx_memcpy(&p[n], &key->data[1], len); len 900 core/ngx_hash.c n += len; len 931 core/ngx_hash.c hk->key.len = last - 1; len 942 core/ngx_hash.c len = last - skip; len 945 core/ngx_hash.c if (len != name[i].len) { len 949 core/ngx_hash.c if (ngx_strncmp(key->data + skip, name[i].data, len) == 0) { len 966 core/ngx_hash.c name->len = last - skip; len 967 core/ngx_hash.c name->data = ngx_pnalloc(ha->temp_pool, name->len); len 972 core/ngx_hash.c ngx_memcpy(name->data, key->data + skip, name->len); len 17 core/ngx_hash.h u_short len; len 41 core/ngx_hash.h typedef ngx_uint_t (*ngx_hash_key_pt) (u_char *data, size_t len); len 99 core/ngx_hash.h void *ngx_hash_find(ngx_hash_t *hash, ngx_uint_t key, u_char *name, size_t len); len 100 core/ngx_hash.h void *ngx_hash_find_wc_head(ngx_hash_wildcard_t *hwc, u_char *name, size_t len); len 101 core/ngx_hash.h void *ngx_hash_find_wc_tail(ngx_hash_wildcard_t *hwc, u_char *name, size_t len); len 103 core/ngx_hash.h u_char *name, size_t len); len 111 core/ngx_hash.h ngx_uint_t ngx_hash_key(u_char *data, size_t len); len 112 core/ngx_hash.h ngx_uint_t ngx_hash_key_lc(u_char *data, size_t len); len 17 core/ngx_inet.c ngx_inet_addr(u_char *text, size_t len) len 27 core/ngx_inet.c for (p = text; p < text + len; p++) { len 62 core/ngx_inet.c ngx_inet6_addr(u_char *p, size_t len, u_char *addr) len 68 core/ngx_inet.c if (len == 0) { len 81 core/ngx_inet.c len--; len 84 core/ngx_inet.c for (/* void */; len; len--) { len 90 core/ngx_inet.c len4 = len; len 103 core/ngx_inet.c len4 = len; len 180 core/ngx_inet.c ngx_sock_ntop(struct sockaddr *sa, u_char *text, size_t len, ngx_uint_t port) len 200 core/ngx_inet.c p = ngx_snprintf(text, len, "%ud.%ud.%ud.%ud:%d", len 203 core/ngx_inet.c p = ngx_snprintf(text, len, "%ud.%ud.%ud.%ud", len 221 core/ngx_inet.c n = ngx_inet6_ntop(sin6->sin6_addr.s6_addr, &text[n], len); len 238 core/ngx_inet.c return ngx_snprintf(text, len, "unix:%s%Z", saun->sun_path) - text - 1; len 249 core/ngx_inet.c ngx_inet_ntop(int family, void *addr, u_char *text, size_t len) len 259 core/ngx_inet.c return ngx_snprintf(text, len, "%ud.%ud.%ud.%ud", len 266 core/ngx_inet.c return ngx_inet6_ntop(addr, text, len); len 279 core/ngx_inet.c ngx_inet6_ntop(u_char *p, u_char *text, size_t len) len 285 core/ngx_inet.c if (len < NGX_INET6_ADDRSTRLEN) { len 361 core/ngx_inet.c size_t len; len 369 core/ngx_inet.c last = addr + text->len; len 372 core/ngx_inet.c len = (mask ? mask : last) - addr; len 374 core/ngx_inet.c cidr->u.in.addr = ngx_inet_addr(addr, len); len 385 core/ngx_inet.c } else if (ngx_inet6_addr(addr, len, cidr->u.in6.addr.s6_addr) == NGX_OK) { len 451 core/ngx_inet.c ngx_parse_addr(ngx_pool_t *pool, ngx_addr_t *addr, u_char *text, size_t len) len 467 core/ngx_inet.c inaddr = ngx_inet_addr(text, len); len 471 core/ngx_inet.c len = sizeof(struct sockaddr_in); len 474 core/ngx_inet.c } else if (ngx_inet6_addr(text, len, inaddr6.s6_addr) == NGX_OK) { len 476 core/ngx_inet.c len = sizeof(struct sockaddr_in6); len 483 core/ngx_inet.c addr->sockaddr = ngx_pcalloc(pool, len); len 489 core/ngx_inet.c addr->socklen = len; len 539 core/ngx_inet.c size_t len; len 542 core/ngx_inet.c len = u->url.len; len 546 core/ngx_inet.c len -= 5; len 550 core/ngx_inet.c last = path + len; len 554 core/ngx_inet.c len = uri - path; len 556 core/ngx_inet.c u->uri.len = last - uri; len 561 core/ngx_inet.c if (len == 0) { len 566 core/ngx_inet.c u->host.len = len++; len 569 core/ngx_inet.c if (len > sizeof(saun->sun_path)) { len 577 core/ngx_inet.c (void) ngx_cpystrn((u_char *) saun->sun_path, path, len); len 593 core/ngx_inet.c (void) ngx_cpystrn((u_char *) saun->sun_path, path, len); len 597 core/ngx_inet.c u->addrs[0].name.len = len + 4; len 616 core/ngx_inet.c size_t len; len 629 core/ngx_inet.c last = host + u->url.len; len 652 core/ngx_inet.c u->uri.len = last - uri; len 665 core/ngx_inet.c len = last - port; len 667 core/ngx_inet.c if (len == 0) { len 672 core/ngx_inet.c n = ngx_atoi(port, len); len 682 core/ngx_inet.c u->port_text.len = len; len 706 core/ngx_inet.c u->port_text.len = last - host; len 719 core/ngx_inet.c len = last - host; len 721 core/ngx_inet.c if (len == 0) { len 726 core/ngx_inet.c if (len == 1 && *host == '*') { len 727 core/ngx_inet.c len = 0; len 730 core/ngx_inet.c u->host.len = len; len 737 core/ngx_inet.c if (len) { len 738 core/ngx_inet.c sin->sin_addr.s_addr = ngx_inet_addr(host, len); len 741 core/ngx_inet.c p = ngx_alloc(++len, pool->log); len 746 core/ngx_inet.c (void) ngx_cpystrn(p, host, len); len 791 core/ngx_inet.c size_t len; len 801 core/ngx_inet.c last = u->url.data + u->url.len; len 822 core/ngx_inet.c u->uri.len = last - uri; len 829 core/ngx_inet.c len = last - port; len 831 core/ngx_inet.c if (len == 0) { len 836 core/ngx_inet.c n = ngx_atoi(port, len); len 846 core/ngx_inet.c u->port_text.len = len; len 854 core/ngx_inet.c len = p - host; len 856 core/ngx_inet.c if (len == 0) { len 861 core/ngx_inet.c u->host.len = len; len 864 core/ngx_inet.c if (ngx_inet6_addr(host, len, sin6->sin6_addr.s6_addr) != NGX_OK) { len 900 core/ngx_inet.c size_t len; len 911 core/ngx_inet.c in_addr = ngx_inet_addr(u->host.data, u->host.len); len 914 core/ngx_inet.c host = ngx_alloc(u->host.len + 1, pool->log); len 919 core/ngx_inet.c (void) ngx_cpystrn(host, u->host.data, u->host.len + 1); len 960 core/ngx_inet.c len = NGX_INET_ADDRSTRLEN + sizeof(":65535") - 1; len 962 core/ngx_inet.c p = ngx_pnalloc(pool, len); len 967 core/ngx_inet.c len = ngx_sock_ntop((struct sockaddr *) sin, p, len, 1); len 969 core/ngx_inet.c u->addrs[i].name.len = len; len 996 core/ngx_inet.c p = ngx_pnalloc(pool, u->host.len + sizeof(":65535") - 1); len 1001 core/ngx_inet.c u->addrs[0].name.len = ngx_sprintf(p, "%V:%d", len 104 core/ngx_inet.h in_addr_t ngx_inet_addr(u_char *text, size_t len); len 106 core/ngx_inet.h ngx_int_t ngx_inet6_addr(u_char *p, size_t len, u_char *addr); len 107 core/ngx_inet.h size_t ngx_inet6_ntop(u_char *p, u_char *text, size_t len); len 109 core/ngx_inet.h size_t ngx_sock_ntop(struct sockaddr *sa, u_char *text, size_t len, len 111 core/ngx_inet.h size_t ngx_inet_ntop(int family, void *addr, u_char *text, size_t len); len 114 core/ngx_inet.h size_t len); len 100 core/ngx_log.c ngx_cached_err_log_time.len); len 102 core/ngx_log.c p = errstr + ngx_cached_err_log_time.len; len 151 core/ngx_log.c msg -= (7 + err_levels[level].len + 3); len 44 core/ngx_log.h typedef u_char *(*ngx_log_handler_pt) (ngx_log_t *log, u_char *buf, size_t len); len 192 core/ngx_open_file_cache.c hash = ngx_crc32_long(name->data, name->len); len 348 core/ngx_open_file_cache.c file->name = ngx_alloc(name->len + 1, pool->log); len 356 core/ngx_open_file_cache.c ngx_cpystrn(file->name, name->data, name->len + 1); len 15 core/ngx_parse.c size_t len; len 19 core/ngx_parse.c len = line->len; len 20 core/ngx_parse.c unit = line->data[len - 1]; len 25 core/ngx_parse.c len--; len 31 core/ngx_parse.c len--; len 39 core/ngx_parse.c size = ngx_atosz(line->data, len); len 55 core/ngx_parse.c size_t len; len 58 core/ngx_parse.c len = line->len; len 59 core/ngx_parse.c unit = line->data[len - 1]; len 64 core/ngx_parse.c len--; len 70 core/ngx_parse.c len--; len 76 core/ngx_parse.c len--; len 84 core/ngx_parse.c offset = ngx_atoof(line->data, len); len 121 core/ngx_parse.c last = p + line->len; len 79 core/ngx_regex.c if ((size_t) erroff == rc->pattern.len) { len 80 core/ngx_regex.c rc->err.len = ngx_snprintf(rc->err.data, rc->err.len, len 86 core/ngx_regex.c rc->err.len = ngx_snprintf(rc->err.data, rc->err.len, len 133 core/ngx_regex.c rc->err.len = ngx_snprintf(rc->err.data, rc->err.len, p, &rc->pattern, n) len 48 core/ngx_regex.h pcre_exec(re, NULL, (const char *) (s)->data, (s)->len, 0, 0, \ len 90 core/ngx_resolver.c static u_char *ngx_resolver_log_error(ngx_log_t *log, u_char *buf, size_t len); len 231 core/ngx_resolver.c addr = ngx_inet_addr(temp->name.data, temp->name.len); len 326 core/ngx_resolver.c hash = ngx_crc32_short(ctx->name.data, ctx->name.len); len 380 core/ngx_resolver.c hash = ngx_crc32_short(ctx->name.data, ctx->name.len); len 443 core/ngx_resolver.c ctx->name.len = rn->cnlen; len 499 core/ngx_resolver.c rn->name = ngx_resolver_dup(r, ctx->name.data, ctx->name.len); len 506 core/ngx_resolver.c rn->nlen = (u_short) ctx->name.len; len 614 core/ngx_resolver.c ctx->name.len = rn->nlen; len 968 core/ngx_resolver.c size_t len; len 1040 core/ngx_resolver.c len = buf[i]; len 1041 core/ngx_resolver.c i += 1 + len; len 1121 core/ngx_resolver.c size_t len; len 1136 core/ngx_resolver.c hash = ngx_crc32_short(name.data, name.len); len 1230 core/ngx_resolver.c len = (an->len_hi << 8) + an->len_lo; len 1236 core/ngx_resolver.c if (i + len > last) { len 1245 core/ngx_resolver.c i += len; len 1249 core/ngx_resolver.c i += sizeof(ngx_resolver_an_t) + len; len 1252 core/ngx_resolver.c i += sizeof(ngx_resolver_an_t) + len; len 1300 core/ngx_resolver.c len = (an->len_hi << 8) + an->len_lo; len 1314 core/ngx_resolver.c i += len; len 1370 core/ngx_resolver.c rn->cnlen = (u_short) name.len; len 1421 core/ngx_resolver.c size_t len; len 1438 core/ngx_resolver.c len = buf[i++]; len 1440 core/ngx_resolver.c digit = ngx_atoi(&buf[i], len); len 1446 core/ngx_resolver.c i += len; len 1519 core/ngx_resolver.c len = (an->len_hi << 8) + an->len_lo; len 1522 core/ngx_resolver.c "resolver qt:%ui cl:%ui len:%uz", qtype, qclass, len); len 1526 core/ngx_resolver.c if (i + len > (ngx_uint_t) n) { len 1536 core/ngx_resolver.c if (name.len != (size_t) rn->nlen len 1537 core/ngx_resolver.c || ngx_strncmp(name.data, rn->name, name.len) != 0) len 1543 core/ngx_resolver.c rn->nlen = (u_short) name.len; len 1546 core/ngx_resolver.c name.data = ngx_resolver_dup(r, rn->name, name.len); len 1630 core/ngx_resolver.c rc = ngx_memn2cmp(name->data, rn->name, name->len, rn->nlen); len 1725 core/ngx_resolver.c size_t len, nlen; len 1730 core/ngx_resolver.c nlen = ctx->name.len ? (1 + ctx->name.len + 1) : 1; len 1732 core/ngx_resolver.c len = sizeof(ngx_resolver_query_t) + nlen + sizeof(ngx_resolver_qs_t); len 1734 core/ngx_resolver.c p = ngx_resolver_alloc(ctx->resolver, len); len 1739 core/ngx_resolver.c rn->qlen = (u_short) len; len 1773 core/ngx_resolver.c len = 0; len 1777 core/ngx_resolver.c for (s = ctx->name.data + ctx->name.len - 1; s >= ctx->name.data; s--) { len 1780 core/ngx_resolver.c len++; len 1783 core/ngx_resolver.c if (len == 0) { len 1787 core/ngx_resolver.c *p = (u_char) len; len 1788 core/ngx_resolver.c len = 0; len 1794 core/ngx_resolver.c *p = (u_char) len; len 1806 core/ngx_resolver.c size_t len; len 1811 core/ngx_resolver.c len = sizeof(ngx_resolver_query_t) len 1815 core/ngx_resolver.c p = ngx_resolver_alloc(ctx->resolver, len); len 1862 core/ngx_resolver.c ssize_t len; len 1866 core/ngx_resolver.c len = -1; len 1885 core/ngx_resolver.c len += 1 + n; len 1909 core/ngx_resolver.c if (len == -1) { len 1910 core/ngx_resolver.c name->len = 0; len 1915 core/ngx_resolver.c dst = ngx_resolver_alloc(r, len); len 1944 core/ngx_resolver.c name->len = dst - name->data; len 2080 core/ngx_resolver.c ngx_resolver_log_error(ngx_log_t *log, u_char *buf, size_t len) len 2088 core/ngx_resolver.c p = ngx_snprintf(buf, len, " while %s", log->action); len 2089 core/ngx_resolver.c len -= p - buf; len 2095 core/ngx_resolver.c p = ngx_snprintf(p, len, ", resolver: %V", &uc->server); len 58 core/ngx_string.c dst = ngx_pnalloc(pool, src->len); len 63 core/ngx_string.c ngx_memcpy(dst, src->data, src->len); len 149 core/ngx_string.c size_t len, slen; len 234 core/ngx_string.c len = ngx_min(((size_t) (last - buf)), v->len); len 235 core/ngx_string.c buf = ngx_cpymem(buf, v->data, len); len 243 core/ngx_string.c len = ngx_min(((size_t) (last - buf)), vv->len); len 244 core/ngx_string.c buf = ngx_cpymem(buf, vv->data, len); len 258 core/ngx_string.c len = ngx_min(((size_t) (last - buf)), slen); len 259 core/ngx_string.c buf = ngx_cpymem(buf, p, len); len 476 core/ngx_string.c size_t len; len 535 core/ngx_string.c len = (temp + NGX_INT64_LEN) - p; len 537 core/ngx_string.c while (len++ < width && buf < last) { len 543 core/ngx_string.c len = (temp + NGX_INT64_LEN) - p; len 545 core/ngx_string.c if (buf + len > last) { len 546 core/ngx_string.c len = last - buf; len 549 core/ngx_string.c return ngx_cpymem(buf, p, len); len 616 core/ngx_string.c ngx_strnstr(u_char *s1, char *s2, size_t len) len 627 core/ngx_string.c if (len-- == 0) { len 639 core/ngx_string.c if (n > len) { len 1043 core/ngx_string.c ngx_hex_dump(u_char *dst, u_char *src, size_t len) len 1047 core/ngx_string.c while (len--) { len 1060 core/ngx_string.c size_t len; len 1064 core/ngx_string.c len = src->len; len 1068 core/ngx_string.c while (len > 2) { len 1075 core/ngx_string.c len -= 3; len 1078 core/ngx_string.c if (len) { len 1081 core/ngx_string.c if (len == 1) { len 1093 core/ngx_string.c dst->len = d - dst->data; len 1154 core/ngx_string.c size_t len; len 1157 core/ngx_string.c for (len = 0; len < src->len; len++) { len 1158 core/ngx_string.c if (src->data[len] == '=') { len 1162 core/ngx_string.c if (basis[src->data[len]] == 77) { len 1167 core/ngx_string.c if (len % 4 == 1) { len 1174 core/ngx_string.c while (len > 3) { len 1180 core/ngx_string.c len -= 4; len 1183 core/ngx_string.c if (len > 1) { len 1187 core/ngx_string.c if (len > 2) { len 1191 core/ngx_string.c dst->len = d - dst->data; len 1209 core/ngx_string.c size_t len; len 1218 core/ngx_string.c len = 3; len 1224 core/ngx_string.c len = 2; len 1230 core/ngx_string.c len = 1; len 1237 core/ngx_string.c if (n - 1 < len) { len 1243 core/ngx_string.c while (len) { len 1252 core/ngx_string.c len--; len 1267 core/ngx_string.c size_t len; len 1271 core/ngx_string.c for (len = 0; p < last; len++) { len 1286 core/ngx_string.c return len; len 1291 core/ngx_string.c ngx_utf8_cpystrn(u_char *dst, u_char *src, size_t n, size_t len) len 1309 core/ngx_string.c len--; len 1319 core/ngx_string.c if (ngx_utf8_decode(&next, len) > 0x10ffff) { len 1326 core/ngx_string.c len--; len 1619 core/ngx_string.c ngx_uint_t len; len 1623 core/ngx_string.c len = 0; len 1629 core/ngx_string.c len += sizeof("<") - 2; len 1633 core/ngx_string.c len += sizeof(">") - 2; len 1637 core/ngx_string.c len += sizeof("&") - 2; len 1646 core/ngx_string.c return (uintptr_t) len; len 1694 core/ngx_string.c } else if (n->str.len != t->str.len) { len 1696 core/ngx_string.c p = (n->str.len < t->str.len) ? &temp->left : &temp->right; len 1699 core/ngx_string.c p = (ngx_memcmp(n->str.data, t->str.data, n->str.len) < 0) len 1737 core/ngx_string.c if (val->len != n->str.len) { len 1738 core/ngx_string.c node = (val->len < n->str.len) ? node->left : node->right; len 1742 core/ngx_string.c rc = ngx_memcmp(val->data, n->str.data, val->len); len 16 core/ngx_string.h size_t len; len 28 core/ngx_string.h unsigned len:28; len 42 core/ngx_string.h (str)->len = sizeof(text) - 1; (str)->data = (u_char *) text len 43 core/ngx_string.h #define ngx_str_null(str) (str)->len = 0; (str)->data = NULL len 115 core/ngx_string.h ngx_copy(u_char *dst, u_char *src, size_t len) len 117 core/ngx_string.h if (len < 17) { len 119 core/ngx_string.h while (len) { len 121 core/ngx_string.h len--; len 127 core/ngx_string.h return ngx_cpymem(dst, src, len); len 177 core/ngx_string.h u_char *ngx_hex_dump(u_char *dst, u_char *src, size_t len); len 180 core/ngx_string.h #define ngx_base64_encoded_length(len) (((len + 2) / 3) * 4) len 181 core/ngx_string.h #define ngx_base64_decoded_length(len) (((len + 3) / 4) * 3) len 189 core/ngx_string.h u_char *ngx_utf8_cpystrn(u_char *dst, u_char *src, size_t n, size_t len); len 61 core/ngx_times.c ngx_cached_err_log_time.len = sizeof("1970/09/28 12:00:00") - 1; len 62 core/ngx_times.c ngx_cached_http_time.len = sizeof("Mon, 28 Sep 1970 06:00:00 GMT") - 1; len 63 core/ngx_times.c ngx_cached_http_log_time.len = sizeof("28/Sep/1970:12:00:00 +0600") - 1; len 64 core/ngx_times.c ngx_cached_http_log_iso8601.len = sizeof("1970-09-28T12:00:00+06:00") - 1; len 467 event/modules/ngx_rtsig_module.c size_t len; len 623 event/modules/ngx_rtsig_module.c len = sizeof(rtsig_max); len 625 event/modules/ngx_rtsig_module.c if (sysctl(name, 2, &rtsig_max, &len, NULL, 0) == -1) { len 633 event/modules/ngx_rtsig_module.c len = sizeof(rtsig_nr); len 635 event/modules/ngx_rtsig_module.c if (sysctl(name, 2, &rtsig_nr, &len, NULL, 0) == -1) { len 359 event/modules/ngx_select_module.c socklen_t len; len 369 event/modules/ngx_select_module.c len = sizeof(int); len 371 event/modules/ngx_select_module.c if (getsockopt(s, SOL_SOCKET, SO_TYPE, &n, &len) == -1) { len 387 event/modules/ngx_select_module.c len = sizeof(int); len 389 event/modules/ngx_select_module.c if (getsockopt(s, SOL_SOCKET, SO_TYPE, &n, &len) == -1) { len 351 event/modules/ngx_win32_select_module.c socklen_t len; len 358 event/modules/ngx_win32_select_module.c len = sizeof(int); len 360 event/modules/ngx_win32_select_module.c if (getsockopt(s, SOL_SOCKET, SO_TYPE, (char *) &n, &len) == -1) { len 373 event/modules/ngx_win32_select_module.c len = sizeof(int); len 375 event/modules/ngx_win32_select_module.c if (getsockopt(s, SOL_SOCKET, SO_TYPE, (char *) &n, &len) == -1) { len 511 event/ngx_event.c shm.name.len = sizeof("nginx_shared_zone"); len 972 event/ngx_event.c ecf->connections = ngx_atoi(value[1].data, value[1].len); len 1016 event/ngx_event.c if (module->name->len == value[1].len) { len 541 event/ngx_event.h u_char *ngx_accept_log_error(ngx_log_t *log, u_char *buf, size_t len); len 552 event/ngx_event.h u_char *ngx_acceptex_log_error(ngx_log_t *log, u_char *buf, size_t len); len 243 event/ngx_event_accept.c c->addr_text.len = ngx_sock_ntop(c->sockaddr, c->addr_text.data, len 245 event/ngx_event_accept.c if (c->addr_text.len == 0) { len 423 event/ngx_event_accept.c ngx_accept_log_error(ngx_log_t *log, u_char *buf, size_t len) len 425 event/ngx_event_accept.c return ngx_snprintf(buf, len, " while accepting new connection on %V", len 34 event/ngx_event_openssl.c u_char *id, int len, int *copy); len 231 event/ngx_event_openssl.c if (cert->len == 0) { len 275 event/ngx_event_openssl.c if (crl->len == 0) { len 430 event/ngx_event_openssl.c if (file->len == 0) { len 1436 event/ngx_event_openssl.c SSL_CTX_set_session_id_context(ssl->ctx, sess_ctx->data, sess_ctx->len); len 1501 event/ngx_event_openssl.c size_t len; len 1530 event/ngx_event_openssl.c len = sizeof(" in SSL session shared cache \"\"") + shm_zone->shm.name.len; len 1532 event/ngx_event_openssl.c shpool->log_ctx = ngx_slab_alloc(shpool, len); len 1564 event/ngx_event_openssl.c int len; len 1575 event/ngx_event_openssl.c len = i2d_SSL_SESSION(sess, NULL); len 1579 event/ngx_event_openssl.c if (len > (int) NGX_SSL_MAX_SESSION_SIZE) { len 1599 event/ngx_event_openssl.c cached_sess = ngx_slab_alloc_locked(shpool, len); len 1607 event/ngx_event_openssl.c cached_sess = ngx_slab_alloc_locked(shpool, len); len 1633 event/ngx_event_openssl.c ngx_memcpy(cached_sess, buf, len); len 1641 event/ngx_event_openssl.c hash, sess->session_id_length, len); len 1646 event/ngx_event_openssl.c sess_id->len = len; len 1679 event/ngx_event_openssl.c ngx_ssl_get_cached_session(ngx_ssl_conn_t *ssl_conn, u_char *id, int len, len 1699 event/ngx_event_openssl.c hash = ngx_crc32_short(id, (size_t) len); len 1703 event/ngx_event_openssl.c "ssl get session: %08XD:%d", hash, len); len 1737 event/ngx_event_openssl.c (size_t) len, (size_t) node->data); len 1741 event/ngx_event_openssl.c ngx_memcpy(buf, sess_id->session, sess_id->len); len 1746 event/ngx_event_openssl.c sess = d2i_SSL_SESSION(NULL, &p, sess_id->len); len 1793 event/ngx_event_openssl.c size_t len; len 1812 event/ngx_event_openssl.c len = (size_t) sess->session_id_length; len 1814 event/ngx_event_openssl.c hash = ngx_crc32_short(id, len); len 1817 event/ngx_event_openssl.c "ssl remove session: %08XD:%uz", hash, len); len 1843 event/ngx_event_openssl.c rc = ngx_memn2cmp(id, sess_id->id, len, (size_t) node->data); len 1983 event/ngx_event_openssl.c int len; len 1989 event/ngx_event_openssl.c len = i2d_SSL_SESSION(sess, NULL); len 1991 event/ngx_event_openssl.c buf = ngx_alloc(len, c->log); len 1996 event/ngx_event_openssl.c s->len = 2 * len; len 1997 event/ngx_event_openssl.c s->data = ngx_pnalloc(pool, 2 * len); len 2006 event/ngx_event_openssl.c ngx_hex_dump(s->data, buf, len); len 2017 event/ngx_event_openssl.c size_t len; len 2021 event/ngx_event_openssl.c s->len = 0; len 2040 event/ngx_event_openssl.c len = BIO_pending(bio); len 2041 event/ngx_event_openssl.c s->len = len; len 2043 event/ngx_event_openssl.c s->data = ngx_pnalloc(pool, len); len 2048 event/ngx_event_openssl.c BIO_read(bio, s->data, len); len 2068 event/ngx_event_openssl.c size_t len; len 2076 event/ngx_event_openssl.c if (cert.len == 0) { len 2077 event/ngx_event_openssl.c s->len = 0; len 2081 event/ngx_event_openssl.c len = cert.len - 1; len 2083 event/ngx_event_openssl.c for (i = 0; i < cert.len - 1; i++) { len 2085 event/ngx_event_openssl.c len++; len 2089 event/ngx_event_openssl.c s->len = len; len 2090 event/ngx_event_openssl.c s->data = ngx_pnalloc(pool, len); len 2097 event/ngx_event_openssl.c for (i = 0; i < cert.len - 1; i++) { len 2112 event/ngx_event_openssl.c size_t len; len 2116 event/ngx_event_openssl.c s->len = 0; len 2131 event/ngx_event_openssl.c for (len = 0; p[len]; len++) { /* void */ } len 2133 event/ngx_event_openssl.c s->len = len; len 2134 event/ngx_event_openssl.c s->data = ngx_pnalloc(pool, len); len 2141 event/ngx_event_openssl.c ngx_memcpy(s->data, p, len); len 2154 event/ngx_event_openssl.c size_t len; len 2158 event/ngx_event_openssl.c s->len = 0; len 2173 event/ngx_event_openssl.c for (len = 0; p[len]; len++) { /* void */ } len 2175 event/ngx_event_openssl.c s->len = len; len 2176 event/ngx_event_openssl.c s->data = ngx_pnalloc(pool, len); len 2183 event/ngx_event_openssl.c ngx_memcpy(s->data, p, len); len 2195 event/ngx_event_openssl.c size_t len; len 2199 event/ngx_event_openssl.c s->len = 0; len 2213 event/ngx_event_openssl.c len = BIO_pending(bio); len 2215 event/ngx_event_openssl.c s->len = len; len 2216 event/ngx_event_openssl.c s->data = ngx_pnalloc(pool, len); len 2223 event/ngx_event_openssl.c BIO_read(bio, s->data, len); len 65 event/ngx_event_openssl.h size_t len; len 254 http/modules/ngx_http_access_module.c all = (value[1].len == 3 && ngx_strcmp(value[1].data, "all") == 0); len 106 http/modules/ngx_http_addition_filter_module.c if (conf->before_body.len == 0 && conf->after_body.len == 0) { len 153 http/modules/ngx_http_addition_filter_module.c if (conf->before_body.len) { len 162 http/modules/ngx_http_addition_filter_module.c if (conf->after_body.len == 0) { len 179 http/modules/ngx_http_addition_filter_module.c if (rc == NGX_ERROR || !last || conf->after_body.len == 0) { len 118 http/modules/ngx_http_auth_basic_module.c if (alcf->realm.len == 0 || alcf->user_file.value.len == 0) { len 215 http/modules/ngx_http_auth_basic_module.c if (login == r->headers_in.user.len) { len 230 http/modules/ngx_http_auth_basic_module.c pwd.len = i - passwd; len 264 http/modules/ngx_http_auth_basic_module.c pwd.len = i - passwd; len 265 http/modules/ngx_http_auth_basic_module.c pwd.data = ngx_pnalloc(r->pool, pwd.len + 1); len 270 http/modules/ngx_http_auth_basic_module.c ngx_cpystrn(pwd.data, &buf[passwd], pwd.len + 1); len 326 http/modules/ngx_http_auth_basic_module.c ctx->passwd.len = passwd->len; len 327 http/modules/ngx_http_auth_basic_module.c passwd->len++; len 391 http/modules/ngx_http_auth_basic_module.c if (conf->user_file.value.len == 0) { len 423 http/modules/ngx_http_auth_basic_module.c size_t len; len 431 http/modules/ngx_http_auth_basic_module.c len = sizeof("Basic realm=\"") - 1 + realm->len + 1; len 433 http/modules/ngx_http_auth_basic_module.c basic = ngx_pnalloc(cf->pool, len); len 439 http/modules/ngx_http_auth_basic_module.c p = ngx_cpymem(p, realm->data, realm->len); len 442 http/modules/ngx_http_auth_basic_module.c realm->len = len; len 457 http/modules/ngx_http_auth_basic_module.c if (alcf->user_file.value.len) { len 141 http/modules/ngx_http_autoindex_module.c size_t len, utf_len, allocated, root; len 159 http/modules/ngx_http_autoindex_module.c if (r->uri.data[r->uri.len - 1] != '/') { len 181 http/modules/ngx_http_autoindex_module.c allocated = path.len; len 182 http/modules/ngx_http_autoindex_module.c path.len = last - path.data; len 183 http/modules/ngx_http_autoindex_module.c if (path.len > 1) { len 184 http/modules/ngx_http_autoindex_module.c path.len--; len 186 http/modules/ngx_http_autoindex_module.c path.data[path.len] = '\0'; len 248 http/modules/ngx_http_autoindex_module.c filename[path.len] = '/'; len 250 http/modules/ngx_http_autoindex_module.c if (r->headers_out.charset.len == 5 len 278 http/modules/ngx_http_autoindex_module.c len = ngx_de_namelen(&dir); len 288 http/modules/ngx_http_autoindex_module.c if (path.len + 1 + len + 1 > allocated) { len 289 http/modules/ngx_http_autoindex_module.c allocated = path.len + 1 + len + 1 len 297 http/modules/ngx_http_autoindex_module.c last = ngx_cpystrn(filename, path.data, path.len + 1); len 301 http/modules/ngx_http_autoindex_module.c ngx_cpystrn(last, ngx_de_name(&dir), len + 1); len 331 http/modules/ngx_http_autoindex_module.c entry->name.len = len; len 333 http/modules/ngx_http_autoindex_module.c entry->name.data = ngx_pnalloc(pool, len + 1); len 338 http/modules/ngx_http_autoindex_module.c ngx_cpystrn(entry->name.data, ngx_de_name(&dir), len + 1); len 340 http/modules/ngx_http_autoindex_module.c entry->escape = 2 * ngx_escape_uri(NULL, ngx_de_name(&dir), len, len 344 http/modules/ngx_http_autoindex_module.c entry->utf_len = ngx_utf8_length(entry->name.data, entry->name.len); len 346 http/modules/ngx_http_autoindex_module.c entry->utf_len = len; len 361 http/modules/ngx_http_autoindex_module.c len = sizeof(title) - 1 len 362 http/modules/ngx_http_autoindex_module.c + r->uri.len len 364 http/modules/ngx_http_autoindex_module.c + r->uri.len len 372 http/modules/ngx_http_autoindex_module.c len += sizeof("<a href=\"") - 1 len 373 http/modules/ngx_http_autoindex_module.c + entry[i].name.len + entry[i].escape len 376 http/modules/ngx_http_autoindex_module.c + entry[i].name.len - entry[i].utf_len + entry[i].colon * 2 len 384 http/modules/ngx_http_autoindex_module.c b = ngx_create_temp_buf(r->pool, len); len 396 http/modules/ngx_http_autoindex_module.c b->last = ngx_cpymem(b->last, r->uri.data, r->uri.len); len 398 http/modules/ngx_http_autoindex_module.c b->last = ngx_cpymem(b->last, r->uri.data, r->uri.len); len 415 http/modules/ngx_http_autoindex_module.c ngx_escape_uri(b->last, entry[i].name.data, entry[i].name.len, len 418 http/modules/ngx_http_autoindex_module.c b->last += entry[i].name.len + entry[i].escape; len 422 http/modules/ngx_http_autoindex_module.c entry[i].name.len); len 432 http/modules/ngx_http_autoindex_module.c len = entry[i].utf_len; len 434 http/modules/ngx_http_autoindex_module.c if (entry[i].name.len != len) { len 435 http/modules/ngx_http_autoindex_module.c if (len > NGX_HTTP_AUTOINDEX_NAME_LEN) { len 443 http/modules/ngx_http_autoindex_module.c utf_len, entry[i].name.len + 1); len 452 http/modules/ngx_http_autoindex_module.c if (len > NGX_HTTP_AUTOINDEX_NAME_LEN) { len 456 http/modules/ngx_http_autoindex_module.c if (entry[i].dir && NGX_HTTP_AUTOINDEX_NAME_LEN - len > 0) { len 458 http/modules/ngx_http_autoindex_module.c len++; len 462 http/modules/ngx_http_autoindex_module.c ngx_memset(b->last, ' ', NGX_HTTP_AUTOINDEX_NAME_LEN - len); len 463 http/modules/ngx_http_autoindex_module.c b->last += NGX_HTTP_AUTOINDEX_NAME_LEN - len; len 259 http/modules/ngx_http_browser_module.c size_t len; len 274 http/modules/ngx_http_browser_module.c len = r->headers_in.user_agent->value.len; len 275 http/modules/ngx_http_browser_module.c last = ua + len; len 356 http/modules/ngx_http_browser_module.c if (len > sizeof("Mozilla/4.72 ") - 1 len 368 http/modules/ngx_http_browser_module.c if (len >= ancient[i].len len 404 http/modules/ngx_http_browser_module.c for (var = ngx_http_browsers; var->name.len; var++) { len 599 http/modules/ngx_http_browser_module.c for (i = 0; i < value[2].len; i++) { len 680 http/modules/ngx_http_browser_module.c bcf->modern_browser_value->len = value[1].len; len 705 http/modules/ngx_http_browser_module.c bcf->ancient_browser_value->len = value[1].len; len 264 http/modules/ngx_http_charset_filter_module.c || ngx_strncasecmp(dst.data, src.data, dst.len) != 0) len 284 http/modules/ngx_http_charset_filter_module.c r->headers_out.content_type.len = r->headers_out.content_type_len; len 315 http/modules/ngx_http_charset_filter_module.c && r->headers_out.content_encoding->value.len) len 320 http/modules/ngx_http_charset_filter_module.c if (r->headers_out.content_type.len == 0) { len 325 http/modules/ngx_http_charset_filter_module.c && r->headers_out.override_charset->len) len 348 http/modules/ngx_http_charset_filter_module.c if (r->headers_out.charset.len) { len 372 http/modules/ngx_http_charset_filter_module.c name->len = vv->len; len 395 http/modules/ngx_http_charset_filter_module.c if (main_charset->len == 0) { len 425 http/modules/ngx_http_charset_filter_module.c if (r->headers_out.charset.len) { len 435 http/modules/ngx_http_charset_filter_module.c name->len = 0; len 452 http/modules/ngx_http_charset_filter_module.c name->len = vv->len; len 472 http/modules/ngx_http_charset_filter_module.c if (charset[i].name.len != name->len) { len 476 http/modules/ngx_http_charset_filter_module.c if (ngx_strncasecmp(charset[i].name.data, name->data, name->len) == 0) { len 500 http/modules/ngx_http_charset_filter_module.c r->headers_out.charset.len = 0; len 683 http/modules/ngx_http_charset_filter_module.c size_t len, size; len 700 http/modules/ngx_http_charset_filter_module.c len = src - buf->pos; len 702 http/modules/ngx_http_charset_filter_module.c if (len > 512) { len 739 http/modules/ngx_http_charset_filter_module.c size = len + buf->last - src; len 898 http/modules/ngx_http_charset_filter_module.c len = buf->last - src; len 900 http/modules/ngx_http_charset_filter_module.c n = ngx_utf8_decode(&src, len); len 923 http/modules/ngx_http_charset_filter_module.c ngx_memcpy(ctx->saved, src, len); len 924 http/modules/ngx_http_charset_filter_module.c ctx->saved_len = len; len 964 http/modules/ngx_http_charset_filter_module.c size_t len, size; len 996 http/modules/ngx_http_charset_filter_module.c len = src - buf->pos; len 998 http/modules/ngx_http_charset_filter_module.c if (len > 512) { len 1024 http/modules/ngx_http_charset_filter_module.c size = len + size / 2 + size / 2 * ctx->length; len 1049 http/modules/ngx_http_charset_filter_module.c len = *p++; len 1051 http/modules/ngx_http_charset_filter_module.c if ((size_t) (b->end - dst) < len) { len 1055 http/modules/ngx_http_charset_filter_module.c size = len + size / 2 + size / 2 * ctx->length; len 1069 http/modules/ngx_http_charset_filter_module.c while (len) { len 1071 http/modules/ngx_http_charset_filter_module.c len--; len 1319 http/modules/ngx_http_charset_filter_module.c src = ngx_hextoi(value[0].data, value[0].len); len 1332 http/modules/ngx_http_charset_filter_module.c *p++ = (u_char) (value[1].len / 2); len 1334 http/modules/ngx_http_charset_filter_module.c for (i = 0; i < value[1].len; i += 2) { len 1376 http/modules/ngx_http_charset_filter_module.c dst = ngx_hextoi(value[1].data, value[1].len); len 1417 http/modules/ngx_http_charset_filter_module.c var.len = value[1].len - 1; len 1451 http/modules/ngx_http_charset_filter_module.c if (name->len != c[i].name.len) { len 32 http/modules/ngx_http_dav_module.c size_t len; len 159 http/modules/ngx_http_dav_module.c if (r->uri.data[r->uri.len - 1] == '/') { len 213 http/modules/ngx_http_dav_module.c path.len--; len 252 http/modules/ngx_http_dav_module.c r->headers_in.date->value.len); len 304 http/modules/ngx_http_dav_module.c for (i = 0; i < r->uri.len; /* void */) { len 306 http/modules/ngx_http_dav_module.c if (++d >= dlcf->min_delete_depth && i < r->uri.len) { len 335 http/modules/ngx_http_dav_module.c if (r->uri.data[r->uri.len - 1] != '/') { len 349 http/modules/ngx_http_dav_module.c path.len -= 2; /* omit "/\0" */ len 480 http/modules/ngx_http_dav_module.c if (r->uri.data[r->uri.len - 1] != '/') { len 489 http/modules/ngx_http_dav_module.c r->uri.len--; len 513 http/modules/ngx_http_dav_module.c size_t len, root; len 541 http/modules/ngx_http_dav_module.c last = p + dest->value.len; len 545 http/modules/ngx_http_dav_module.c len = r->headers_in.server.len; len 547 http/modules/ngx_http_dav_module.c if (len == 0) { len 576 http/modules/ngx_http_dav_module.c if (ngx_strncmp(host, r->headers_in.server.data, len) != 0) { len 584 http/modules/ngx_http_dav_module.c last = dest->value.data + dest->value.len; len 586 http/modules/ngx_http_dav_module.c for (p = host + len; p < last; p++) { len 601 http/modules/ngx_http_dav_module.c duri.len = last - p; len 609 http/modules/ngx_http_dav_module.c if ((r->uri.data[r->uri.len - 1] == '/' && *(last - 1) != '/') len 610 http/modules/ngx_http_dav_module.c || (r->uri.data[r->uri.len - 1] != '/' && *(last - 1) == '/')) len 640 http/modules/ngx_http_dav_module.c if (over->value.len == 1) { len 677 http/modules/ngx_http_dav_module.c copy.path.len--; /* omit "\0" */ len 679 http/modules/ngx_http_dav_module.c if (copy.path.data[copy.path.len - 1] == '/') { len 681 http/modules/ngx_http_dav_module.c copy.path.len--; len 682 http/modules/ngx_http_dav_module.c copy.path.data[copy.path.len] = '\0'; len 733 http/modules/ngx_http_dav_module.c if (r->uri.data[r->uri.len - 1] != '/') { len 753 http/modules/ngx_http_dav_module.c path.len -= 2; /* omit "/\0" */ len 769 http/modules/ngx_http_dav_module.c copy.len = path.len; len 834 http/modules/ngx_http_dav_module.c size_t len; len 842 http/modules/ngx_http_dav_module.c len = copy->path.len + path->len; len 844 http/modules/ngx_http_dav_module.c dir = ngx_alloc(len + 1, ctx->log); len 849 http/modules/ngx_http_dav_module.c p = ngx_cpymem(dir, copy->path.data, copy->path.len); len 850 http/modules/ngx_http_dav_module.c (void) ngx_cpystrn(p, path->data + copy->len, path->len - copy->len + 1); len 870 http/modules/ngx_http_dav_module.c size_t len; len 878 http/modules/ngx_http_dav_module.c len = copy->path.len + path->len; len 880 http/modules/ngx_http_dav_module.c dir = ngx_alloc(len + 1, ctx->log); len 885 http/modules/ngx_http_dav_module.c p = ngx_cpymem(dir, copy->path.data, copy->path.len); len 886 http/modules/ngx_http_dav_module.c (void) ngx_cpystrn(p, path->data + copy->len, path->len - copy->len + 1); len 934 http/modules/ngx_http_dav_module.c size_t len; len 943 http/modules/ngx_http_dav_module.c len = copy->path.len + path->len; len 945 http/modules/ngx_http_dav_module.c file = ngx_alloc(len + 1, ctx->log); len 950 http/modules/ngx_http_dav_module.c p = ngx_cpymem(file, copy->path.data, copy->path.len); len 951 http/modules/ngx_http_dav_module.c (void) ngx_cpystrn(p, path->data + copy->len, path->len - copy->len + 1); len 981 http/modules/ngx_http_dav_module.c if (depth->value.len == 1) { len 993 http/modules/ngx_http_dav_module.c if (depth->value.len == sizeof("infinity") - 1 len 1056 http/modules/ngx_http_dav_module.c location = path + clcf->root.len; len 1059 http/modules/ngx_http_dav_module.c location = ngx_pnalloc(r->pool, r->uri.len); len 1064 http/modules/ngx_http_dav_module.c ngx_memcpy(location, r->uri.data, r->uri.len); len 1072 http/modules/ngx_http_dav_module.c r->headers_out.location->value.len = r->uri.len; len 206 http/modules/ngx_http_degradation_module.c s.len = value[1].len - 5; len 129 http/modules/ngx_http_empty_gif_module.c cv.value.len = sizeof(ngx_empty_gif); len 692 http/modules/ngx_http_fastcgi_module.c size_t size, len, key_len, val_len, padding, len 705 http/modules/ngx_http_fastcgi_module.c len = 0; len 730 http/modules/ngx_http_fastcgi_module.c len += 1 + key_len + ((val_len > 127) ? 4 : 1) + val_len; len 762 http/modules/ngx_http_fastcgi_module.c if (allocated < header[i].key.len) { len 763 http/modules/ngx_http_fastcgi_module.c allocated = header[i].key.len + 16; len 772 http/modules/ngx_http_fastcgi_module.c for (n = 0; n < header[i].key.len; n++) { len 794 http/modules/ngx_http_fastcgi_module.c n = sizeof("HTTP_") - 1 + header[i].key.len; len 797 http/modules/ngx_http_fastcgi_module.c len += ((n > 127) ? 4 : 1) + ((header[i].value.len > 127) ? 4 : 1) len 798 http/modules/ngx_http_fastcgi_module.c + n + header[i].value.len; len 803 http/modules/ngx_http_fastcgi_module.c if (len > 65535) { len 805 http/modules/ngx_http_fastcgi_module.c "fastcgi request record is too big: %uz", len); len 810 http/modules/ngx_http_fastcgi_module.c padding = 8 - len % 8; len 818 http/modules/ngx_http_fastcgi_module.c + len + padding len 843 http/modules/ngx_http_fastcgi_module.c h->content_length_hi = (u_char) ((len >> 8) & 0xff); len 844 http/modules/ngx_http_fastcgi_module.c h->content_length_lo = (u_char) (len & 0xff); len 924 http/modules/ngx_http_fastcgi_module.c key_len = sizeof("HTTP_") - 1 + header[i].key.len; len 935 http/modules/ngx_http_fastcgi_module.c val_len = header[i].value.len; len 948 http/modules/ngx_http_fastcgi_module.c for (n = 0; n < header[i].key.len; n++) { len 1033 http/modules/ngx_http_fastcgi_module.c len = (ngx_uint_t) (file_pos - b->file_pos); len 1045 http/modules/ngx_http_fastcgi_module.c len = (ngx_uint_t) (pos - b->pos); len 1048 http/modules/ngx_http_fastcgi_module.c padding = 8 - len % 8; len 1055 http/modules/ngx_http_fastcgi_module.c h->content_length_hi = (u_char) ((len >> 8) & 0xff); len 1056 http/modules/ngx_http_fastcgi_module.c h->content_length_lo = (u_char) (len & 0xff); len 1302 http/modules/ngx_http_fastcgi_module.c ssize_t len; len 1307 http/modules/ngx_http_fastcgi_module.c len = u->buffer.pos - start - 2 * sizeof(ngx_http_fastcgi_header_t); len 1317 http/modules/ngx_http_fastcgi_module.c if (len >= 0) { len 1323 http/modules/ngx_http_fastcgi_module.c fh->content_length_hi = (u_char) ((len >> 8) & 0xff); len 1324 http/modules/ngx_http_fastcgi_module.c fh->content_length_lo = (u_char) (len & 0xff); len 1408 http/modules/ngx_http_fastcgi_module.c h->key.len = r->header_name_end - r->header_name_start; len 1410 http/modules/ngx_http_fastcgi_module.c h->key.data[h->key.len] = '\0'; len 1412 http/modules/ngx_http_fastcgi_module.c h->value.len = r->header_end - r->header_start; len 1414 http/modules/ngx_http_fastcgi_module.c h->value.data[h->value.len] = '\0'; len 1416 http/modules/ngx_http_fastcgi_module.c h->lowcase_key = ngx_pnalloc(r->pool, h->key.len); len 1423 http/modules/ngx_http_fastcgi_module.c h->key.len = r->header_name_end - r->header_name_start; len 1424 http/modules/ngx_http_fastcgi_module.c h->value.len = r->header_end - r->header_start; len 1427 http/modules/ngx_http_fastcgi_module.c h->key.len + 1 + h->value.len + 1 len 1428 http/modules/ngx_http_fastcgi_module.c + h->key.len); len 1433 http/modules/ngx_http_fastcgi_module.c h->value.data = h->key.data + h->key.len + 1; len 1434 http/modules/ngx_http_fastcgi_module.c h->lowcase_key = h->key.data + h->key.len + 1 len 1435 http/modules/ngx_http_fastcgi_module.c + h->value.len + 1; len 1438 http/modules/ngx_http_fastcgi_module.c h->key.len + 1); len 1440 http/modules/ngx_http_fastcgi_module.c h->value.len + 1); len 1445 http/modules/ngx_http_fastcgi_module.c if (h->key.len == r->lowcase_index) { len 1446 http/modules/ngx_http_fastcgi_module.c ngx_memcpy(h->lowcase_key, r->lowcase_header, h->key.len); len 1449 http/modules/ngx_http_fastcgi_module.c ngx_strlow(h->lowcase_key, h->key.data, h->key.len); len 1453 http/modules/ngx_http_fastcgi_module.c h->lowcase_key, h->key.len); len 1927 http/modules/ngx_http_fastcgi_module.c for (v = ngx_http_fastcgi_vars; v->name.len; v++) { len 2340 http/modules/ngx_http_fastcgi_module.c for (h = ngx_http_fastcgi_cache_headers; h->key.len; h++) { len 2367 http/modules/ngx_http_fastcgi_module.c if (src[i].key.len > sizeof("HTTP_") - 1 len 2375 http/modules/ngx_http_fastcgi_module.c hk->key.len = src[i].key.len - 5; len 2377 http/modules/ngx_http_fastcgi_module.c hk->key_hash = ngx_hash_key_lc(hk->key.data, hk->key.len); len 2380 http/modules/ngx_http_fastcgi_module.c if (src[i].value.len == 0) { len 2392 http/modules/ngx_http_fastcgi_module.c copy->len = src[i].key.len; len 2396 http/modules/ngx_http_fastcgi_module.c + src[i].key.len + sizeof(uintptr_t) - 1) len 2405 http/modules/ngx_http_fastcgi_module.c copy->len = src[i].key.len; len 2408 http/modules/ngx_http_fastcgi_module.c ngx_memcpy(p, src[i].key.data, src[i].key.len); len 2482 http/modules/ngx_http_fastcgi_module.c if (f->script_name.len == 0 len 2483 http/modules/ngx_http_fastcgi_module.c || f->script_name.data[f->script_name.len - 1] != '/') len 2485 http/modules/ngx_http_fastcgi_module.c v->len = f->script_name.len; len 2494 http/modules/ngx_http_fastcgi_module.c v->len = f->script_name.len + flcf->index.len; len 2496 http/modules/ngx_http_fastcgi_module.c v->data = ngx_pnalloc(r->pool, v->len); len 2501 http/modules/ngx_http_fastcgi_module.c p = ngx_copy(v->data, f->script_name.data, f->script_name.len); len 2502 http/modules/ngx_http_fastcgi_module.c ngx_memcpy(p, flcf->index.data, flcf->index.len); len 2523 http/modules/ngx_http_fastcgi_module.c v->len = f->path_info.len; len 2552 http/modules/ngx_http_fastcgi_module.c if (f->script_name.len) { len 2564 http/modules/ngx_http_fastcgi_module.c f->script_name.len = captures[3] - captures[2]; len 2567 http/modules/ngx_http_fastcgi_module.c f->path_info.len = captures[5] - captures[4]; len 2623 http/modules/ngx_http_fastcgi_module.c if (clcf->name.data[clcf->name.len - 1] == '/') { len 2684 http/modules/ngx_http_fastcgi_module.c rc.err.len = NGX_MAX_CONF_ERRSTR; len 2749 http/modules/ngx_http_fastcgi_module.c value[1].len++; len 2813 http/modules/ngx_http_fastcgi_module.c if (flcf->cache_key.value.len) { len 64 http/modules/ngx_http_flv_module.c off_t start, len; len 79 http/modules/ngx_http_flv_module.c if (r->uri.data[r->uri.len - 1] == '/') { len 96 http/modules/ngx_http_flv_module.c path.len = last - path.data; len 162 http/modules/ngx_http_flv_module.c len = of.size; len 165 http/modules/ngx_http_flv_module.c if (r->args.len) { len 169 http/modules/ngx_http_flv_module.c start = ngx_atoof(value.data, value.len); len 171 http/modules/ngx_http_flv_module.c if (start == NGX_ERROR || start >= len) { len 176 http/modules/ngx_http_flv_module.c len = sizeof(ngx_flv_header) - 1 + len - start; len 185 http/modules/ngx_http_flv_module.c r->headers_out.content_length_n = len; len 215 http/modules/ngx_http_geo_module.c size_t len; len 235 http/modules/ngx_http_geo_module.c len = xfwd->value.len; len 238 http/modules/ngx_http_geo_module.c for (p = ip + len - 1; p > ip; p--) { len 241 http/modules/ngx_http_geo_module.c len -= p - ip; len 247 http/modules/ngx_http_geo_module.c return ntohl(ngx_inet_addr(ip, len)); len 285 http/modules/ngx_http_geo_module.c return ntohl(ngx_inet_addr(v->data, v->len)); len 294 http/modules/ngx_http_geo_module.c size_t len; len 312 http/modules/ngx_http_geo_module.c name.len--; len 323 http/modules/ngx_http_geo_module.c name.len--; len 377 http/modules/ngx_http_geo_module.c len = a->nelts * sizeof(ngx_http_geo_range_t); len 379 http/modules/ngx_http_geo_module.c ctx.high.low[i] = ngx_palloc(cf->pool, len + sizeof(void *)); len 384 http/modules/ngx_http_geo_module.c p = (void **) ngx_cpymem(ctx.high.low[i], a->elts, len); len 386 http/modules/ngx_http_geo_module.c ctx.data_size += len + sizeof(void *); len 569 http/modules/ngx_http_geo_module.c last = net->data + net->len; len 981 http/modules/ngx_http_geo_module.c hash = ngx_crc32_long(value->data, value->len); len 995 http/modules/ngx_http_geo_module.c val->len = value->len; len 1012 http/modules/ngx_http_geo_module.c gvvn->sn.str.len = val->len; len 1019 http/modules/ngx_http_geo_module.c ctx->data_size += ngx_align(sizeof(ngx_http_variable_value_t) + value->len, len 1094 http/modules/ngx_http_geo_module.c file.len = name->len + 4; len 1095 http/modules/ngx_http_geo_module.c file.data = ngx_pnalloc(ctx->temp_pool, name->len + 5); len 1119 http/modules/ngx_http_geo_module.c file.len -= 4; len 1120 http/modules/ngx_http_geo_module.c file.data[file.len] = '\0'; len 1145 http/modules/ngx_http_geo_module.c size_t size, len; len 1196 http/modules/ngx_http_geo_module.c ch = name->data[name->len - 4]; len 1197 http/modules/ngx_http_geo_module.c name->data[name->len - 4] = '\0'; len 1205 http/modules/ngx_http_geo_module.c name->data[name->len - 4] = ch; len 1246 http/modules/ngx_http_geo_module.c len = ngx_align(sizeof(ngx_http_variable_value_t) + vv->len, len 1248 http/modules/ngx_http_geo_module.c ngx_crc32_update(&crc32, (u_char *) vv, len); len 1250 http/modules/ngx_http_geo_module.c vv = (ngx_http_variable_value_t *) ((u_char *) vv + len); len 1324 http/modules/ngx_http_geo_module.c fm.name = ngx_pnalloc(ctx->temp_pool, ctx->include_name.len + 5); len 1363 http/modules/ngx_http_geo_module.c s.len = r->value->len; len 1365 http/modules/ngx_http_geo_module.c hash = ngx_crc32_long(s.data, s.len); len 1409 http/modules/ngx_http_geo_module.c p = ngx_cpymem(p, gvvn->sn.str.data, gvvn->sn.str.len); len 198 http/modules/ngx_http_geoip_module.c v->len = ngx_strlen(val); len 219 http/modules/ngx_http_geoip_module.c size_t len; len 232 http/modules/ngx_http_geoip_module.c len = ngx_strlen(val); len 233 http/modules/ngx_http_geoip_module.c v->data = ngx_pnalloc(r->pool, len); len 239 http/modules/ngx_http_geoip_module.c ngx_memcpy(v->data, val, len); len 241 http/modules/ngx_http_geoip_module.c v->len = len; len 266 http/modules/ngx_http_geoip_module.c size_t len; len 283 http/modules/ngx_http_geoip_module.c len = ngx_strlen(val); len 284 http/modules/ngx_http_geoip_module.c v->data = ngx_pnalloc(r->pool, len); len 289 http/modules/ngx_http_geoip_module.c ngx_memcpy(v->data, val, len); len 291 http/modules/ngx_http_geoip_module.c v->len = len; len 327 http/modules/ngx_http_geoip_module.c v->len = ngx_sprintf(v->data, "%.4f", val) - v->data; len 356 http/modules/ngx_http_geoip_module.c v->len = ngx_sprintf(v->data, "%d", val) - v->data; len 390 http/modules/ngx_http_geoip_module.c for (v = ngx_http_geoip_vars; v->name.len; v++) { len 250 http/modules/ngx_http_gzip_filter_module.c && r->headers_out.content_encoding->value.len) len 1078 http/modules/ngx_http_gzip_filter_module.c v->len = ngx_sprintf(v->data, "%ui.%02ui", zint, zfrac) - v->data; len 88 http/modules/ngx_http_gzip_static_module.c if (r->uri.data[r->uri.len - 1] == '/') { len 118 http/modules/ngx_http_gzip_static_module.c path.len = p - path.data; len 182 http/modules/ngx_http_headers_filter_module.c size_t len; len 202 http/modules/ngx_http_headers_filter_module.c len = sizeof("Mon, 28 Sep 1970 06:00:00 GMT"); len 203 http/modules/ngx_http_headers_filter_module.c expires->value.len = len - 1; len 251 http/modules/ngx_http_headers_filter_module.c expires->value.data = ngx_pnalloc(r->pool, len); len 258 http/modules/ngx_http_headers_filter_module.c ngx_cached_http_time.len + 1); len 293 http/modules/ngx_http_headers_filter_module.c cc->value.len = ngx_sprintf(cc->value.data, "max-age=%T", max_age) len 306 http/modules/ngx_http_headers_filter_module.c if (value->len) { len 376 http/modules/ngx_http_headers_filter_module.c if (value->len == 0) { len 388 http/modules/ngx_http_headers_filter_module.c if (value->len == 0) { len 506 http/modules/ngx_http_headers_filter_module.c value[n].len--; len 517 http/modules/ngx_http_headers_filter_module.c value[n].len--; len 522 http/modules/ngx_http_headers_filter_module.c value[n].len--; len 585 http/modules/ngx_http_headers_filter_module.c for (i = 0; set[i].name.len; i++) { len 596 http/modules/ngx_http_headers_filter_module.c if (value[2].len == 0) { len 190 http/modules/ngx_http_image_filter_module.c off_t len; len 211 http/modules/ngx_http_image_filter_module.c if (r->headers_out.content_type.len len 231 http/modules/ngx_http_image_filter_module.c len = r->headers_out.content_length_n; len 233 http/modules/ngx_http_image_filter_module.c if (len != -1 && len > (off_t) conf->buffer_size) { len 235 http/modules/ngx_http_image_filter_module.c "image filter: too big response: %O", len); len 240 http/modules/ngx_http_image_filter_module.c if (len == -1) { len 244 http/modules/ngx_http_image_filter_module.c ctx->length = (size_t) len; len 308 http/modules/ngx_http_image_filter_module.c r->headers_out.content_type_len = ct->len; len 536 http/modules/ngx_http_image_filter_module.c size_t len; len 562 http/modules/ngx_http_image_filter_module.c len = sizeof("{ \"img\" : " len 566 http/modules/ngx_http_image_filter_module.c b->pos = ngx_pnalloc(r->pool, len); len 623 http/modules/ngx_http_image_filter_module.c size_t len, app; len 658 http/modules/ngx_http_image_filter_module.c len = p[1] * 256 + p[2]; len 662 http/modules/ngx_http_image_filter_module.c app += len; len 665 http/modules/ngx_http_image_filter_module.c p += len; len 1119 http/modules/ngx_http_image_filter_module.c if (value->len == 1 && value->data[0] == '-') { len 1123 http/modules/ngx_http_image_filter_module.c n = ngx_atoi(value->data, value->len); len 99 http/modules/ngx_http_index_module.c size_t len, root, reserve, allocated; len 111 http/modules/ngx_http_index_module.c if (r->uri.data[r->uri.len - 1] != '/') { len 139 http/modules/ngx_http_index_module.c len = index[i].name.len; len 149 http/modules/ngx_http_index_module.c len = 1; len 153 http/modules/ngx_http_index_module.c len += lcode(&e); len 158 http/modules/ngx_http_index_module.c reserve = len + 16; len 168 http/modules/ngx_http_index_module.c allocated = path.data + path.len - name; len 175 http/modules/ngx_http_index_module.c ngx_memcpy(name, index[i].name.data, index[i].name.len); len 177 http/modules/ngx_http_index_module.c path.len = (name + index[i].name.len - 1) - path.data; len 189 http/modules/ngx_http_index_module.c uri.len = len - 1; len 194 http/modules/ngx_http_index_module.c path.len = e.pos - path.data; len 249 http/modules/ngx_http_index_module.c uri.len = r->uri.len + len - 1; len 255 http/modules/ngx_http_index_module.c uri.data = ngx_pnalloc(r->pool, uri.len); len 260 http/modules/ngx_http_index_module.c p = ngx_copy(uri.data, r->uri.data, r->uri.len); len 261 http/modules/ngx_http_index_module.c ngx_memcpy(p, name, len - 1); len 286 http/modules/ngx_http_index_module.c dir.len = last - path; len 403 http/modules/ngx_http_index_module.c index->name.len = sizeof(NGX_HTTP_DEFAULT_INDEX); len 465 http/modules/ngx_http_index_module.c if (value[i].len == 0) { len 477 http/modules/ngx_http_index_module.c index->name.len = value[i].len; len 485 http/modules/ngx_http_index_module.c if (ilcf->max_index_len < index->name.len) { len 486 http/modules/ngx_http_index_module.c ilcf->max_index_len = index->name.len; len 494 http/modules/ngx_http_index_module.c index->name.len++; len 15 http/modules/ngx_http_limit_req_module.c u_short len; len 54 http/modules/ngx_http_limit_req_module.c ngx_uint_t hash, u_char *data, size_t len, ngx_uint_t *ep); len 138 http/modules/ngx_http_limit_req_module.c size_t len, n; len 167 http/modules/ngx_http_limit_req_module.c len = vv->len; len 169 http/modules/ngx_http_limit_req_module.c if (len == 0) { len 173 http/modules/ngx_http_limit_req_module.c if (len > 65535) { len 183 http/modules/ngx_http_limit_req_module.c hash = ngx_crc32_short(vv->data, len); len 189 http/modules/ngx_http_limit_req_module.c rc = ngx_http_limit_req_lookup(lrcf, hash, vv->data, len, &excess); len 198 http/modules/ngx_http_limit_req_module.c + len; len 215 http/modules/ngx_http_limit_req_module.c lr->len = (u_char) len; len 221 http/modules/ngx_http_limit_req_module.c ngx_memcpy(lr->data, vv->data, len); len 324 http/modules/ngx_http_limit_req_module.c p = (ngx_memn2cmp(lrn->data, lrnt->data, lrn->len, lrnt->len) < 0) len 345 http/modules/ngx_http_limit_req_module.c u_char *data, size_t len, ngx_uint_t *ep) len 377 http/modules/ngx_http_limit_req_module.c rc = ngx_memn2cmp(data, lr->data, len, (size_t) lr->len); len 487 http/modules/ngx_http_limit_req_module.c size_t len; len 527 http/modules/ngx_http_limit_req_module.c len = sizeof(" in limit_req zone \"\"") + shm_zone->shm.name.len; len 529 http/modules/ngx_http_limit_req_module.c ctx->shpool->log_ctx = ngx_slab_alloc(ctx->shpool, len); len 589 http/modules/ngx_http_limit_req_module.c size_t size, len; len 602 http/modules/ngx_http_limit_req_module.c name.len = 0; len 615 http/modules/ngx_http_limit_req_module.c name.len = p - name.data; len 619 http/modules/ngx_http_limit_req_module.c s.len = value[i].data + value[i].len - p; len 635 http/modules/ngx_http_limit_req_module.c len = value[i].len; len 636 http/modules/ngx_http_limit_req_module.c p = value[i].data + len - 3; len 640 http/modules/ngx_http_limit_req_module.c len -= 3; len 644 http/modules/ngx_http_limit_req_module.c len -= 3; len 647 http/modules/ngx_http_limit_req_module.c rate = ngx_atoi(value[i].data + 5, len - 5); len 659 http/modules/ngx_http_limit_req_module.c value[i].len--; len 682 http/modules/ngx_http_limit_req_module.c if (name.len == 0 || size == 0) { len 741 http/modules/ngx_http_limit_req_module.c s.len = value[i].len - 5; len 755 http/modules/ngx_http_limit_req_module.c burst = ngx_atoi(value[i].data + 6, value[i].len - 6); len 14 http/modules/ngx_http_limit_zone_module.c u_char len; len 122 http/modules/ngx_http_limit_zone_module.c size_t len, n; len 152 http/modules/ngx_http_limit_zone_module.c len = vv->len; len 154 http/modules/ngx_http_limit_zone_module.c if (len == 0) { len 158 http/modules/ngx_http_limit_zone_module.c if (len > 255) { len 168 http/modules/ngx_http_limit_zone_module.c hash = ngx_crc32_short(vv->data, len); len 199 http/modules/ngx_http_limit_zone_module.c rc = ngx_memn2cmp(vv->data, lz->data, len, (size_t) lz->len); len 225 http/modules/ngx_http_limit_zone_module.c + len; len 236 http/modules/ngx_http_limit_zone_module.c lz->len = (u_char) len; len 238 http/modules/ngx_http_limit_zone_module.c ngx_memcpy(lz->data, vv->data, len); len 281 http/modules/ngx_http_limit_zone_module.c p = (ngx_memn2cmp(lzn->data, lznt->data, lzn->len, lznt->len) < 0) len 336 http/modules/ngx_http_limit_zone_module.c size_t len; len 380 http/modules/ngx_http_limit_zone_module.c len = sizeof(" in limit_zone \"\"") + shm_zone->shm.name.len; len 382 http/modules/ngx_http_limit_zone_module.c shpool->log_ctx = ngx_slab_alloc(shpool, len); len 449 http/modules/ngx_http_limit_zone_module.c value[2].len--; len 521 http/modules/ngx_http_limit_zone_module.c n = ngx_atoi(value[2].data, value[2].len); len 22 http/modules/ngx_http_log_module.c size_t len; len 70 http/modules/ngx_http_log_module.c size_t len; len 76 http/modules/ngx_http_log_module.c u_char *buf, size_t len); len 78 http/modules/ngx_http_log_module.c ngx_http_log_script_t *script, u_char **name, u_char *buf, size_t len); len 220 http/modules/ngx_http_log_module.c size_t len; len 252 http/modules/ngx_http_log_module.c len = 0; len 255 http/modules/ngx_http_log_module.c if (op[i].len == 0) { len 256 http/modules/ngx_http_log_module.c len += op[i].getlen(r, op[i].data); len 259 http/modules/ngx_http_log_module.c len += op[i].len; len 263 http/modules/ngx_http_log_module.c len += NGX_LINEFEED_SIZE; len 269 http/modules/ngx_http_log_module.c if (len > (size_t) (file->last - file->pos)) { len 277 http/modules/ngx_http_log_module.c if (len <= (size_t) (file->last - file->pos)) { len 293 http/modules/ngx_http_log_module.c line = ngx_pnalloc(r->pool, len); len 315 http/modules/ngx_http_log_module.c size_t len) len 324 http/modules/ngx_http_log_module.c n = ngx_write_fd(log->file->fd, buf, len); len 328 http/modules/ngx_http_log_module.c n = ngx_http_log_script_write(r, log->script, &name, buf, len); len 331 http/modules/ngx_http_log_module.c if (n == (ssize_t) len) { len 357 http/modules/ngx_http_log_module.c name, n, len); len 366 http/modules/ngx_http_log_module.c u_char **name, u_char *buf, size_t len) len 381 http/modules/ngx_http_log_module.c return len; len 402 http/modules/ngx_http_log_module.c return len; len 409 http/modules/ngx_http_log_module.c return len; len 417 http/modules/ngx_http_log_module.c return len; len 426 http/modules/ngx_http_log_module.c return len; len 429 http/modules/ngx_http_log_module.c log.data[log.len - 1] = '\0'; len 450 http/modules/ngx_http_log_module.c return len; len 456 http/modules/ngx_http_log_module.c n = ngx_write_fd(of.fd, buf, len); len 466 http/modules/ngx_http_log_module.c size_t len; len 469 http/modules/ngx_http_log_module.c len = op->len; len 472 http/modules/ngx_http_log_module.c while (len--) { len 485 http/modules/ngx_http_log_module.c return ngx_cpymem(buf, (u_char *) op->data, op->len); len 514 http/modules/ngx_http_log_module.c ngx_cached_http_log_time.len); len 521 http/modules/ngx_http_log_module.c ngx_cached_http_log_iso8601.len); len 627 http/modules/ngx_http_log_module.c op->len = 0; len 639 http/modules/ngx_http_log_module.c uintptr_t len; len 648 http/modules/ngx_http_log_module.c len = ngx_http_log_escape(NULL, value->data, value->len); len 650 http/modules/ngx_http_log_module.c value->escape = len ? 1 : 0; len 652 http/modules/ngx_http_log_module.c return value->len + len * 3; len 669 http/modules/ngx_http_log_module.c return ngx_cpymem(buf, value->data, value->len); len 672 http/modules/ngx_http_log_module.c return (u_char *) ngx_http_log_escape(buf, value->data, value->len); len 940 http/modules/ngx_http_log_module.c if (fmt[i].name.len == name.len len 967 http/modules/ngx_http_log_module.c name.len = value[3].len - 7; len 1011 http/modules/ngx_http_log_module.c if (fmt[i].name.len == value[1].len len 1047 http/modules/ngx_http_log_module.c size_t i, len; len 1058 http/modules/ngx_http_log_module.c for (i = 0; i < value[s].len; i++) { len 1079 http/modules/ngx_http_log_module.c while (i < value[s].len) { len 1090 http/modules/ngx_http_log_module.c if (++i == value[s].len) { len 1097 http/modules/ngx_http_log_module.c if (++i == value[s].len) { len 1108 http/modules/ngx_http_log_module.c for (var.len = 0; i < value[s].len; i++, var.len++) { len 1135 http/modules/ngx_http_log_module.c if (var.len == 0) { len 1145 http/modules/ngx_http_log_module.c for (v = ngx_http_log_vars; v->name.len; v++) { len 1147 http/modules/ngx_http_log_module.c if (v->name.len == var.len len 1148 http/modules/ngx_http_log_module.c && ngx_strncmp(v->name.data, var.data, var.len) == 0) len 1150 http/modules/ngx_http_log_module.c op->len = v->len; len 1180 http/modules/ngx_http_log_module.c while (i < value[s].len && value[s].data[i] != '$') { len 1184 http/modules/ngx_http_log_module.c len = &value[s].data[i] - data; len 1186 http/modules/ngx_http_log_module.c if (len) { len 1188 http/modules/ngx_http_log_module.c op->len = len; len 1191 http/modules/ngx_http_log_module.c if (len <= sizeof(uintptr_t)) { len 1195 http/modules/ngx_http_log_module.c while (len--) { len 1197 http/modules/ngx_http_log_module.c op->data |= data[len]; len 1203 http/modules/ngx_http_log_module.c p = ngx_pnalloc(cf->pool, len); len 1208 http/modules/ngx_http_log_module.c ngx_memcpy(p, data, len); len 1250 http/modules/ngx_http_log_module.c max = ngx_atoi(value[i].data + 4, value[i].len - 4); len 1260 http/modules/ngx_http_log_module.c s.len = value[i].len - 9; len 1273 http/modules/ngx_http_log_module.c min_uses = ngx_atoi(value[i].data + 9, value[i].len - 9); len 1283 http/modules/ngx_http_log_module.c s.len = value[i].len - 6; len 112 http/modules/ngx_http_map_module.c size_t len; len 124 http/modules/ngx_http_map_module.c len = val.len; len 126 http/modules/ngx_http_map_module.c if (len && map->hostnames && val.data[len - 1] == '.') { len 127 http/modules/ngx_http_map_module.c len--; len 130 http/modules/ngx_http_map_module.c key = ngx_hash_strlow(val.data, val.data, len); len 132 http/modules/ngx_http_map_module.c value = ngx_http_map_find(r, &map->map, key, val.data, len, &val); len 217 http/modules/ngx_http_map_module.c name.len--; len 410 http/modules/ngx_http_map_module.c name.len--; len 434 http/modules/ngx_http_map_module.c var->len = 0; len 449 http/modules/ngx_http_map_module.c for (i = 0; i < value[1].len; i++) { len 459 http/modules/ngx_http_map_module.c if (value[1].len != (size_t) vp[i]->len) { len 463 http/modules/ngx_http_map_module.c if (ngx_strncmp(value[1].data, vp[i]->data, value[1].len) == 0) { len 483 http/modules/ngx_http_map_module.c var->len = value[1].len; len 517 http/modules/ngx_http_map_module.c if (value[0].len && value[0].data[0] == '~') { len 527 http/modules/ngx_http_map_module.c value[0].len--; len 533 http/modules/ngx_http_map_module.c rc.err.len = NGX_MAX_CONF_ERRSTR; len 548 http/modules/ngx_http_map_module.c if (value[0].len && value[0].data[0] == '\\') { len 549 http/modules/ngx_http_map_module.c value[0].len--; len 211 http/modules/ngx_http_memcached_module.c size_t len; len 223 http/modules/ngx_http_memcached_module.c if (vv == NULL || vv->not_found || vv->len == 0) { len 229 http/modules/ngx_http_memcached_module.c escape = 2 * ngx_escape_uri(NULL, vv->data, vv->len, NGX_ESCAPE_MEMCACHED); len 231 http/modules/ngx_http_memcached_module.c len = sizeof("get ") - 1 + vv->len + escape + sizeof(CRLF) - 1; len 233 http/modules/ngx_http_memcached_module.c b = ngx_create_temp_buf(r->pool, len); len 255 http/modules/ngx_http_memcached_module.c b->last = ngx_copy(b->last, vv->data, vv->len); len 258 http/modules/ngx_http_memcached_module.c b->last = (u_char *) ngx_escape_uri(b->last, vv->data, vv->len, len 262 http/modules/ngx_http_memcached_module.c ctx->key.len = b->last - ctx->key.data; len 283 http/modules/ngx_http_memcached_module.c u_char *p, *len; len 302 http/modules/ngx_http_memcached_module.c line.len = p - u->buffer.pos - 1; len 316 http/modules/ngx_http_memcached_module.c if (ngx_strncmp(p, ctx->key.data, ctx->key.len) != 0) { len 325 http/modules/ngx_http_memcached_module.c p += ctx->key.len; len 343 http/modules/ngx_http_memcached_module.c len = p; len 347 http/modules/ngx_http_memcached_module.c r->headers_out.content_length_n = ngx_atoof(len, p - len - 1); len 612 http/modules/ngx_http_memcached_module.c if (clcf->name.data[clcf->name.len - 1] == '/') { len 79 http/modules/ngx_http_not_modified_filter_module.c r->headers_in.if_unmodified_since->value.len); len 106 http/modules/ngx_http_not_modified_filter_module.c r->headers_in.if_modified_since->value.len); len 121 http/modules/ngx_http_not_modified_filter_module.c r->headers_out.status_line.len = 0; len 122 http/modules/ngx_http_not_modified_filter_module.c r->headers_out.content_type.len = 0; len 668 http/modules/ngx_http_proxy_module.c u->schema.len = add; len 673 http/modules/ngx_http_proxy_module.c url.url.len = proxy.len - add; len 688 http/modules/ngx_http_proxy_module.c if (url.uri.len) { len 690 http/modules/ngx_http_proxy_module.c p = ngx_pnalloc(r->pool, url.uri.len + 1); len 696 http/modules/ngx_http_proxy_module.c ngx_memcpy(p, url.uri.data, url.uri.len); len 698 http/modules/ngx_http_proxy_module.c url.uri.len++; len 736 http/modules/ngx_http_proxy_module.c size_t len, loc_len; len 755 http/modules/ngx_http_proxy_module.c if (plcf->cache_key.value.len) { len 778 http/modules/ngx_http_proxy_module.c } else if (ctx->vars.uri.len == 0 && r->valid_unparsed_uri && r == r->main) len 786 http/modules/ngx_http_proxy_module.c loc_len = (r->valid_location && ctx->vars.uri.len) ? plcf->location.len : 0; len 790 http/modules/ngx_http_proxy_module.c r->uri.len - loc_len, NGX_ESCAPE_URI); len 795 http/modules/ngx_http_proxy_module.c len = ctx->vars.uri.len + r->uri.len - loc_len + escape len 796 http/modules/ngx_http_proxy_module.c + sizeof("?") - 1 + r->args.len; len 798 http/modules/ngx_http_proxy_module.c p = ngx_pnalloc(r->pool, len); len 806 http/modules/ngx_http_proxy_module.c p = ngx_copy(p, ctx->vars.uri.data, ctx->vars.uri.len); len 811 http/modules/ngx_http_proxy_module.c r->uri.len - loc_len, NGX_ESCAPE_URI); len 812 http/modules/ngx_http_proxy_module.c p += r->uri.len - loc_len + escape; len 815 http/modules/ngx_http_proxy_module.c p = ngx_copy(p, r->uri.data + loc_len, r->uri.len - loc_len); len 818 http/modules/ngx_http_proxy_module.c if (r->args.len > 0) { len 820 http/modules/ngx_http_proxy_module.c p = ngx_copy(p, r->args.data, r->args.len); len 823 http/modules/ngx_http_proxy_module.c key->len = p - key->data; len 835 http/modules/ngx_http_proxy_module.c size_t len, uri_len, loc_len, body_len; len 854 http/modules/ngx_http_proxy_module.c if (u->method.len) { len 857 http/modules/ngx_http_proxy_module.c method.len++; len 859 http/modules/ngx_http_proxy_module.c } else if (plcf->method.len) { len 864 http/modules/ngx_http_proxy_module.c method.len++; len 867 http/modules/ngx_http_proxy_module.c len = method.len + sizeof(ngx_http_proxy_version) - 1 + sizeof(CRLF) - 1; len 876 http/modules/ngx_http_proxy_module.c uri_len = ctx->vars.uri.len; len 878 http/modules/ngx_http_proxy_module.c } else if (ctx->vars.uri.len == 0 && r->valid_unparsed_uri && r == r->main) len 881 http/modules/ngx_http_proxy_module.c uri_len = r->unparsed_uri.len; len 884 http/modules/ngx_http_proxy_module.c loc_len = (r->valid_location && ctx->vars.uri.len) ? len 885 http/modules/ngx_http_proxy_module.c plcf->location.len : 0; len 889 http/modules/ngx_http_proxy_module.c r->uri.len - loc_len, NGX_ESCAPE_URI); len 892 http/modules/ngx_http_proxy_module.c uri_len = ctx->vars.uri.len + r->uri.len - loc_len + escape len 893 http/modules/ngx_http_proxy_module.c + sizeof("?") - 1 + r->args.len; len 902 http/modules/ngx_http_proxy_module.c len += uri_len; len 918 http/modules/ngx_http_proxy_module.c len += body_len; len 928 http/modules/ngx_http_proxy_module.c len += lcode(&le); len 951 http/modules/ngx_http_proxy_module.c header[i].lowcase_key, header[i].key.len)) len 956 http/modules/ngx_http_proxy_module.c len += header[i].key.len + sizeof(": ") - 1 len 957 http/modules/ngx_http_proxy_module.c + header[i].value.len + sizeof(CRLF) - 1; len 962 http/modules/ngx_http_proxy_module.c b = ngx_create_temp_buf(r->pool, len); len 977 http/modules/ngx_http_proxy_module.c b->last = ngx_copy(b->last, method.data, method.len); len 982 http/modules/ngx_http_proxy_module.c b->last = ngx_copy(b->last, ctx->vars.uri.data, ctx->vars.uri.len); len 985 http/modules/ngx_http_proxy_module.c b->last = ngx_copy(b->last, r->unparsed_uri.data, r->unparsed_uri.len); len 989 http/modules/ngx_http_proxy_module.c b->last = ngx_copy(b->last, ctx->vars.uri.data, ctx->vars.uri.len); len 994 http/modules/ngx_http_proxy_module.c r->uri.len - loc_len, NGX_ESCAPE_URI); len 995 http/modules/ngx_http_proxy_module.c b->last += r->uri.len - loc_len + escape; len 999 http/modules/ngx_http_proxy_module.c r->uri.len - loc_len); len 1002 http/modules/ngx_http_proxy_module.c if (r->args.len > 0) { len 1004 http/modules/ngx_http_proxy_module.c b->last = ngx_copy(b->last, r->args.data, r->args.len); len 1008 http/modules/ngx_http_proxy_module.c u->uri.len = b->last - u->uri.data; len 1030 http/modules/ngx_http_proxy_module.c for (len = 0; *(uintptr_t *) le.ip; len += lcode(&le)) { len 1034 http/modules/ngx_http_proxy_module.c e.skip = (len == sizeof(CRLF) - 1) ? 1 : 0; len 1069 http/modules/ngx_http_proxy_module.c header[i].lowcase_key, header[i].key.len)) len 1074 http/modules/ngx_http_proxy_module.c b->last = ngx_copy(b->last, header[i].key.data, header[i].key.len); len 1079 http/modules/ngx_http_proxy_module.c header[i].value.len); len 1171 http/modules/ngx_http_proxy_module.c size_t len; len 1222 http/modules/ngx_http_proxy_module.c len = ctx->status.end - ctx->status.start; len 1223 http/modules/ngx_http_proxy_module.c u->headers_in.status_line.len = len; len 1225 http/modules/ngx_http_proxy_module.c u->headers_in.status_line.data = ngx_pnalloc(r->pool, len); len 1230 http/modules/ngx_http_proxy_module.c ngx_memcpy(u->headers_in.status_line.data, ctx->status.start, len); len 1267 http/modules/ngx_http_proxy_module.c h->key.len = r->header_name_end - r->header_name_start; len 1268 http/modules/ngx_http_proxy_module.c h->value.len = r->header_end - r->header_start; len 1271 http/modules/ngx_http_proxy_module.c h->key.len + 1 + h->value.len + 1 + h->key.len); len 1276 http/modules/ngx_http_proxy_module.c h->value.data = h->key.data + h->key.len + 1; len 1277 http/modules/ngx_http_proxy_module.c h->lowcase_key = h->key.data + h->key.len + 1 + h->value.len + 1; len 1279 http/modules/ngx_http_proxy_module.c ngx_cpystrn(h->key.data, r->header_name_start, h->key.len + 1); len 1280 http/modules/ngx_http_proxy_module.c ngx_cpystrn(h->value.data, r->header_start, h->value.len + 1); len 1282 http/modules/ngx_http_proxy_module.c if (h->key.len == r->lowcase_index) { len 1283 http/modules/ngx_http_proxy_module.c ngx_memcpy(h->lowcase_key, r->lowcase_header, h->key.len); len 1286 http/modules/ngx_http_proxy_module.c ngx_strlow(h->lowcase_key, h->key.data, h->key.len); len 1290 http/modules/ngx_http_proxy_module.c h->lowcase_key, h->key.len); len 1392 http/modules/ngx_http_proxy_module.c v->len = ctx->vars.host_header.len; len 1415 http/modules/ngx_http_proxy_module.c v->len = ctx->vars.port.len; len 1436 http/modules/ngx_http_proxy_module.c v->len = r->connection->addr_text.len; len 1441 http/modules/ngx_http_proxy_module.c v->len = r->headers_in.x_forwarded_for->value.len len 1442 http/modules/ngx_http_proxy_module.c + sizeof(", ") - 1 + r->connection->addr_text.len; len 1444 http/modules/ngx_http_proxy_module.c p = ngx_pnalloc(r->pool, v->len); len 1452 http/modules/ngx_http_proxy_module.c r->headers_in.x_forwarded_for->value.len); len 1456 http/modules/ngx_http_proxy_module.c ngx_memcpy(p, r->connection->addr_text.data, r->connection->addr_text.len); len 1485 http/modules/ngx_http_proxy_module.c v->len = ngx_sprintf(v->data, "%uz", ctx->internal_body_length) - v->data; len 1524 http/modules/ngx_http_proxy_module.c size_t len; len 1527 http/modules/ngx_http_proxy_module.c if (pr->redirect.len > h->value.len - prefix len 1529 http/modules/ngx_http_proxy_module.c pr->redirect.len) != 0) len 1534 http/modules/ngx_http_proxy_module.c len = pr->replacement.text.len + h->value.len - pr->redirect.len; len 1536 http/modules/ngx_http_proxy_module.c data = ngx_pnalloc(r->pool, len); len 1543 http/modules/ngx_http_proxy_module.c if (pr->replacement.text.len) { len 1544 http/modules/ngx_http_proxy_module.c p = ngx_copy(p, pr->replacement.text.data, pr->replacement.text.len); len 1547 http/modules/ngx_http_proxy_module.c ngx_memcpy(p, h->value.data + prefix + pr->redirect.len, len 1548 http/modules/ngx_http_proxy_module.c h->value.len - pr->redirect.len - prefix); len 1550 http/modules/ngx_http_proxy_module.c h->value.len = len; len 1561 http/modules/ngx_http_proxy_module.c size_t len; len 1567 http/modules/ngx_http_proxy_module.c if (pr->redirect.len > h->value.len - prefix len 1569 http/modules/ngx_http_proxy_module.c pr->redirect.len) != 0) len 1579 http/modules/ngx_http_proxy_module.c len = h->value.len - pr->redirect.len; len 1583 http/modules/ngx_http_proxy_module.c len += lcode(&e); len 1586 http/modules/ngx_http_proxy_module.c data = ngx_pnalloc(r->pool, len); len 1601 http/modules/ngx_http_proxy_module.c ngx_memcpy(e.pos, h->value.data + prefix + pr->redirect.len, len 1602 http/modules/ngx_http_proxy_module.c h->value.len - pr->redirect.len - prefix); len 1604 http/modules/ngx_http_proxy_module.c h->value.len = len; len 1616 http/modules/ngx_http_proxy_module.c for (v = ngx_http_proxy_vars; v->name.len; v++) { len 1936 http/modules/ngx_http_proxy_module.c if (conf->method.len == 0) { len 1940 http/modules/ngx_http_proxy_module.c conf->method.data[conf->method.len] = ' '; len 1941 http/modules/ngx_http_proxy_module.c conf->method.len++; len 1980 http/modules/ngx_http_proxy_module.c if (conf->vars.uri.len) { len 1985 http/modules/ngx_http_proxy_module.c pr->redirect.len = conf->url.len + sizeof("/") - 1; len 1987 http/modules/ngx_http_proxy_module.c p = ngx_pnalloc(cf->pool, pr->redirect.len); len 1994 http/modules/ngx_http_proxy_module.c p = ngx_cpymem(p, conf->url.data, conf->url.len); len 2163 http/modules/ngx_http_proxy_module.c while (h->key.len) { len 2195 http/modules/ngx_http_proxy_module.c hk->key_hash = ngx_hash_key_lc(src[i].key.data, src[i].key.len); len 2198 http/modules/ngx_http_proxy_module.c if (src[i].value.len == 0) { len 2211 http/modules/ngx_http_proxy_module.c copy->len = src[i].key.len + sizeof(": ") - 1 len 2212 http/modules/ngx_http_proxy_module.c + src[i].value.len + sizeof(CRLF) - 1; len 2216 http/modules/ngx_http_proxy_module.c + src[i].key.len + sizeof(": ") - 1 len 2217 http/modules/ngx_http_proxy_module.c + src[i].value.len + sizeof(CRLF) - 1 len 2227 http/modules/ngx_http_proxy_module.c copy->len = src[i].key.len + sizeof(": ") - 1 len 2228 http/modules/ngx_http_proxy_module.c + src[i].value.len + sizeof(CRLF) - 1; len 2232 http/modules/ngx_http_proxy_module.c p = ngx_cpymem(p, src[i].key.data, src[i].key.len); len 2234 http/modules/ngx_http_proxy_module.c p = ngx_cpymem(p, src[i].value.data, src[i].value.len); len 2246 http/modules/ngx_http_proxy_module.c copy->len = src[i].key.len + sizeof(": ") - 1; len 2250 http/modules/ngx_http_proxy_module.c + src[i].key.len + sizeof(": ") - 1 + sizeof(uintptr_t) - 1) len 2259 http/modules/ngx_http_proxy_module.c copy->len = src[i].key.len + sizeof(": ") - 1; len 2262 http/modules/ngx_http_proxy_module.c p = ngx_cpymem(p, src[i].key.data, src[i].key.len); len 2287 http/modules/ngx_http_proxy_module.c copy->len = sizeof(CRLF) - 1; len 2300 http/modules/ngx_http_proxy_module.c copy->len = sizeof(CRLF) - 1; len 2362 http/modules/ngx_http_proxy_module.c if (clcf->name.data[clcf->name.len - 1] == '/') { len 2423 http/modules/ngx_http_proxy_module.c u.url.len = url->len - add; len 2434 http/modules/ngx_http_proxy_module.c plcf->vars.schema.len = add; len 2448 http/modules/ngx_http_proxy_module.c if (plcf->vars.uri.len) { len 2458 http/modules/ngx_http_proxy_module.c plcf->location.len = 0; len 2536 http/modules/ngx_http_proxy_module.c if (plcf->vars.uri.len) { len 2541 http/modules/ngx_http_proxy_module.c pr->redirect.len = plcf->url.len + sizeof("/") - 1; len 2543 http/modules/ngx_http_proxy_module.c p = ngx_pnalloc(cf->pool, pr->redirect.len); len 2550 http/modules/ngx_http_proxy_module.c p = ngx_cpymem(p, plcf->url.data, plcf->url.len); len 2629 http/modules/ngx_http_proxy_module.c value[1].len++; len 2693 http/modules/ngx_http_proxy_module.c if (plcf->cache_key.value.len) { len 2794 http/modules/ngx_http_proxy_module.c v->host_header.len = u->host.len + 1 + u->port_text.len; len 2799 http/modules/ngx_http_proxy_module.c v->key_start.len += v->host_header.len; len 2804 http/modules/ngx_http_proxy_module.c v->key_start.len += sizeof("unix:") - 1 + u->host.len + 1; len 76 http/modules/ngx_http_random_index_module.c size_t len, allocated, root; len 85 http/modules/ngx_http_random_index_module.c if (r->uri.data[r->uri.len - 1] != '/') { len 100 http/modules/ngx_http_random_index_module.c len = NGX_DIR_MASK_LEN; len 102 http/modules/ngx_http_random_index_module.c len = NGX_HTTP_RANDOM_INDEX_PREALLOCATE; len 105 http/modules/ngx_http_random_index_module.c last = ngx_http_map_uri_to_path(r, &path, &root, len); len 110 http/modules/ngx_http_random_index_module.c allocated = path.len; len 112 http/modules/ngx_http_random_index_module.c path.len = last - path.data - 1; len 113 http/modules/ngx_http_random_index_module.c path.data[path.len] = '\0'; len 148 http/modules/ngx_http_random_index_module.c filename[path.len] = '/'; len 172 http/modules/ngx_http_random_index_module.c len = ngx_de_namelen(&dir); len 178 http/modules/ngx_http_random_index_module.c if (path.len + 1 + len + 1 > allocated) { len 179 http/modules/ngx_http_random_index_module.c allocated = path.len + 1 + len + 1 len 187 http/modules/ngx_http_random_index_module.c last = ngx_cpystrn(filename, path.data, path.len + 1); len 191 http/modules/ngx_http_random_index_module.c ngx_cpystrn(last, ngx_de_name(&dir), len + 1); len 220 http/modules/ngx_http_random_index_module.c name->len = len; len 222 http/modules/ngx_http_random_index_module.c name->data = ngx_pnalloc(r->pool, len); len 227 http/modules/ngx_http_random_index_module.c ngx_memcpy(name->data, ngx_de_name(&dir), len); len 245 http/modules/ngx_http_random_index_module.c uri.len = r->uri.len + name[n].len; len 247 http/modules/ngx_http_random_index_module.c uri.data = ngx_pnalloc(r->pool, uri.len); len 252 http/modules/ngx_http_random_index_module.c last = ngx_copy(uri.data, r->uri.data, r->uri.len); len 253 http/modules/ngx_http_random_index_module.c ngx_memcpy(last, name[n].data, name[n].len); len 162 http/modules/ngx_http_range_filter_module.c || r->headers_in.range->value.len < 7 len 173 http/modules/ngx_http_range_filter_module.c r->headers_in.if_range->value.len); len 202 http/modules/ngx_http_range_filter_module.c r->headers_out.status_line.len = 0; len 368 http/modules/ngx_http_range_filter_module.c content_range->value.len = ngx_sprintf(content_range->value.data, len 389 http/modules/ngx_http_range_filter_module.c size_t len; len 394 http/modules/ngx_http_range_filter_module.c len = sizeof(CRLF "--") - 1 + NGX_ATOMIC_T_LEN len 396 http/modules/ngx_http_range_filter_module.c + r->headers_out.content_type.len len 399 http/modules/ngx_http_range_filter_module.c if (r->headers_out.charset.len) { len 400 http/modules/ngx_http_range_filter_module.c len += sizeof("; charset=") - 1 + r->headers_out.charset.len; len 403 http/modules/ngx_http_range_filter_module.c ctx->boundary_header.data = ngx_pnalloc(r->pool, len); len 418 http/modules/ngx_http_range_filter_module.c if (r->headers_out.charset.len) { len 419 http/modules/ngx_http_range_filter_module.c ctx->boundary_header.len = ngx_sprintf(ctx->boundary_header.data, len 428 http/modules/ngx_http_range_filter_module.c r->headers_out.charset.len = 0; len 430 http/modules/ngx_http_range_filter_module.c } else if (r->headers_out.content_type.len) { len 431 http/modules/ngx_http_range_filter_module.c ctx->boundary_header.len = ngx_sprintf(ctx->boundary_header.data, len 440 http/modules/ngx_http_range_filter_module.c ctx->boundary_header.len = ngx_sprintf(ctx->boundary_header.data, len 460 http/modules/ngx_http_range_filter_module.c r->headers_out.content_type.len = len 466 http/modules/ngx_http_range_filter_module.c r->headers_out.content_type_len = r->headers_out.content_type.len; len 470 http/modules/ngx_http_range_filter_module.c len = sizeof(CRLF "--") - 1 + NGX_ATOMIC_T_LEN + sizeof("--" CRLF) - 1; len 484 http/modules/ngx_http_range_filter_module.c range[i].content_range.len = ngx_sprintf(range[i].content_range.data, len 490 http/modules/ngx_http_range_filter_module.c len += ctx->boundary_header.len + range[i].content_range.len len 494 http/modules/ngx_http_range_filter_module.c r->headers_out.content_length_n = len; len 528 http/modules/ngx_http_range_filter_module.c content_range->value.len = ngx_sprintf(content_range->value.data, len 744 http/modules/ngx_http_range_filter_module.c b->last = ctx->boundary_header.data + ctx->boundary_header.len; len 763 http/modules/ngx_http_range_filter_module.c b->last = range[i].content_range.data + range[i].content_range.len; len 44 http/modules/ngx_http_realip_module.c size_t len); len 111 http/modules/ngx_http_realip_module.c size_t len; len 146 http/modules/ngx_http_realip_module.c len = r->headers_in.x_real_ip->value.len; len 157 http/modules/ngx_http_realip_module.c len = r->headers_in.x_forwarded_for->value.len; len 160 http/modules/ngx_http_realip_module.c for (p = ip + len - 1; p > ip; p--) { len 163 http/modules/ngx_http_realip_module.c len -= p - ip; len 177 http/modules/ngx_http_realip_module.c len = rlcf->header.len; len 193 http/modules/ngx_http_realip_module.c && len == header[i].key.len len 194 http/modules/ngx_http_realip_module.c && ngx_strncmp(p, header[i].lowcase_key, len) == 0) len 196 http/modules/ngx_http_realip_module.c len = header[i].value.len; len 225 http/modules/ngx_http_realip_module.c return ngx_http_realip_set_addr(r, ip, len); len 233 http/modules/ngx_http_realip_module.c return ngx_http_realip_set_addr(r, ip, len); len 243 http/modules/ngx_http_realip_module.c ngx_http_realip_set_addr(ngx_http_request_t *r, u_char *ip, size_t len) len 262 http/modules/ngx_http_realip_module.c rc = ngx_parse_addr(c->pool, &addr, ip, len); len 273 http/modules/ngx_http_realip_module.c p = ngx_pnalloc(c->pool, len); len 278 http/modules/ngx_http_realip_module.c ngx_memcpy(p, ip, len); len 289 http/modules/ngx_http_realip_module.c c->addr_text.len = len; len 391 http/modules/ngx_http_realip_module.c rlcf->hash = ngx_hash_strlow(value[1].data, value[1].data, value[1].len); len 443 http/modules/ngx_http_realip_module.c if (conf->header.len == 0) { len 97 http/modules/ngx_http_referer_module.c size_t len; len 124 http/modules/ngx_http_referer_module.c len = r->headers_in.referer->value.len; len 127 http/modules/ngx_http_referer_module.c if (len >= sizeof("http://i.ru") - 1) { len 128 http/modules/ngx_http_referer_module.c last = ref + len; len 176 http/modules/ngx_http_referer_module.c referer.len = len - 7; len 208 http/modules/ngx_http_referer_module.c len = last - p; len 214 http/modules/ngx_http_referer_module.c if (len < uri->len || ngx_strncmp(uri->data, p, uri->len) != 0) { len 393 http/modules/ngx_http_referer_module.c if (value[i].len == 0) { len 454 http/modules/ngx_http_referer_module.c uri.len = (value[i].data + value[i].len) - p; len 456 http/modules/ngx_http_referer_module.c value[i].len = p - value[i].data; len 475 http/modules/ngx_http_referer_module.c if (uri->len == 0) { len 516 http/modules/ngx_http_referer_module.c if (name->len == 1) { len 540 http/modules/ngx_http_referer_module.c name->len--; len 548 http/modules/ngx_http_referer_module.c rc.err.len = NGX_MAX_CONF_ERRSTR; len 319 http/modules/ngx_http_rewrite_module.c rc.err.len = NGX_MAX_CONF_ERRSTR; len 333 http/modules/ngx_http_rewrite_module.c if (value[2].data[value[2].len - 1] == '?') { len 336 http/modules/ngx_http_rewrite_module.c value[2].len--; len 455 http/modules/ngx_http_rewrite_module.c ret->status = ngx_atoi(p, value[1].len); len 596 http/modules/ngx_http_rewrite_module.c if (pclcf->name.len == 0) { len 634 http/modules/ngx_http_rewrite_module.c size_t len; len 646 http/modules/ngx_http_rewrite_module.c if (value[1].len < 1 || value[1].data[0] != '(') { len 652 http/modules/ngx_http_rewrite_module.c if (value[1].len == 1) { len 657 http/modules/ngx_http_rewrite_module.c value[1].len--; len 661 http/modules/ngx_http_rewrite_module.c if (value[last].len < 1 || value[last].data[value[last].len - 1] != ')') { len 667 http/modules/ngx_http_rewrite_module.c if (value[last].len == 1) { len 671 http/modules/ngx_http_rewrite_module.c value[last].len--; len 672 http/modules/ngx_http_rewrite_module.c value[last].data[value[last].len] = '\0'; len 675 http/modules/ngx_http_rewrite_module.c len = value[cur].len; len 678 http/modules/ngx_http_rewrite_module.c if (len > 1 && p[0] == '$') { len 696 http/modules/ngx_http_rewrite_module.c len = value[cur].len; len 699 http/modules/ngx_http_rewrite_module.c if (len == 1 && p[0] == '=') { len 716 http/modules/ngx_http_rewrite_module.c if (len == 2 && p[0] == '!' && p[1] == '=') { len 732 http/modules/ngx_http_rewrite_module.c if ((len == 1 && p[0] == '~') len 733 http/modules/ngx_http_rewrite_module.c || (len == 2 && p[0] == '~' && p[1] == '*') len 734 http/modules/ngx_http_rewrite_module.c || (len == 2 && p[0] == '!' && p[1] == '~') len 735 http/modules/ngx_http_rewrite_module.c || (len == 3 && p[0] == '!' && p[1] == '~' && p[2] == '*')) len 748 http/modules/ngx_http_rewrite_module.c rc.options = (p[len - 1] == '*') ? NGX_REGEX_CASELESS : 0; len 749 http/modules/ngx_http_rewrite_module.c rc.err.len = NGX_MAX_CONF_ERRSTR; len 772 http/modules/ngx_http_rewrite_module.c } else if ((len == 2 && p[0] == '-') len 773 http/modules/ngx_http_rewrite_module.c || (len == 3 && p[0] == '!' && p[1] == '-')) len 781 http/modules/ngx_http_rewrite_module.c value[last].data[value[last].len] = '\0'; len 782 http/modules/ngx_http_rewrite_module.c value[last].len++; len 857 http/modules/ngx_http_rewrite_module.c value->len--; len 898 http/modules/ngx_http_rewrite_module.c value[1].len--; len 969 http/modules/ngx_http_rewrite_module.c n = ngx_atoi(value->data, value->len); len 977 http/modules/ngx_http_rewrite_module.c val->text_len = (uintptr_t) value->len; len 513 http/modules/ngx_http_scgi_module.c size_t len, allocated; len 529 http/modules/ngx_http_scgi_module.c len = sizeof("CONTENT_LENGTH") + content_length->len + 1; len 548 http/modules/ngx_http_scgi_module.c len += lcode(&le); len 552 http/modules/ngx_http_scgi_module.c len += lcode(&le) + 1; len 586 http/modules/ngx_http_scgi_module.c if (allocated < header[i].key.len) { len 587 http/modules/ngx_http_scgi_module.c allocated = header[i].key.len + 16; len 596 http/modules/ngx_http_scgi_module.c for (n = 0; n < header[i].key.len; n++) { len 616 http/modules/ngx_http_scgi_module.c len += sizeof("HTTP_") - 1 + header[i].key.len + 1 len 617 http/modules/ngx_http_scgi_module.c + header[i].value.len + 1; len 623 http/modules/ngx_http_scgi_module.c b = ngx_create_temp_buf(r->pool, NGX_SIZE_T_LEN + 1 + len + 1); len 639 http/modules/ngx_http_scgi_module.c len, content_length); len 700 http/modules/ngx_http_scgi_module.c for (n = 0; n < header[i].key.len; n++) { len 716 http/modules/ngx_http_scgi_module.c b->last = ngx_copy(val, header[i].value.data, header[i].value.len); len 788 http/modules/ngx_http_scgi_module.c size_t len; len 822 http/modules/ngx_http_scgi_module.c len = status->end - status->start; len 823 http/modules/ngx_http_scgi_module.c u->headers_in.status_line.len = len; len 825 http/modules/ngx_http_scgi_module.c u->headers_in.status_line.data = ngx_pnalloc(r->pool, len); len 830 http/modules/ngx_http_scgi_module.c ngx_memcpy(u->headers_in.status_line.data, status->start, len); len 869 http/modules/ngx_http_scgi_module.c h->key.len = r->header_name_end - r->header_name_start; len 870 http/modules/ngx_http_scgi_module.c h->value.len = r->header_end - r->header_start; len 873 http/modules/ngx_http_scgi_module.c h->key.len + 1 + h->value.len + 1 len 874 http/modules/ngx_http_scgi_module.c + h->key.len); len 879 http/modules/ngx_http_scgi_module.c h->value.data = h->key.data + h->key.len + 1; len 880 http/modules/ngx_http_scgi_module.c h->lowcase_key = h->key.data + h->key.len + 1 + h->value.len + 1; len 882 http/modules/ngx_http_scgi_module.c ngx_cpystrn(h->key.data, r->header_name_start, h->key.len + 1); len 883 http/modules/ngx_http_scgi_module.c ngx_cpystrn(h->value.data, r->header_start, h->value.len + 1); len 885 http/modules/ngx_http_scgi_module.c if (h->key.len == r->lowcase_index) { len 886 http/modules/ngx_http_scgi_module.c ngx_memcpy(h->lowcase_key, r->lowcase_header, h->key.len); len 889 http/modules/ngx_http_scgi_module.c ngx_strlow(h->lowcase_key, h->key.data, h->key.len); len 893 http/modules/ngx_http_scgi_module.c h->lowcase_key, h->key.len); len 1347 http/modules/ngx_http_scgi_module.c for (h = ngx_http_scgi_cache_headers; h->key.len; h++) { len 1374 http/modules/ngx_http_scgi_module.c if (src[i].key.len > sizeof("HTTP_") - 1 len 1382 http/modules/ngx_http_scgi_module.c hk->key.len = src[i].key.len - 5; len 1384 http/modules/ngx_http_scgi_module.c hk->key_hash = ngx_hash_key_lc(hk->key.data, hk->key.len); len 1387 http/modules/ngx_http_scgi_module.c if (src[i].value.len == 0) { len 1399 http/modules/ngx_http_scgi_module.c copy->len = src[i].key.len + 1; len 1403 http/modules/ngx_http_scgi_module.c + src[i].key.len + 1 + sizeof(uintptr_t) - 1) len 1412 http/modules/ngx_http_scgi_module.c copy->len = src[i].key.len + 1; len 1415 http/modules/ngx_http_scgi_module.c (void) ngx_cpystrn(p, src[i].key.data, src[i].key.len + 1); len 1532 http/modules/ngx_http_scgi_module.c if (clcf->name.data[clcf->name.len - 1] == '/') { len 1575 http/modules/ngx_http_scgi_module.c value[1].len++; len 1639 http/modules/ngx_http_scgi_module.c if (scf->cache_key.value.len) { len 113 http/modules/ngx_http_secure_link_module.c if (conf->secret.len) { len 128 http/modules/ngx_http_secure_link_module.c last = val.data + val.len; len 134 http/modules/ngx_http_secure_link_module.c val.len = p++ - val.data; len 148 http/modules/ngx_http_secure_link_module.c ctx->expires.len = last - p; len 152 http/modules/ngx_http_secure_link_module.c if (val.len > 24) { len 156 http/modules/ngx_http_secure_link_module.c hash.len = 16; len 163 http/modules/ngx_http_secure_link_module.c if (hash.len != 16) { len 175 http/modules/ngx_http_secure_link_module.c ngx_md5_update(&md5, val.data, val.len); len 183 http/modules/ngx_http_secure_link_module.c v->len = 1; len 204 http/modules/ngx_http_secure_link_module.c size_t len; len 211 http/modules/ngx_http_secure_link_module.c last = r->unparsed_uri.data + r->unparsed_uri.len; len 235 http/modules/ngx_http_secure_link_module.c len = last - p; len 237 http/modules/ngx_http_secure_link_module.c if (end - start != 32 || len == 0) { len 242 http/modules/ngx_http_secure_link_module.c ngx_md5_update(&md5, p, len); len 243 http/modules/ngx_http_secure_link_module.c ngx_md5_update(&md5, conf->secret.data, conf->secret.len); len 253 http/modules/ngx_http_secure_link_module.c v->len = len; len 278 http/modules/ngx_http_secure_link_module.c v->len = ctx->expires.len; len 90 http/modules/ngx_http_split_clients_module.c hash = ngx_crc32_short(val.data, val.len); len 139 http/modules/ngx_http_split_clients_module.c name.len--; len 212 http/modules/ngx_http_split_clients_module.c if (value[0].len == 1 && value[0].data[0] == '*') { len 216 http/modules/ngx_http_split_clients_module.c if (value[0].data[value[0].len - 1] != '%') { len 220 http/modules/ngx_http_split_clients_module.c n = ngx_atofp(value[0].data, value[0].len - 1, 2); len 228 http/modules/ngx_http_split_clients_module.c part->value.len = value[1].len; len 370 http/modules/ngx_http_ssi_filter_module.c size_t len; len 614 http/modules/ngx_http_ssi_filter_module.c ctx->command.len); len 643 http/modules/ngx_http_ssi_filter_module.c len = 5 + ctx->command.len + 4; len 647 http/modules/ngx_http_ssi_filter_module.c len += 1 + param[i].key.len + 2 len 648 http/modules/ngx_http_ssi_filter_module.c + param[i].value.len + 1; len 651 http/modules/ngx_http_ssi_filter_module.c b = ngx_create_temp_buf(r->pool, len); len 672 http/modules/ngx_http_ssi_filter_module.c ctx->command.len); len 677 http/modules/ngx_http_ssi_filter_module.c param[i].key.len); len 681 http/modules/ngx_http_ssi_filter_module.c param[i].value.len); len 726 http/modules/ngx_http_ssi_filter_module.c for (prm = cmd->params; prm->name.len; prm++) { len 728 http/modules/ngx_http_ssi_filter_module.c if (param[i].key.len != prm->name.len len 730 http/modules/ngx_http_ssi_filter_module.c prm->name.len) != 0) len 760 http/modules/ngx_http_ssi_filter_module.c if (prm->name.len == 0) { len 770 http/modules/ngx_http_ssi_filter_module.c for (prm = cmd->params; prm->name.len; prm++) { len 834 http/modules/ngx_http_ssi_filter_module.c b->last = ctx->errmsg.data + ctx->errmsg.len; len 1124 http/modules/ngx_http_ssi_filter_module.c ctx->command.len = 1; len 1158 http/modules/ngx_http_ssi_filter_module.c if (ctx->command.len == NGX_HTTP_SSI_COMMAND_LEN) { len 1167 http/modules/ngx_http_ssi_filter_module.c ctx->command.data[ctx->command.len++] = ch; len 1191 http/modules/ngx_http_ssi_filter_module.c ctx->param->key.len = 1; len 1200 http/modules/ngx_http_ssi_filter_module.c ctx->param->value.len = 0; len 1235 http/modules/ngx_http_ssi_filter_module.c ctx->param->key.data[ctx->param->key.len++] = ch; len 1242 http/modules/ngx_http_ssi_filter_module.c if (ctx->param->key.len == NGX_HTTP_SSI_PARAM_LEN) { len 1251 http/modules/ngx_http_ssi_filter_module.c ctx->param->key.data[ctx->param->key.len++] = ch; len 1329 http/modules/ngx_http_ssi_filter_module.c if (ctx->param->value.len == ctx->value_len) { len 1339 http/modules/ngx_http_ssi_filter_module.c ctx->param->value.data[ctx->param->value.len++] = ch; len 1357 http/modules/ngx_http_ssi_filter_module.c if (ctx->param->value.len == ctx->value_len) { len 1367 http/modules/ngx_http_ssi_filter_module.c ctx->param->value.data[ctx->param->value.len++] = ch; len 1375 http/modules/ngx_http_ssi_filter_module.c ctx->param->value.data[ctx->param->value.len++] = ch; len 1381 http/modules/ngx_http_ssi_filter_module.c if (ctx->param->value.len + 1 < ctx->value_len / 2) { len 1382 http/modules/ngx_http_ssi_filter_module.c value = ngx_pnalloc(r->pool, ctx->param->value.len + 1); len 1388 http/modules/ngx_http_ssi_filter_module.c ctx->param->value.len); len 1553 http/modules/ngx_http_ssi_filter_module.c if (name->len != var[i].name.len) { len 1561 http/modules/ngx_http_ssi_filter_module.c if (ngx_strncmp(name->data, var[i].name.data, name->len) == 0) { len 1575 http/modules/ngx_http_ssi_filter_module.c size_t *size, len, prefix, part_len; len 1591 http/modules/ngx_http_ssi_filter_module.c for (prefix = r->uri.len; prefix; prefix--) { len 1598 http/modules/ngx_http_ssi_filter_module.c len = prefix + text->len; len 1600 http/modules/ngx_http_ssi_filter_module.c data = ngx_pnalloc(r->pool, len); len 1611 http/modules/ngx_http_ssi_filter_module.c for (i = 0; i < text->len; i++) { len 1632 http/modules/ngx_http_ssi_filter_module.c text->len = p - data; len 1646 http/modules/ngx_http_ssi_filter_module.c len = 0; len 1649 http/modules/ngx_http_ssi_filter_module.c while (i < text->len) { len 1653 http/modules/ngx_http_ssi_filter_module.c var.len = 0; len 1655 http/modules/ngx_http_ssi_filter_module.c if (++i == text->len) { len 1662 http/modules/ngx_http_ssi_filter_module.c if (++i == text->len) { len 1673 http/modules/ngx_http_ssi_filter_module.c for ( /* void */ ; i < text->len; i++, var.len++) { len 1700 http/modules/ngx_http_ssi_filter_module.c if (var.len == 0) { len 1704 http/modules/ngx_http_ssi_filter_module.c key = ngx_hash_strlow(var.data, var.data, var.len); len 1719 http/modules/ngx_http_ssi_filter_module.c part_len = vv->len; len 1723 http/modules/ngx_http_ssi_filter_module.c part_len = val->len; len 1730 http/modules/ngx_http_ssi_filter_module.c for (p = part_data; i < text->len; i++) { len 1758 http/modules/ngx_http_ssi_filter_module.c len += part_len; len 1784 http/modules/ngx_http_ssi_filter_module.c for (prefix = r->uri.len; prefix; prefix--) { len 1786 http/modules/ngx_http_ssi_filter_module.c len += prefix; len 1797 http/modules/ngx_http_ssi_filter_module.c p = ngx_pnalloc(r->pool, len + ((flags & NGX_HTTP_SSI_ADD_ZERO) ? 1 : 0)); len 1802 http/modules/ngx_http_ssi_filter_module.c text->len = len; len 1827 http/modules/ngx_http_ssi_filter_module.c size_t len; len 1872 http/modules/ngx_http_ssi_filter_module.c if (wait->len == 2 len 1877 http/modules/ngx_http_ssi_filter_module.c } else if (wait->len != 3 len 1901 http/modules/ngx_http_ssi_filter_module.c ngx_unescape_uri(&dst, &src, uri->len, NGX_UNESCAPE_URI); len 1903 http/modules/ngx_http_ssi_filter_module.c len = (uri->data + uri->len) - src; len 1904 http/modules/ngx_http_ssi_filter_module.c if (len) { len 1905 http/modules/ngx_http_ssi_filter_module.c dst = ngx_movemem(dst, src, len); len 1908 http/modules/ngx_http_ssi_filter_module.c uri->len = dst - uri->data; len 1928 http/modules/ngx_http_ssi_filter_module.c if (stub->len == bl[i].name.len len 1929 http/modules/ngx_http_ssi_filter_module.c && ngx_strncmp(stub->data, bl[i].name.data, stub->len) == 0) len 1996 http/modules/ngx_http_ssi_filter_module.c key = ngx_hash_strlow(set->data, set->data, set->len); len 2086 http/modules/ngx_http_ssi_filter_module.c value->len = r->upstream->buffer.last - r->upstream->buffer.pos; len 2099 http/modules/ngx_http_ssi_filter_module.c uintptr_t len; len 2111 http/modules/ngx_http_ssi_filter_module.c key = ngx_hash_strlow(var->data, var->data, var->len); len 2124 http/modules/ngx_http_ssi_filter_module.c text.len = vv->len; len 2135 http/modules/ngx_http_ssi_filter_module.c } else if (value->len == 0) { len 2140 http/modules/ngx_http_ssi_filter_module.c if (value->len == 0) { len 2148 http/modules/ngx_http_ssi_filter_module.c if (enc->len == 4 && ngx_strncmp(enc->data, "none", 4) == 0) { len 2152 http/modules/ngx_http_ssi_filter_module.c } else if (enc->len == 3 && ngx_strncmp(enc->data, "url", 3) == 0) { len 2156 http/modules/ngx_http_ssi_filter_module.c } else if (enc->len == 6 && ngx_strncmp(enc->data, "entity", 6) == 0) { len 2172 http/modules/ngx_http_ssi_filter_module.c len = 2 * ngx_escape_uri(NULL, value->data, value->len, len 2175 http/modules/ngx_http_ssi_filter_module.c if (len) { len 2176 http/modules/ngx_http_ssi_filter_module.c p = ngx_pnalloc(r->pool, value->len + len); len 2181 http/modules/ngx_http_ssi_filter_module.c (void) ngx_escape_uri(p, value->data, value->len, NGX_ESCAPE_HTML); len 2184 http/modules/ngx_http_ssi_filter_module.c len += value->len; len 2188 http/modules/ngx_http_ssi_filter_module.c len = ngx_escape_html(NULL, value->data, value->len); len 2190 http/modules/ngx_http_ssi_filter_module.c if (len) { len 2191 http/modules/ngx_http_ssi_filter_module.c p = ngx_pnalloc(r->pool, value->len + len); len 2196 http/modules/ngx_http_ssi_filter_module.c (void) ngx_escape_html(p, value->data, value->len); len 2199 http/modules/ngx_http_ssi_filter_module.c len += value->len; len 2203 http/modules/ngx_http_ssi_filter_module.c len = value->len; len 2219 http/modules/ngx_http_ssi_filter_module.c b->last = p + len; len 2239 http/modules/ngx_http_ssi_filter_module.c ctx->timefmt.len = value->len; len 2240 http/modules/ngx_http_ssi_filter_module.c ctx->timefmt.data = ngx_pnalloc(r->pool, value->len + 1); len 2245 http/modules/ngx_http_ssi_filter_module.c ngx_cpystrn(ctx->timefmt.data, value->data, value->len + 1); len 2289 http/modules/ngx_http_ssi_filter_module.c key = ngx_hash_strlow(name->data, name->data, name->len); len 2323 http/modules/ngx_http_ssi_filter_module.c if (ctx->command.len == 2) { len 2342 http/modules/ngx_http_ssi_filter_module.c last = expr->data + expr->len; len 2361 http/modules/ngx_http_ssi_filter_module.c left.len = p - left.data; len 2382 http/modules/ngx_http_ssi_filter_module.c if (left.len) { len 2430 http/modules/ngx_http_ssi_filter_module.c right.len = last - p; len 2446 http/modules/ngx_http_ssi_filter_module.c if (left.len != right.len) { len 2450 http/modules/ngx_http_ssi_filter_module.c rc = ngx_strncmp(left.data, right.data, right.len); len 2458 http/modules/ngx_http_ssi_filter_module.c right.data[right.len] = '\0'; len 2464 http/modules/ngx_http_ssi_filter_module.c rgc.err.len = NGX_MAX_CONF_ERRSTR; len 2612 http/modules/ngx_http_ssi_filter_module.c || (ctx->timefmt.len == sizeof("%s") - 1 len 2620 http/modules/ngx_http_ssi_filter_module.c v->len = ngx_sprintf(v->data, "%T", tp->sec) - v->data; len 2631 http/modules/ngx_http_ssi_filter_module.c v->len = strftime(buf, NGX_HTTP_SSI_DATE_LEN, len 2633 http/modules/ngx_http_ssi_filter_module.c if (v->len == 0) { len 2637 http/modules/ngx_http_ssi_filter_module.c v->data = ngx_pnalloc(r->pool, v->len); len 2642 http/modules/ngx_http_ssi_filter_module.c ngx_memcpy(v->data, buf, v->len); len 2656 http/modules/ngx_http_ssi_filter_module.c for (v = ngx_http_ssi_vars; v->name.len; v++) { len 2668 http/modules/ngx_http_ssi_filter_module.c for (cmd = ngx_http_ssi_commands; cmd->name.len; cmd++) { len 222 http/modules/ngx_http_ssl_module.c size_t len; len 231 http/modules/ngx_http_ssl_module.c for (len = 0; v->data[len]; len++) { /* void */ } len 233 http/modules/ngx_http_ssl_module.c v->len = len; len 261 http/modules/ngx_http_ssl_module.c v->len = s.len; len 264 http/modules/ngx_http_ssl_module.c if (v->len) { len 284 http/modules/ngx_http_ssl_module.c for (v = ngx_http_ssl_vars; v->name.len; v++) { len 370 http/modules/ngx_http_ssl_module.c if (conf->certificate.len == 0) { len 378 http/modules/ngx_http_ssl_module.c if (conf->certificate_key.len == 0) { len 388 http/modules/ngx_http_ssl_module.c if (conf->certificate.len == 0) { len 392 http/modules/ngx_http_ssl_module.c if (conf->certificate_key.len == 0) { len 444 http/modules/ngx_http_ssl_module.c if (conf->client_certificate.len == 0) { len 520 http/modules/ngx_http_ssl_module.c size_t len; len 544 http/modules/ngx_http_ssl_module.c if (value[i].len > sizeof("builtin:") - 1 len 549 http/modules/ngx_http_ssl_module.c value[i].len - (sizeof("builtin:") - 1)); len 560 http/modules/ngx_http_ssl_module.c if (value[i].len > sizeof("shared:") - 1 len 564 http/modules/ngx_http_ssl_module.c len = 0; len 566 http/modules/ngx_http_ssl_module.c for (j = sizeof("shared:") - 1; j < value[i].len; j++) { len 572 http/modules/ngx_http_ssl_module.c len++; len 575 http/modules/ngx_http_ssl_module.c if (len == 0) { len 579 http/modules/ngx_http_ssl_module.c name.len = len; len 582 http/modules/ngx_http_ssl_module.c size.len = value[i].len - j - 1; len 583 http/modules/ngx_http_ssl_module.c size.data = name.data + len + 1; len 51 http/modules/ngx_http_static_module.c size_t root, len; len 65 http/modules/ngx_http_static_module.c if (r->uri.data[r->uri.len - 1] == '/') { len 81 http/modules/ngx_http_static_module.c path.len = last - path.data; len 147 http/modules/ngx_http_static_module.c len = r->uri.len + 1; len 149 http/modules/ngx_http_static_module.c if (!clcf->alias && clcf->root_lengths == NULL && r->args.len == 0) { len 150 http/modules/ngx_http_static_module.c location = path.data + clcf->root.len; len 155 http/modules/ngx_http_static_module.c if (r->args.len) { len 156 http/modules/ngx_http_static_module.c len += r->args.len + 1; len 159 http/modules/ngx_http_static_module.c location = ngx_pnalloc(r->pool, len); len 164 http/modules/ngx_http_static_module.c last = ngx_copy(location, r->uri.data, r->uri.len); len 168 http/modules/ngx_http_static_module.c if (r->args.len) { len 170 http/modules/ngx_http_static_module.c ngx_memcpy(++last, r->args.data, r->args.len); len 179 http/modules/ngx_http_static_module.c r->headers_out.location->value.len = len; len 138 http/modules/ngx_http_sub_filter_module.c if (slcf->match.len == 0 len 150 http/modules/ngx_http_sub_filter_module.c ctx->saved.data = ngx_pnalloc(r->pool, slcf->match.len); len 155 http/modules/ngx_http_sub_filter_module.c ctx->looked.data = ngx_pnalloc(r->pool, slcf->match.len); len 256 http/modules/ngx_http_sub_filter_module.c if (ctx->saved.len) { len 278 http/modules/ngx_http_sub_filter_module.c b->pos = ngx_pnalloc(r->pool, ctx->saved.len); len 283 http/modules/ngx_http_sub_filter_module.c ngx_memcpy(b->pos, ctx->saved.data, ctx->saved.len); len 284 http/modules/ngx_http_sub_filter_module.c b->last = b->pos + ctx->saved.len; len 290 http/modules/ngx_http_sub_filter_module.c ctx->saved.len = 0; len 367 http/modules/ngx_http_sub_filter_module.c if (ctx->sub.len) { len 370 http/modules/ngx_http_sub_filter_module.c b->last = ctx->sub.data + ctx->sub.len; len 423 http/modules/ngx_http_sub_filter_module.c ctx->saved.len = ctx->looked.len; len 424 http/modules/ngx_http_sub_filter_module.c ngx_memcpy(ctx->saved.data, ctx->looked.data, ctx->looked.len); len 515 http/modules/ngx_http_sub_filter_module.c ctx->looked.len = 0; len 523 http/modules/ngx_http_sub_filter_module.c looked = ctx->looked.len; len 558 http/modules/ngx_http_sub_filter_module.c ctx->looked.len = looked; len 578 http/modules/ngx_http_sub_filter_module.c if (looked == ctx->match.len) { len 580 http/modules/ngx_http_sub_filter_module.c ctx->saved.len = 0; len 585 http/modules/ngx_http_sub_filter_module.c ctx->looked.len = 0; len 609 http/modules/ngx_http_sub_filter_module.c ctx->looked.len = looked; len 629 http/modules/ngx_http_sub_filter_module.c if (slcf->match.len) { len 635 http/modules/ngx_http_sub_filter_module.c ngx_strlow(value[1].data, value[1].data, value[1].len); len 689 http/modules/ngx_http_sub_filter_module.c if (conf->value.value.len == 0) { len 317 http/modules/ngx_http_userid_filter_module.c if (ctx->cookie.len < 22) { len 334 http/modules/ngx_http_userid_filter_module.c src.len = 22; len 360 http/modules/ngx_http_userid_filter_module.c size_t len; len 372 http/modules/ngx_http_userid_filter_module.c len = conf->name.len + 1 + ngx_base64_encoded_length(16) + conf->path.len; len 375 http/modules/ngx_http_userid_filter_module.c len += sizeof(expires) - 1 + 2; len 378 http/modules/ngx_http_userid_filter_module.c if (conf->domain.len) { len 379 http/modules/ngx_http_userid_filter_module.c len += conf->domain.len; len 382 http/modules/ngx_http_userid_filter_module.c cookie = ngx_pnalloc(r->pool, len); len 387 http/modules/ngx_http_userid_filter_module.c p = ngx_copy(cookie, conf->name.data, conf->name.len); len 391 http/modules/ngx_http_userid_filter_module.c src.len = 16; len 397 http/modules/ngx_http_userid_filter_module.c p += dst.len; len 417 http/modules/ngx_http_userid_filter_module.c p = ngx_copy(p, conf->domain.data, conf->domain.len); len 419 http/modules/ngx_http_userid_filter_module.c p = ngx_copy(p, conf->path.data, conf->path.len); len 428 http/modules/ngx_http_userid_filter_module.c set_cookie->value.len = p - cookie; len 434 http/modules/ngx_http_userid_filter_module.c if (conf->p3p.len == 0) { len 469 http/modules/ngx_http_userid_filter_module.c || (ctx->cookie.len > 23 len 551 http/modules/ngx_http_userid_filter_module.c v->len = name->len + sizeof("=00001111222233334444555566667777") - 1; len 552 http/modules/ngx_http_userid_filter_module.c v->data = ngx_pnalloc(r->pool, v->len); len 670 http/modules/ngx_http_userid_filter_module.c new = ngx_pnalloc(cf->pool, sizeof("; domain=") - 1 + domain->len); len 676 http/modules/ngx_http_userid_filter_module.c ngx_memcpy(p, domain->data, domain->len); len 678 http/modules/ngx_http_userid_filter_module.c domain->len += sizeof("; domain=") - 1; len 692 http/modules/ngx_http_userid_filter_module.c new = ngx_pnalloc(cf->pool, sizeof("; path=") - 1 + path->len); len 698 http/modules/ngx_http_userid_filter_module.c ngx_memcpy(p, path->data, path->len); len 700 http/modules/ngx_http_userid_filter_module.c path->len += sizeof("; path=") - 1; len 774 http/modules/ngx_http_userid_filter_module.c if (value[1].len != 1 len 546 http/modules/ngx_http_uwsgi_module.c size_t key_len, val_len, len, allocated; len 557 http/modules/ngx_http_uwsgi_module.c len = 0; len 582 http/modules/ngx_http_uwsgi_module.c len += 2 + key_len + 2 + val_len; len 614 http/modules/ngx_http_uwsgi_module.c if (allocated < header[i].key.len) { len 615 http/modules/ngx_http_uwsgi_module.c allocated = header[i].key.len + 16; len 624 http/modules/ngx_http_uwsgi_module.c for (n = 0; n < header[i].key.len; n++) { len 644 http/modules/ngx_http_uwsgi_module.c len += 2 + sizeof("HTTP_") - 1 + header[i].key.len len 645 http/modules/ngx_http_uwsgi_module.c + 2 + header[i].value.len; len 649 http/modules/ngx_http_uwsgi_module.c len += uwcf->uwsgi_string.len; len 653 http/modules/ngx_http_uwsgi_module.c if (len > 0 && len < 2) { len 655 http/modules/ngx_http_uwsgi_module.c "uwsgi request is too little: %uz", len); len 660 http/modules/ngx_http_uwsgi_module.c b = ngx_create_temp_buf(r->pool, len + 4); len 673 http/modules/ngx_http_uwsgi_module.c *b->last++ = (u_char) (len & 0xff); len 674 http/modules/ngx_http_uwsgi_module.c *b->last++ = (u_char) ((len >> 8) & 0xff); len 745 http/modules/ngx_http_uwsgi_module.c key_len = sizeof("HTTP_") - 1 + header[i].key.len; len 750 http/modules/ngx_http_uwsgi_module.c for (n = 0; n < header[i].key.len; n++) { len 763 http/modules/ngx_http_uwsgi_module.c val_len = header[i].value.len; len 779 http/modules/ngx_http_uwsgi_module.c uwcf->uwsgi_string.len); len 839 http/modules/ngx_http_uwsgi_module.c size_t len; len 872 http/modules/ngx_http_uwsgi_module.c len = status->end - status->start; len 873 http/modules/ngx_http_uwsgi_module.c u->headers_in.status_line.len = len; len 875 http/modules/ngx_http_uwsgi_module.c u->headers_in.status_line.data = ngx_pnalloc(r->pool, len); len 880 http/modules/ngx_http_uwsgi_module.c ngx_memcpy(u->headers_in.status_line.data, status->start, len); len 919 http/modules/ngx_http_uwsgi_module.c h->key.len = r->header_name_end - r->header_name_start; len 920 http/modules/ngx_http_uwsgi_module.c h->value.len = r->header_end - r->header_start; len 923 http/modules/ngx_http_uwsgi_module.c h->key.len + 1 + h->value.len + 1 len 924 http/modules/ngx_http_uwsgi_module.c + h->key.len); len 929 http/modules/ngx_http_uwsgi_module.c h->value.data = h->key.data + h->key.len + 1; len 930 http/modules/ngx_http_uwsgi_module.c h->lowcase_key = h->key.data + h->key.len + 1 + h->value.len + 1; len 932 http/modules/ngx_http_uwsgi_module.c ngx_cpystrn(h->key.data, r->header_name_start, h->key.len + 1); len 933 http/modules/ngx_http_uwsgi_module.c ngx_cpystrn(h->value.data, r->header_start, h->value.len + 1); len 935 http/modules/ngx_http_uwsgi_module.c if (h->key.len == r->lowcase_index) { len 936 http/modules/ngx_http_uwsgi_module.c ngx_memcpy(h->lowcase_key, r->lowcase_header, h->key.len); len 939 http/modules/ngx_http_uwsgi_module.c ngx_strlow(h->lowcase_key, h->key.data, h->key.len); len 943 http/modules/ngx_http_uwsgi_module.c h->lowcase_key, h->key.len); len 1405 http/modules/ngx_http_uwsgi_module.c for (h = ngx_http_uwsgi_cache_headers; h->key.len; h++) { len 1432 http/modules/ngx_http_uwsgi_module.c if (src[i].key.len > sizeof("HTTP_") - 1 len 1440 http/modules/ngx_http_uwsgi_module.c hk->key.len = src[i].key.len - 5; len 1442 http/modules/ngx_http_uwsgi_module.c hk->key_hash = ngx_hash_key_lc(hk->key.data, hk->key.len); len 1445 http/modules/ngx_http_uwsgi_module.c if (src[i].value.len == 0) { len 1457 http/modules/ngx_http_uwsgi_module.c copy->len = src[i].key.len; len 1461 http/modules/ngx_http_uwsgi_module.c + src[i].key.len + sizeof(uintptr_t) - 1) len 1470 http/modules/ngx_http_uwsgi_module.c copy->len = src[i].key.len; len 1473 http/modules/ngx_http_uwsgi_module.c ngx_memcpy(p, src[i].key.data, src[i].key.len); len 1583 http/modules/ngx_http_uwsgi_module.c if (clcf->name.data[clcf->name.len - 1] == '/') { len 1627 http/modules/ngx_http_uwsgi_module.c value[1].len++; len 1691 http/modules/ngx_http_uwsgi_module.c if (uwcf->cache_key.value.len) { len 447 http/modules/ngx_http_xslt_filter_module.c int len, rc, doc_type; len 509 http/modules/ngx_http_xslt_filter_module.c rc = xsltSaveResultToString(&buf, &len, doc, sheet[i - 1].stylesheet); len 519 http/modules/ngx_http_xslt_filter_module.c if (len == 0) { len 532 http/modules/ngx_http_xslt_filter_module.c b->last = buf + len; len 536 http/modules/ngx_http_xslt_filter_module.c r->headers_out.charset.len = ngx_strlen(encoding); len 547 http/modules/ngx_http_xslt_filter_module.c len = ngx_strlen(type); len 549 http/modules/ngx_http_xslt_filter_module.c r->headers_out.content_type_len = len; len 550 http/modules/ngx_http_xslt_filter_module.c r->headers_out.content_type.len = len; len 570 http/modules/ngx_http_xslt_filter_module.c size_t len; len 587 http/modules/ngx_http_xslt_filter_module.c last = string.data + string.len - 1; len 614 http/modules/ngx_http_xslt_filter_module.c len = p - value; len 618 http/modules/ngx_http_xslt_filter_module.c len = last - value; len 627 http/modules/ngx_http_xslt_filter_module.c ngx_unescape_uri(&dst, &src, len, 0); len 238 http/modules/perl/ngx_http_perl_module.c if (ctx->redirect_uri.len) { len 243 http/modules/perl/ngx_http_perl_module.c uri.len = 0; len 247 http/modules/perl/ngx_http_perl_module.c ctx->redirect_uri.len = 0; len 254 http/modules/perl/ngx_http_perl_module.c if (uri.len) { len 331 http/modules/perl/ngx_http_perl_module.c v->len = value.len; len 342 http/modules/perl/ngx_http_perl_module.c ctx->redirect_uri.len = 0; len 383 http/modules/perl/ngx_http_perl_module.c handler->data[handler->len] = '\0'; len 403 http/modules/perl/ngx_http_perl_module.c sv = newSVpvn((char *) handler->data, handler->len); len 408 http/modules/perl/ngx_http_perl_module.c sv = newSVpvn((char *) handler->data, handler->len); len 426 http/modules/perl/ngx_http_perl_module.c asv[i + 1] = newSVpvn((char *) args[i]->data, args[i]->len); len 441 http/modules/perl/ngx_http_perl_module.c ctx->redirect_uri.len = 0; len 547 http/modules/perl/ngx_http_perl_module.c STRLEN len; len 606 http/modules/perl/ngx_http_perl_module.c ver = SvPV(sv, len); len 637 http/modules/perl/ngx_http_perl_module.c STRLEN len; len 652 http/modules/perl/ngx_http_perl_module.c err = (u_char *) SvPV(ERRSV, len); len 653 http/modules/perl/ngx_http_perl_module.c while (--len && (err[len] == CR || err[len] == LF)) { /* void */ } len 657 http/modules/perl/ngx_http_perl_module.c script[i].data, len + 1, err); len 675 http/modules/perl/ngx_http_perl_module.c STRLEN len, n_a; len 716 http/modules/perl/ngx_http_perl_module.c rv->len = n_a; len 736 http/modules/perl/ngx_http_perl_module.c err = (u_char *) SvPV(ERRSV, len); len 737 http/modules/perl/ngx_http_perl_module.c while (--len && (err[len] == CR || err[len] == LF)) { /* void */ } len 740 http/modules/perl/ngx_http_perl_module.c "call_sv(\"%V\") failed: \"%*s\"", handler, len + 1, err); len 947 http/modules/perl/ngx_http_perl_module.c plcf->sub = newSVpvn((char *) value[1].data, value[1].len); len 976 http/modules/perl/ngx_http_perl_module.c value[1].len--; len 1018 http/modules/perl/ngx_http_perl_module.c pv->sub = newSVpvn((char *) value[2].data, value[2].len); len 418 http/ngx_http.c for (header = ngx_http_headers_in; header->name.len; header++) { len 425 http/ngx_http.c hk->key_hash = ngx_hash_key_lc(header->name.data, header->name.len); len 1005 http/ngx_http.c size_t len; len 1020 http/ngx_http.c len = lq->name->len; len 1029 http/ngx_http.c if (len > lx->name->len len 1030 http/ngx_http.c || (ngx_strncmp(name, lx->name->data, len) != 0)) len 1069 http/ngx_http.c size_t len; len 1077 http/ngx_http.c len = lq->name->len - prefix; len 1080 http/ngx_http.c offsetof(ngx_http_location_tree_node_t, name) + len); len 1094 http/ngx_http.c node->len = (u_char) len; len 1095 http/ngx_http.c ngx_memcpy(node->name, &lq->name->data[prefix], len); len 1129 http/ngx_http.c node->tree = ngx_http_create_locations_tree(cf, &lq->list, prefix + len); len 1217 http/ngx_http.c size_t len, off; len 1240 http/ngx_http.c len = 16; len 1247 http/ngx_http.c len = sizeof(saun->sun_path); len 1253 http/ngx_http.c len = 4; len 1263 http/ngx_http.c if (ngx_memcmp(p, addr[i].opt.u.sockaddr_data + off, len) != 0) { len 1937 http/ngx_http.c default_type->len); len 1946 http/ngx_http.c if (value[i].len == 1 && value[i].data[0] == '*') { len 1951 http/ngx_http.c hash = ngx_hash_strlow(value[i].data, value[i].data, value[i].len); len 1952 http/ngx_http.c value[i].data[value[i].len] = '\0'; len 2054 http/ngx_http.c while (default_type->len) { len 2063 http/ngx_http.c default_type->len); len 24 http/ngx_http.h ngx_http_request_t *sr, u_char *buf, size_t len); len 89 http/ngx_http.h ngx_int_t ngx_http_arg(ngx_http_request_t *r, u_char *name, size_t len, len 127 http/ngx_http.h time_t ngx_http_parse_time(u_char *value, size_t len); len 244 http/ngx_http_busy_lock.c bl->max_busy = ngx_atoi(value[i].data + 2, value[i].len - 2); len 258 http/ngx_http_busy_lock.c bl->max_waiting = ngx_atoi(value[i].data + 2, value[i].len - 2); len 272 http/ngx_http_busy_lock.c line.len = value[i].len - 2; len 915 http/ngx_http_core_module.c size_t len; len 973 http/ngx_http_core_module.c if (r->args.len == 0) { len 977 http/ngx_http_core_module.c len = clcf->name.len + 1 + r->args.len; len 978 http/ngx_http_core_module.c p = ngx_pnalloc(r->pool, len); len 985 http/ngx_http_core_module.c r->headers_out.location->value.len = len; len 988 http/ngx_http_core_module.c p = ngx_cpymem(p, clcf->name.data, clcf->name.len); len 990 http/ngx_http_core_module.c ngx_memcpy(p, r->args.data, r->args.len); len 1138 http/ngx_http_core_module.c size_t len, root, alias, reserve, allocated; len 1178 http/ngx_http_core_module.c len = 1; len 1182 http/ngx_http_core_module.c len += lcode(&e); len 1186 http/ngx_http_core_module.c len = tf->name.len; len 1190 http/ngx_http_core_module.c reserve = ngx_abs((ssize_t) (len - r->uri.len)) + alias + 16; len 1202 http/ngx_http_core_module.c allocated = path.len - root - (r->uri.len - alias); len 1209 http/ngx_http_core_module.c ngx_memcpy(name, tf->name.data, tf->name.len); len 1211 http/ngx_http_core_module.c path.len = (name + tf->name.len - 1) - path.data; len 1223 http/ngx_http_core_module.c path.len = e.pos - path.data; len 1228 http/ngx_http_core_module.c ngx_memmove(name, name + alias, len - alias); len 1229 http/ngx_http_core_module.c path.len -= alias; len 1241 http/ngx_http_core_module.c if (tf->lengths == NULL && tf->name.len == 0) { len 1248 http/ngx_http_core_module.c path.len -= root; len 1291 http/ngx_http_core_module.c path.len -= root; len 1305 http/ngx_http_core_module.c r->uri.len = alias + path.len; len 1306 http/ngx_http_core_module.c r->uri.data = ngx_pnalloc(r->pool, r->uri.len); len 1313 http/ngx_http_core_module.c ngx_memcpy(p, name, path.len); len 1364 http/ngx_http_core_module.c if (r->uri.data[r->uri.len - 1] == '/') { len 1558 http/ngx_http_core_module.c size_t len, n; len 1561 http/ngx_http_core_module.c len = r->uri.len; len 1573 http/ngx_http_core_module.c "test location: \"%*s\"", node->len, node->name); len 1575 http/ngx_http_core_module.c n = (len <= (size_t) node->len) ? len : node->len; len 1585 http/ngx_http_core_module.c if (len > (size_t) node->len) { len 1594 http/ngx_http_core_module.c len -= n; len 1606 http/ngx_http_core_module.c if (len == (size_t) node->len) { len 1620 http/ngx_http_core_module.c if (len + 1 == (size_t) node->len && node->auto_redirect) { len 1636 http/ngx_http_core_module.c size_t len; len 1643 http/ngx_http_core_module.c if (r->headers_out.content_type.len == 0) { len 1647 http/ngx_http_core_module.c len = r->headers_out.content_type_len; len 1651 http/ngx_http_core_module.c lowcase = ngx_pnalloc(r->pool, len); len 1660 http/ngx_http_core_module.c for (i = 0; i < len; i++) { len 1670 http/ngx_http_core_module.c r->headers_out.content_type_lowcase, len); len 1682 http/ngx_http_core_module.c if (r->headers_out.content_type.len) { len 1688 http/ngx_http_core_module.c if (r->exten.len) { len 1692 http/ngx_http_core_module.c for (i = 0; i < r->exten.len; i++) { len 1697 http/ngx_http_core_module.c exten = ngx_pnalloc(r->pool, r->exten.len); len 1702 http/ngx_http_core_module.c hash = ngx_hash_strlow(exten, r->exten.data, r->exten.len); len 1713 http/ngx_http_core_module.c r->exten.data, r->exten.len); len 1716 http/ngx_http_core_module.c r->headers_out.content_type_len = type->len; len 1723 http/ngx_http_core_module.c r->headers_out.content_type_len = clcf->default_type.len; len 1737 http/ngx_http_core_module.c for (i = r->uri.len - 1; i > 1; i--) { len 1740 http/ngx_http_core_module.c r->exten.len = r->uri.len - i - 1; len 1788 http/ngx_http_core_module.c r->headers_out.content_length_n = val.len; len 1791 http/ngx_http_core_module.c r->headers_out.content_type_len = ct->len; len 1800 http/ngx_http_core_module.c if (r->method == NGX_HTTP_HEAD || (r != r->main && val.len == 0)) { len 1810 http/ngx_http_core_module.c b->last = val.data + val.len; len 1811 http/ngx_http_core_module.c b->memory = val.len ? 1 : 0; len 1833 http/ngx_http_core_module.c r->headers_out.status_line.len = 0; len 1883 http/ngx_http_core_module.c *root_length = clcf->root.len; len 1885 http/ngx_http_core_module.c path->len = clcf->root.len + reserved + r->uri.len - alias + 1; len 1887 http/ngx_http_core_module.c path->data = ngx_pnalloc(r->pool, path->len); len 1892 http/ngx_http_core_module.c last = ngx_copy(path->data, clcf->root.data, clcf->root.len); len 1901 http/ngx_http_core_module.c reserved += captures ? r->add_uri_to_alias ? r->uri.len + 1 : 1 len 1902 http/ngx_http_core_module.c : r->uri.len - alias + 1; len 1904 http/ngx_http_core_module.c reserved += r->uri.len - alias + 1; len 1918 http/ngx_http_core_module.c *root_length = path->len - reserved; len 1933 http/ngx_http_core_module.c last = ngx_cpystrn(last, r->uri.data + alias, r->uri.len - alias + 1); len 1943 http/ngx_http_core_module.c ngx_uint_t len; len 1945 http/ngx_http_core_module.c if (r->headers_in.user.len == 0 && r->headers_in.user.data != NULL) { len 1956 http/ngx_http_core_module.c if (encoded.len < sizeof("Basic ") - 1 len 1965 http/ngx_http_core_module.c encoded.len -= sizeof("Basic ") - 1; len 1968 http/ngx_http_core_module.c while (encoded.len && encoded.data[0] == ' ') { len 1969 http/ngx_http_core_module.c encoded.len--; len 1973 http/ngx_http_core_module.c if (encoded.len == 0) { len 1978 http/ngx_http_core_module.c auth.len = ngx_base64_decoded_length(encoded.len); len 1979 http/ngx_http_core_module.c auth.data = ngx_pnalloc(r->pool, auth.len + 1); len 1989 http/ngx_http_core_module.c auth.data[auth.len] = '\0'; len 1991 http/ngx_http_core_module.c for (len = 0; len < auth.len; len++) { len 1992 http/ngx_http_core_module.c if (auth.data[len] == ':') { len 1997 http/ngx_http_core_module.c if (len == 0 || len == auth.len) { len 2002 http/ngx_http_core_module.c r->headers_in.user.len = len; len 2004 http/ngx_http_core_module.c r->headers_in.passwd.len = auth.len - len - 1; len 2005 http/ngx_http_core_module.c r->headers_in.passwd.data = &auth.data[len + 1]; len 2036 http/ngx_http_core_module.c || (r->headers_in.msie4 && r->unparsed_uri.len > 200)) len 2077 http/ngx_http_core_module.c expires = ngx_http_parse_time(e->value.data, e->value.len); len 2085 http/ngx_http_core_module.c date = ngx_http_parse_time(d->value.data, d->value.len); len 2368 http/ngx_http_core_module.c if (name->len != (*clcfp)->name.len len 2369 http/ngx_http_core_module.c || ngx_strncmp(name->data, (*clcfp)->name.data, name->len) != 0) len 2566 http/ngx_http_core_module.c size_t len; len 2611 http/ngx_http_core_module.c len = value[1].len; len 2615 http/ngx_http_core_module.c if (len == 1 && mod[0] == '=') { len 2620 http/ngx_http_core_module.c } else if (len == 2 && mod[0] == '^' && mod[1] == '~') { len 2625 http/ngx_http_core_module.c } else if (len == 1 && mod[0] == '~') { len 2631 http/ngx_http_core_module.c } else if (len == 2 && mod[0] == '~' && mod[1] == '*') { len 2649 http/ngx_http_core_module.c clcf->name.len = name->len - 1; len 2655 http/ngx_http_core_module.c clcf->name.len = name->len - 2; len 2661 http/ngx_http_core_module.c name->len--; len 2666 http/ngx_http_core_module.c name->len--; len 2691 http/ngx_http_core_module.c if (pclcf->name.len) { len 2723 http/ngx_http_core_module.c len = pclcf->name.len; len 2727 http/ngx_http_core_module.c && ngx_strncmp(clcf->name.data, pclcf->name.data, len) != 0) len 2729 http/ngx_http_core_module.c if (ngx_strncmp(clcf->name.data, pclcf->name.data, len) != 0) len 2766 http/ngx_http_core_module.c rc.err.len = NGX_MAX_CONF_ERRSTR; len 2854 http/ngx_http_core_module.c hash = ngx_hash_strlow(value[i].data, value[i].data, value[i].len); len 3044 http/ngx_http_core_module.c name.len++; len 3050 http/ngx_http_core_module.c name.len--; len 3054 http/ngx_http_core_module.c conf->server_name.len = name.len; len 3243 http/ngx_http_core_module.c for (i = 0; ngx_http_core_default_types[i].key.len; i++) { len 3252 http/ngx_http_core_module.c ngx_http_core_default_types[i].key.len); len 3493 http/ngx_http_core_module.c lsopt.setfib = ngx_atoi(value[n].data + 7, value[n].len - 7); len 3505 http/ngx_http_core_module.c lsopt.backlog = ngx_atoi(value[n].data + 8, value[n].len - 8); len 3519 http/ngx_http_core_module.c size.len = value[n].len - 7; len 3536 http/ngx_http_core_module.c size.len = value[n].len - 7; len 3659 http/ngx_http_core_module.c if ((ch == '*' && (value[i].len < 3 || value[i].data[1] != '.')) len 3660 http/ngx_http_core_module.c || (ch == '.' && value[i].len < 2)) len 3673 http/ngx_http_core_module.c if (value[i].len == 1 && ch == '*') { len 3698 http/ngx_http_core_module.c ngx_strlow(sn->name.data, sn->name.data, sn->name.len); len 3708 http/ngx_http_core_module.c if (value[i].len == 1) { len 3714 http/ngx_http_core_module.c value[i].len--; len 3720 http/ngx_http_core_module.c rc.err.len = NGX_MAX_CONF_ERRSTR; len 3723 http/ngx_http_core_module.c for (p = value[i].data; p < value[i].data + value[i].len; p++) { len 3761 http/ngx_http_core_module.c alias = (cmd->name.len == sizeof("alias") - 1) ? 1 : 0; len 3811 http/ngx_http_core_module.c clcf->alias = alias ? clcf->name.len : 0; len 3814 http/ngx_http_core_module.c if (!alias && clcf->root.data[clcf->root.len - 1] == '/') { len 3815 http/ngx_http_core_module.c clcf->root.len--; len 4030 http/ngx_http_core_module.c if (value[i].len > 1) { len 4031 http/ngx_http_core_module.c overwrite = ngx_atoi(&value[i].data[1], value[i].len - 1); len 4068 http/ngx_http_core_module.c cv.value.len = p - uri.data; len 4071 http/ngx_http_core_module.c args.len = (uri.data + uri.len) - p; len 4082 http/ngx_http_core_module.c err->status = ngx_atoi(value[i].data, value[i].len); len 4151 http/ngx_http_core_module.c if (tf[i].name.data[tf[i].name.len - 1] == '/') { len 4153 http/ngx_http_core_module.c tf[i].name.len--; len 4154 http/ngx_http_core_module.c tf[i].name.data[tf[i].name.len] = '\0'; len 4176 http/ngx_http_core_module.c tf[i].name.len++; len 4182 http/ngx_http_core_module.c code = ngx_atoi(tf[i - 1].name.data + 1, tf[i - 1].name.len - 2); len 4187 http/ngx_http_core_module.c tf[i - 1].name.len - 1, tf[i - 1].name.data); len 4221 http/ngx_http_core_module.c max = ngx_atoi(value[i].data + 4, value[i].len - 4); len 4231 http/ngx_http_core_module.c s.len = value[i].len - 9; len 4420 http/ngx_http_core_module.c rc.err.len = NGX_MAX_CONF_ERRSTR; len 437 http/ngx_http_core_module.h u_char len; len 65 http/ngx_http_file_cache.c size_t len; len 134 http/ngx_http_file_cache.c len = sizeof(" in cache keys zone \"\"") + shm_zone->shm.name.len; len 136 http/ngx_http_file_cache.c cache->shpool->log_ctx = ngx_slab_alloc(cache->shpool, len); len 205 http/ngx_http_file_cache.c size_t len; len 213 http/ngx_http_file_cache.c len = 0; len 223 http/ngx_http_file_cache.c len += key[i].len; len 225 http/ngx_http_file_cache.c ngx_crc32_update(&c->crc32, key[i].data, key[i].len); len 226 http/ngx_http_file_cache.c ngx_md5_update(&md5, key[i].data, key[i].len); len 230 http/ngx_http_file_cache.c + sizeof(ngx_http_file_cache_key) + len + 1; len 625 http/ngx_http_file_cache.c c->file.name.len = path->name.len + 1 + path->len len 628 http/ngx_http_file_cache.c c->file.name.data = ngx_pnalloc(r->pool, c->file.name.len + 1); len 633 http/ngx_http_file_cache.c ngx_memcpy(c->file.name.data, path->name.data, path->name.len); len 635 http/ngx_http_file_cache.c p = c->file.name.data + path->name.len + 1 + path->len; len 639 http/ngx_http_file_cache.c ngx_create_hashed_filename(path, c->file.name.data, c->file.name.len); len 770 http/ngx_http_file_cache.c p = ngx_copy(p, key[i].data, key[i].len); len 992 http/ngx_http_file_cache.c size_t len; len 1003 http/ngx_http_file_cache.c len = path->name.len + 1 + path->len + 2 * NGX_HTTP_CACHE_KEY_LEN; len 1005 http/ngx_http_file_cache.c name = ngx_alloc(len + 1, ngx_cycle->log); len 1010 http/ngx_http_file_cache.c ngx_memcpy(name, path->name.data, path->name.len); len 1055 http/ngx_http_file_cache.c size_t len; len 1066 http/ngx_http_file_cache.c len = path->name.len + 1 + path->len + 2 * NGX_HTTP_CACHE_KEY_LEN; len 1068 http/ngx_http_file_cache.c name = ngx_alloc(len + 1, ngx_cycle->log); len 1073 http/ngx_http_file_cache.c ngx_memcpy(name, path->name.data, path->name.len); len 1113 http/ngx_http_file_cache.c len = NGX_HTTP_CACHE_KEY_LEN - sizeof(ngx_rbtree_key_t); len 1114 http/ngx_http_file_cache.c (void) ngx_hex_dump(p, fcn->key, len); len 1144 http/ngx_http_file_cache.c size_t len; len 1154 http/ngx_http_file_cache.c p = name + path->name.len + 1 + path->len; len 1157 http/ngx_http_file_cache.c len = NGX_HTTP_CACHE_KEY_LEN - sizeof(ngx_rbtree_key_t); len 1158 http/ngx_http_file_cache.c p = ngx_hex_dump(p, fcn->key, len); len 1165 http/ngx_http_file_cache.c len = path->name.len + 1 + path->len + 2 * NGX_HTTP_CACHE_KEY_LEN; len 1166 http/ngx_http_file_cache.c ngx_create_hashed_filename(path, name, len); len 1344 http/ngx_http_file_cache.c if (name->len < 2 * NGX_HTTP_CACHE_KEY_LEN) { len 1395 http/ngx_http_file_cache.c p = &name->data[name->len - 2 * NGX_HTTP_CACHE_KEY_LEN]; len 1532 http/ngx_http_file_cache.c name.len = 0; len 1540 http/ngx_http_file_cache.c if (cache->path->name.data[cache->path->name.len - 1] == '/') { len 1541 http/ngx_http_file_cache.c cache->path->name.len--; len 1553 http/ngx_http_file_cache.c last = value[i].data + value[i].len; len 1560 http/ngx_http_file_cache.c cache->path->len += cache->path->level[n] + 1; len 1576 http/ngx_http_file_cache.c if (cache->path->len < 10 + 3) { len 1596 http/ngx_http_file_cache.c name.len = p - name.data; len 1600 http/ngx_http_file_cache.c s.len = value[i].data + value[i].len - p; len 1616 http/ngx_http_file_cache.c s.len = value[i].len - 9; len 1631 http/ngx_http_file_cache.c s.len = value[i].len - 9; len 1649 http/ngx_http_file_cache.c if (name.len == 0 || size == 0) { len 1741 http/ngx_http_file_cache.c status = ngx_atoi(value[i].data, value[i].len); len 1776 http/ngx_http_file_cache.c if (val.len && val.data[0] != '0') { len 157 http/ngx_http_header_filter_module.c size_t len; len 201 http/ngx_http_header_filter_module.c len = sizeof("HTTP/1.x ") - 1 + sizeof(CRLF) - 1 len 207 http/ngx_http_header_filter_module.c if (r->headers_out.status_line.len) { len 208 http/ngx_http_header_filter_module.c len += r->headers_out.status_line.len; len 234 http/ngx_http_header_filter_module.c len += ngx_http_status_lines[status].len; len 247 http/ngx_http_header_filter_module.c len += ngx_http_status_lines[status].len; len 258 http/ngx_http_header_filter_module.c len += ngx_http_status_lines[status].len; len 270 http/ngx_http_header_filter_module.c len += ngx_http_status_lines[status].len; len 273 http/ngx_http_header_filter_module.c len += NGX_INT_T_LEN; len 281 http/ngx_http_header_filter_module.c len += clcf->server_tokens ? sizeof(ngx_http_server_full_string) - 1: len 286 http/ngx_http_header_filter_module.c len += sizeof("Date: Mon, 28 Sep 1970 06:00:00 GMT" CRLF) - 1; len 289 http/ngx_http_header_filter_module.c if (r->headers_out.content_type.len) { len 290 http/ngx_http_header_filter_module.c len += sizeof("Content-Type: ") - 1 len 291 http/ngx_http_header_filter_module.c + r->headers_out.content_type.len + 2; len 293 http/ngx_http_header_filter_module.c if (r->headers_out.content_type_len == r->headers_out.content_type.len len 294 http/ngx_http_header_filter_module.c && r->headers_out.charset.len) len 296 http/ngx_http_header_filter_module.c len += sizeof("; charset=") - 1 + r->headers_out.charset.len; len 303 http/ngx_http_header_filter_module.c len += sizeof("Content-Length: ") - 1 + NGX_OFF_T_LEN + 2; len 309 http/ngx_http_header_filter_module.c len += sizeof("Last-Modified: Mon, 28 Sep 1970 06:00:00 GMT" CRLF) - 1; len 315 http/ngx_http_header_filter_module.c && r->headers_out.location->value.len len 324 http/ngx_http_header_filter_module.c } else if (r->headers_in.server.len) { len 328 http/ngx_http_header_filter_module.c host.len = NGX_SOCKADDR_STRLEN; len 355 http/ngx_http_header_filter_module.c len += sizeof("Location: https://") - 1 len 356 http/ngx_http_header_filter_module.c + host.len len 357 http/ngx_http_header_filter_module.c + r->headers_out.location->value.len + 2; len 373 http/ngx_http_header_filter_module.c len += sizeof(":65535") - 1; len 382 http/ngx_http_header_filter_module.c len += sizeof("Transfer-Encoding: chunked" CRLF) - 1; len 386 http/ngx_http_header_filter_module.c len += sizeof("Connection: keep-alive" CRLF) - 1; len 397 http/ngx_http_header_filter_module.c len += sizeof("Keep-Alive: timeout=") - 1 + NGX_TIME_T_LEN + 2; len 401 http/ngx_http_header_filter_module.c len += sizeof("Connection: closed" CRLF) - 1; len 407 http/ngx_http_header_filter_module.c len += sizeof("Vary: Accept-Encoding" CRLF) - 1; len 434 http/ngx_http_header_filter_module.c len += header[i].key.len + sizeof(": ") - 1 + header[i].value.len len 438 http/ngx_http_header_filter_module.c b = ngx_create_temp_buf(r->pool, len); len 448 http/ngx_http_header_filter_module.c b->last = ngx_copy(b->last, status_line->data, status_line->len); len 458 http/ngx_http_header_filter_module.c len = sizeof(ngx_http_server_full_string) - 1; len 462 http/ngx_http_header_filter_module.c len = sizeof(ngx_http_server_string) - 1; len 465 http/ngx_http_header_filter_module.c b->last = ngx_cpymem(b->last, p, len); len 471 http/ngx_http_header_filter_module.c ngx_cached_http_time.len); len 476 http/ngx_http_header_filter_module.c if (r->headers_out.content_type.len) { len 481 http/ngx_http_header_filter_module.c r->headers_out.content_type.len); len 483 http/ngx_http_header_filter_module.c if (r->headers_out.content_type_len == r->headers_out.content_type.len len 484 http/ngx_http_header_filter_module.c && r->headers_out.charset.len) len 489 http/ngx_http_header_filter_module.c r->headers_out.charset.len); len 493 http/ngx_http_header_filter_module.c r->headers_out.content_type.len = b->last - p; len 531 http/ngx_http_header_filter_module.c b->last = ngx_copy(b->last, host.data, host.len); len 538 http/ngx_http_header_filter_module.c r->headers_out.location->value.len); len 542 http/ngx_http_header_filter_module.c r->headers_out.location->value.len = b->last - p; len 594 http/ngx_http_header_filter_module.c b->last = ngx_copy(b->last, header[i].key.data, header[i].key.len); len 597 http/ngx_http_header_filter_module.c b->last = ngx_copy(b->last, header[i].value.data, header[i].value.len); len 1047 http/ngx_http_parse.c if (p == r->uri_start + r->uri.len) { len 1282 http/ngx_http_parse.c r->uri.len = u - r->uri.data; len 1285 http/ngx_http_parse.c r->exten.len = u - r->uri_ext; len 1300 http/ngx_http_parse.c r->args.len = p - 1 - r->args_start; len 1307 http/ngx_http_parse.c r->uri.len = u - r->uri.data; len 1310 http/ngx_http_parse.c r->exten.len = u - r->uri_ext; len 1530 http/ngx_http_parse.c size_t len; len 1532 http/ngx_http_parse.c len = uri->len; len 1535 http/ngx_http_parse.c if (len == 0 || p[0] == '?') { len 1539 http/ngx_http_parse.c if (p[0] == '.' && len == 3 && p[1] == '.' && (ngx_path_separator(p[2]))) { len 1543 http/ngx_http_parse.c for ( /* void */ ; len; len--) { len 1552 http/ngx_http_parse.c args->len = len - 1; len 1554 http/ngx_http_parse.c uri->len -= len; len 1563 http/ngx_http_parse.c if (ngx_path_separator(ch) && len > 2) { len 1601 http/ngx_http_parse.c if (name->len > h[i]->value.len) { len 1606 http/ngx_http_parse.c end = h[i]->value.data + h[i]->value.len; len 1610 http/ngx_http_parse.c if (ngx_strncasecmp(start, name->data, name->len) != 0) { len 1614 http/ngx_http_parse.c for (start += name->len; start < end && *start == ' '; start++) { len 1637 http/ngx_http_parse.c value->len = last - start; len 1660 http/ngx_http_parse.c ngx_http_arg(ngx_http_request_t *r, u_char *name, size_t len, ngx_str_t *value) len 1664 http/ngx_http_parse.c if (r->args.len == 0) { len 1669 http/ngx_http_parse.c last = p + r->args.len; len 1675 http/ngx_http_parse.c p = ngx_strlcasestrn(p, last - 1, name, len - 1); len 1681 http/ngx_http_parse.c if ((p == r->args.data || *(p - 1) == '&') && *(p + len) == '=') { len 1683 http/ngx_http_parse.c value->data = p + len + 1; len 1688 http/ngx_http_parse.c p = r->args.data + r->args.len; len 1691 http/ngx_http_parse.c value->len = p - value->data; len 1706 http/ngx_http_parse.c last = uri->data + uri->len; len 1711 http/ngx_http_parse.c uri->len = p - uri->data; len 1713 http/ngx_http_parse.c args->len = last - p; len 1717 http/ngx_http_parse.c args->len = 0; len 14 http/ngx_http_parse_time.c ngx_http_parse_time(u_char *value, size_t len) len 28 http/ngx_http_parse_time.c end = value + len; len 35 http/ngx_http_request.c size_t len, ngx_uint_t alloc); len 37 http/ngx_http_request.c u_char *host, size_t len); len 57 http/ngx_http_request.c static u_char *ngx_http_log_error(ngx_log_t *log, u_char *buf, size_t len); len 59 http/ngx_http_request.c ngx_http_request_t *sr, u_char *buf, size_t len); len 634 http/ngx_http_request.c size_t len; len 652 http/ngx_http_request.c len = ngx_strlen(servername); len 654 http/ngx_http_request.c if (len == 0) { len 662 http/ngx_http_request.c len = ngx_http_validate_host(r, &host, len, 1); len 664 http/ngx_http_request.c if (len <= 0) { len 668 http/ngx_http_request.c if (ngx_http_find_virtual_server(r, host, len) != NGX_OK) { len 725 http/ngx_http_request.c r->request_line.len = r->request_end - r->request_start; len 730 http/ngx_http_request.c r->uri.len = r->args_start - 1 - r->uri_start; len 732 http/ngx_http_request.c r->uri.len = r->uri_end - r->uri_start; len 738 http/ngx_http_request.c r->uri.data = ngx_pnalloc(r->pool, r->uri.len + 1); len 760 http/ngx_http_request.c r->unparsed_uri.len = r->uri_end - r->uri_start; len 765 http/ngx_http_request.c r->method_name.len = r->method_end - r->request_start + 1; len 770 http/ngx_http_request.c r->http_protocol.len = r->request_end - r->http_protocol.data; len 776 http/ngx_http_request.c r->exten.len = r->args_start - 1 - r->uri_ext; len 778 http/ngx_http_request.c r->exten.len = r->uri_end - r->uri_ext; len 786 http/ngx_http_request.c r->args.len = r->uri_end - r->args_start; len 794 http/ngx_http_request.c p = r->uri.data + r->uri.len - 1; len 816 http/ngx_http_request.c if (p != r->uri.data + r->uri.len - 1) { len 817 http/ngx_http_request.c r->uri.len = p + 1 - r->uri.data; len 854 http/ngx_http_request.c r->headers_in.server.len = n; len 861 http/ngx_http_request.c r->headers_in.server.len) len 920 http/ngx_http_request.c r->request_line.len = r->header_in->end - r->request_start; len 937 http/ngx_http_request.c size_t len; len 991 http/ngx_http_request.c len = r->header_in->end - p; len 993 http/ngx_http_request.c if (len > NGX_MAX_ERROR_STR - 300) { len 994 http/ngx_http_request.c len = NGX_MAX_ERROR_STR - 300; len 995 http/ngx_http_request.c p[len++] = '.'; p[len++] = '.'; p[len++] = '.'; len 1000 http/ngx_http_request.c len, r->header_name_start); len 1041 http/ngx_http_request.c h->key.len = r->header_name_end - r->header_name_start; len 1043 http/ngx_http_request.c h->key.data[h->key.len] = '\0'; len 1045 http/ngx_http_request.c h->value.len = r->header_end - r->header_start; len 1047 http/ngx_http_request.c h->value.data[h->value.len] = '\0'; len 1049 http/ngx_http_request.c h->lowcase_key = ngx_pnalloc(r->pool, h->key.len); len 1055 http/ngx_http_request.c if (h->key.len == r->lowcase_index) { len 1056 http/ngx_http_request.c ngx_memcpy(h->lowcase_key, r->lowcase_header, h->key.len); len 1059 http/ngx_http_request.c ngx_strlow(h->lowcase_key, h->key.data, h->key.len); len 1063 http/ngx_http_request.c h->lowcase_key, h->key.len); len 1369 http/ngx_http_request.c ssize_t len; len 1376 http/ngx_http_request.c len = ngx_http_validate_host(r, &host, h->value.len, 0); len 1378 http/ngx_http_request.c if (len == 0) { len 1385 http/ngx_http_request.c if (len < 0) { len 1390 http/ngx_http_request.c if (r->headers_in.server.len) { len 1394 http/ngx_http_request.c r->headers_in.server.len = len; len 1434 http/ngx_http_request.c if (msie && msie + 7 < user_agent + h->value.len) { len 1512 http/ngx_http_request.c r->headers_in.server.len) len 1529 http/ngx_http_request.c r->headers_in.content_length->value.len); len 1568 http/ngx_http_request.c r->headers_in.keep_alive->value.len); len 1657 http/ngx_http_request.c ngx_http_validate_host(ngx_http_request_t *r, u_char **host, size_t len, len 1664 http/ngx_http_request.c last = len; len 1668 http/ngx_http_request.c for (i = 0; i < len; i++) { len 1714 http/ngx_http_request.c ngx_http_find_virtual_server(ngx_http_request_t *r, u_char *host, size_t len) len 1724 http/ngx_http_request.c ngx_hash_key(host, len), host, len); len 1732 http/ngx_http_request.c if (len && r->virtual_names->nregex) { len 1738 http/ngx_http_request.c name.len = len; len 2992 http/ngx_http_request.c r->request_line.len = 0; len 3052 http/ngx_http_request.c ngx_http_log_error(ngx_log_t *log, u_char *buf, size_t len) len 3059 http/ngx_http_request.c p = ngx_snprintf(buf, len, " while %s", log->action); len 3060 http/ngx_http_request.c len -= p - buf; len 3066 http/ngx_http_request.c p = ngx_snprintf(buf, len, ", client: %V", &ctx->connection->addr_text); len 3067 http/ngx_http_request.c len -= p - buf; len 3072 http/ngx_http_request.c return r->log_handler(r, ctx->current_request, p, len); len 3075 http/ngx_http_request.c p = ngx_snprintf(p, len, ", server: %V", len 3085 http/ngx_http_request.c u_char *buf, size_t len) len 3094 http/ngx_http_request.c p = ngx_snprintf(buf, len, ", server: %V", &cscf->server_name); len 3095 http/ngx_http_request.c len -= p - buf; len 3105 http/ngx_http_request.c r->request_line.len = p - r->request_start; len 3109 http/ngx_http_request.c if (r->request_line.len) { len 3110 http/ngx_http_request.c p = ngx_snprintf(buf, len, ", request: \"%V\"", &r->request_line); len 3111 http/ngx_http_request.c len -= p - buf; len 3116 http/ngx_http_request.c p = ngx_snprintf(buf, len, ", subrequest: \"%V\"", &sr->uri); len 3117 http/ngx_http_request.c len -= p - buf; len 3133 http/ngx_http_request.c p = ngx_snprintf(buf, len, ", upstream: \"%V%V%s%V\"", len 3136 http/ngx_http_request.c len -= p - buf; len 3141 http/ngx_http_request.c p = ngx_snprintf(buf, len, ", host: \"%V\"", len 3143 http/ngx_http_request.c len -= p - buf; len 3148 http/ngx_http_request.c p = ngx_snprintf(buf, len, ", referrer: \"%V\"", len 616 http/ngx_http_request_body.c if (expect->len != sizeof("100-continue") - 1 len 60 http/ngx_http_script.c size_t len; len 78 http/ngx_http_script.c len = 0; len 82 http/ngx_http_script.c len += lcode(&e); len 85 http/ngx_http_script.c value->len = len; len 86 http/ngx_http_script.c value->data = ngx_pnalloc(r->pool, len); len 116 http/ngx_http_script.c if (v->len == 0) { len 124 http/ngx_http_script.c for (i = 0; i < v->len; i++) { len 173 http/ngx_http_script.c + v->len len 268 http/ngx_http_script.c if (val.len && val.data[0] != '0') { len 325 http/ngx_http_script.c for (n = 0, i = 0; i < value->len; i++) { len 346 http/ngx_http_script.c for (i = 0; i < sc->source->len; /* void */ ) { len 348 http/ngx_http_script.c name.len = 0; len 352 http/ngx_http_script.c if (++i == sc->source->len) { len 384 http/ngx_http_script.c if (++i == sc->source->len) { len 395 http/ngx_http_script.c for ( /* void */ ; i < sc->source->len; i++, name.len++) { len 422 http/ngx_http_script.c if (name.len == 0) { len 450 http/ngx_http_script.c while (i < sc->source->len) { len 466 http/ngx_http_script.c name.len++; len 469 http/ngx_http_script.c sc->size += name.len; len 471 http/ngx_http_script.c if (ngx_http_script_add_copy_code(sc, &name, (i == sc->source->len)) len 490 http/ngx_http_script.c void *code_lengths, size_t len, void *code_values) len 515 http/ngx_http_script.c len += lcode(&e); len 519 http/ngx_http_script.c value->len = len; len 520 http/ngx_http_script.c value->data = ngx_pnalloc(r->pool, len); len 583 http/ngx_http_script.c + sc->source->len len 607 http/ngx_http_script.c zero.len = 1; len 687 http/ngx_http_script.c size_t size, len, zero; len 691 http/ngx_http_script.c len = value->len + zero; len 700 http/ngx_http_script.c code->len = len; len 702 http/ngx_http_script.c size = (sizeof(ngx_http_script_copy_code_t) + len + sizeof(uintptr_t) - 1) len 711 http/ngx_http_script.c code->len = len; len 714 http/ngx_http_script.c value->data, value->len); len 734 http/ngx_http_script.c return code->len; len 750 http/ngx_http_script.c code->len); len 754 http/ngx_http_script.c + ((code->len + sizeof(uintptr_t) - 1) & ~(sizeof(uintptr_t) - 1)); len 823 http/ngx_http_script.c return value->len; len 852 http/ngx_http_script.c e->pos = ngx_copy(p, value->data, value->len); len 912 http/ngx_http_script.c size_t len; len 931 http/ngx_http_script.c e->line.len = e->sp->len; len 948 http/ngx_http_script.c e->sp->len = 1; len 952 http/ngx_http_script.c e->sp->len = 0; len 979 http/ngx_http_script.c e->sp->len = 0; len 983 http/ngx_http_script.c e->sp->len = 1; len 1016 http/ngx_http_script.c e->buf.len = code->size; len 1020 http/ngx_http_script.c e->buf.len += 2 * ngx_escape_uri(NULL, r->uri.data, r->uri.len, len 1026 http/ngx_http_script.c e->buf.len += r->captures[n + 1] - r->captures[n]; len 1037 http/ngx_http_script.c len = 0; len 1041 http/ngx_http_script.c len += lcode(&le); len 1044 http/ngx_http_script.c e->buf.len = len; len 1048 http/ngx_http_script.c if (code->add_args && r->args.len) { len 1049 http/ngx_http_script.c e->buf.len += r->args.len + 1; len 1052 http/ngx_http_script.c e->buf.data = ngx_pnalloc(r->pool, e->buf.len); len 1097 http/ngx_http_script.c if (code->add_args && r->args.len) { len 1099 http/ngx_http_script.c e->pos = ngx_copy(e->pos, r->args.data, r->args.len); len 1102 http/ngx_http_script.c e->buf.len = e->pos - e->buf.data; len 1125 http/ngx_http_script.c e->buf.len = e->args - e->buf.data; len 1127 http/ngx_http_script.c if (code->add_args && r->args.len) { len 1129 http/ngx_http_script.c e->pos = ngx_copy(e->pos, r->args.data, r->args.len); len 1132 http/ngx_http_script.c r->args.len = e->pos - e->args; len 1138 http/ngx_http_script.c e->buf.len = e->pos - e->buf.data; len 1141 http/ngx_http_script.c r->args.len = 0; len 1154 http/ngx_http_script.c if (r->uri.len == 0) { len 1322 http/ngx_http_script.c return code->conf_prefix ? ngx_cycle->conf_prefix.len: len 1323 http/ngx_http_script.c ngx_cycle->prefix.len; len 1337 http/ngx_http_script.c value.len = e->pos - e->buf.data; len 1364 http/ngx_http_script.c || code->text.value.len len 1398 http/ngx_http_script.c if (e->sp->len && e->sp->data[0] != '0') { len 1429 http/ngx_http_script.c if (val->len == res->len len 1430 http/ngx_http_script.c && ngx_strncmp(val->data, res->data, res->len) == 0) len 1457 http/ngx_http_script.c if (val->len == res->len len 1458 http/ngx_http_script.c && ngx_strncmp(val->data, res->data, res->len) == 0) len 1486 http/ngx_http_script.c path.len = value->len - 1; len 1603 http/ngx_http_script.c size_t len; len 1622 http/ngx_http_script.c for (len = 0; *(uintptr_t *) le.ip; len += lcode(&le)) { len 1626 http/ngx_http_script.c e->buf.len = len; len 1627 http/ngx_http_script.c e->buf.data = ngx_pnalloc(e->request->pool, len); len 1636 http/ngx_http_script.c e->sp->len = e->buf.len; len 1651 http/ngx_http_script.c e->sp->len = code->text_len; len 1675 http/ngx_http_script.c r->variables[code->index].len = e->sp->len; len 90 http/ngx_http_script.h uintptr_t len; len 388 http/ngx_http_special_response.c r->headers_out.content_type.len = 0; len 605 http/ngx_http_special_response.c size_t len; len 612 http/ngx_http_special_response.c len = sizeof(ngx_http_error_full_tail) - 1; len 616 http/ngx_http_special_response.c len = sizeof(ngx_http_error_tail) - 1; len 622 http/ngx_http_special_response.c if (ngx_http_error_pages[err].len) { len 623 http/ngx_http_special_response.c r->headers_out.content_length_n = ngx_http_error_pages[err].len + len; len 656 http/ngx_http_special_response.c if (ngx_http_error_pages[err].len == 0) { len 667 http/ngx_http_special_response.c b->last = ngx_http_error_pages[err].data + ngx_http_error_pages[err].len; len 680 http/ngx_http_special_response.c b->last = tail + len; len 714 http/ngx_http_special_response.c size_t len, size; len 720 http/ngx_http_special_response.c len = r->headers_out.location->value.len; len 723 http/ngx_http_special_response.c escape = 2 * ngx_escape_uri(NULL, location, len, NGX_ESCAPE_REFRESH); len 726 http/ngx_http_special_response.c + escape + len len 763 http/ngx_http_special_response.c p = ngx_cpymem(p, location, len); len 766 http/ngx_http_special_response.c p = (u_char *) ngx_escape_uri(p, location, len, NGX_ESCAPE_REFRESH); len 568 http/ngx_http_upstream.c if (uscf->host.len == host->len len 571 http/ngx_http_upstream.c && ngx_memcmp(uscf->host.data, host->data, host->len) == 0) len 1760 http/ngx_http_upstream.c socklen_t len; len 1776 http/ngx_http_upstream.c len = sizeof(int); len 1783 http/ngx_http_upstream.c if (getsockopt(c->fd, SOL_SOCKET, SO_ERROR, (void *) &err, &len) len 1833 http/ngx_http_upstream.c h[i].lowcase_key, h[i].key.len); len 1880 http/ngx_http_upstream.c h[i].lowcase_key, h[i].key.len)) len 1886 http/ngx_http_upstream.c h[i].lowcase_key, h[i].key.len); len 2746 http/ngx_http_upstream.c u->headers_in.last_modified->value.len); len 2767 http/ngx_http_upstream.c path.len--; len 3120 http/ngx_http_upstream.c last = p + h->value.len; len 3190 http/ngx_http_upstream.c expires = ngx_http_parse_time(h->value.data, h->value.len); len 3217 http/ngx_http_upstream.c size_t len; len 3228 http/ngx_http_upstream.c len = h->value.len; len 3232 http/ngx_http_upstream.c n = ngx_atoi(p, len); len 3247 http/ngx_http_upstream.c len--; len 3249 http/ngx_http_upstream.c n = ngx_atoi(p, len); len 3269 http/ngx_http_upstream.c n = ngx_atoi(h->value.data, h->value.len); len 3287 http/ngx_http_upstream.c if (h->value.len == 2) { len 3295 http/ngx_http_upstream.c } else if (h->value.len == 3) { len 3381 http/ngx_http_upstream.c r->headers_out.content_type_len = h->value.len; len 3411 http/ngx_http_upstream.c last = h->value.data + h->value.len; len 3417 http/ngx_http_upstream.c r->headers_out.charset.len = last - p; len 3441 http/ngx_http_upstream.c r->headers_out.content_length_n = ngx_atoof(h->value.data, h->value.len); len 3466 http/ngx_http_upstream.c h->value.len); len 3622 http/ngx_http_upstream.c for (v = ngx_http_upstream_vars; v->name.len; v++) { len 3641 http/ngx_http_upstream.c size_t len; len 3654 http/ngx_http_upstream.c len = 0; len 3659 http/ngx_http_upstream.c len += state[i].peer->len + 2; len 3662 http/ngx_http_upstream.c len += 3; len 3666 http/ngx_http_upstream.c p = ngx_pnalloc(r->pool, len); len 3677 http/ngx_http_upstream.c p = ngx_cpymem(p, state[i].peer->data, state[i].peer->len); len 3701 http/ngx_http_upstream.c v->len = p - v->data; len 3712 http/ngx_http_upstream.c size_t len; len 3725 http/ngx_http_upstream.c len = r->upstream_states->nelts * (3 + 2); len 3727 http/ngx_http_upstream.c p = ngx_pnalloc(r->pool, len); len 3766 http/ngx_http_upstream.c v->len = p - v->data; len 3777 http/ngx_http_upstream.c size_t len; len 3791 http/ngx_http_upstream.c len = r->upstream_states->nelts * (NGX_TIME_T_LEN + 4 + 2); len 3793 http/ngx_http_upstream.c p = ngx_pnalloc(r->pool, len); len 3835 http/ngx_http_upstream.c v->len = p - v->data; len 3846 http/ngx_http_upstream.c size_t len; len 3859 http/ngx_http_upstream.c len = r->upstream_states->nelts * (NGX_OFF_T_LEN + 2); len 3861 http/ngx_http_upstream.c p = ngx_pnalloc(r->pool, len); len 3895 http/ngx_http_upstream.c v->len = p - v->data; len 3934 http/ngx_http_upstream.c v->len = ngx_http_cache_status[n].len; len 4106 http/ngx_http_upstream.c weight = ngx_atoi(&value[i].data[7], value[i].len - 7); len 4121 http/ngx_http_upstream.c max_fails = ngx_atoi(&value[i].data[10], value[i].len - 10); len 4136 http/ngx_http_upstream.c s.len = value[i].len - 13; len 4216 http/ngx_http_upstream.c if (uscfp[i]->host.len != u->host.len len 4217 http/ngx_http_upstream.c || ngx_strncasecmp(uscfp[i]->host.data, u->host.data, u->host.len) len 4319 http/ngx_http_upstream.c rc = ngx_parse_addr(cf->pool, *paddr, value[1].data, value[1].len); len 4378 http/ngx_http_upstream.c for (h = default_hide_headers; h->len; h++) { len 4385 http/ngx_http_upstream.c hk->key_hash = ngx_hash_key_lc(h->data, h->len); len 4409 http/ngx_http_upstream.c hk->key_hash = ngx_hash_key_lc(h[i].data, h[i].len); len 4502 http/ngx_http_upstream.c for (header = ngx_http_upstream_headers_in; header->name.len; header++) { len 4509 http/ngx_http_upstream.c hk->key_hash = ngx_hash_key_lc(header->name.data, header->name.len); len 255 http/ngx_http_upstream_round_robin.c size_t len; len 295 http/ngx_http_upstream_round_robin.c len = NGX_INET_ADDRSTRLEN + sizeof(":65536") - 1; len 297 http/ngx_http_upstream_round_robin.c p = ngx_pnalloc(r->pool, len); len 302 http/ngx_http_upstream_round_robin.c len = ngx_inet_ntop(AF_INET, &ur->addrs[i], p, NGX_INET_ADDRSTRLEN); len 303 http/ngx_http_upstream_round_robin.c len = ngx_sprintf(&p[len], ":%d", ur->port) - p; len 316 http/ngx_http_upstream_round_robin.c peers->peer[i].name.len = len; len 280 http/ngx_http_variables.c if (name->len != key[i].key.len len 281 http/ngx_http_variables.c || ngx_strncasecmp(name->data, key[i].key.data, name->len) != 0) len 302 http/ngx_http_variables.c v->name.len = name->len; len 303 http/ngx_http_variables.c v->name.data = ngx_pnalloc(cf->pool, name->len); len 308 http/ngx_http_variables.c ngx_strlow(v->name.data, name->data, name->len); len 353 http/ngx_http_variables.c if (name->len != v[i].name.len len 354 http/ngx_http_variables.c || ngx_strncasecmp(name->data, v[i].name.data, name->len) != 0) len 368 http/ngx_http_variables.c v->name.len = name->len; len 369 http/ngx_http_variables.c v->name.data = ngx_pnalloc(cf->pool, name->len); len 374 http/ngx_http_variables.c ngx_strlow(v->name.data, name->data, name->len); len 452 http/ngx_http_variables.c v = ngx_hash_find(&cmcf->variables_hash, key, name->data, name->len); len 541 http/ngx_http_variables.c v->len = s->len; len 563 http/ngx_http_variables.c s->len = v->len; len 581 http/ngx_http_variables.c v->len = ngx_sprintf(v->data, "%uz", *sp) - v->data; len 597 http/ngx_http_variables.c val.len = v->len; len 625 http/ngx_http_variables.c v->len = h->value.len; len 643 http/ngx_http_variables.c ssize_t len; len 665 http/ngx_http_variables.c v->len = (*h)->value.len; len 671 http/ngx_http_variables.c len = - (ssize_t) (sizeof("; ") - 1); len 674 http/ngx_http_variables.c len += h[i]->value.len + sizeof("; ") - 1; len 677 http/ngx_http_variables.c p = ngx_pnalloc(r->pool, len); len 682 http/ngx_http_variables.c v->len = len; len 686 http/ngx_http_variables.c p = ngx_copy(p, h[i]->value.data, h[i]->value.len); len 741 http/ngx_http_variables.c for (n = 0; n + prefix < var->len && n < header[i].key.len; n++) { len 756 http/ngx_http_variables.c if (n + prefix == var->len && n == header[i].key.len) { len 757 http/ngx_http_variables.c v->len = header[i].value.len; len 795 http/ngx_http_variables.c r->request_line.len = p - s; len 799 http/ngx_http_variables.c v->len = r->request_line.len; len 817 http/ngx_http_variables.c s.len = name->len - (sizeof("cookie_") - 1); len 827 http/ngx_http_variables.c v->len = cookie.len; len 844 http/ngx_http_variables.c size_t len; len 847 http/ngx_http_variables.c len = name->len - (sizeof("arg_") - 1); len 850 http/ngx_http_variables.c if (ngx_http_arg(r, arg, len, &value) != NGX_OK) { len 856 http/ngx_http_variables.c v->len = value.len; len 871 http/ngx_http_variables.c if (r->headers_in.server.len) { len 872 http/ngx_http_variables.c v->len = r->headers_in.server.len; len 878 http/ngx_http_variables.c v->len = cscf->server_name.len; len 905 http/ngx_http_variables.c v->len = sizeof(struct in6_addr); len 917 http/ngx_http_variables.c v->len = sizeof(in_addr_t); len 934 http/ngx_http_variables.c v->len = r->connection->addr_text.len; len 954 http/ngx_http_variables.c v->len = 0; len 980 http/ngx_http_variables.c v->len = ngx_sprintf(v->data, "%ui", port) - v->data; len 994 http/ngx_http_variables.c s.len = NGX_SOCKADDR_STRLEN; len 1001 http/ngx_http_variables.c s.data = ngx_pnalloc(r->pool, s.len); len 1006 http/ngx_http_variables.c ngx_memcpy(s.data, addr, s.len); len 1008 http/ngx_http_variables.c v->len = s.len; len 1028 http/ngx_http_variables.c v->len = 0; len 1058 http/ngx_http_variables.c v->len = ngx_sprintf(v->data, "%ui", port) - v->data; len 1072 http/ngx_http_variables.c v->len = sizeof("https") - 1; len 1083 http/ngx_http_variables.c v->len = sizeof("http") - 1; len 1101 http/ngx_http_variables.c if (r->args.len == 0) { len 1102 http/ngx_http_variables.c v->len = 0; len 1107 http/ngx_http_variables.c v->len = 1; len 1124 http/ngx_http_variables.c v->len = clcf->root.len; len 1142 http/ngx_http_variables.c v->len = path.len; len 1157 http/ngx_http_variables.c size_t len; len 1175 http/ngx_http_variables.c path.data[path.len - 1] = '\0'; len 1188 http/ngx_http_variables.c len = ngx_strlen(real); len 1190 http/ngx_http_variables.c v->data = ngx_pnalloc(r->pool, len); len 1195 http/ngx_http_variables.c v->len = len; len 1200 http/ngx_http_variables.c ngx_memcpy(v->data, real, len); len 1219 http/ngx_http_variables.c v->len = path.len - 1; len 1237 http/ngx_http_variables.c v->len = cscf->server_name.len; len 1252 http/ngx_http_variables.c v->len = r->main->method_name.len; len 1283 http/ngx_http_variables.c v->len = r->headers_in.user.len; len 1311 http/ngx_http_variables.c v->len = ngx_sprintf(p, "%O", sent) - p; len 1325 http/ngx_http_variables.c if (r->headers_out.content_type.len) { len 1326 http/ngx_http_variables.c v->len = r->headers_out.content_type.len; len 1347 http/ngx_http_variables.c v->len = r->headers_out.content_length->value.len; len 1362 http/ngx_http_variables.c v->len = ngx_sprintf(p, "%O", r->headers_out.content_length_n) - p; len 1384 http/ngx_http_variables.c v->len = r->headers_out.location->value.len; len 1408 http/ngx_http_variables.c v->len = r->headers_out.last_modified->value.len; len 1424 http/ngx_http_variables.c v->len = ngx_http_time(p, r->headers_out.last_modified_time) - p; len 1443 http/ngx_http_variables.c size_t len; len 1447 http/ngx_http_variables.c len = sizeof("keep-alive") - 1; len 1451 http/ngx_http_variables.c len = sizeof("close") - 1; len 1455 http/ngx_http_variables.c v->len = len; len 1482 http/ngx_http_variables.c v->len = ngx_sprintf(p, "timeout=%T", clcf->keepalive_header) - p; len 1503 http/ngx_http_variables.c v->len = sizeof("chunked") - 1; len 1522 http/ngx_http_variables.c v->len = 2; len 1531 http/ngx_http_variables.c v->len = 0; len 1546 http/ngx_http_variables.c size_t len; len 1563 http/ngx_http_variables.c v->len = buf->last - buf->pos; len 1573 http/ngx_http_variables.c len = (buf->last - buf->pos) + (next->last - next->pos); len 1575 http/ngx_http_variables.c p = ngx_pnalloc(r->pool, len); len 1585 http/ngx_http_variables.c v->len = len; len 1604 http/ngx_http_variables.c v->len = r->request_body->temp_file->file.name.len; len 1618 http/ngx_http_variables.c v->len = sizeof(NGINX_VERSION) - 1; len 1632 http/ngx_http_variables.c v->len = ngx_cycle->hostname.len; len 1653 http/ngx_http_variables.c v->len = ngx_sprintf(p, "%P", ngx_pid) - p; len 1665 http/ngx_http_variables.c u_char *text, size_t len, ngx_str_t *match) len 1669 http/ngx_http_variables.c p = ngx_hash_find_combined(&map->hash, key, text, len); len 1676 http/ngx_http_variables.c if (len && map->nregex) { len 1770 http/ngx_http_variables.c name.len = ngx_strlen(name.data); len 1795 http/ngx_http_variables.c ngx_uint_t i, n, len; len 1802 http/ngx_http_variables.c len = cmcf->ncaptures; len 1805 http/ngx_http_variables.c r->captures = ngx_palloc(r->pool, len * sizeof(int)); len 1812 http/ngx_http_variables.c len = 0; len 1815 http/ngx_http_variables.c rc = ngx_regex_exec(re->regex, s, r->captures, len); len 1834 http/ngx_http_variables.c vv->len = r->captures[n + 1] - r->captures[n]; len 1848 http/ngx_http_variables.c &v[index].name, vv->len, vv->data); len 1886 http/ngx_http_variables.c for (v = ngx_http_core_variables; v->name.len; v++) { len 1929 http/ngx_http_variables.c && v[i].name.len == key[n].key.len len 1930 http/ngx_http_variables.c && ngx_strncmp(v[i].name.data, key[n].key.data, v[i].name.len) len 103 http/ngx_http_variables.h ngx_uint_t key, u_char *text, size_t len, ngx_str_t *match); len 424 mail/ngx_mail.c size_t len; len 448 mail/ngx_mail.c len = ngx_sock_ntop(addr[i].sockaddr, buf, NGX_SOCKADDR_STRLEN, 1); len 450 mail/ngx_mail.c p = ngx_pnalloc(cf->pool, len); len 455 mail/ngx_mail.c ngx_memcpy(p, buf, len); len 457 mail/ngx_mail.c addrs[i].conf.addr_text.len = len; len 472 mail/ngx_mail.c size_t len; len 496 mail/ngx_mail.c len = ngx_sock_ntop(addr[i].sockaddr, buf, NGX_SOCKADDR_STRLEN, 1); len 498 mail/ngx_mail.c p = ngx_pnalloc(cf->pool, len); len 503 mail/ngx_mail.c ngx_memcpy(p, buf, len); len 505 mail/ngx_mail.c addrs6[i].conf.addr_text.len = len; len 381 mail/ngx_mail.h ngx_connection_t *c, char *prefix, size_t len); len 390 mail/ngx_mail.h u_char *ngx_mail_log_error(ngx_log_t *log, u_char *buf, size_t len); len 458 mail/ngx_mail_auth_http_module.c size_t len, size; len 475 mail/ngx_mail_auth_http_module.c key.len = ctx->header_name_end - ctx->header_name_start; len 477 mail/ngx_mail_auth_http_module.c value.len = ctx->header_end - ctx->header_start; len 486 mail/ngx_mail_auth_http_module.c len = ctx->header_name_end - ctx->header_name_start; len 488 mail/ngx_mail_auth_http_module.c if (len == sizeof("Auth-Status") - 1 len 494 mail/ngx_mail_auth_http_module.c len = ctx->header_end - ctx->header_start; len 496 mail/ngx_mail_auth_http_module.c if (len == 2 len 503 mail/ngx_mail_auth_http_module.c if (len == 4 len 513 mail/ngx_mail_auth_http_module.c ctx->errmsg.len = len; len 519 mail/ngx_mail_auth_http_module.c size = sizeof("-ERR ") - 1 + len + sizeof(CRLF) - 1; len 523 mail/ngx_mail_auth_http_module.c size = s->tag.len + sizeof("NO ") - 1 + len len 549 mail/ngx_mail_auth_http_module.c p = ngx_cpymem(p, s->tag.data, s->tag.len); len 557 mail/ngx_mail_auth_http_module.c p = ngx_cpymem(p, ctx->header_start, len); len 560 mail/ngx_mail_auth_http_module.c ctx->err.len = p - ctx->err.data; len 565 mail/ngx_mail_auth_http_module.c if (len == sizeof("Auth-Server") - 1 len 571 mail/ngx_mail_auth_http_module.c ctx->addr.len = ctx->header_end - ctx->header_start; len 577 mail/ngx_mail_auth_http_module.c if (len == sizeof("Auth-Port") - 1 len 583 mail/ngx_mail_auth_http_module.c ctx->port.len = ctx->header_end - ctx->header_start; len 589 mail/ngx_mail_auth_http_module.c if (len == sizeof("Auth-User") - 1 len 595 mail/ngx_mail_auth_http_module.c s->login.len = ctx->header_end - ctx->header_start; len 597 mail/ngx_mail_auth_http_module.c s->login.data = ngx_pnalloc(s->connection->pool, s->login.len); len 605 mail/ngx_mail_auth_http_module.c ngx_memcpy(s->login.data, ctx->header_start, s->login.len); len 610 mail/ngx_mail_auth_http_module.c if (len == sizeof("Auth-Pass") - 1 len 616 mail/ngx_mail_auth_http_module.c s->passwd.len = ctx->header_end - ctx->header_start; len 619 mail/ngx_mail_auth_http_module.c s->passwd.len); len 627 mail/ngx_mail_auth_http_module.c ngx_memcpy(s->passwd.data, ctx->header_start, s->passwd.len); len 632 mail/ngx_mail_auth_http_module.c if (len == sizeof("Auth-Wait") - 1 len 648 mail/ngx_mail_auth_http_module.c if (len == sizeof("Auth-Error-Code") - 1 len 654 mail/ngx_mail_auth_http_module.c ctx->errcode.len = ctx->header_end - ctx->header_start; len 657 mail/ngx_mail_auth_http_module.c ctx->errcode.len); len 666 mail/ngx_mail_auth_http_module.c ctx->errcode.len); len 682 mail/ngx_mail_auth_http_module.c if (ctx->err.len) { len 689 mail/ngx_mail_auth_http_module.c if (ctx->errcode.len == 0) { len 693 mail/ngx_mail_auth_http_module.c ctx->err.len = ctx->errcode.len + ctx->errmsg.len len 696 mail/ngx_mail_auth_http_module.c p = ngx_pnalloc(s->connection->pool, ctx->err.len); len 706 mail/ngx_mail_auth_http_module.c p = ngx_cpymem(p, ctx->errcode.data, ctx->errcode.len); len 708 mail/ngx_mail_auth_http_module.c p = ngx_cpymem(p, ctx->errmsg.data, ctx->errmsg.len); len 747 mail/ngx_mail_auth_http_module.c if (ctx->addr.len == 0 || ctx->port.len == 0) { len 785 mail/ngx_mail_auth_http_module.c port = ngx_atoi(ctx->port.data, ctx->port.len); len 798 mail/ngx_mail_auth_http_module.c sin->sin_addr.s_addr = ngx_inet_addr(ctx->addr.data, ctx->addr.len); len 812 mail/ngx_mail_auth_http_module.c len = ctx->addr.len + 1 + ctx->port.len; len 814 mail/ngx_mail_auth_http_module.c peer->name.len = len; len 816 mail/ngx_mail_auth_http_module.c peer->name.data = ngx_pnalloc(s->connection->pool, len); len 823 mail/ngx_mail_auth_http_module.c len = ctx->addr.len; len 825 mail/ngx_mail_auth_http_module.c ngx_memcpy(peer->name.data, ctx->addr.data, len); len 827 mail/ngx_mail_auth_http_module.c peer->name.data[len++] = ':'; len 829 mail/ngx_mail_auth_http_module.c ngx_memcpy(peer->name.data + len, ctx->port.data, ctx->port.len); len 1132 mail/ngx_mail_auth_http_module.c size_t len; len 1147 mail/ngx_mail_auth_http_module.c len = sizeof("GET ") - 1 + ahcf->uri.len + sizeof(" HTTP/1.0" CRLF) - 1 len 1148 mail/ngx_mail_auth_http_module.c + sizeof("Host: ") - 1 + ahcf->host_header.len + sizeof(CRLF) - 1 len 1150 mail/ngx_mail_auth_http_module.c + ngx_mail_auth_http_method[s->auth_method].len len 1152 mail/ngx_mail_auth_http_module.c + sizeof("Auth-User: ") - 1 + login.len + sizeof(CRLF) - 1 len 1153 mail/ngx_mail_auth_http_module.c + sizeof("Auth-Pass: ") - 1 + passwd.len + sizeof(CRLF) - 1 len 1154 mail/ngx_mail_auth_http_module.c + sizeof("Auth-Salt: ") - 1 + s->salt.len len 1155 mail/ngx_mail_auth_http_module.c + sizeof("Auth-Protocol: ") - 1 + cscf->protocol->name.len len 1159 mail/ngx_mail_auth_http_module.c + sizeof("Client-IP: ") - 1 + s->connection->addr_text.len len 1161 mail/ngx_mail_auth_http_module.c + sizeof("Client-Host: ") - 1 + s->host.len + sizeof(CRLF) - 1 len 1162 mail/ngx_mail_auth_http_module.c + sizeof("Auth-SMTP-Helo: ") - 1 + s->smtp_helo.len len 1163 mail/ngx_mail_auth_http_module.c + sizeof("Auth-SMTP-From: ") - 1 + s->smtp_from.len len 1164 mail/ngx_mail_auth_http_module.c + sizeof("Auth-SMTP-To: ") - 1 + s->smtp_to.len len 1165 mail/ngx_mail_auth_http_module.c + ahcf->header.len len 1168 mail/ngx_mail_auth_http_module.c b = ngx_create_temp_buf(pool, len); len 1174 mail/ngx_mail_auth_http_module.c b->last = ngx_copy(b->last, ahcf->uri.data, ahcf->uri.len); len 1180 mail/ngx_mail_auth_http_module.c ahcf->host_header.len); len 1187 mail/ngx_mail_auth_http_module.c ngx_mail_auth_http_method[s->auth_method].len); len 1191 mail/ngx_mail_auth_http_module.c b->last = ngx_copy(b->last, login.data, login.len); len 1195 mail/ngx_mail_auth_http_module.c b->last = ngx_copy(b->last, passwd.data, passwd.len); len 1198 mail/ngx_mail_auth_http_module.c if (s->auth_method != NGX_MAIL_AUTH_PLAIN && s->salt.len) { len 1200 mail/ngx_mail_auth_http_module.c b->last = ngx_copy(b->last, s->salt.data, s->salt.len); len 1208 mail/ngx_mail_auth_http_module.c cscf->protocol->name.len); len 1216 mail/ngx_mail_auth_http_module.c s->connection->addr_text.len); len 1219 mail/ngx_mail_auth_http_module.c if (s->host.len) { len 1222 mail/ngx_mail_auth_http_module.c b->last = ngx_copy(b->last, s->host.data, s->host.len); len 1232 mail/ngx_mail_auth_http_module.c b->last = ngx_copy(b->last, s->smtp_helo.data, s->smtp_helo.len); len 1237 mail/ngx_mail_auth_http_module.c b->last = ngx_copy(b->last, s->smtp_from.data, s->smtp_from.len); len 1242 mail/ngx_mail_auth_http_module.c b->last = ngx_copy(b->last, s->smtp_to.data, s->smtp_to.len); len 1247 mail/ngx_mail_auth_http_module.c if (ahcf->header.len) { len 1248 mail/ngx_mail_auth_http_module.c b->last = ngx_copy(b->last, ahcf->header.data, ahcf->header.len); len 1258 mail/ngx_mail_auth_http_module.c l.len = b->last - b->pos; len 1275 mail/ngx_mail_auth_http_module.c n = ngx_escape_uri(NULL, text->data, text->len, NGX_ESCAPE_MAIL_AUTH); len 1282 mail/ngx_mail_auth_http_module.c escaped->len = text->len + n * 2; len 1284 mail/ngx_mail_auth_http_module.c p = ngx_pnalloc(pool, escaped->len); len 1289 mail/ngx_mail_auth_http_module.c (void) ngx_escape_uri(p, text->data, text->len, NGX_ESCAPE_MAIL_AUTH); len 1323 mail/ngx_mail_auth_http_module.c size_t len; len 1348 mail/ngx_mail_auth_http_module.c if (conf->headers && conf->header.len == 0) { len 1349 mail/ngx_mail_auth_http_module.c len = 0; len 1352 mail/ngx_mail_auth_http_module.c len += header[i].key.len + 2 + header[i].value.len + 2; len 1355 mail/ngx_mail_auth_http_module.c p = ngx_pnalloc(cf->pool, len); len 1360 mail/ngx_mail_auth_http_module.c conf->header.len = len; len 1364 mail/ngx_mail_auth_http_module.c p = ngx_cpymem(p, header[i].key.data, header[i].key.len); len 1366 mail/ngx_mail_auth_http_module.c p = ngx_cpymem(p, header[i].value.data, header[i].value.len); len 1393 mail/ngx_mail_auth_http_module.c u.url.len -= 7; len 1417 mail/ngx_mail_auth_http_module.c if (ahcf->uri.len == 0) { len 187 mail/ngx_mail_core_module.c if (conf->server_name.len == 0) { len 282 mail/ngx_mail_core_module.c size_t len, off; len 330 mail/ngx_mail_core_module.c len = 16; len 338 mail/ngx_mail_core_module.c len = 4; len 344 mail/ngx_mail_core_module.c if (ngx_memcmp(ls[i].sockaddr + off, u.sockaddr + off, len) != 0) { len 421 mail/ngx_mail_core_module.c len = ngx_sock_ntop(sa, buf, NGX_SOCKADDR_STRLEN, 1); len 425 mail/ngx_mail_core_module.c "on addr \"%*s\", ignored", len, buf); len 299 mail/ngx_mail_handler.c + cscf->server_name.len); len 304 mail/ngx_mail_handler.c s->salt.len = ngx_sprintf(s->salt.data, "<%ul.%T@%V>" CRLF, len 348 mail/ngx_mail_handler.c plain.data = ngx_pnalloc(c->pool, ngx_base64_decoded_length(arg[n].len)); len 360 mail/ngx_mail_handler.c last = p + plain.len; len 380 mail/ngx_mail_handler.c s->login.len = p++ - s->login.data; len 382 mail/ngx_mail_handler.c s->passwd.len = last - p; len 405 mail/ngx_mail_handler.c s->login.data = ngx_pnalloc(c->pool, ngx_base64_decoded_length(arg[n].len)); len 436 mail/ngx_mail_handler.c ngx_base64_decoded_length(arg[0].len)); len 458 mail/ngx_mail_handler.c char *prefix, size_t len) len 464 mail/ngx_mail_handler.c p = ngx_pnalloc(c->pool, len + ngx_base64_encoded_length(s->salt.len) + 2); len 469 mail/ngx_mail_handler.c salt.data = ngx_cpymem(p, prefix, len); len 470 mail/ngx_mail_handler.c s->salt.len -= 2; len 474 mail/ngx_mail_handler.c s->salt.len += 2; len 475 mail/ngx_mail_handler.c n = len + salt.len; len 478 mail/ngx_mail_handler.c s->out.len = n; len 496 mail/ngx_mail_handler.c s->login.data = ngx_pnalloc(c->pool, ngx_base64_decoded_length(arg[0].len)); len 508 mail/ngx_mail_handler.c last = p + s->login.len; len 512 mail/ngx_mail_handler.c s->login.len = p - s->login.data - 1; len 513 mail/ngx_mail_handler.c s->passwd.len = last - p; len 519 mail/ngx_mail_handler.c if (s->passwd.len != 32) { len 552 mail/ngx_mail_handler.c if (s->out.len == 0) { len 560 mail/ngx_mail_handler.c n = c->send(c, s->out.data, s->out.len); len 563 mail/ngx_mail_handler.c s->out.len -= n; len 637 mail/ngx_mail_handler.c l.len = s->buffer->last - s->buffer->start; len 727 mail/ngx_mail_handler.c ngx_mail_log_error(ngx_log_t *log, u_char *buf, size_t len) len 734 mail/ngx_mail_handler.c p = ngx_snprintf(buf, len, " while %s", log->action); len 735 mail/ngx_mail_handler.c len -= p - buf; len 741 mail/ngx_mail_handler.c p = ngx_snprintf(buf, len, ", client: %V", ctx->client); len 742 mail/ngx_mail_handler.c len -= p - buf; len 751 mail/ngx_mail_handler.c p = ngx_snprintf(buf, len, "%s, server: %V", len 754 mail/ngx_mail_handler.c len -= p - buf; len 757 mail/ngx_mail_handler.c if (s->login.len == 0) { len 761 mail/ngx_mail_handler.c p = ngx_snprintf(buf, len, ", login: \"%V\"", &s->login); len 762 mail/ngx_mail_handler.c len -= p - buf; len 769 mail/ngx_mail_handler.c p = ngx_snprintf(buf, len, ", upstream: %V", s->proxy->upstream.name); len 122 mail/ngx_mail_imap_handler.c if (s->out.len) { len 137 mail/ngx_mail_imap_handler.c s->text.len = 0; len 151 mail/ngx_mail_imap_handler.c end = dst + arg[i].len; len 160 mail/ngx_mail_imap_handler.c arg[i].len = dst - arg[i].data; len 249 mail/ngx_mail_imap_handler.c if (s->tag.len == 0) { len 253 mail/ngx_mail_imap_handler.c if (s->tagged_line.len < s->tag.len + s->text.len + s->out.len) { len 254 mail/ngx_mail_imap_handler.c s->tagged_line.len = s->tag.len + s->text.len + s->out.len; len 255 mail/ngx_mail_imap_handler.c s->tagged_line.data = ngx_pnalloc(c->pool, s->tagged_line.len); len 264 mail/ngx_mail_imap_handler.c if (s->text.len) { len 265 mail/ngx_mail_imap_handler.c p = ngx_cpymem(p, s->text.data, s->text.len); len 268 mail/ngx_mail_imap_handler.c p = ngx_cpymem(p, s->tag.data, s->tag.len); len 269 mail/ngx_mail_imap_handler.c ngx_memcpy(p, s->out.data, s->out.len); len 271 mail/ngx_mail_imap_handler.c s->out.len = s->text.len + s->tag.len + s->out.len; len 280 mail/ngx_mail_imap_handler.c s->arg_start = s->buffer->start + s->tag.len; len 287 mail/ngx_mail_imap_handler.c s->tag.len = 0; len 308 mail/ngx_mail_imap_handler.c if (s->args.nelts != 2 || arg[0].len == 0) { len 312 mail/ngx_mail_imap_handler.c s->login.len = arg[0].len; len 313 mail/ngx_mail_imap_handler.c s->login.data = ngx_pnalloc(c->pool, s->login.len); len 318 mail/ngx_mail_imap_handler.c ngx_memcpy(s->login.data, arg[0].data, s->login.len); len 320 mail/ngx_mail_imap_handler.c s->passwd.len = arg[1].len; len 321 mail/ngx_mail_imap_handler.c s->passwd.data = ngx_pnalloc(c->pool, s->passwd.len); len 326 mail/ngx_mail_imap_handler.c ngx_memcpy(s->passwd.data, arg[1].data, s->passwd.len); len 161 mail/ngx_mail_imap_module.c for (d = ngx_mail_imap_default_capabilities; d->len; d++) { len 175 mail/ngx_mail_imap_module.c size += 1 + c[i].len; len 183 mail/ngx_mail_imap_module.c size += 1 + ngx_mail_imap_auth_methods_names[i].len; len 192 mail/ngx_mail_imap_module.c conf->capability.len = size; len 199 mail/ngx_mail_imap_module.c p = ngx_cpymem(p, c[i].data, c[i].len); len 211 mail/ngx_mail_imap_module.c ngx_mail_imap_auth_methods_names[i].len); len 225 mail/ngx_mail_imap_module.c conf->starttls_capability.len = size; len 229 mail/ngx_mail_imap_module.c conf->capability.len - (sizeof(CRLF) - 1)); len 242 mail/ngx_mail_imap_module.c conf->starttls_only_capability.len = size; len 148 mail/ngx_mail_parse.c arg->len = p - s->arg_start; len 193 mail/ngx_mail_parse.c arg->len = s->arg_end - s->arg_start; len 242 mail/ngx_mail_parse.c s->tag.len = p - s->buffer->start + 1; len 457 mail/ngx_mail_parse.c arg->len = p - s->arg_start; len 543 mail/ngx_mail_parse.c arg->len = p + 1 - s->arg_start; len 593 mail/ngx_mail_parse.c arg->len = s->arg_end - s->arg_start; len 767 mail/ngx_mail_parse.c arg->len = p - s->arg_start; len 812 mail/ngx_mail_parse.c arg->len = s->arg_end - s->arg_start; len 843 mail/ngx_mail_parse.c if (arg[0].len == 5) { len 872 mail/ngx_mail_parse.c if (arg[0].len == 8) { len 49 mail/ngx_mail_pop3_handler.c s->out.data = ngx_pnalloc(c->pool, sizeof(pop3_greeting) + s->salt.len); len 57 mail/ngx_mail_pop3_handler.c p = ngx_cpymem(p, s->salt.data, s->salt.len); len 59 mail/ngx_mail_pop3_handler.c s->out.len = p - s->out.data; len 137 mail/ngx_mail_pop3_handler.c if (s->out.len) { len 293 mail/ngx_mail_pop3_handler.c s->login.len = arg[0].len; len 294 mail/ngx_mail_pop3_handler.c s->login.data = ngx_pnalloc(c->pool, s->login.len); len 299 mail/ngx_mail_pop3_handler.c ngx_memcpy(s->login.data, arg[0].data, s->login.len); len 320 mail/ngx_mail_pop3_handler.c s->passwd.len = arg[0].len; len 321 mail/ngx_mail_pop3_handler.c s->passwd.data = ngx_pnalloc(c->pool, s->passwd.len); len 326 mail/ngx_mail_pop3_handler.c ngx_memcpy(s->passwd.data, arg[0].data, s->passwd.len); len 413 mail/ngx_mail_pop3_handler.c s->login.len = arg[0].len; len 414 mail/ngx_mail_pop3_handler.c s->login.data = ngx_pnalloc(c->pool, s->login.len); len 419 mail/ngx_mail_pop3_handler.c ngx_memcpy(s->login.data, arg[0].data, s->login.len); len 421 mail/ngx_mail_pop3_handler.c s->passwd.len = arg[1].len; len 422 mail/ngx_mail_pop3_handler.c s->passwd.data = ngx_pnalloc(c->pool, s->passwd.len); len 427 mail/ngx_mail_pop3_handler.c ngx_memcpy(s->passwd.data, arg[1].data, s->passwd.len); len 153 mail/ngx_mail_pop3_module.c for (d = ngx_mail_pop3_default_capabilities; d->len; d++) { len 170 mail/ngx_mail_pop3_module.c size += c[i].len + sizeof(CRLF) - 1; len 176 mail/ngx_mail_pop3_module.c stls_only_size += c[i].len + sizeof(CRLF) - 1; len 191 mail/ngx_mail_pop3_module.c conf->capability.len = size; len 198 mail/ngx_mail_pop3_module.c p = ngx_cpymem(p, c[i].data, c[i].len); len 221 mail/ngx_mail_pop3_module.c conf->starttls_capability.len = size; len 225 mail/ngx_mail_pop3_module.c conf->capability.len - (sizeof("." CRLF) - 1)); len 244 mail/ngx_mail_pop3_module.c conf->starttls_only_capability.len = stls_only_size; len 255 mail/ngx_mail_pop3_module.c p = ngx_cpymem(p, c[i].data, c[i].len); len 174 mail/ngx_mail_proxy_module.c s->out.len = 0; len 255 mail/ngx_mail_proxy_module.c line.len = sizeof("USER ") - 1 + s->login.len + 2; len 256 mail/ngx_mail_proxy_module.c line.data = ngx_pnalloc(c->pool, line.len); len 263 mail/ngx_mail_proxy_module.c p = ngx_cpymem(p, s->login.data, s->login.len); len 274 mail/ngx_mail_proxy_module.c line.len = sizeof("PASS ") - 1 + s->passwd.len + 2; len 275 mail/ngx_mail_proxy_module.c line.data = ngx_pnalloc(c->pool, line.len); len 282 mail/ngx_mail_proxy_module.c p = ngx_cpymem(p, s->passwd.data, s->passwd.len); len 312 mail/ngx_mail_proxy_module.c if (c->send(c, line.data, line.len) < (ssize_t) line.len) { len 369 mail/ngx_mail_proxy_module.c line.len = s->tag.len + sizeof("LOGIN ") - 1 len 371 mail/ngx_mail_proxy_module.c line.data = ngx_pnalloc(c->pool, line.len); len 377 mail/ngx_mail_proxy_module.c line.len = ngx_sprintf(line.data, "%VLOGIN {%uz}" CRLF, len 378 mail/ngx_mail_proxy_module.c &s->tag, s->login.len) len 389 mail/ngx_mail_proxy_module.c line.len = s->login.len + 1 + 1 + NGX_SIZE_T_LEN + 1 + 2; len 390 mail/ngx_mail_proxy_module.c line.data = ngx_pnalloc(c->pool, line.len); len 396 mail/ngx_mail_proxy_module.c line.len = ngx_sprintf(line.data, "%V {%uz}" CRLF, len 397 mail/ngx_mail_proxy_module.c &s->login, s->passwd.len) len 409 mail/ngx_mail_proxy_module.c line.len = s->passwd.len + 2; len 410 mail/ngx_mail_proxy_module.c line.data = ngx_pnalloc(c->pool, line.len); len 416 mail/ngx_mail_proxy_module.c p = ngx_cpymem(line.data, s->passwd.data, s->passwd.len); len 446 mail/ngx_mail_proxy_module.c if (c->send(c, line.data, line.len) < (ssize_t) line.len) { len 506 mail/ngx_mail_proxy_module.c line.len = sizeof("HELO ") - 1 + cscf->server_name.len + 2; len 507 mail/ngx_mail_proxy_module.c line.data = ngx_pnalloc(c->pool, line.len); len 519 mail/ngx_mail_proxy_module.c p = ngx_cpymem(p, cscf->server_name.data, cscf->server_name.len); len 540 mail/ngx_mail_proxy_module.c line.len = sizeof("XCLIENT ADDR= LOGIN= NAME=" len 542 mail/ngx_mail_proxy_module.c + s->connection->addr_text.len + s->login.len + s->host.len; len 544 mail/ngx_mail_proxy_module.c line.data = ngx_pnalloc(c->pool, line.len); len 550 mail/ngx_mail_proxy_module.c line.len = ngx_sprintf(line.data, len 553 mail/ngx_mail_proxy_module.c (s->login.len ? " LOGIN=" : ""), &s->login, &s->host) len 556 mail/ngx_mail_proxy_module.c if (s->smtp_helo.len) { len 574 mail/ngx_mail_proxy_module.c line.len = sizeof("HELO " CRLF) - 1 + s->smtp_helo.len; len 576 mail/ngx_mail_proxy_module.c line.data = ngx_pnalloc(c->pool, line.len); len 582 mail/ngx_mail_proxy_module.c line.len = ngx_sprintf(line.data, len 599 mail/ngx_mail_proxy_module.c line.len = s->smtp_from.len + sizeof(CRLF) - 1; len 600 mail/ngx_mail_proxy_module.c line.data = ngx_pnalloc(c->pool, line.len); len 606 mail/ngx_mail_proxy_module.c p = ngx_cpymem(line.data, s->smtp_from.data, s->smtp_from.len); len 619 mail/ngx_mail_proxy_module.c line.len = s->smtp_to.len + sizeof(CRLF) - 1; len 620 mail/ngx_mail_proxy_module.c line.data = ngx_pnalloc(c->pool, line.len); len 626 mail/ngx_mail_proxy_module.c p = ngx_cpymem(line.data, s->smtp_to.data, s->smtp_to.len); len 670 mail/ngx_mail_proxy_module.c if (c->send(c, line.data, line.len) < (ssize_t) line.len) { len 769 mail/ngx_mail_proxy_module.c if (ngx_strncmp(p, s->tag.data, s->tag.len) == 0) { len 770 mail/ngx_mail_proxy_module.c p += s->tag.len; len 822 mail/ngx_mail_proxy_module.c s->out.len = b->last - p - 2; len 828 mail/ngx_mail_proxy_module.c s->out.len = b->last - b->pos; len 1014 mail/ngx_mail_proxy_module.c if (s->out.len == 0) { len 136 mail/ngx_mail_smtp_handler.c s->host.len = ctx->name.len; len 402 mail/ngx_mail_smtp_handler.c if (s->out.len) { len 532 mail/ngx_mail_smtp_handler.c s->smtp_helo.len = arg[0].len; len 534 mail/ngx_mail_smtp_handler.c s->smtp_helo.data = ngx_pnalloc(c->pool, arg[0].len); len 539 mail/ngx_mail_smtp_handler.c ngx_memcpy(s->smtp_helo.data, arg[0].data, arg[0].len); len 668 mail/ngx_mail_smtp_handler.c if (s->smtp_from.len) { len 673 mail/ngx_mail_smtp_handler.c l.len = s->buffer->last - s->buffer->start; len 676 mail/ngx_mail_smtp_handler.c for (i = 0; i < l.len; i++) { len 694 mail/ngx_mail_smtp_handler.c l.len = i; len 696 mail/ngx_mail_smtp_handler.c s->smtp_from.len = l.len; len 698 mail/ngx_mail_smtp_handler.c s->smtp_from.data = ngx_pnalloc(c->pool, l.len); len 703 mail/ngx_mail_smtp_handler.c ngx_memcpy(s->smtp_from.data, l.data, l.len); len 721 mail/ngx_mail_smtp_handler.c if (s->smtp_from.len == 0) { len 726 mail/ngx_mail_smtp_handler.c l.len = s->buffer->last - s->buffer->start; len 729 mail/ngx_mail_smtp_handler.c for (i = 0; i < l.len; i++) { len 747 mail/ngx_mail_smtp_handler.c l.len = i; len 749 mail/ngx_mail_smtp_handler.c s->smtp_to.len = l.len; len 751 mail/ngx_mail_smtp_handler.c s->smtp_to.data = ngx_pnalloc(c->pool, l.len); len 756 mail/ngx_mail_smtp_handler.c ngx_memcpy(s->smtp_to.data, l.data, l.len); len 855 mail/ngx_mail_smtp_handler.c cmd.len = s->buffer->last - s->buffer->start; len 858 mail/ngx_mail_smtp_handler.c for (i = 0; i < cmd.len; i++) { len 868 mail/ngx_mail_smtp_handler.c cmd.len = i; len 163 mail/ngx_mail_smtp_module.c size = sizeof("220 ESMTP ready" CRLF) - 1 + cscf->server_name.len; len 170 mail/ngx_mail_smtp_module.c conf->greeting.len = size; len 174 mail/ngx_mail_smtp_module.c p = ngx_cpymem(p, cscf->server_name.data, cscf->server_name.len); len 178 mail/ngx_mail_smtp_module.c size = sizeof("250 " CRLF) - 1 + cscf->server_name.len; len 185 mail/ngx_mail_smtp_module.c conf->server_name.len = size; len 189 mail/ngx_mail_smtp_module.c p = ngx_cpymem(p, cscf->server_name.data, cscf->server_name.len); len 197 mail/ngx_mail_smtp_module.c size = sizeof("250-") - 1 + cscf->server_name.len + sizeof(CRLF) - 1; len 201 mail/ngx_mail_smtp_module.c size += sizeof("250 ") - 1 + c[i].len + sizeof(CRLF) - 1; len 211 mail/ngx_mail_smtp_module.c size += 1 + ngx_mail_smtp_auth_methods_names[i].len; len 225 mail/ngx_mail_smtp_module.c conf->capability.len = size; len 231 mail/ngx_mail_smtp_module.c p = ngx_cpymem(p, cscf->server_name.data, cscf->server_name.len); len 237 mail/ngx_mail_smtp_module.c p = ngx_cpymem(p, c[i].data, c[i].len); len 256 mail/ngx_mail_smtp_module.c ngx_mail_smtp_auth_methods_names[i].len); len 273 mail/ngx_mail_smtp_module.c conf->starttls_capability.len = size; len 276 mail/ngx_mail_smtp_module.c p = ngx_cpymem(p, conf->capability.data, conf->capability.len); len 293 mail/ngx_mail_smtp_module.c conf->starttls_only_capability.len = size; len 224 mail/ngx_mail_ssl_module.c if (conf->certificate.len == 0) { len 232 mail/ngx_mail_ssl_module.c if (conf->certificate_key.len == 0) { len 242 mail/ngx_mail_ssl_module.c if (conf->certificate.len == 0) { len 246 mail/ngx_mail_ssl_module.c if (conf->certificate_key.len == 0) { len 274 mail/ngx_mail_ssl_module.c if (conf->ciphers.len) { len 373 mail/ngx_mail_ssl_module.c size_t len; len 397 mail/ngx_mail_ssl_module.c if (value[i].len > sizeof("builtin:") - 1 len 402 mail/ngx_mail_ssl_module.c value[i].len - (sizeof("builtin:") - 1)); len 413 mail/ngx_mail_ssl_module.c if (value[i].len > sizeof("shared:") - 1 len 417 mail/ngx_mail_ssl_module.c len = 0; len 419 mail/ngx_mail_ssl_module.c for (j = sizeof("shared:") - 1; j < value[i].len; j++) { len 424 mail/ngx_mail_ssl_module.c len++; len 427 mail/ngx_mail_ssl_module.c if (len == 0) { len 431 mail/ngx_mail_ssl_module.c name.len = len; len 434 mail/ngx_mail_ssl_module.c size.len = value[i].len - j - 1; len 435 mail/ngx_mail_ssl_module.c size.data = name.data + len + 1; len 94 misc/ngx_google_perftools_module.c if (gptcf->profiles.len == 0) { len 98 misc/ngx_google_perftools_module.c profile = ngx_alloc(gptcf->profiles.len + NGX_INT_T_LEN + 2, cycle->log); len 17 os/unix/ngx_aio_write_chain.c size_t len; len 46 os/unix/ngx_aio_write_chain.c len = 0; len 61 os/unix/ngx_aio_write_chain.c len += size; len 67 os/unix/ngx_aio_write_chain.c n = ngx_aio_write(c, buf, len); len 38 os/unix/ngx_errno.c size = ngx_min(size, msg->len); len 49 os/unix/ngx_errno.c size_t len; len 57 os/unix/ngx_errno.c len = NGX_SYS_NERR * sizeof(ngx_str_t); len 59 os/unix/ngx_errno.c ngx_sys_errlist = malloc(len); len 66 os/unix/ngx_errno.c len = ngx_strlen(msg); len 68 os/unix/ngx_errno.c p = malloc(len); len 73 os/unix/ngx_errno.c ngx_memcpy(p, msg, len); len 74 os/unix/ngx_errno.c ngx_sys_errlist[err].len = len; len 83 os/unix/ngx_errno.c ngx_log_stderr(0, "malloc(%uz) failed (%d: %s)", len, err, strerror(err)); len 382 os/unix/ngx_files.c name->len = (size_t) ngx_strlen(gl->pglob.gl_pathv[gl->n]); len 185 os/unix/ngx_freebsd_rfork_thread.c size_t len; len 202 os/unix/ngx_freebsd_rfork_thread.c len = sizeof(ngx_freebsd_kern_usrstack); len 203 os/unix/ngx_freebsd_rfork_thread.c if (sysctlbyname("kern.usrstack", &ngx_freebsd_kern_usrstack, &len, len 51 os/unix/ngx_linux_init.c size_t len; len 56 os/unix/ngx_linux_init.c len = sizeof(ngx_linux_rtsig_max); len 58 os/unix/ngx_linux_init.c if (sysctl(name, 2, &ngx_linux_rtsig_max, &len, NULL, 0) == -1) { len 935 os/unix/ngx_process_cycle.c if (ccf->working_directory.len) { len 29 os/unix/ngx_user.c size_t len; len 44 os/unix/ngx_user.c len = ngx_strlen(value) + 1; len 46 os/unix/ngx_user.c *encrypted = ngx_pnalloc(pool, len); len 48 os/unix/ngx_user.c ngx_memcpy(*encrypted, value, len); len 64 os/unix/ngx_user.c size_t len; len 82 os/unix/ngx_user.c len = ngx_strlen(value) + 1; len 84 os/unix/ngx_user.c *encrypted = ngx_pnalloc(pool, len); len 86 os/unix/ngx_user.c ngx_memcpy(*encrypted, value, len);