f 148 core/ngx_string.c double f, scale; f 359 core/ngx_string.c f = va_arg(args, double); f 361 core/ngx_string.c if (f < 0) { f 363 core/ngx_string.c f = -f; f 366 core/ngx_string.c ui64 = (int64_t) f; f 386 core/ngx_string.c ui64 = (uint64_t) ((f - (int64_t) ui64) * scale + 0.5); f 136 http/modules/ngx_http_fastcgi_module.c ngx_http_fastcgi_ctx_t *f); f 548 http/modules/ngx_http_fastcgi_module.c ngx_http_fastcgi_ctx_t *f; f 562 http/modules/ngx_http_fastcgi_module.c f = ngx_pcalloc(r->pool, sizeof(ngx_http_fastcgi_ctx_t)); f 563 http/modules/ngx_http_fastcgi_module.c if (f == NULL) { f 567 http/modules/ngx_http_fastcgi_module.c ngx_http_set_ctx(r, f, ngx_http_fastcgi_module); f 1118 http/modules/ngx_http_fastcgi_module.c ngx_http_fastcgi_ctx_t *f; f 1120 http/modules/ngx_http_fastcgi_module.c f = ngx_http_get_module_ctx(r, ngx_http_fastcgi_module); f 1122 http/modules/ngx_http_fastcgi_module.c if (f == NULL) { f 1126 http/modules/ngx_http_fastcgi_module.c f->state = ngx_http_fastcgi_st_version; f 1127 http/modules/ngx_http_fastcgi_module.c f->fastcgi_stdout = 0; f 1128 http/modules/ngx_http_fastcgi_module.c f->large_stderr = 0; f 1146 http/modules/ngx_http_fastcgi_module.c ngx_http_fastcgi_ctx_t *f; f 1152 http/modules/ngx_http_fastcgi_module.c f = ngx_http_get_module_ctx(r, ngx_http_fastcgi_module); f 1160 http/modules/ngx_http_fastcgi_module.c if (f->state < ngx_http_fastcgi_st_data) { f 1162 http/modules/ngx_http_fastcgi_module.c f->pos = u->buffer.pos; f 1163 http/modules/ngx_http_fastcgi_module.c f->last = u->buffer.last; f 1165 http/modules/ngx_http_fastcgi_module.c rc = ngx_http_fastcgi_process_record(r, f); f 1167 http/modules/ngx_http_fastcgi_module.c u->buffer.pos = f->pos; f 1168 http/modules/ngx_http_fastcgi_module.c u->buffer.last = f->last; f 1178 http/modules/ngx_http_fastcgi_module.c if (f->type != NGX_HTTP_FASTCGI_STDOUT f 1179 http/modules/ngx_http_fastcgi_module.c && f->type != NGX_HTTP_FASTCGI_STDERR) f 1183 http/modules/ngx_http_fastcgi_module.c f->type); f 1188 http/modules/ngx_http_fastcgi_module.c if (f->type == NGX_HTTP_FASTCGI_STDOUT && f->length == 0) { f 1196 http/modules/ngx_http_fastcgi_module.c if (f->state == ngx_http_fastcgi_st_padding) { f 1198 http/modules/ngx_http_fastcgi_module.c if (u->buffer.pos + f->padding < u->buffer.last) { f 1199 http/modules/ngx_http_fastcgi_module.c f->state = ngx_http_fastcgi_st_version; f 1200 http/modules/ngx_http_fastcgi_module.c u->buffer.pos += f->padding; f 1205 http/modules/ngx_http_fastcgi_module.c if (u->buffer.pos + f->padding == u->buffer.last) { f 1206 http/modules/ngx_http_fastcgi_module.c f->state = ngx_http_fastcgi_st_version; f 1212 http/modules/ngx_http_fastcgi_module.c f->padding -= u->buffer.last - u->buffer.pos; f 1221 http/modules/ngx_http_fastcgi_module.c if (f->type == NGX_HTTP_FASTCGI_STDERR) { f 1223 http/modules/ngx_http_fastcgi_module.c if (f->length) { f 1226 http/modules/ngx_http_fastcgi_module.c if (u->buffer.pos + f->length <= u->buffer.last) { f 1227 http/modules/ngx_http_fastcgi_module.c u->buffer.pos += f->length; f 1228 http/modules/ngx_http_fastcgi_module.c f->length = 0; f 1229 http/modules/ngx_http_fastcgi_module.c f->state = ngx_http_fastcgi_st_padding; f 1232 http/modules/ngx_http_fastcgi_module.c f->length -= u->buffer.last - u->buffer.pos; f 1264 http/modules/ngx_http_fastcgi_module.c if (!f->fastcgi_stdout) { f 1282 http/modules/ngx_http_fastcgi_module.c f->large_stderr = 1; f 1289 http/modules/ngx_http_fastcgi_module.c f->state = ngx_http_fastcgi_st_version; f 1300 http/modules/ngx_http_fastcgi_module.c if (f->large_stderr && r->cache) { f 1333 http/modules/ngx_http_fastcgi_module.c f->large_stderr = 0; f 1338 http/modules/ngx_http_fastcgi_module.c f->fastcgi_stdout = 1; f 1342 http/modules/ngx_http_fastcgi_module.c if (u->buffer.pos + f->length < u->buffer.last) { f 1350 http/modules/ngx_http_fastcgi_module.c u->buffer.last = u->buffer.pos + f->length; f 1379 http/modules/ngx_http_fastcgi_module.c if (f->split_parts && f->split_parts->nelts) { f 1381 http/modules/ngx_http_fastcgi_module.c part = f->split_parts->elts; f 1384 http/modules/ngx_http_fastcgi_module.c for (i = 0; i < f->split_parts->nelts; i++) { f 1395 http/modules/ngx_http_fastcgi_module.c for (i = 0; i < f->split_parts->nelts; i++) { f 1404 http/modules/ngx_http_fastcgi_module.c f->split_parts->nelts = 0; f 1523 http/modules/ngx_http_fastcgi_module.c f->length -= u->buffer.pos - start; f 1525 http/modules/ngx_http_fastcgi_module.c if (f->length == 0) { f 1526 http/modules/ngx_http_fastcgi_module.c if (f->padding) { f 1527 http/modules/ngx_http_fastcgi_module.c f->state = ngx_http_fastcgi_st_padding; f 1529 http/modules/ngx_http_fastcgi_module.c f->state = ngx_http_fastcgi_st_version; f 1546 http/modules/ngx_http_fastcgi_module.c if (f->split_parts == NULL) { f 1547 http/modules/ngx_http_fastcgi_module.c f->split_parts = ngx_array_create(r->pool, 1, f 1549 http/modules/ngx_http_fastcgi_module.c if (f->split_parts == NULL) { f 1554 http/modules/ngx_http_fastcgi_module.c part = ngx_array_push(f->split_parts); f 1576 http/modules/ngx_http_fastcgi_module.c ngx_http_fastcgi_ctx_t *f; f 1583 http/modules/ngx_http_fastcgi_module.c f = ngx_http_get_module_ctx(r, ngx_http_fastcgi_module); f 1588 http/modules/ngx_http_fastcgi_module.c f->pos = buf->pos; f 1589 http/modules/ngx_http_fastcgi_module.c f->last = buf->last; f 1592 http/modules/ngx_http_fastcgi_module.c if (f->state < ngx_http_fastcgi_st_data) { f 1594 http/modules/ngx_http_fastcgi_module.c rc = ngx_http_fastcgi_process_record(r, f); f 1604 http/modules/ngx_http_fastcgi_module.c if (f->type == NGX_HTTP_FASTCGI_STDOUT && f->length == 0) { f 1605 http/modules/ngx_http_fastcgi_module.c f->state = ngx_http_fastcgi_st_version; f 1614 http/modules/ngx_http_fastcgi_module.c if (f->type == NGX_HTTP_FASTCGI_END_REQUEST) { f 1615 http/modules/ngx_http_fastcgi_module.c f->state = ngx_http_fastcgi_st_version; f 1626 http/modules/ngx_http_fastcgi_module.c if (f->state == ngx_http_fastcgi_st_padding) { f 1628 http/modules/ngx_http_fastcgi_module.c if (f->pos + f->padding < f->last) { f 1629 http/modules/ngx_http_fastcgi_module.c f->state = ngx_http_fastcgi_st_version; f 1630 http/modules/ngx_http_fastcgi_module.c f->pos += f->padding; f 1635 http/modules/ngx_http_fastcgi_module.c if (f->pos + f->padding == f->last) { f 1636 http/modules/ngx_http_fastcgi_module.c f->state = ngx_http_fastcgi_st_version; f 1641 http/modules/ngx_http_fastcgi_module.c f->padding -= f->last - f->pos; f 1649 http/modules/ngx_http_fastcgi_module.c if (f->type == NGX_HTTP_FASTCGI_STDERR) { f 1651 http/modules/ngx_http_fastcgi_module.c if (f->length) { f 1653 http/modules/ngx_http_fastcgi_module.c if (f->pos == f->last) { f 1657 http/modules/ngx_http_fastcgi_module.c msg = f->pos; f 1659 http/modules/ngx_http_fastcgi_module.c if (f->pos + f->length <= f->last) { f 1660 http/modules/ngx_http_fastcgi_module.c f->pos += f->length; f 1661 http/modules/ngx_http_fastcgi_module.c f->length = 0; f 1662 http/modules/ngx_http_fastcgi_module.c f->state = ngx_http_fastcgi_st_padding; f 1665 http/modules/ngx_http_fastcgi_module.c f->length -= f->last - f->pos; f 1666 http/modules/ngx_http_fastcgi_module.c f->pos = f->last; f 1669 http/modules/ngx_http_fastcgi_module.c for (m = f->pos - 1; msg < m; m--) { f 1679 http/modules/ngx_http_fastcgi_module.c if (f->pos == f->last) { f 1684 http/modules/ngx_http_fastcgi_module.c f->state = ngx_http_fastcgi_st_version; f 1693 http/modules/ngx_http_fastcgi_module.c if (f->pos == f->last) { f 1710 http/modules/ngx_http_fastcgi_module.c b->pos = f->pos; f 1741 http/modules/ngx_http_fastcgi_module.c if (f->pos + f->length < f->last) { f 1743 http/modules/ngx_http_fastcgi_module.c if (f->padding) { f 1744 http/modules/ngx_http_fastcgi_module.c f->state = ngx_http_fastcgi_st_padding; f 1746 http/modules/ngx_http_fastcgi_module.c f->state = ngx_http_fastcgi_st_version; f 1749 http/modules/ngx_http_fastcgi_module.c f->pos += f->length; f 1750 http/modules/ngx_http_fastcgi_module.c b->last = f->pos; f 1755 http/modules/ngx_http_fastcgi_module.c if (f->pos + f->length == f->last) { f 1757 http/modules/ngx_http_fastcgi_module.c if (f->padding) { f 1758 http/modules/ngx_http_fastcgi_module.c f->state = ngx_http_fastcgi_st_padding; f 1760 http/modules/ngx_http_fastcgi_module.c f->state = ngx_http_fastcgi_st_version; f 1763 http/modules/ngx_http_fastcgi_module.c b->last = f->last; f 1768 http/modules/ngx_http_fastcgi_module.c f->length -= f->last - f->pos; f 1770 http/modules/ngx_http_fastcgi_module.c b->last = f->last; f 1798 http/modules/ngx_http_fastcgi_module.c ngx_http_fastcgi_ctx_t *f) f 1803 http/modules/ngx_http_fastcgi_module.c state = f->state; f 1805 http/modules/ngx_http_fastcgi_module.c for (p = f->pos; p < f->last; p++) { f 1829 http/modules/ngx_http_fastcgi_module.c f->type = (ngx_uint_t) ch; f 1864 http/modules/ngx_http_fastcgi_module.c f->length = ch << 8; f 1869 http/modules/ngx_http_fastcgi_module.c f->length |= (size_t) ch; f 1874 http/modules/ngx_http_fastcgi_module.c f->padding = (size_t) ch; f 1882 http/modules/ngx_http_fastcgi_module.c "http fastcgi record length: %z", f->length); f 1884 http/modules/ngx_http_fastcgi_module.c f->pos = p + 1; f 1885 http/modules/ngx_http_fastcgi_module.c f->state = state; f 1896 http/modules/ngx_http_fastcgi_module.c f->state = state; f 2471 http/modules/ngx_http_fastcgi_module.c ngx_http_fastcgi_ctx_t *f; f 2476 http/modules/ngx_http_fastcgi_module.c f = ngx_http_fastcgi_split(r, flcf); f 2478 http/modules/ngx_http_fastcgi_module.c if (f == NULL) { f 2482 http/modules/ngx_http_fastcgi_module.c if (f->script_name.len == 0 f 2483 http/modules/ngx_http_fastcgi_module.c || f->script_name.data[f->script_name.len - 1] != '/') f 2485 http/modules/ngx_http_fastcgi_module.c v->len = f->script_name.len; f 2489 http/modules/ngx_http_fastcgi_module.c v->data = f->script_name.data; f 2494 http/modules/ngx_http_fastcgi_module.c v->len = f->script_name.len + flcf->index.len; f 2501 http/modules/ngx_http_fastcgi_module.c p = ngx_copy(v->data, f->script_name.data, f->script_name.len); f 2512 http/modules/ngx_http_fastcgi_module.c ngx_http_fastcgi_ctx_t *f; f 2517 http/modules/ngx_http_fastcgi_module.c f = ngx_http_fastcgi_split(r, flcf); f 2519 http/modules/ngx_http_fastcgi_module.c if (f == NULL) { f 2523 http/modules/ngx_http_fastcgi_module.c v->len = f->path_info.len; f 2527 http/modules/ngx_http_fastcgi_module.c v->data = f->path_info.data; f 2536 http/modules/ngx_http_fastcgi_module.c ngx_http_fastcgi_ctx_t *f; f 2541 http/modules/ngx_http_fastcgi_module.c f = ngx_http_get_module_ctx(r, ngx_http_fastcgi_module); f 2543 http/modules/ngx_http_fastcgi_module.c if (f == NULL) { f 2544 http/modules/ngx_http_fastcgi_module.c f = ngx_pcalloc(r->pool, sizeof(ngx_http_fastcgi_ctx_t)); f 2545 http/modules/ngx_http_fastcgi_module.c if (f == NULL) { f 2549 http/modules/ngx_http_fastcgi_module.c ngx_http_set_ctx(r, f, ngx_http_fastcgi_module); f 2552 http/modules/ngx_http_fastcgi_module.c if (f->script_name.len) { f 2553 http/modules/ngx_http_fastcgi_module.c return f; f 2557 http/modules/ngx_http_fastcgi_module.c f->script_name = r->uri; f 2558 http/modules/ngx_http_fastcgi_module.c return f; f 2564 http/modules/ngx_http_fastcgi_module.c f->script_name.len = captures[3] - captures[2]; f 2565 http/modules/ngx_http_fastcgi_module.c f->script_name.data = r->uri.data + captures[2]; f 2567 http/modules/ngx_http_fastcgi_module.c f->path_info.len = captures[5] - captures[4]; f 2568 http/modules/ngx_http_fastcgi_module.c f->path_info.data = r->uri.data + captures[4]; f 2570 http/modules/ngx_http_fastcgi_module.c return f; f 2574 http/modules/ngx_http_fastcgi_module.c f->script_name = r->uri; f 2575 http/modules/ngx_http_fastcgi_module.c return f; f 2585 http/modules/ngx_http_fastcgi_module.c f = ngx_http_get_module_ctx(r, ngx_http_fastcgi_module); f 2587 http/modules/ngx_http_fastcgi_module.c if (f == NULL) { f 2588 http/modules/ngx_http_fastcgi_module.c f = ngx_pcalloc(r->pool, sizeof(ngx_http_fastcgi_ctx_t)); f 2589 http/modules/ngx_http_fastcgi_module.c if (f == NULL) { f 2593 http/modules/ngx_http_fastcgi_module.c ngx_http_set_ctx(r, f, ngx_http_fastcgi_module); f 2596 http/modules/ngx_http_fastcgi_module.c f->script_name = r->uri; f 2598 http/modules/ngx_http_fastcgi_module.c return f; f 2384 http/ngx_http_request.c ngx_buf_t *b, *f; f 2437 http/ngx_http_request.c f = hc->busy[i]; f 2438 http/ngx_http_request.c hc->free[hc->nfree++] = f; f 2439 http/ngx_http_request.c f->pos = f->start; f 2440 http/ngx_http_request.c f->last = f->start;