sc 485 event/ngx_event_openssl.c ngx_ssl_connection_t *sc; sc 487 event/ngx_event_openssl.c sc = ngx_pcalloc(c->pool, sizeof(ngx_ssl_connection_t)); sc 488 event/ngx_event_openssl.c if (sc == NULL) { sc 492 event/ngx_event_openssl.c sc->buffer = ((flags & NGX_SSL_BUFFER) != 0); sc 494 event/ngx_event_openssl.c sc->connection = SSL_new(ssl->ctx); sc 496 event/ngx_event_openssl.c if (sc->connection == NULL) { sc 501 event/ngx_event_openssl.c if (SSL_set_fd(sc->connection, c->fd) == 0) { sc 507 event/ngx_event_openssl.c SSL_set_connect_state(sc->connection); sc 510 event/ngx_event_openssl.c SSL_set_accept_state(sc->connection); sc 513 event/ngx_event_openssl.c if (SSL_set_ex_data(sc->connection, ngx_ssl_connection_index, c) == 0) { sc 518 event/ngx_event_openssl.c c->ssl = sc; sc 2025 http/modules/ngx_http_fastcgi_module.c ngx_http_script_compile_t sc; sc 2411 http/modules/ngx_http_fastcgi_module.c ngx_memzero(&sc, sizeof(ngx_http_script_compile_t)); sc 2413 http/modules/ngx_http_fastcgi_module.c sc.cf = cf; sc 2414 http/modules/ngx_http_fastcgi_module.c sc.source = &src[i].value; sc 2415 http/modules/ngx_http_fastcgi_module.c sc.flushes = &conf->flushes; sc 2416 http/modules/ngx_http_fastcgi_module.c sc.lengths = &conf->params_len; sc 2417 http/modules/ngx_http_fastcgi_module.c sc.values = &conf->params; sc 2419 http/modules/ngx_http_fastcgi_module.c if (ngx_http_script_compile(&sc) != NGX_OK) { sc 2613 http/modules/ngx_http_fastcgi_module.c ngx_http_script_compile_t sc; sc 2635 http/modules/ngx_http_fastcgi_module.c ngx_memzero(&sc, sizeof(ngx_http_script_compile_t)); sc 2637 http/modules/ngx_http_fastcgi_module.c sc.cf = cf; sc 2638 http/modules/ngx_http_fastcgi_module.c sc.source = url; sc 2639 http/modules/ngx_http_fastcgi_module.c sc.lengths = &flcf->fastcgi_lengths; sc 2640 http/modules/ngx_http_fastcgi_module.c sc.values = &flcf->fastcgi_values; sc 2641 http/modules/ngx_http_fastcgi_module.c sc.variables = n; sc 2642 http/modules/ngx_http_fastcgi_module.c sc.complete_lengths = 1; sc 2643 http/modules/ngx_http_fastcgi_module.c sc.complete_values = 1; sc 2645 http/modules/ngx_http_fastcgi_module.c if (ngx_http_script_compile(&sc) != NGX_OK) { sc 2718 http/modules/ngx_http_fastcgi_module.c ngx_http_script_compile_t sc; sc 2751 http/modules/ngx_http_fastcgi_module.c ngx_memzero(&sc, sizeof(ngx_http_script_compile_t)); sc 2753 http/modules/ngx_http_fastcgi_module.c sc.cf = cf; sc 2754 http/modules/ngx_http_fastcgi_module.c sc.source = &value[1]; sc 2755 http/modules/ngx_http_fastcgi_module.c sc.lengths = &flcf->upstream.store_lengths; sc 2756 http/modules/ngx_http_fastcgi_module.c sc.values = &flcf->upstream.store_values; sc 2757 http/modules/ngx_http_fastcgi_module.c sc.variables = ngx_http_script_variables_count(&value[1]); sc 2758 http/modules/ngx_http_fastcgi_module.c sc.complete_lengths = 1; sc 2759 http/modules/ngx_http_fastcgi_module.c sc.complete_values = 1; sc 2761 http/modules/ngx_http_fastcgi_module.c if (ngx_http_script_compile(&sc) != NGX_OK) { sc 446 http/modules/ngx_http_index_module.c ngx_http_script_compile_t sc; sc 499 http/modules/ngx_http_index_module.c ngx_memzero(&sc, sizeof(ngx_http_script_compile_t)); sc 501 http/modules/ngx_http_index_module.c sc.cf = cf; sc 502 http/modules/ngx_http_index_module.c sc.source = &value[i]; sc 503 http/modules/ngx_http_index_module.c sc.lengths = &index->lengths; sc 504 http/modules/ngx_http_index_module.c sc.values = &index->values; sc 505 http/modules/ngx_http_index_module.c sc.variables = n; sc 506 http/modules/ngx_http_index_module.c sc.complete_lengths = 1; sc 507 http/modules/ngx_http_index_module.c sc.complete_values = 1; sc 509 http/modules/ngx_http_index_module.c if (ngx_http_script_compile(&sc) != NGX_OK) { sc 862 http/modules/ngx_http_log_module.c ngx_http_script_compile_t sc; sc 911 http/modules/ngx_http_log_module.c ngx_memzero(&sc, sizeof(ngx_http_script_compile_t)); sc 913 http/modules/ngx_http_log_module.c sc.cf = cf; sc 914 http/modules/ngx_http_log_module.c sc.source = &value[1]; sc 915 http/modules/ngx_http_log_module.c sc.lengths = &log->script->lengths; sc 916 http/modules/ngx_http_log_module.c sc.values = &log->script->values; sc 917 http/modules/ngx_http_log_module.c sc.variables = n; sc 918 http/modules/ngx_http_log_module.c sc.complete_lengths = 1; sc 919 http/modules/ngx_http_log_module.c sc.complete_values = 1; sc 921 http/modules/ngx_http_log_module.c if (ngx_http_script_compile(&sc) != NGX_OK) { sc 1726 http/modules/ngx_http_proxy_module.c ngx_http_script_compile_t sc; sc 2054 http/modules/ngx_http_proxy_module.c ngx_memzero(&sc, sizeof(ngx_http_script_compile_t)); sc 2056 http/modules/ngx_http_proxy_module.c sc.cf = cf; sc 2057 http/modules/ngx_http_proxy_module.c sc.source = &conf->body_source; sc 2058 http/modules/ngx_http_proxy_module.c sc.flushes = &conf->flushes; sc 2059 http/modules/ngx_http_proxy_module.c sc.lengths = &conf->body_set_len; sc 2060 http/modules/ngx_http_proxy_module.c sc.values = &conf->body_set; sc 2061 http/modules/ngx_http_proxy_module.c sc.complete_lengths = 1; sc 2062 http/modules/ngx_http_proxy_module.c sc.complete_values = 1; sc 2064 http/modules/ngx_http_proxy_module.c if (ngx_http_script_compile(&sc) != NGX_OK) { sc 2105 http/modules/ngx_http_proxy_module.c ngx_http_script_compile_t sc; sc 2266 http/modules/ngx_http_proxy_module.c ngx_memzero(&sc, sizeof(ngx_http_script_compile_t)); sc 2268 http/modules/ngx_http_proxy_module.c sc.cf = cf; sc 2269 http/modules/ngx_http_proxy_module.c sc.source = &src[i].value; sc 2270 http/modules/ngx_http_proxy_module.c sc.flushes = &conf->flushes; sc 2271 http/modules/ngx_http_proxy_module.c sc.lengths = &conf->headers_set_len; sc 2272 http/modules/ngx_http_proxy_module.c sc.values = &conf->headers_set; sc 2274 http/modules/ngx_http_proxy_module.c if (ngx_http_script_compile(&sc) != NGX_OK) { sc 2352 http/modules/ngx_http_proxy_module.c ngx_http_script_compile_t sc; sc 2374 http/modules/ngx_http_proxy_module.c ngx_memzero(&sc, sizeof(ngx_http_script_compile_t)); sc 2376 http/modules/ngx_http_proxy_module.c sc.cf = cf; sc 2377 http/modules/ngx_http_proxy_module.c sc.source = url; sc 2378 http/modules/ngx_http_proxy_module.c sc.lengths = &plcf->proxy_lengths; sc 2379 http/modules/ngx_http_proxy_module.c sc.values = &plcf->proxy_values; sc 2380 http/modules/ngx_http_proxy_module.c sc.variables = n; sc 2381 http/modules/ngx_http_proxy_module.c sc.complete_lengths = 1; sc 2382 http/modules/ngx_http_proxy_module.c sc.complete_values = 1; sc 2384 http/modules/ngx_http_proxy_module.c if (ngx_http_script_compile(&sc) != NGX_OK) { sc 2475 http/modules/ngx_http_proxy_module.c ngx_http_script_compile_t sc; sc 2567 http/modules/ngx_http_proxy_module.c ngx_memzero(&sc, sizeof(ngx_http_script_compile_t)); sc 2572 http/modules/ngx_http_proxy_module.c sc.cf = cf; sc 2573 http/modules/ngx_http_proxy_module.c sc.source = &value[2]; sc 2574 http/modules/ngx_http_proxy_module.c sc.lengths = &vars_lengths; sc 2575 http/modules/ngx_http_proxy_module.c sc.values = &vars_values; sc 2576 http/modules/ngx_http_proxy_module.c sc.complete_lengths = 1; sc 2577 http/modules/ngx_http_proxy_module.c sc.complete_values = 1; sc 2579 http/modules/ngx_http_proxy_module.c if (ngx_http_script_compile(&sc) != NGX_OK) { sc 2598 http/modules/ngx_http_proxy_module.c ngx_http_script_compile_t sc; sc 2631 http/modules/ngx_http_proxy_module.c ngx_memzero(&sc, sizeof(ngx_http_script_compile_t)); sc 2633 http/modules/ngx_http_proxy_module.c sc.cf = cf; sc 2634 http/modules/ngx_http_proxy_module.c sc.source = &value[1]; sc 2635 http/modules/ngx_http_proxy_module.c sc.lengths = &plcf->upstream.store_lengths; sc 2636 http/modules/ngx_http_proxy_module.c sc.values = &plcf->upstream.store_values; sc 2637 http/modules/ngx_http_proxy_module.c sc.variables = ngx_http_script_variables_count(&value[1]); sc 2638 http/modules/ngx_http_proxy_module.c sc.complete_lengths = 1; sc 2639 http/modules/ngx_http_proxy_module.c sc.complete_values = 1; sc 2641 http/modules/ngx_http_proxy_module.c if (ngx_http_script_compile(&sc) != NGX_OK) { sc 301 http/modules/ngx_http_rewrite_module.c ngx_http_script_compile_t sc; sc 378 http/modules/ngx_http_rewrite_module.c ngx_memzero(&sc, sizeof(ngx_http_script_compile_t)); sc 380 http/modules/ngx_http_rewrite_module.c sc.cf = cf; sc 381 http/modules/ngx_http_rewrite_module.c sc.source = &value[2]; sc 382 http/modules/ngx_http_rewrite_module.c sc.lengths = ®ex->lengths; sc 383 http/modules/ngx_http_rewrite_module.c sc.values = &lcf->codes; sc 384 http/modules/ngx_http_rewrite_module.c sc.variables = ngx_http_script_variables_count(&value[2]); sc 385 http/modules/ngx_http_rewrite_module.c sc.main = regex; sc 386 http/modules/ngx_http_rewrite_module.c sc.complete_lengths = 1; sc 387 http/modules/ngx_http_rewrite_module.c sc.compile_args = !regex->redirect; sc 389 http/modules/ngx_http_rewrite_module.c if (ngx_http_script_compile(&sc) != NGX_OK) { sc 393 http/modules/ngx_http_rewrite_module.c regex = sc.main; sc 395 http/modules/ngx_http_rewrite_module.c regex->size = sc.size; sc 396 http/modules/ngx_http_rewrite_module.c regex->args = sc.args; sc 398 http/modules/ngx_http_rewrite_module.c if (sc.variables == 0 && !sc.dup_capture) { sc 956 http/modules/ngx_http_rewrite_module.c ngx_http_script_compile_t sc; sc 992 http/modules/ngx_http_rewrite_module.c ngx_memzero(&sc, sizeof(ngx_http_script_compile_t)); sc 994 http/modules/ngx_http_rewrite_module.c sc.cf = cf; sc 995 http/modules/ngx_http_rewrite_module.c sc.source = value; sc 996 http/modules/ngx_http_rewrite_module.c sc.lengths = &complex->lengths; sc 997 http/modules/ngx_http_rewrite_module.c sc.values = &lcf->codes; sc 998 http/modules/ngx_http_rewrite_module.c sc.variables = n; sc 999 http/modules/ngx_http_rewrite_module.c sc.complete_lengths = 1; sc 1001 http/modules/ngx_http_rewrite_module.c if (ngx_http_script_compile(&sc) != NGX_OK) { sc 1052 http/modules/ngx_http_scgi_module.c ngx_http_script_compile_t sc; sc 1418 http/modules/ngx_http_scgi_module.c ngx_memzero(&sc, sizeof(ngx_http_script_compile_t)); sc 1420 http/modules/ngx_http_scgi_module.c sc.cf = cf; sc 1421 http/modules/ngx_http_scgi_module.c sc.source = &src[i].value; sc 1422 http/modules/ngx_http_scgi_module.c sc.flushes = &conf->flushes; sc 1423 http/modules/ngx_http_scgi_module.c sc.lengths = &conf->params_len; sc 1424 http/modules/ngx_http_scgi_module.c sc.values = &conf->params; sc 1426 http/modules/ngx_http_scgi_module.c if (ngx_http_script_compile(&sc) != NGX_OK) { sc 1488 http/modules/ngx_http_scgi_module.c ngx_http_script_compile_t sc; sc 1505 http/modules/ngx_http_scgi_module.c ngx_memzero(&sc, sizeof(ngx_http_script_compile_t)); sc 1507 http/modules/ngx_http_scgi_module.c sc.cf = cf; sc 1508 http/modules/ngx_http_scgi_module.c sc.source = url; sc 1509 http/modules/ngx_http_scgi_module.c sc.lengths = &scf->scgi_lengths; sc 1510 http/modules/ngx_http_scgi_module.c sc.values = &scf->scgi_values; sc 1511 http/modules/ngx_http_scgi_module.c sc.variables = n; sc 1512 http/modules/ngx_http_scgi_module.c sc.complete_lengths = 1; sc 1513 http/modules/ngx_http_scgi_module.c sc.complete_values = 1; sc 1515 http/modules/ngx_http_scgi_module.c if (ngx_http_script_compile(&sc) != NGX_OK) { sc 1546 http/modules/ngx_http_scgi_module.c ngx_http_script_compile_t sc; sc 1577 http/modules/ngx_http_scgi_module.c ngx_memzero(&sc, sizeof(ngx_http_script_compile_t)); sc 1579 http/modules/ngx_http_scgi_module.c sc.cf = cf; sc 1580 http/modules/ngx_http_scgi_module.c sc.source = &value[1]; sc 1581 http/modules/ngx_http_scgi_module.c sc.lengths = &scf->upstream.store_lengths; sc 1582 http/modules/ngx_http_scgi_module.c sc.values = &scf->upstream.store_values; sc 1583 http/modules/ngx_http_scgi_module.c sc.variables = ngx_http_script_variables_count(&value[1]);; sc 1584 http/modules/ngx_http_scgi_module.c sc.complete_lengths = 1; sc 1585 http/modules/ngx_http_scgi_module.c sc.complete_values = 1; sc 1587 http/modules/ngx_http_scgi_module.c if (ngx_http_script_compile(&sc) != NGX_OK) { sc 1105 http/modules/ngx_http_uwsgi_module.c ngx_http_script_compile_t sc; sc 1476 http/modules/ngx_http_uwsgi_module.c ngx_memzero(&sc, sizeof(ngx_http_script_compile_t)); sc 1478 http/modules/ngx_http_uwsgi_module.c sc.cf = cf; sc 1479 http/modules/ngx_http_uwsgi_module.c sc.source = &src[i].value; sc 1480 http/modules/ngx_http_uwsgi_module.c sc.flushes = &conf->flushes; sc 1481 http/modules/ngx_http_uwsgi_module.c sc.lengths = &conf->params_len; sc 1482 http/modules/ngx_http_uwsgi_module.c sc.values = &conf->params; sc 1484 http/modules/ngx_http_uwsgi_module.c if (ngx_http_script_compile(&sc) != NGX_OK) { sc 1539 http/modules/ngx_http_uwsgi_module.c ngx_http_script_compile_t sc; sc 1556 http/modules/ngx_http_uwsgi_module.c ngx_memzero(&sc, sizeof(ngx_http_script_compile_t)); sc 1558 http/modules/ngx_http_uwsgi_module.c sc.cf = cf; sc 1559 http/modules/ngx_http_uwsgi_module.c sc.source = url; sc 1560 http/modules/ngx_http_uwsgi_module.c sc.lengths = &uwcf->uwsgi_lengths; sc 1561 http/modules/ngx_http_uwsgi_module.c sc.values = &uwcf->uwsgi_values; sc 1562 http/modules/ngx_http_uwsgi_module.c sc.variables = n; sc 1563 http/modules/ngx_http_uwsgi_module.c sc.complete_lengths = 1; sc 1564 http/modules/ngx_http_uwsgi_module.c sc.complete_values = 1; sc 1566 http/modules/ngx_http_uwsgi_module.c if (ngx_http_script_compile(&sc) != NGX_OK) { sc 1597 http/modules/ngx_http_uwsgi_module.c ngx_http_script_compile_t sc; sc 1629 http/modules/ngx_http_uwsgi_module.c ngx_memzero(&sc, sizeof(ngx_http_script_compile_t)); sc 1631 http/modules/ngx_http_uwsgi_module.c sc.cf = cf; sc 1632 http/modules/ngx_http_uwsgi_module.c sc.source = &value[1]; sc 1633 http/modules/ngx_http_uwsgi_module.c sc.lengths = &uwcf->upstream.store_lengths; sc 1634 http/modules/ngx_http_uwsgi_module.c sc.values = &uwcf->upstream.store_values; sc 1635 http/modules/ngx_http_uwsgi_module.c sc.variables = ngx_http_script_variables_count(&value[1]);; sc 1636 http/modules/ngx_http_uwsgi_module.c sc.complete_lengths = 1; sc 1637 http/modules/ngx_http_uwsgi_module.c sc.complete_values = 1; sc 1639 http/modules/ngx_http_uwsgi_module.c if (ngx_http_script_compile(&sc) != NGX_OK) { sc 3759 http/ngx_http_core_module.c ngx_http_script_compile_t sc; sc 3826 http/ngx_http_core_module.c ngx_memzero(&sc, sizeof(ngx_http_script_compile_t)); sc 3827 http/ngx_http_core_module.c sc.variables = n; sc 3836 http/ngx_http_core_module.c sc.cf = cf; sc 3837 http/ngx_http_core_module.c sc.source = &clcf->root; sc 3838 http/ngx_http_core_module.c sc.lengths = &clcf->root_lengths; sc 3839 http/ngx_http_core_module.c sc.values = &clcf->root_values; sc 3840 http/ngx_http_core_module.c sc.complete_lengths = 1; sc 3841 http/ngx_http_core_module.c sc.complete_values = 1; sc 3843 http/ngx_http_core_module.c if (ngx_http_script_compile(&sc) != NGX_OK) { sc 4127 http/ngx_http_core_module.c ngx_http_script_compile_t sc; sc 4160 http/ngx_http_core_module.c ngx_memzero(&sc, sizeof(ngx_http_script_compile_t)); sc 4162 http/ngx_http_core_module.c sc.cf = cf; sc 4163 http/ngx_http_core_module.c sc.source = &tf[i].name; sc 4164 http/ngx_http_core_module.c sc.lengths = &tf[i].lengths; sc 4165 http/ngx_http_core_module.c sc.values = &tf[i].values; sc 4166 http/ngx_http_core_module.c sc.variables = n; sc 4167 http/ngx_http_core_module.c sc.complete_lengths = 1; sc 4168 http/ngx_http_core_module.c sc.complete_values = 1; sc 4170 http/ngx_http_core_module.c if (ngx_http_script_compile(&sc) != NGX_OK) { sc 12 http/ngx_http_script.c static ngx_int_t ngx_http_script_init_arrays(ngx_http_script_compile_t *sc); sc 13 http/ngx_http_script.c static ngx_int_t ngx_http_script_done(ngx_http_script_compile_t *sc); sc 14 http/ngx_http_script.c static ngx_int_t ngx_http_script_add_copy_code(ngx_http_script_compile_t *sc, sc 16 http/ngx_http_script.c static ngx_int_t ngx_http_script_add_var_code(ngx_http_script_compile_t *sc, sc 18 http/ngx_http_script.c static ngx_int_t ngx_http_script_add_args_code(ngx_http_script_compile_t *sc); sc 20 http/ngx_http_script.c static ngx_int_t ngx_http_script_add_capture_code(ngx_http_script_compile_t *sc, sc 24 http/ngx_http_script.c ngx_http_script_add_full_name_code(ngx_http_script_compile_t *sc); sc 112 http/ngx_http_script.c ngx_http_script_compile_t sc; sc 185 http/ngx_http_script.c ngx_memzero(&sc, sizeof(ngx_http_script_compile_t)); sc 187 http/ngx_http_script.c sc.cf = ccv->cf; sc 188 http/ngx_http_script.c sc.source = v; sc 189 http/ngx_http_script.c sc.flushes = &pf; sc 190 http/ngx_http_script.c sc.lengths = &pl; sc 191 http/ngx_http_script.c sc.values = &pv; sc 192 http/ngx_http_script.c sc.complete_lengths = 1; sc 193 http/ngx_http_script.c sc.complete_values = 1; sc 194 http/ngx_http_script.c sc.zero = ccv->zero; sc 195 http/ngx_http_script.c sc.conf_prefix = ccv->conf_prefix; sc 196 http/ngx_http_script.c sc.root_prefix = ccv->root_prefix; sc 198 http/ngx_http_script.c if (ngx_http_script_compile(&sc) != NGX_OK) { sc 336 http/ngx_http_script.c ngx_http_script_compile(ngx_http_script_compile_t *sc) sc 342 http/ngx_http_script.c if (ngx_http_script_init_arrays(sc) != NGX_OK) { sc 346 http/ngx_http_script.c for (i = 0; i < sc->source->len; /* void */ ) { sc 350 http/ngx_http_script.c if (sc->source->data[i] == '$') { sc 352 http/ngx_http_script.c if (++i == sc->source->len) { sc 360 http/ngx_http_script.c if (sc->source->data[i] >= '1' && sc->source->data[i] <= '9') { sc 362 http/ngx_http_script.c n = sc->source->data[i] - '0'; sc 364 http/ngx_http_script.c if (sc->captures_mask & (1 << n)) { sc 365 http/ngx_http_script.c sc->dup_capture = 1; sc 368 http/ngx_http_script.c sc->captures_mask |= 1 << n; sc 370 http/ngx_http_script.c if (ngx_http_script_add_capture_code(sc, n) != NGX_OK) { sc 381 http/ngx_http_script.c if (sc->source->data[i] == '{') { sc 384 http/ngx_http_script.c if (++i == sc->source->len) { sc 388 http/ngx_http_script.c name.data = &sc->source->data[i]; sc 392 http/ngx_http_script.c name.data = &sc->source->data[i]; sc 395 http/ngx_http_script.c for ( /* void */ ; i < sc->source->len; i++, name.len++) { sc 396 http/ngx_http_script.c ch = sc->source->data[i]; sc 416 http/ngx_http_script.c ngx_conf_log_error(NGX_LOG_EMERG, sc->cf, 0, sc 426 http/ngx_http_script.c sc->variables++; sc 428 http/ngx_http_script.c if (ngx_http_script_add_var_code(sc, &name) != NGX_OK) { sc 435 http/ngx_http_script.c if (sc->source->data[i] == '?' && sc->compile_args) { sc 436 http/ngx_http_script.c sc->args = 1; sc 437 http/ngx_http_script.c sc->compile_args = 0; sc 439 http/ngx_http_script.c if (ngx_http_script_add_args_code(sc) != NGX_OK) { sc 448 http/ngx_http_script.c name.data = &sc->source->data[i]; sc 450 http/ngx_http_script.c while (i < sc->source->len) { sc 452 http/ngx_http_script.c if (sc->source->data[i] == '$') { sc 456 http/ngx_http_script.c if (sc->source->data[i] == '?') { sc 458 http/ngx_http_script.c sc->args = 1; sc 460 http/ngx_http_script.c if (sc->compile_args) { sc 469 http/ngx_http_script.c sc->size += name.len; sc 471 http/ngx_http_script.c if (ngx_http_script_add_copy_code(sc, &name, (i == sc->source->len)) sc 478 http/ngx_http_script.c return ngx_http_script_done(sc); sc 482 http/ngx_http_script.c ngx_conf_log_error(NGX_LOG_EMERG, sc->cf, 0, "invalid variable name"); sc 556 http/ngx_http_script.c ngx_http_script_init_arrays(ngx_http_script_compile_t *sc) sc 560 http/ngx_http_script.c if (sc->flushes && *sc->flushes == NULL) { sc 561 http/ngx_http_script.c n = sc->variables ? sc->variables : 1; sc 562 http/ngx_http_script.c *sc->flushes = ngx_array_create(sc->cf->pool, n, sizeof(ngx_uint_t)); sc 563 http/ngx_http_script.c if (*sc->flushes == NULL) { sc 568 http/ngx_http_script.c if (*sc->lengths == NULL) { sc 569 http/ngx_http_script.c n = sc->variables * (2 * sizeof(ngx_http_script_copy_code_t) sc 573 http/ngx_http_script.c *sc->lengths = ngx_array_create(sc->cf->pool, n, 1); sc 574 http/ngx_http_script.c if (*sc->lengths == NULL) { sc 579 http/ngx_http_script.c if (*sc->values == NULL) { sc 580 http/ngx_http_script.c n = (sc->variables * (2 * sizeof(ngx_http_script_copy_code_t) sc 583 http/ngx_http_script.c + sc->source->len sc 587 http/ngx_http_script.c *sc->values = ngx_array_create(sc->cf->pool, n, 1); sc 588 http/ngx_http_script.c if (*sc->values == NULL) { sc 593 http/ngx_http_script.c sc->variables = 0; sc 600 http/ngx_http_script.c ngx_http_script_done(ngx_http_script_compile_t *sc) sc 605 http/ngx_http_script.c if (sc->zero) { sc 610 http/ngx_http_script.c if (ngx_http_script_add_copy_code(sc, &zero, 0) != NGX_OK) { sc 615 http/ngx_http_script.c if (sc->conf_prefix || sc->root_prefix) { sc 616 http/ngx_http_script.c if (ngx_http_script_add_full_name_code(sc) != NGX_OK) { sc 621 http/ngx_http_script.c if (sc->complete_lengths) { sc 622 http/ngx_http_script.c code = ngx_http_script_add_code(*sc->lengths, sizeof(uintptr_t), NULL); sc 630 http/ngx_http_script.c if (sc->complete_values) { sc 631 http/ngx_http_script.c code = ngx_http_script_add_code(*sc->values, sizeof(uintptr_t), sc 632 http/ngx_http_script.c &sc->main); sc 683 http/ngx_http_script.c ngx_http_script_add_copy_code(ngx_http_script_compile_t *sc, ngx_str_t *value, sc 690 http/ngx_http_script.c zero = (sc->zero && last); sc 693 http/ngx_http_script.c code = ngx_http_script_add_code(*sc->lengths, sc 705 http/ngx_http_script.c code = ngx_http_script_add_code(*sc->values, size, &sc->main); sc 718 http/ngx_http_script.c sc->zero = 0; sc 762 http/ngx_http_script.c ngx_http_script_add_var_code(ngx_http_script_compile_t *sc, ngx_str_t *name) sc 767 http/ngx_http_script.c index = ngx_http_get_variable_index(sc->cf, name); sc 773 http/ngx_http_script.c if (sc->flushes) { sc 774 http/ngx_http_script.c p = ngx_array_push(*sc->flushes); sc 782 http/ngx_http_script.c code = ngx_http_script_add_code(*sc->lengths, sc 791 http/ngx_http_script.c code = ngx_http_script_add_code(*sc->values, sc 793 http/ngx_http_script.c &sc->main); sc 863 http/ngx_http_script.c ngx_http_script_add_args_code(ngx_http_script_compile_t *sc) sc 867 http/ngx_http_script.c code = ngx_http_script_add_code(*sc->lengths, sizeof(uintptr_t), NULL); sc 874 http/ngx_http_script.c code = ngx_http_script_add_code(*sc->values, sizeof(uintptr_t), &sc->main); sc 1170 http/ngx_http_script.c ngx_http_script_add_capture_code(ngx_http_script_compile_t *sc, ngx_uint_t n) sc 1174 http/ngx_http_script.c code = ngx_http_script_add_code(*sc->lengths, sc 1186 http/ngx_http_script.c code = ngx_http_script_add_code(*sc->values, sc 1188 http/ngx_http_script.c &sc->main); sc 1196 http/ngx_http_script.c if (sc->ncaptures < n) { sc 1197 http/ngx_http_script.c sc->ncaptures = n; sc 1285 http/ngx_http_script.c ngx_http_script_add_full_name_code(ngx_http_script_compile_t *sc) sc 1289 http/ngx_http_script.c code = ngx_http_script_add_code(*sc->lengths, sc 1297 http/ngx_http_script.c code->conf_prefix = sc->conf_prefix; sc 1299 http/ngx_http_script.c code = ngx_http_script_add_code(*sc->values, sc 1301 http/ngx_http_script.c &sc->main); sc 1307 http/ngx_http_script.c code->conf_prefix = sc->conf_prefix; sc 220 http/ngx_http_script.h ngx_int_t ngx_http_script_compile(ngx_http_script_compile_t *sc);