Lines Matching refs:i

599     uint32_t             i;  in nxt_perl_psgi_env_create()  local
680 for (i = 0; i < r->fields_count; i++) { in nxt_perl_psgi_env_create()
681 f = r->fields + i; in nxt_perl_psgi_env_create()
784 long i, array_len; in nxt_perl_psgi_result_head() local
816 for (i = 0; i <= array_len; i++) { in nxt_perl_psgi_result_head()
817 entry = av_fetch(array_head, i, 0); in nxt_perl_psgi_result_head()
829 if ((i % 2) == 0) { in nxt_perl_psgi_result_head()
839 for (i = 0; i <= array_len; i += 2) { in nxt_perl_psgi_result_head()
840 entry = av_fetch(array_head, i, 0); in nxt_perl_psgi_result_head()
843 entry = av_fetch(array_head, i + 1, 0); in nxt_perl_psgi_result_head()
863 long i; in nxt_perl_psgi_result_body() local
877 for (i = 0; i <= av_len(body_array); i++) { in nxt_perl_psgi_result_body()
879 entry = av_fetch(body_array, i, 0); in nxt_perl_psgi_result_body()
1266 uint32_t i; in nxt_perl_psgi_ready_handler() local
1276 for (i = 0; i < c->threads - 1; i++) { in nxt_perl_psgi_ready_handler()
1277 pctx = &nxt_perl_psgi_ctxs[i]; in nxt_perl_psgi_ready_handler()
1285 nxt_unit_debug(ctx, "thread #%d created", (int) (i + 1)); in nxt_perl_psgi_ready_handler()
1289 (int) (i + 1), strerror(res), res); in nxt_perl_psgi_ready_handler()
1332 uint32_t i; in nxt_perl_psgi_init_threads() local
1368 for (i = 0; i < c->threads - 1; i++) { in nxt_perl_psgi_init_threads()
1369 rc = nxt_perl_psgi_ctx_init(c->script, &nxt_perl_psgi_ctxs[i]); in nxt_perl_psgi_init_threads()
1384 uint32_t i; in nxt_perl_psgi_join_threads() local
1391 for (i = 0; i < c->threads - 1; i++) { in nxt_perl_psgi_join_threads()
1392 pctx = &nxt_perl_psgi_ctxs[i]; in nxt_perl_psgi_join_threads()
1397 nxt_unit_debug(ctx, "thread #%d joined", (int) (i + 1)); in nxt_perl_psgi_join_threads()
1401 (int) (i + 1), strerror(res), res); in nxt_perl_psgi_join_threads()
1405 for (i = 0; i < c->threads - 1; i++) { in nxt_perl_psgi_join_threads()
1406 nxt_perl_psgi_ctx_free(&nxt_perl_psgi_ctxs[i]); in nxt_perl_psgi_join_threads()