rc 106 core/ngx_conf_file.c ngx_int_t rc; rc 172 core/ngx_conf_file.c rc = ngx_conf_read_token(cf); rc 184 core/ngx_conf_file.c if (rc == NGX_ERROR) { rc 188 core/ngx_conf_file.c if (rc == NGX_CONF_BLOCK_DONE) { rc 198 core/ngx_conf_file.c if (rc == NGX_CONF_FILE_DONE) { rc 209 core/ngx_conf_file.c if (rc == NGX_CONF_BLOCK_START) { rc 243 core/ngx_conf_file.c rc = ngx_conf_handler(cf, rc); rc 245 core/ngx_conf_file.c if (rc == NGX_ERROR) { rc 252 core/ngx_conf_file.c rc = NGX_ERROR; rc 271 core/ngx_conf_file.c if (rc == NGX_ERROR) { rc 808 core/ngx_conf_file.c ngx_int_t rc; rc 810 core/ngx_conf_file.c rc = ngx_conf_test_full_name(name); rc 812 core/ngx_conf_file.c if (rc == NGX_OK) { rc 813 core/ngx_conf_file.c return rc; rc 827 core/ngx_conf_file.c if (rc == 2) { rc 828 core/ngx_conf_file.c len = rc; rc 19 core/ngx_file.c ngx_int_t rc; rc 22 core/ngx_file.c rc = ngx_create_temp_file(&tf->file, tf->path, tf->pool, rc 25 core/ngx_file.c if (rc == NGX_ERROR || rc == NGX_AGAIN) { rc 26 core/ngx_file.c return rc; rc 677 core/ngx_file.c ngx_int_t rc; rc 680 core/ngx_file.c rc = NGX_ERROR; rc 773 core/ngx_file.c rc = NGX_OK; rc 795 core/ngx_file.c return rc; rc 823 core/ngx_file.c ngx_int_t rc; rc 865 core/ngx_file.c rc = NGX_OK; rc 870 core/ngx_file.c rc = NGX_ERROR; rc 972 core/ngx_file.c rc = NGX_ABORT; rc 990 core/ngx_file.c return rc; rc 364 core/ngx_inet.c ngx_int_t rc; rc 411 core/ngx_inet.c rc = NGX_OK; rc 421 core/ngx_inet.c rc = NGX_DONE; rc 426 core/ngx_inet.c return rc; rc 135 core/ngx_open_file_cache.c ngx_int_t rc; rc 171 core/ngx_open_file_cache.c rc = ngx_open_and_stat_file(name->data, of, pool->log); rc 173 core/ngx_open_file_cache.c if (rc == NGX_OK && !of->is_dir) { rc 182 core/ngx_open_file_cache.c return rc; rc 206 core/ngx_open_file_cache.c rc = ngx_open_and_stat_file(name->data, of, pool->log); rc 208 core/ngx_open_file_cache.c if (rc != NGX_OK && (of->err == 0 || !of->errors)) { rc 264 core/ngx_open_file_cache.c rc = ngx_open_and_stat_file(name->data, of, pool->log); rc 266 core/ngx_open_file_cache.c if (rc != NGX_OK && (of->err == 0 || !of->errors)) { rc 330 core/ngx_open_file_cache.c rc = ngx_open_and_stat_file(name->data, of, pool->log); rc 332 core/ngx_open_file_cache.c if (rc != NGX_OK && (of->err == 0 || !of->errors)) { rc 818 core/ngx_open_file_cache.c ngx_int_t rc; rc 842 core/ngx_open_file_cache.c rc = ngx_strcmp(name->data, file->name); rc 844 core/ngx_open_file_cache.c if (rc == 0) { rc 848 core/ngx_open_file_cache.c node = (rc < 0) ? node->left : node->right; rc 44 core/ngx_output_chain.c ngx_int_t rc, last; rc 136 core/ngx_output_chain.c rc = ngx_output_chain_align_file_buf(ctx, bsize); rc 138 core/ngx_output_chain.c if (rc == NGX_ERROR) { rc 142 core/ngx_output_chain.c if (rc != NGX_OK) { rc 164 core/ngx_output_chain.c rc = ngx_output_chain_copy_buf(ctx); rc 166 core/ngx_output_chain.c if (rc == NGX_ERROR) { rc 167 core/ngx_output_chain.c return rc; rc 170 core/ngx_output_chain.c if (rc == NGX_AGAIN) { rc 175 core/ngx_output_chain.c return rc; rc 63 core/ngx_regex.c ngx_regex_compile(ngx_regex_compile_t *rc) rc 70 core/ngx_regex.c ngx_regex_malloc_init(rc->pool); rc 72 core/ngx_regex.c re = pcre_compile((const char *) rc->pattern.data, (int) rc->options, rc 79 core/ngx_regex.c if ((size_t) erroff == rc->pattern.len) { rc 80 core/ngx_regex.c rc->err.len = ngx_snprintf(rc->err.data, rc->err.len, rc 82 core/ngx_regex.c errstr, &rc->pattern) rc 83 core/ngx_regex.c - rc->err.data; rc 86 core/ngx_regex.c rc->err.len = ngx_snprintf(rc->err.data, rc->err.len, rc 88 core/ngx_regex.c errstr, &rc->pattern, rc->pattern.data + erroff) rc 89 core/ngx_regex.c - rc->err.data; rc 95 core/ngx_regex.c rc->regex = re; rc 97 core/ngx_regex.c n = pcre_fullinfo(re, NULL, PCRE_INFO_CAPTURECOUNT, &rc->captures); rc 103 core/ngx_regex.c if (rc->captures == 0) { rc 107 core/ngx_regex.c n = pcre_fullinfo(re, NULL, PCRE_INFO_NAMECOUNT, &rc->named_captures); rc 113 core/ngx_regex.c if (rc->named_captures == 0) { rc 117 core/ngx_regex.c n = pcre_fullinfo(re, NULL, PCRE_INFO_NAMEENTRYSIZE, &rc->name_size); rc 123 core/ngx_regex.c n = pcre_fullinfo(re, NULL, PCRE_INFO_NAMETABLE, &rc->names); rc 133 core/ngx_regex.c rc->err.len = ngx_snprintf(rc->err.data, rc->err.len, p, &rc->pattern, n) rc 134 core/ngx_regex.c - rc->err.data; rc 142 core/ngx_regex.c int rc, n; rc 146 core/ngx_regex.c rc = pcre_fullinfo(re, NULL, PCRE_INFO_CAPTURECOUNT, &n); rc 148 core/ngx_regex.c if (rc < 0) { rc 149 core/ngx_regex.c return (ngx_int_t) rc; rc 45 core/ngx_regex.h ngx_int_t ngx_regex_compile(ngx_regex_compile_t *rc); rc 262 core/ngx_resolver.c ngx_int_t rc; rc 277 core/ngx_resolver.c rc = ngx_resolve_name_locked(r, ctx); rc 279 core/ngx_resolver.c if (rc == NGX_OK) { rc 285 core/ngx_resolver.c if (rc == NGX_AGAIN) { rc 375 core/ngx_resolver.c ngx_int_t rc; rc 512 core/ngx_resolver.c rc = ngx_resolver_create_name_query(rn, ctx); rc 514 core/ngx_resolver.c if (rc == NGX_ERROR) { rc 518 core/ngx_resolver.c if (rc == NGX_DECLINED) { rc 1606 core/ngx_resolver.c ngx_int_t rc; rc 1630 core/ngx_resolver.c rc = ngx_memn2cmp(name->data, rn->name, name->len, rn->nlen); rc 1632 core/ngx_resolver.c if (rc == 0) { rc 1636 core/ngx_resolver.c node = (rc < 0) ? node->left : node->right; rc 2105 core/ngx_resolver.c int rc; rc 2170 core/ngx_resolver.c rc = connect(s, uc->sockaddr, uc->socklen); rc 2174 core/ngx_resolver.c if (rc == -1) { rc 1721 core/ngx_string.c ngx_int_t rc; rc 1742 core/ngx_string.c rc = ngx_memcmp(val->data, n->str.data, val->len); rc 1744 core/ngx_string.c if (rc < 0) { rc 1749 core/ngx_string.c if (rc > 0) { rc 119 event/modules/ngx_aio_module.c int rc; rc 129 event/modules/ngx_aio_module.c rc = aio_cancel(c->fd, NULL); rc 131 event/modules/ngx_aio_module.c ngx_log_debug1(NGX_LOG_DEBUG_EVENT, c->log, 0, "aio_cancel: %d", rc); rc 133 event/modules/ngx_aio_module.c if (rc == AIO_CANCELED) { rc 139 event/modules/ngx_aio_module.c if (rc == AIO_ALLDONE) { rc 147 event/modules/ngx_aio_module.c if (rc == -1) { rc 153 event/modules/ngx_aio_module.c if (rc == AIO_NOTCANCELED) { rc 340 event/modules/ngx_devpoll_module.c int events, revents, rc; rc 421 event/modules/ngx_devpoll_module.c rc = ioctl(dp, DP_ISPOLLED, &pfd); rc 423 event/modules/ngx_devpoll_module.c switch (rc) { rc 441 event/modules/ngx_devpoll_module.c revents, fd, rc, pfd.fd, pfd.revents); rc 281 event/modules/ngx_kqueue_module.c ngx_int_t rc; rc 334 event/modules/ngx_kqueue_module.c rc = ngx_kqueue_set_event(ev, event, EV_ADD|EV_ENABLE|flags); rc 338 event/modules/ngx_kqueue_module.c return rc; rc 345 event/modules/ngx_kqueue_module.c ngx_int_t rc; rc 395 event/modules/ngx_kqueue_module.c rc = ngx_kqueue_set_event(ev, event, flags); rc 399 event/modules/ngx_kqueue_module.c return rc; rc 696 event/modules/ngx_kqueue_module.c ngx_int_t rc; rc 733 event/modules/ngx_kqueue_module.c rc = NGX_ERROR; rc 736 event/modules/ngx_kqueue_module.c rc = NGX_OK; rc 741 event/modules/ngx_kqueue_module.c return rc; rc 1055 event/ngx_event.c ngx_int_t rc; rc 1068 event/ngx_event.c rc = ngx_ptocidr(&value[1], &cidr); rc 1070 event/ngx_event.c if (rc == NGX_DONE) { rc 1073 event/ngx_event.c rc = NGX_OK; rc 1076 event/ngx_event.c if (rc == NGX_OK) { rc 28 event/ngx_event_busy_lock.c ngx_int_t rc; rc 39 event/ngx_event_busy_lock.c rc = NGX_OK; rc 55 event/ngx_event_busy_lock.c rc = NGX_AGAIN; rc 58 event/ngx_event_busy_lock.c rc = NGX_BUSY; rc 63 event/ngx_event_busy_lock.c return rc; rc 71 event/ngx_event_busy_lock.c ngx_int_t rc; rc 75 event/ngx_event_busy_lock.c rc = ngx_event_busy_lock_look_cacheable(bl, ctx); rc 79 event/ngx_event_busy_lock.c rc, bl->waiting, bl->max_waiting); rc 87 event/ngx_event_busy_lock.c if (rc == NGX_AGAIN) { rc 102 event/ngx_event_busy_lock.c rc = NGX_BUSY; rc 108 event/ngx_event_busy_lock.c return rc; rc 16 event/ngx_event_connect.c int rc; rc 24 event/ngx_event_connect.c rc = pc->get(pc, pc->data); rc 25 event/ngx_event_connect.c if (rc != NGX_OK) { rc 26 event/ngx_event_connect.c return rc; rc 126 event/ngx_event_connect.c rc = connect(s, pc->sockaddr, pc->socklen); rc 128 event/ngx_event_connect.c if (rc == -1) { rc 167 event/ngx_event_connect.c if (rc == -1) { rc 184 event/ngx_event_connect.c "connect(): %d", rc); rc 224 event/ngx_event_connect.c if (rc == -1) { rc 1687 event/ngx_event_openssl.c ngx_int_t rc; rc 1736 event/ngx_event_openssl.c rc = ngx_memn2cmp(id, sess_id->id, rc 1738 event/ngx_event_openssl.c if (rc == 0) { rc 1766 event/ngx_event_openssl.c node = (rc < 0) ? node->left : node->right; rc 1796 event/ngx_event_openssl.c ngx_int_t rc; rc 1843 event/ngx_event_openssl.c rc = ngx_memn2cmp(id, sess_id->id, len, (size_t) node->data); rc 1845 event/ngx_event_openssl.c if (rc == 0) { rc 1860 event/ngx_event_openssl.c node = (rc < 0) ? node->left : node->right; rc 27 event/ngx_event_pipe.c ngx_int_t rc; rc 34 event/ngx_event_pipe.c rc = ngx_event_pipe_write_to_downstream(p); rc 36 event/ngx_event_pipe.c if (rc == NGX_ABORT) { rc 40 event/ngx_event_pipe.c if (rc == NGX_BUSY) { rc 102 event/ngx_event_pipe.c ngx_int_t rc; rc 228 event/ngx_event_pipe.c rc = ngx_event_pipe_write_chain_to_temp_file(p); rc 233 event/ngx_event_pipe.c if (rc == NGX_BUSY) { rc 237 event/ngx_event_pipe.c if (rc == NGX_AGAIN) { rc 250 event/ngx_event_pipe.c if (rc != NGX_OK) { rc 251 event/ngx_event_pipe.c return rc; rc 431 event/ngx_event_pipe.c ngx_int_t rc; rc 464 event/ngx_event_pipe.c rc = p->output_filter(p->output_ctx, p->out); rc 466 event/ngx_event_pipe.c if (rc == NGX_ERROR) { rc 482 event/ngx_event_pipe.c rc = p->output_filter(p->output_ctx, p->in); rc 484 event/ngx_event_pipe.c if (rc == NGX_ERROR) { rc 634 event/ngx_event_pipe.c rc = p->output_filter(p->output_ctx, out); rc 636 event/ngx_event_pipe.c if (rc == NGX_ERROR) { rc 241 http/modules/ngx_http_access_module.c ngx_int_t rc; rc 258 http/modules/ngx_http_access_module.c rc = ngx_ptocidr(&value[1], &cidr); rc 260 http/modules/ngx_http_access_module.c if (rc == NGX_ERROR) { rc 266 http/modules/ngx_http_access_module.c if (rc == NGX_DONE) { rc 131 http/modules/ngx_http_addition_filter_module.c ngx_int_t rc; rc 177 http/modules/ngx_http_addition_filter_module.c rc = ngx_http_next_body_filter(r, in); rc 179 http/modules/ngx_http_addition_filter_module.c if (rc == NGX_ERROR || !last || conf->after_body.len == 0) { rc 180 http/modules/ngx_http_addition_filter_module.c return rc; rc 102 http/modules/ngx_http_auth_basic_module.c ngx_int_t rc; rc 129 http/modules/ngx_http_auth_basic_module.c rc = ngx_http_auth_basic_user(r); rc 131 http/modules/ngx_http_auth_basic_module.c if (rc == NGX_DECLINED) { rc 139 http/modules/ngx_http_auth_basic_module.c if (rc == NGX_ERROR) { rc 154 http/modules/ngx_http_auth_basic_module.c rc = NGX_HTTP_FORBIDDEN; rc 158 http/modules/ngx_http_auth_basic_module.c rc = NGX_HTTP_INTERNAL_SERVER_ERROR; rc 164 http/modules/ngx_http_auth_basic_module.c return rc; rc 287 http/modules/ngx_http_auth_basic_module.c ngx_int_t rc; rc 290 http/modules/ngx_http_auth_basic_module.c rc = ngx_crypt(r->pool, r->headers_in.passwd.data, passwd->data, rc 295 http/modules/ngx_http_auth_basic_module.c rc, &r->headers_in.user, passwd->data); rc 297 http/modules/ngx_http_auth_basic_module.c if (rc == NGX_OK) { rc 312 http/modules/ngx_http_auth_basic_module.c if (rc == NGX_ERROR) { rc 338 http/modules/ngx_http_auth_basic_module.c return rc; rc 145 http/modules/ngx_http_autoindex_module.c ngx_int_t rc, size; rc 199 http/modules/ngx_http_autoindex_module.c rc = NGX_HTTP_NOT_FOUND; rc 203 http/modules/ngx_http_autoindex_module.c rc = NGX_HTTP_FORBIDDEN; rc 207 http/modules/ngx_http_autoindex_module.c rc = NGX_HTTP_INTERNAL_SERVER_ERROR; rc 213 http/modules/ngx_http_autoindex_module.c return rc; rc 236 http/modules/ngx_http_autoindex_module.c rc = ngx_http_send_header(r); rc 238 http/modules/ngx_http_autoindex_module.c if (rc == NGX_ERROR || rc > NGX_OK || r->header_only) { rc 244 http/modules/ngx_http_autoindex_module.c return rc; rc 234 http/modules/ngx_http_browser_module.c ngx_uint_t rc; rc 239 http/modules/ngx_http_browser_module.c rc = ngx_http_browser(r, cf); rc 241 http/modules/ngx_http_browser_module.c if (data == NGX_HTTP_MODERN_BROWSER && rc == NGX_HTTP_MODERN_BROWSER) { rc 246 http/modules/ngx_http_browser_module.c if (data == NGX_HTTP_ANCIENT_BROWSER && rc == NGX_HTTP_ANCIENT_BROWSER) { rc 544 http/modules/ngx_http_charset_filter_module.c ngx_int_t rc; rc 594 http/modules/ngx_http_charset_filter_module.c rc = ngx_http_next_body_filter(r, out); rc 635 http/modules/ngx_http_charset_filter_module.c return rc; rc 146 http/modules/ngx_http_dav_module.c ngx_int_t rc; rc 171 http/modules/ngx_http_dav_module.c rc = ngx_http_read_client_request_body(r, ngx_http_dav_put_handler); rc 173 http/modules/ngx_http_dav_module.c if (rc >= NGX_HTTP_SPECIAL_RESPONSE) { rc 174 http/modules/ngx_http_dav_module.c return rc; rc 287 http/modules/ngx_http_dav_module.c ngx_int_t rc, depth; rc 327 http/modules/ngx_http_dav_module.c rc = (err == NGX_ENOTDIR) ? NGX_HTTP_CONFLICT : NGX_HTTP_NOT_FOUND; rc 330 http/modules/ngx_http_dav_module.c rc, ngx_link_info_n, path.data); rc 371 http/modules/ngx_http_dav_module.c rc = ngx_http_dav_delete_path(r, &path, dir); rc 373 http/modules/ngx_http_dav_module.c if (rc == NGX_OK) { rc 377 http/modules/ngx_http_dav_module.c return rc; rc 515 http/modules/ngx_http_dav_module.c ngx_int_t rc, depth; rc 743 http/modules/ngx_http_dav_module.c rc = ngx_http_dav_delete_path(r, ©.path, dir); rc 745 http/modules/ngx_http_dav_module.c if (rc != NGX_OK) { rc 746 http/modules/ngx_http_dav_module.c return rc; rc 783 http/modules/ngx_http_dav_module.c rc = ngx_http_dav_delete_path(r, &path, 1); rc 785 http/modules/ngx_http_dav_module.c if (rc != NGX_OK) { rc 786 http/modules/ngx_http_dav_module.c return rc; rc 1012 http/modules/ngx_http_dav_module.c ngx_int_t rc; rc 1017 http/modules/ngx_http_dav_module.c rc = not_found; rc 1021 http/modules/ngx_http_dav_module.c rc = NGX_HTTP_FORBIDDEN; rc 1025 http/modules/ngx_http_dav_module.c rc = NGX_HTTP_NOT_ALLOWED; rc 1029 http/modules/ngx_http_dav_module.c rc = NGX_HTTP_INSUFFICIENT_STORAGE; rc 1033 http/modules/ngx_http_dav_module.c rc = NGX_HTTP_INTERNAL_SERVER_ERROR; rc 1038 http/modules/ngx_http_dav_module.c return rc; rc 114 http/modules/ngx_http_empty_gif_module.c ngx_int_t rc; rc 121 http/modules/ngx_http_empty_gif_module.c rc = ngx_http_discard_request_body(r); rc 123 http/modules/ngx_http_empty_gif_module.c if (rc != NGX_OK) { rc 124 http/modules/ngx_http_empty_gif_module.c return rc; rc 139 http/modules/ngx_http_fastcgi_module.c ngx_int_t rc); rc 546 http/modules/ngx_http_fastcgi_module.c ngx_int_t rc; rc 603 http/modules/ngx_http_fastcgi_module.c rc = ngx_http_read_client_request_body(r, ngx_http_upstream_init); rc 605 http/modules/ngx_http_fastcgi_module.c if (rc >= NGX_HTTP_SPECIAL_RESPONSE) { rc 606 http/modules/ngx_http_fastcgi_module.c return rc; rc 1141 http/modules/ngx_http_fastcgi_module.c ngx_int_t rc, status; rc 1165 http/modules/ngx_http_fastcgi_module.c rc = ngx_http_fastcgi_process_record(r, f); rc 1170 http/modules/ngx_http_fastcgi_module.c if (rc == NGX_AGAIN) { rc 1174 http/modules/ngx_http_fastcgi_module.c if (rc == NGX_ERROR) { rc 1361 http/modules/ngx_http_fastcgi_module.c rc = ngx_http_parse_header_line(r, &u->buffer, 1); rc 1364 http/modules/ngx_http_fastcgi_module.c "http fastcgi parser: %d", rc); rc 1366 http/modules/ngx_http_fastcgi_module.c if (rc == NGX_AGAIN) { rc 1370 http/modules/ngx_http_fastcgi_module.c if (rc == NGX_OK) { rc 1406 http/modules/ngx_http_fastcgi_module.c rc = ngx_http_parse_header_line(r, &buf, 1); rc 1472 http/modules/ngx_http_fastcgi_module.c if (rc == NGX_HTTP_PARSE_HEADER_DONE) { rc 1533 http/modules/ngx_http_fastcgi_module.c if (rc == NGX_HTTP_PARSE_HEADER_DONE) { rc 1537 http/modules/ngx_http_fastcgi_module.c if (rc == NGX_OK) { rc 1572 http/modules/ngx_http_fastcgi_module.c ngx_int_t rc; rc 1594 http/modules/ngx_http_fastcgi_module.c rc = ngx_http_fastcgi_process_record(r, f); rc 1596 http/modules/ngx_http_fastcgi_module.c if (rc == NGX_AGAIN) { rc 1600 http/modules/ngx_http_fastcgi_module.c if (rc == NGX_ERROR) { rc 1913 http/modules/ngx_http_fastcgi_module.c ngx_http_fastcgi_finalize_request(ngx_http_request_t *r, ngx_int_t rc) rc 2673 http/modules/ngx_http_fastcgi_module.c ngx_regex_compile_t rc; rc 2680 http/modules/ngx_http_fastcgi_module.c ngx_memzero(&rc, sizeof(ngx_regex_compile_t)); rc 2682 http/modules/ngx_http_fastcgi_module.c rc.pattern = value[1]; rc 2683 http/modules/ngx_http_fastcgi_module.c rc.pool = cf->pool; rc 2684 http/modules/ngx_http_fastcgi_module.c rc.err.len = NGX_MAX_CONF_ERRSTR; rc 2685 http/modules/ngx_http_fastcgi_module.c rc.err.data = errstr; rc 2687 http/modules/ngx_http_fastcgi_module.c if (ngx_regex_compile(&rc) != NGX_OK) { rc 2688 http/modules/ngx_http_fastcgi_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "%V", &rc.err); rc 2692 http/modules/ngx_http_fastcgi_module.c if (rc.captures != 2) { rc 2698 http/modules/ngx_http_fastcgi_module.c flcf->split_regex = rc.regex; rc 66 http/modules/ngx_http_flv_module.c ngx_int_t rc; rc 83 http/modules/ngx_http_flv_module.c rc = ngx_http_discard_request_body(r); rc 85 http/modules/ngx_http_flv_module.c if (rc != NGX_OK) { rc 86 http/modules/ngx_http_flv_module.c return rc; rc 125 http/modules/ngx_http_flv_module.c rc = NGX_HTTP_NOT_FOUND; rc 131 http/modules/ngx_http_flv_module.c rc = NGX_HTTP_FORBIDDEN; rc 137 http/modules/ngx_http_flv_module.c rc = NGX_HTTP_INTERNAL_SERVER_ERROR; rc 141 http/modules/ngx_http_flv_module.c if (rc != NGX_HTTP_NOT_FOUND || clcf->log_not_found) { rc 146 http/modules/ngx_http_flv_module.c return rc; rc 219 http/modules/ngx_http_flv_module.c rc = ngx_http_send_header(r); rc 221 http/modules/ngx_http_flv_module.c if (rc == NGX_ERROR || rc > NGX_OK || r->header_only) { rc 222 http/modules/ngx_http_flv_module.c return rc; rc 890 http/modules/ngx_http_geo_module.c ngx_int_t rc, del; rc 942 http/modules/ngx_http_geo_module.c rc = ngx_radix32tree_insert(ctx->tree, cidr.u.in.addr, cidr.u.in.mask, rc 944 http/modules/ngx_http_geo_module.c if (rc == NGX_OK) { rc 948 http/modules/ngx_http_geo_module.c if (rc == NGX_ERROR) { rc 961 http/modules/ngx_http_geo_module.c rc = ngx_radix32tree_delete(ctx->tree, cidr.u.in.addr, cidr.u.in.mask); rc 963 http/modules/ngx_http_geo_module.c if (rc == NGX_ERROR) { rc 1054 http/modules/ngx_http_geo_module.c ngx_int_t rc; rc 1063 http/modules/ngx_http_geo_module.c rc = ngx_ptocidr(net, cidr); rc 1065 http/modules/ngx_http_geo_module.c if (rc == NGX_ERROR) { rc 1075 http/modules/ngx_http_geo_module.c if (rc == NGX_DONE) { rc 1149 http/modules/ngx_http_geo_module.c ngx_int_t rc; rc 1175 http/modules/ngx_http_geo_module.c rc = NGX_ERROR; rc 1183 http/modules/ngx_http_geo_module.c rc = NGX_ERROR; rc 1293 http/modules/ngx_http_geo_module.c rc = NGX_OK; rc 1299 http/modules/ngx_http_geo_module.c rc = NGX_DECLINED; rc 1308 http/modules/ngx_http_geo_module.c return rc; rc 316 http/modules/ngx_http_gzip_filter_module.c int rc; rc 394 http/modules/ngx_http_gzip_filter_module.c rc = ngx_http_gzip_filter_add_data(r, ctx); rc 396 http/modules/ngx_http_gzip_filter_module.c if (rc == NGX_DECLINED) { rc 400 http/modules/ngx_http_gzip_filter_module.c if (rc == NGX_AGAIN) { rc 407 http/modules/ngx_http_gzip_filter_module.c rc = ngx_http_gzip_filter_get_buf(r, ctx); rc 409 http/modules/ngx_http_gzip_filter_module.c if (rc == NGX_DECLINED) { rc 413 http/modules/ngx_http_gzip_filter_module.c if (rc == NGX_ERROR) { rc 418 http/modules/ngx_http_gzip_filter_module.c rc = ngx_http_gzip_filter_deflate(r, ctx); rc 420 http/modules/ngx_http_gzip_filter_module.c if (rc == NGX_OK) { rc 424 http/modules/ngx_http_gzip_filter_module.c if (rc == NGX_ERROR) { rc 443 http/modules/ngx_http_gzip_filter_module.c rc = ngx_http_next_body_filter(r, ctx->out); rc 445 http/modules/ngx_http_gzip_filter_module.c if (rc == NGX_ERROR) { rc 458 http/modules/ngx_http_gzip_filter_module.c return rc; rc 592 http/modules/ngx_http_gzip_filter_module.c int rc; rc 608 http/modules/ngx_http_gzip_filter_module.c rc = deflateInit2(&ctx->zstream, (int) conf->level, Z_DEFLATED, rc 611 http/modules/ngx_http_gzip_filter_module.c if (rc != Z_OK) { rc 613 http/modules/ngx_http_gzip_filter_module.c "deflateInit2() failed: %d", rc); rc 760 http/modules/ngx_http_gzip_filter_module.c int rc; rc 770 http/modules/ngx_http_gzip_filter_module.c rc = deflate(&ctx->zstream, ctx->flush); rc 772 http/modules/ngx_http_gzip_filter_module.c if (rc != Z_OK && rc != Z_STREAM_END) { rc 774 http/modules/ngx_http_gzip_filter_module.c "deflate() failed: %d, %d", ctx->flush, rc); rc 782 http/modules/ngx_http_gzip_filter_module.c rc); rc 838 http/modules/ngx_http_gzip_filter_module.c if (rc == Z_STREAM_END) { rc 872 http/modules/ngx_http_gzip_filter_module.c int rc; rc 880 http/modules/ngx_http_gzip_filter_module.c rc = deflateEnd(&ctx->zstream); rc 882 http/modules/ngx_http_gzip_filter_module.c if (rc != Z_OK) { rc 884 http/modules/ngx_http_gzip_filter_module.c "deflateEnd() failed: %d", rc); rc 74 http/modules/ngx_http_gzip_static_module.c ngx_int_t rc; rc 98 http/modules/ngx_http_gzip_static_module.c rc = ngx_http_gzip_ok(r); rc 102 http/modules/ngx_http_gzip_static_module.c if (!clcf->gzip_vary && rc != NGX_OK) { rc 165 http/modules/ngx_http_gzip_static_module.c if (rc != NGX_OK) { rc 189 http/modules/ngx_http_gzip_static_module.c rc = ngx_http_discard_request_body(r); rc 191 http/modules/ngx_http_gzip_static_module.c if (rc != NGX_OK) { rc 192 http/modules/ngx_http_gzip_static_module.c return rc; rc 229 http/modules/ngx_http_gzip_static_module.c rc = ngx_http_send_header(r); rc 231 http/modules/ngx_http_gzip_static_module.c if (rc == NGX_ERROR || rc > NGX_OK || r->header_only) { rc 232 http/modules/ngx_http_gzip_static_module.c return rc; rc 261 http/modules/ngx_http_image_filter_module.c ngx_int_t rc; rc 324 http/modules/ngx_http_image_filter_module.c rc = ngx_http_image_read(r, in); rc 326 http/modules/ngx_http_image_filter_module.c if (rc == NGX_AGAIN) { rc 330 http/modules/ngx_http_image_filter_module.c if (rc == NGX_ERROR) { rc 359 http/modules/ngx_http_image_filter_module.c rc = ngx_http_next_body_filter(r, NULL); rc 362 http/modules/ngx_http_image_filter_module.c return (rc == NGX_OK) ? NGX_ERROR : rc; rc 371 http/modules/ngx_http_image_filter_module.c ngx_int_t rc; rc 373 http/modules/ngx_http_image_filter_module.c rc = ngx_http_next_header_filter(r); rc 375 http/modules/ngx_http_image_filter_module.c if (rc == NGX_ERROR || rc > NGX_OK || r->header_only) { rc 379 http/modules/ngx_http_image_filter_module.c rc = ngx_http_next_body_filter(r, in); rc 383 http/modules/ngx_http_image_filter_module.c return (rc == NGX_OK) ? NGX_ERROR : rc; rc 386 http/modules/ngx_http_image_filter_module.c return rc; rc 482 http/modules/ngx_http_image_filter_module.c ngx_int_t rc; rc 490 http/modules/ngx_http_image_filter_module.c rc = ngx_http_image_size(r, ctx); rc 495 http/modules/ngx_http_image_filter_module.c return ngx_http_image_json(r, rc == NGX_OK ? ctx : NULL); rc 520 http/modules/ngx_http_image_filter_module.c if (rc == NGX_OK rc 100 http/modules/ngx_http_index_module.c ngx_int_t rc; rc 230 http/modules/ngx_http_index_module.c rc = ngx_http_index_test_dir(r, clcf, path.data, name - 1); rc 232 http/modules/ngx_http_index_module.c if (rc != NGX_OK) { rc 233 http/modules/ngx_http_index_module.c return rc; rc 140 http/modules/ngx_http_limit_req_module.c ngx_int_t rc; rc 189 http/modules/ngx_http_limit_req_module.c rc = ngx_http_limit_req_lookup(lrcf, hash, vv->data, len, &excess); rc 192 http/modules/ngx_http_limit_req_module.c "limit_req: %i %ui.%03ui", rc, excess / 1000, excess % 1000); rc 194 http/modules/ngx_http_limit_req_module.c if (rc == NGX_DECLINED) { rc 234 http/modules/ngx_http_limit_req_module.c if (rc == NGX_OK) { rc 238 http/modules/ngx_http_limit_req_module.c if (rc == NGX_BUSY) { rc 347 http/modules/ngx_http_limit_req_module.c ngx_int_t rc, excess; rc 377 http/modules/ngx_http_limit_req_module.c rc = ngx_memn2cmp(data, lr->data, len, (size_t) lr->len); rc 379 http/modules/ngx_http_limit_req_module.c if (rc == 0) { rc 410 http/modules/ngx_http_limit_req_module.c node = (rc < 0) ? node->left : node->right; rc 124 http/modules/ngx_http_limit_zone_module.c ngx_int_t rc; rc 199 http/modules/ngx_http_limit_zone_module.c rc = ngx_memn2cmp(vv->data, lz->data, len, (size_t) lz->len); rc 201 http/modules/ngx_http_limit_zone_module.c if (rc == 0) { rc 216 http/modules/ngx_http_limit_zone_module.c node = (rc < 0) ? node->left : node->right; rc 374 http/modules/ngx_http_map_module.c ngx_int_t rc, index; rc 518 http/modules/ngx_http_map_module.c ngx_regex_compile_t rc; rc 530 http/modules/ngx_http_map_module.c ngx_memzero(&rc, sizeof(ngx_regex_compile_t)); rc 532 http/modules/ngx_http_map_module.c rc.pattern = value[0]; rc 533 http/modules/ngx_http_map_module.c rc.err.len = NGX_MAX_CONF_ERRSTR; rc 534 http/modules/ngx_http_map_module.c rc.err.data = errstr; rc 536 http/modules/ngx_http_map_module.c regex->regex = ngx_http_regex_compile(ctx->cf, &rc); rc 553 http/modules/ngx_http_map_module.c rc = ngx_hash_add_key(&ctx->keys, &value[0], var, rc 556 http/modules/ngx_http_map_module.c if (rc == NGX_OK) { rc 560 http/modules/ngx_http_map_module.c if (rc == NGX_DECLINED) { rc 565 http/modules/ngx_http_map_module.c if (rc == NGX_BUSY) { rc 32 http/modules/ngx_http_memcached_module.c ngx_int_t rc); rc 148 http/modules/ngx_http_memcached_module.c ngx_int_t rc; rc 157 http/modules/ngx_http_memcached_module.c rc = ngx_http_discard_request_body(r); rc 159 http/modules/ngx_http_memcached_module.c if (rc != NGX_OK) { rc 160 http/modules/ngx_http_memcached_module.c return rc; rc 487 http/modules/ngx_http_memcached_module.c ngx_http_memcached_finalize_request(ngx_http_request_t *r, ngx_int_t rc) rc 97 http/modules/ngx_http_proxy_module.c ngx_int_t rc); rc 555 http/modules/ngx_http_proxy_module.c ngx_int_t rc; rc 617 http/modules/ngx_http_proxy_module.c rc = ngx_http_read_client_request_body(r, ngx_http_upstream_init); rc 619 http/modules/ngx_http_proxy_module.c if (rc >= NGX_HTTP_SPECIAL_RESPONSE) { rc 620 http/modules/ngx_http_proxy_module.c return rc; rc 1172 http/modules/ngx_http_proxy_module.c ngx_int_t rc; rc 1184 http/modules/ngx_http_proxy_module.c rc = ngx_http_parse_status_line(r, &u->buffer, &ctx->status); rc 1186 http/modules/ngx_http_proxy_module.c if (rc == NGX_AGAIN) { rc 1187 http/modules/ngx_http_proxy_module.c return rc; rc 1190 http/modules/ngx_http_proxy_module.c if (rc == NGX_ERROR) { rc 1245 http/modules/ngx_http_proxy_module.c ngx_int_t rc; rc 1254 http/modules/ngx_http_proxy_module.c rc = ngx_http_parse_header_line(r, &r->upstream->buffer, 1); rc 1256 http/modules/ngx_http_proxy_module.c if (rc == NGX_OK) { rc 1303 http/modules/ngx_http_proxy_module.c if (rc == NGX_HTTP_PARSE_HEADER_DONE) { rc 1345 http/modules/ngx_http_proxy_module.c if (rc == NGX_AGAIN) { rc 1370 http/modules/ngx_http_proxy_module.c ngx_http_proxy_finalize_request(ngx_http_request_t *r, ngx_int_t rc) rc 1495 http/modules/ngx_http_proxy_module.c ngx_int_t rc; rc 1509 http/modules/ngx_http_proxy_module.c rc = pr[i].handler(r, h, prefix, &pr[i]); rc 1511 http/modules/ngx_http_proxy_module.c if (rc != NGX_DECLINED) { rc 1512 http/modules/ngx_http_proxy_module.c return rc; rc 78 http/modules/ngx_http_random_index_module.c ngx_int_t rc; rc 126 http/modules/ngx_http_random_index_module.c rc = NGX_HTTP_NOT_FOUND; rc 130 http/modules/ngx_http_random_index_module.c rc = NGX_HTTP_FORBIDDEN; rc 134 http/modules/ngx_http_random_index_module.c rc = NGX_HTTP_INTERNAL_SERVER_ERROR; rc 140 http/modules/ngx_http_random_index_module.c return rc; rc 149 http/modules/ngx_http_range_filter_module.c ngx_int_t rc; rc 195 http/modules/ngx_http_range_filter_module.c rc = ngx_http_range_parse(r, ctx); rc 197 http/modules/ngx_http_range_filter_module.c if (rc == NGX_OK) { rc 211 http/modules/ngx_http_range_filter_module.c if (rc == NGX_HTTP_RANGE_NOT_SATISFIABLE) { rc 217 http/modules/ngx_http_range_filter_module.c return rc; rc 246 http/modules/ngx_http_realip_module.c ngx_int_t rc; rc 262 http/modules/ngx_http_realip_module.c rc = ngx_parse_addr(c->pool, &addr, ip, len); rc 264 http/modules/ngx_http_realip_module.c switch (rc) { rc 316 http/modules/ngx_http_realip_module.c ngx_int_t rc; rc 345 http/modules/ngx_http_realip_module.c rc = ngx_ptocidr(&value[1], &cidr); rc 347 http/modules/ngx_http_realip_module.c if (rc == NGX_ERROR) { rc 359 http/modules/ngx_http_realip_module.c if (rc == NGX_DONE) { rc 173 http/modules/ngx_http_referer_module.c ngx_int_t rc; rc 179 http/modules/ngx_http_referer_module.c rc = ngx_regex_exec_array(rlcf->regex, &referer, r->connection->log); rc 181 http/modules/ngx_http_referer_module.c if (rc == NGX_OK) { rc 185 http/modules/ngx_http_referer_module.c if (rc == NGX_ERROR) { rc 186 http/modules/ngx_http_referer_module.c return rc; rc 472 http/modules/ngx_http_referer_module.c ngx_int_t rc; rc 487 http/modules/ngx_http_referer_module.c rc = ngx_hash_add_key(keys, value, u, NGX_HASH_WILDCARD_KEY); rc 489 http/modules/ngx_http_referer_module.c if (rc == NGX_OK) { rc 493 http/modules/ngx_http_referer_module.c if (rc == NGX_DECLINED) { rc 498 http/modules/ngx_http_referer_module.c if (rc == NGX_BUSY) { rc 513 http/modules/ngx_http_referer_module.c ngx_regex_compile_t rc; rc 543 http/modules/ngx_http_referer_module.c ngx_memzero(&rc, sizeof(ngx_regex_compile_t)); rc 545 http/modules/ngx_http_referer_module.c rc.pattern = *name; rc 546 http/modules/ngx_http_referer_module.c rc.pool = cf->pool; rc 547 http/modules/ngx_http_referer_module.c rc.options = NGX_REGEX_CASELESS; rc 548 http/modules/ngx_http_referer_module.c rc.err.len = NGX_MAX_CONF_ERRSTR; rc 549 http/modules/ngx_http_referer_module.c rc.err.data = errstr; rc 551 http/modules/ngx_http_referer_module.c if (ngx_regex_compile(&rc) != NGX_OK) { rc 552 http/modules/ngx_http_referer_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "%V", &rc.err); rc 556 http/modules/ngx_http_referer_module.c re->regex = rc.regex; rc 299 http/modules/ngx_http_rewrite_module.c ngx_regex_compile_t rc; rc 316 http/modules/ngx_http_rewrite_module.c ngx_memzero(&rc, sizeof(ngx_regex_compile_t)); rc 318 http/modules/ngx_http_rewrite_module.c rc.pattern = value[1]; rc 319 http/modules/ngx_http_rewrite_module.c rc.err.len = NGX_MAX_CONF_ERRSTR; rc 320 http/modules/ngx_http_rewrite_module.c rc.err.data = errstr; rc 324 http/modules/ngx_http_rewrite_module.c regex->regex = ngx_http_regex_compile(cf, &rc); rc 637 http/modules/ngx_http_rewrite_module.c ngx_regex_compile_t rc; rc 745 http/modules/ngx_http_rewrite_module.c ngx_memzero(&rc, sizeof(ngx_regex_compile_t)); rc 747 http/modules/ngx_http_rewrite_module.c rc.pattern = value[last]; rc 748 http/modules/ngx_http_rewrite_module.c rc.options = (p[len - 1] == '*') ? NGX_REGEX_CASELESS : 0; rc 749 http/modules/ngx_http_rewrite_module.c rc.err.len = NGX_MAX_CONF_ERRSTR; rc 750 http/modules/ngx_http_rewrite_module.c rc.err.data = errstr; rc 752 http/modules/ngx_http_rewrite_module.c regex->regex = ngx_http_regex_compile(cf, &rc); rc 41 http/modules/ngx_http_scgi_module.c static void ngx_http_scgi_finalize_request(ngx_http_request_t *r, ngx_int_t rc); rc 368 http/modules/ngx_http_scgi_module.c ngx_int_t rc; rc 425 http/modules/ngx_http_scgi_module.c rc = ngx_http_read_client_request_body(r, ngx_http_upstream_init); rc 427 http/modules/ngx_http_scgi_module.c if (rc >= NGX_HTTP_SPECIAL_RESPONSE) { rc 428 http/modules/ngx_http_scgi_module.c return rc; rc 789 http/modules/ngx_http_scgi_module.c ngx_int_t rc; rc 801 http/modules/ngx_http_scgi_module.c rc = ngx_http_parse_status_line(r, &u->buffer, status); rc 803 http/modules/ngx_http_scgi_module.c if (rc == NGX_AGAIN) { rc 804 http/modules/ngx_http_scgi_module.c return rc; rc 807 http/modules/ngx_http_scgi_module.c if (rc == NGX_ERROR) { rc 846 http/modules/ngx_http_scgi_module.c ngx_int_t rc, status; rc 856 http/modules/ngx_http_scgi_module.c rc = ngx_http_parse_header_line(r, &r->upstream->buffer, 1); rc 858 http/modules/ngx_http_scgi_module.c if (rc == NGX_OK) { rc 905 http/modules/ngx_http_scgi_module.c if (rc == NGX_HTTP_PARSE_HEADER_DONE) { rc 954 http/modules/ngx_http_scgi_module.c if (rc == NGX_AGAIN) { rc 979 http/modules/ngx_http_scgi_module.c ngx_http_scgi_finalize_request(ngx_http_request_t *r, ngx_int_t rc) rc 85 http/modules/ngx_http_ssi_filter_module.c ngx_int_t rc); rc 87 http/modules/ngx_http_ssi_filter_module.c ngx_int_t rc); rc 371 http/modules/ngx_http_ssi_filter_module.c ngx_int_t rc; rc 454 http/modules/ngx_http_ssi_filter_module.c rc = ngx_http_ssi_parse(r, ctx); rc 458 http/modules/ngx_http_ssi_filter_module.c rc, ctx->looked, ctx->copy_start, ctx->copy_end); rc 460 http/modules/ngx_http_ssi_filter_module.c if (rc == NGX_ERROR) { rc 461 http/modules/ngx_http_ssi_filter_module.c return rc; rc 601 http/modules/ngx_http_ssi_filter_module.c if (rc == NGX_AGAIN) { rc 608 http/modules/ngx_http_ssi_filter_module.c if (rc == NGX_OK) { rc 791 http/modules/ngx_http_ssi_filter_module.c rc = cmd->handler(r, ctx, params); rc 793 http/modules/ngx_http_ssi_filter_module.c if (rc == NGX_OK) { rc 797 http/modules/ngx_http_ssi_filter_module.c if (rc == NGX_DONE || rc == NGX_AGAIN || rc == NGX_ERROR) { rc 799 http/modules/ngx_http_ssi_filter_module.c return rc; rc 896 http/modules/ngx_http_ssi_filter_module.c ngx_int_t rc; rc 915 http/modules/ngx_http_ssi_filter_module.c rc = ngx_http_next_body_filter(r, ctx->out); rc 953 http/modules/ngx_http_ssi_filter_module.c return rc; rc 1828 http/modules/ngx_http_ssi_filter_module.c ngx_int_t rc, key; rc 1892 http/modules/ngx_http_ssi_filter_module.c rc = ngx_http_ssi_evaluate_string(r, ctx, uri, NGX_HTTP_SSI_ADD_PREFIX); rc 1894 http/modules/ngx_http_ssi_filter_module.c if (rc != NGX_OK) { rc 1895 http/modules/ngx_http_ssi_filter_module.c return rc; rc 2053 http/modules/ngx_http_ssi_filter_module.c ngx_http_ssi_stub_output(ngx_http_request_t *r, void *data, ngx_int_t rc) rc 2057 http/modules/ngx_http_ssi_filter_module.c if (rc == NGX_ERROR || r->connection->error || r->request_output) { rc 2058 http/modules/ngx_http_ssi_filter_module.c return rc; rc 2081 http/modules/ngx_http_ssi_filter_module.c ngx_http_ssi_set_variable(ngx_http_request_t *r, void *data, ngx_int_t rc) rc 2090 http/modules/ngx_http_ssi_filter_module.c return rc; rc 2262 http/modules/ngx_http_ssi_filter_module.c ngx_int_t key, rc; rc 2283 http/modules/ngx_http_ssi_filter_module.c rc = ngx_http_ssi_evaluate_string(r, ctx, value, 0); rc 2285 http/modules/ngx_http_ssi_filter_module.c if (rc != NGX_OK) { rc 2286 http/modules/ngx_http_ssi_filter_module.c return rc; rc 2320 http/modules/ngx_http_ssi_filter_module.c ngx_int_t rc; rc 2372 http/modules/ngx_http_ssi_filter_module.c rc = ngx_http_ssi_evaluate_string(r, ctx, &left, flags); rc 2374 http/modules/ngx_http_ssi_filter_module.c if (rc != NGX_OK) { rc 2375 http/modules/ngx_http_ssi_filter_module.c return rc; rc 2436 http/modules/ngx_http_ssi_filter_module.c rc = ngx_http_ssi_evaluate_string(r, ctx, &right, flags); rc 2438 http/modules/ngx_http_ssi_filter_module.c if (rc != NGX_OK) { rc 2439 http/modules/ngx_http_ssi_filter_module.c return rc; rc 2447 http/modules/ngx_http_ssi_filter_module.c rc = -1; rc 2450 http/modules/ngx_http_ssi_filter_module.c rc = ngx_strncmp(left.data, right.data, right.len); rc 2472 http/modules/ngx_http_ssi_filter_module.c rc = ngx_regex_exec(rgc.regex, &left, NULL, 0); rc 2474 http/modules/ngx_http_ssi_filter_module.c if (rc < NGX_REGEX_NO_MATCHED) { rc 2477 http/modules/ngx_http_ssi_filter_module.c rc, &left, &right); rc 2489 http/modules/ngx_http_ssi_filter_module.c if ((rc == 0 && !negative) || (rc != 0 && negative)) { rc 2651 http/modules/ngx_http_ssi_filter_module.c ngx_int_t rc; rc 2669 http/modules/ngx_http_ssi_filter_module.c rc = ngx_hash_add_key(&smcf->commands, &cmd->name, cmd, rc 2672 http/modules/ngx_http_ssi_filter_module.c if (rc == NGX_OK) { rc 2676 http/modules/ngx_http_ssi_filter_module.c if (rc == NGX_BUSY) { rc 53 http/modules/ngx_http_static_module.c ngx_int_t rc; rc 110 http/modules/ngx_http_static_module.c rc = NGX_HTTP_NOT_FOUND; rc 116 http/modules/ngx_http_static_module.c rc = NGX_HTTP_FORBIDDEN; rc 122 http/modules/ngx_http_static_module.c rc = NGX_HTTP_INTERNAL_SERVER_ERROR; rc 126 http/modules/ngx_http_static_module.c if (rc != NGX_HTTP_NOT_FOUND || clcf->log_not_found) { rc 131 http/modules/ngx_http_static_module.c return rc; rc 200 http/modules/ngx_http_static_module.c rc = ngx_http_discard_request_body(r); rc 202 http/modules/ngx_http_static_module.c if (rc != NGX_OK) { rc 203 http/modules/ngx_http_static_module.c return rc; rc 234 http/modules/ngx_http_static_module.c rc = ngx_http_send_header(r); rc 236 http/modules/ngx_http_static_module.c if (rc == NGX_ERROR || rc > NGX_OK || r->header_only) { rc 237 http/modules/ngx_http_static_module.c return rc; rc 63 http/modules/ngx_http_stub_status_module.c ngx_int_t rc; rc 72 http/modules/ngx_http_stub_status_module.c rc = ngx_http_discard_request_body(r); rc 74 http/modules/ngx_http_stub_status_module.c if (rc != NGX_OK) { rc 75 http/modules/ngx_http_stub_status_module.c return rc; rc 83 http/modules/ngx_http_stub_status_module.c rc = ngx_http_send_header(r); rc 85 http/modules/ngx_http_stub_status_module.c if (rc == NGX_ERROR || rc > NGX_OK || r->header_only) { rc 86 http/modules/ngx_http_stub_status_module.c return rc; rc 125 http/modules/ngx_http_stub_status_module.c rc = ngx_http_send_header(r); rc 127 http/modules/ngx_http_stub_status_module.c if (rc == NGX_ERROR || rc > NGX_OK || r->header_only) { rc 128 http/modules/ngx_http_stub_status_module.c return rc; rc 179 http/modules/ngx_http_sub_filter_module.c ngx_int_t rc; rc 241 http/modules/ngx_http_sub_filter_module.c rc = ngx_http_sub_parse(r, ctx); rc 245 http/modules/ngx_http_sub_filter_module.c rc, &ctx->looked, ctx->copy_start, ctx->copy_end); rc 247 http/modules/ngx_http_sub_filter_module.c if (rc == NGX_ERROR) { rc 248 http/modules/ngx_http_sub_filter_module.c return rc; rc 339 http/modules/ngx_http_sub_filter_module.c if (rc == NGX_AGAIN) { rc 438 http/modules/ngx_http_sub_filter_module.c ngx_int_t rc; rc 457 http/modules/ngx_http_sub_filter_module.c rc = ngx_http_next_body_filter(r, ctx->out); rc 500 http/modules/ngx_http_sub_filter_module.c return rc; rc 48 http/modules/ngx_http_uwsgi_module.c ngx_int_t rc); rc 401 http/modules/ngx_http_uwsgi_module.c ngx_int_t rc; rc 458 http/modules/ngx_http_uwsgi_module.c rc = ngx_http_read_client_request_body(r, ngx_http_upstream_init); rc 460 http/modules/ngx_http_uwsgi_module.c if (rc >= NGX_HTTP_SPECIAL_RESPONSE) { rc 461 http/modules/ngx_http_uwsgi_module.c return rc; rc 840 http/modules/ngx_http_uwsgi_module.c ngx_int_t rc; rc 852 http/modules/ngx_http_uwsgi_module.c rc = ngx_http_parse_status_line(r, &u->buffer, status); rc 854 http/modules/ngx_http_uwsgi_module.c if (rc == NGX_AGAIN) { rc 855 http/modules/ngx_http_uwsgi_module.c return rc; rc 858 http/modules/ngx_http_uwsgi_module.c if (rc == NGX_ERROR) { rc 896 http/modules/ngx_http_uwsgi_module.c ngx_int_t rc, status; rc 906 http/modules/ngx_http_uwsgi_module.c rc = ngx_http_parse_header_line(r, &r->upstream->buffer, 1); rc 908 http/modules/ngx_http_uwsgi_module.c if (rc == NGX_OK) { rc 955 http/modules/ngx_http_uwsgi_module.c if (rc == NGX_HTTP_PARSE_HEADER_DONE) { rc 1004 http/modules/ngx_http_uwsgi_module.c if (rc == NGX_AGAIN) { rc 1029 http/modules/ngx_http_uwsgi_module.c ngx_http_uwsgi_finalize_request(ngx_http_request_t *r, ngx_int_t rc) rc 276 http/modules/ngx_http_xslt_filter_module.c ngx_int_t rc; rc 306 http/modules/ngx_http_xslt_filter_module.c rc = ngx_http_next_header_filter(r); rc 308 http/modules/ngx_http_xslt_filter_module.c if (rc == NGX_ERROR || rc > NGX_OK || r->header_only) { rc 310 http/modules/ngx_http_xslt_filter_module.c return rc; rc 447 http/modules/ngx_http_xslt_filter_module.c int len, rc, doc_type; rc 509 http/modules/ngx_http_xslt_filter_module.c rc = xsltSaveResultToString(&buf, &len, doc, sheet[i - 1].stylesheet); rc 513 http/modules/ngx_http_xslt_filter_module.c if (rc != 0) { rc 183 http/modules/perl/ngx_http_perl_module.c ngx_int_t rc; rc 221 http/modules/perl/ngx_http_perl_module.c rc = ngx_http_perl_call_handler(aTHX_ r, pmcf->nginx, sub, NULL, handler, rc 227 http/modules/perl/ngx_http_perl_module.c "perl handler done: %i", rc); rc 229 http/modules/perl/ngx_http_perl_module.c if (rc == NGX_DONE) { rc 230 http/modules/perl/ngx_http_perl_module.c ngx_http_finalize_request(r, rc); rc 234 http/modules/perl/ngx_http_perl_module.c if (rc > 600) { rc 235 http/modules/perl/ngx_http_perl_module.c rc = NGX_OK; rc 260 http/modules/perl/ngx_http_perl_module.c if (rc == NGX_OK || rc == NGX_HTTP_OK) { rc 265 http/modules/perl/ngx_http_perl_module.c ngx_http_finalize_request(r, rc); rc 297 http/modules/perl/ngx_http_perl_module.c ngx_int_t rc; rc 325 http/modules/perl/ngx_http_perl_module.c rc = ngx_http_perl_call_handler(aTHX_ r, pmcf->nginx, pv->sub, NULL, rc 347 http/modules/perl/ngx_http_perl_module.c return rc; rc 358 http/modules/perl/ngx_http_perl_module.c ngx_int_t rc; rc 433 http/modules/perl/ngx_http_perl_module.c rc = ngx_http_perl_call_handler(aTHX_ r, pmcf->nginx, sv, asv, handler, rc 446 http/modules/perl/ngx_http_perl_module.c return rc; rc 848 http/modules/perl/ngx_http_perl_module.c ngx_int_t rc; rc 853 http/modules/perl/ngx_http_perl_module.c rc = ngx_hash_add_key(&smcf->commands, &ngx_http_perl_ssi_command.name, rc 856 http/modules/perl/ngx_http_perl_module.c if (rc != NGX_OK) { rc 857 http/modules/perl/ngx_http_perl_module.c if (rc == NGX_BUSY) { rc 893 http/ngx_http.c ngx_int_t rc; rc 951 http/ngx_http.c rc = ngx_strcmp(first->name.data, second->name.data); rc 953 http/ngx_http.c if (rc == 0 && !first->exact_match && second->exact_match) { rc 958 http/ngx_http.c return rc; rc 1450 http/ngx_http.c ngx_int_t rc; rc 1490 http/ngx_http.c rc = ngx_hash_add_key(&ha, &name[n].name, name[n].server, rc 1493 http/ngx_http.c if (rc == NGX_ERROR) { rc 1497 http/ngx_http.c if (rc == NGX_DECLINED) { rc 1504 http/ngx_http.c if (rc == NGX_BUSY) { rc 101 http/ngx_http.h void ngx_http_finalize_request(ngx_http_request_t *r, ngx_int_t rc); rc 66 http/ngx_http_busy_lock.c int rc; rc 68 http/ngx_http_busy_lock.c rc = ngx_http_busy_lock_look_cacheable(bl, bc, lock); rc 72 http/ngx_http_busy_lock.c rc, bl->waiting, bl->max_waiting); rc 74 http/ngx_http_busy_lock.c if (rc == NGX_OK) { /* no the same request, there's free slot */ rc 78 http/ngx_http_busy_lock.c if (rc == NGX_ERROR && !lock) { /* no the same request, no free slot */ rc 82 http/ngx_http_copy_filter_module.c ngx_int_t rc; rc 141 http/ngx_http_copy_filter_module.c rc = ngx_output_chain(ctx, in); rc 151 http/ngx_http_copy_filter_module.c "http copy filter: %i \"%V?%V\"", rc, &r->uri, &r->args); rc 185 http/ngx_http_copy_filter_module.c rc = n; rc 197 http/ngx_http_copy_filter_module.c return rc; rc 827 http/ngx_http_core_module.c ngx_int_t rc; rc 837 http/ngx_http_core_module.c rc = ph[r->phase_handler].checker(r, &ph[r->phase_handler]); rc 839 http/ngx_http_core_module.c if (rc == NGX_OK) { rc 849 http/ngx_http_core_module.c ngx_int_t rc; rc 859 http/ngx_http_core_module.c rc = ph->handler(r); rc 861 http/ngx_http_core_module.c if (rc == NGX_OK) { rc 866 http/ngx_http_core_module.c if (rc == NGX_DECLINED) { rc 871 http/ngx_http_core_module.c if (rc == NGX_AGAIN || rc == NGX_DONE) { rc 877 http/ngx_http_core_module.c ngx_http_finalize_request(r, rc); rc 886 http/ngx_http_core_module.c ngx_int_t rc; rc 891 http/ngx_http_core_module.c rc = ph->handler(r); rc 893 http/ngx_http_core_module.c if (rc == NGX_DECLINED) { rc 898 http/ngx_http_core_module.c if (rc == NGX_DONE) { rc 904 http/ngx_http_core_module.c ngx_http_finalize_request(r, rc); rc 916 http/ngx_http_core_module.c ngx_int_t rc; rc 922 http/ngx_http_core_module.c rc = ngx_http_core_find_location(r); rc 924 http/ngx_http_core_module.c if (rc == NGX_ERROR) { rc 961 http/ngx_http_core_module.c if (rc == NGX_DONE) { rc 1049 http/ngx_http_core_module.c ngx_int_t rc; rc 1060 http/ngx_http_core_module.c rc = ph->handler(r); rc 1062 http/ngx_http_core_module.c if (rc == NGX_DECLINED) { rc 1067 http/ngx_http_core_module.c if (rc == NGX_AGAIN || rc == NGX_DONE) { rc 1075 http/ngx_http_core_module.c if (rc == NGX_OK) { rc 1081 http/ngx_http_core_module.c if (rc == NGX_OK) { rc 1092 http/ngx_http_core_module.c if (rc == NGX_HTTP_FORBIDDEN || rc == NGX_HTTP_UNAUTHORIZED) { rc 1093 http/ngx_http_core_module.c r->access_code = rc; rc 1102 http/ngx_http_core_module.c ngx_http_finalize_request(r, rc); rc 1334 http/ngx_http_core_module.c ngx_int_t rc; rc 1346 http/ngx_http_core_module.c rc = ph->handler(r); rc 1348 http/ngx_http_core_module.c if (rc != NGX_DECLINED) { rc 1349 http/ngx_http_core_module.c ngx_http_finalize_request(r, rc); rc 1479 http/ngx_http_core_module.c ngx_int_t rc; rc 1491 http/ngx_http_core_module.c rc = ngx_http_core_find_static_location(r, pclcf->static_locations); rc 1493 http/ngx_http_core_module.c if (rc == NGX_AGAIN) { rc 1503 http/ngx_http_core_module.c rc = ngx_http_core_find_location(r); rc 1506 http/ngx_http_core_module.c if (rc == NGX_OK || rc == NGX_DONE) { rc 1507 http/ngx_http_core_module.c return rc; rc 1528 http/ngx_http_core_module.c rc = ngx_http_core_find_location(r); rc 1530 http/ngx_http_core_module.c return (rc == NGX_ERROR) ? rc : NGX_OK; rc 1542 http/ngx_http_core_module.c return rc; rc 1559 http/ngx_http_core_module.c ngx_int_t rc, rv; rc 1577 http/ngx_http_core_module.c rc = ngx_filename_cmp(uri, node->name, n); rc 1579 http/ngx_http_core_module.c if (rc != 0) { rc 1580 http/ngx_http_core_module.c node = (rc < 0) ? node->left : node->right; rc 1758 http/ngx_http_core_module.c ngx_int_t rc; rc 1818 http/ngx_http_core_module.c rc = ngx_http_send_header(r); rc 1820 http/ngx_http_core_module.c if (rc == NGX_ERROR || rc > NGX_OK || r->header_only) { rc 1821 http/ngx_http_core_module.c return rc; rc 1843 http/ngx_http_core_module.c ngx_int_t rc; rc 1851 http/ngx_http_core_module.c rc = ngx_http_top_body_filter(r, in); rc 1853 http/ngx_http_core_module.c if (rc == NGX_ERROR) { rc 1858 http/ngx_http_core_module.c return rc; rc 2760 http/ngx_http_core_module.c ngx_regex_compile_t rc; rc 2763 http/ngx_http_core_module.c ngx_memzero(&rc, sizeof(ngx_regex_compile_t)); rc 2765 http/ngx_http_core_module.c rc.pattern = *regex; rc 2766 http/ngx_http_core_module.c rc.err.len = NGX_MAX_CONF_ERRSTR; rc 2767 http/ngx_http_core_module.c rc.err.data = errstr; rc 2770 http/ngx_http_core_module.c rc.options = NGX_REGEX_CASELESS; rc 2772 http/ngx_http_core_module.c rc.options = caseless; rc 2775 http/ngx_http_core_module.c clcf->regex = ngx_http_regex_compile(cf, &rc); rc 3705 http/ngx_http_core_module.c ngx_regex_compile_t rc; rc 3717 http/ngx_http_core_module.c ngx_memzero(&rc, sizeof(ngx_regex_compile_t)); rc 3719 http/ngx_http_core_module.c rc.pattern = value[i]; rc 3720 http/ngx_http_core_module.c rc.err.len = NGX_MAX_CONF_ERRSTR; rc 3721 http/ngx_http_core_module.c rc.err.data = errstr; rc 3725 http/ngx_http_core_module.c rc.options = NGX_REGEX_CASELESS; rc 3730 http/ngx_http_core_module.c sn->regex = ngx_http_regex_compile(cf, &rc); rc 3736 http/ngx_http_core_module.c cscf->captures = (rc.captures > 0); rc 4404 http/ngx_http_core_module.c ngx_regex_compile_t rc; rc 4417 http/ngx_http_core_module.c ngx_memzero(&rc, sizeof(ngx_regex_compile_t)); rc 4419 http/ngx_http_core_module.c rc.pool = cf->pool; rc 4420 http/ngx_http_core_module.c rc.err.len = NGX_MAX_CONF_ERRSTR; rc 4421 http/ngx_http_core_module.c rc.err.data = errstr; rc 4444 http/ngx_http_core_module.c rc.pattern = value[i]; rc 4445 http/ngx_http_core_module.c rc.options = NGX_REGEX_CASELESS; rc 4447 http/ngx_http_core_module.c if (ngx_regex_compile(&rc) != NGX_OK) { rc 4448 http/ngx_http_core_module.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "%V", &rc.err); rc 4452 http/ngx_http_core_module.c re->regex = rc.regex; rc 240 http/ngx_http_file_cache.c ngx_int_t rc, rv; rc 261 http/ngx_http_file_cache.c rc = ngx_http_file_cache_exists(cache, c); rc 264 http/ngx_http_file_cache.c "http file cache exists: %i e:%d", rc, c->exists); rc 266 http/ngx_http_file_cache.c if (rc == NGX_ERROR) { rc 267 http/ngx_http_file_cache.c return rc; rc 273 http/ngx_http_file_cache.c if (rc == NGX_AGAIN) { rc 279 http/ngx_http_file_cache.c if (rc == NGX_OK) { rc 367 http/ngx_http_file_cache.c ngx_int_t rc; rc 427 http/ngx_http_file_cache.c rc = NGX_HTTP_CACHE_UPDATING; rc 432 http/ngx_http_file_cache.c rc = NGX_HTTP_CACHE_STALE; rc 439 http/ngx_http_file_cache.c rc, c->valid_sec, now); rc 441 http/ngx_http_file_cache.c return rc; rc 510 http/ngx_http_file_cache.c ngx_int_t rc; rc 529 http/ngx_http_file_cache.c rc = NGX_OK; rc 539 http/ngx_http_file_cache.c rc = NGX_OK; rc 549 http/ngx_http_file_cache.c rc = NGX_OK; rc 552 http/ngx_http_file_cache.c rc = NGX_AGAIN; rc 570 http/ngx_http_file_cache.c rc = NGX_ERROR; rc 589 http/ngx_http_file_cache.c rc = NGX_DECLINED; rc 613 http/ngx_http_file_cache.c return rc; rc 651 http/ngx_http_file_cache.c ngx_int_t rc; rc 678 http/ngx_http_file_cache.c rc = ngx_memcmp(&key[sizeof(ngx_rbtree_key_t)], fcn->key, rc 681 http/ngx_http_file_cache.c if (rc == 0) { rc 685 http/ngx_http_file_cache.c node = (rc < 0) ? node->left : node->right; rc 781 http/ngx_http_file_cache.c ngx_int_t rc; rc 816 http/ngx_http_file_cache.c rc = ngx_ext_rename_file(&tf->file.name, &c->file.name, &ext); rc 818 http/ngx_http_file_cache.c if (rc == NGX_OK) { rc 824 http/ngx_http_file_cache.c rc = NGX_ERROR; rc 846 http/ngx_http_file_cache.c if (rc == NGX_OK) { rc 859 http/ngx_http_file_cache.c ngx_int_t rc; rc 883 http/ngx_http_file_cache.c rc = ngx_http_send_header(r); rc 885 http/ngx_http_file_cache.c if (rc == NGX_ERROR || rc > NGX_OK || r->header_only) { rc 886 http/ngx_http_file_cache.c return rc; rc 40 http/ngx_http_request.c static void ngx_http_terminate_request(ngx_http_request_t *r, ngx_int_t rc); rc 529 http/ngx_http_request.c ngx_int_t rc; rc 566 http/ngx_http_request.c rc = ngx_ssl_handshake(c); rc 568 http/ngx_http_request.c if (rc == NGX_AGAIN) { rc 689 http/ngx_http_request.c ngx_int_t rc, rv; rc 707 http/ngx_http_request.c rc = NGX_AGAIN; rc 711 http/ngx_http_request.c if (rc == NGX_AGAIN) { rc 719 http/ngx_http_request.c rc = ngx_http_parse_request_line(r, r->header_in); rc 721 http/ngx_http_request.c if (rc == NGX_OK) { rc 746 http/ngx_http_request.c rc = ngx_http_parse_complex_uri(r, cscf->merge_slashes); rc 748 http/ngx_http_request.c if (rc == NGX_HTTP_PARSE_INVALID_REQUEST) { rc 898 http/ngx_http_request.c if (rc != NGX_AGAIN) { rc 903 http/ngx_http_request.c ngx_http_client_errors[rc - NGX_HTTP_CLIENT_ERROR]); rc 939 http/ngx_http_request.c ngx_int_t rc, rv; rc 963 http/ngx_http_request.c rc = NGX_AGAIN; rc 967 http/ngx_http_request.c if (rc == NGX_AGAIN) { rc 1015 http/ngx_http_request.c rc = ngx_http_parse_header_line(r, r->header_in, rc 1018 http/ngx_http_request.c if (rc == NGX_OK) { rc 1076 http/ngx_http_request.c if (rc == NGX_HTTP_PARSE_HEADER_DONE) { rc 1087 http/ngx_http_request.c rc = ngx_http_process_request_header(r); rc 1089 http/ngx_http_request.c if (rc != NGX_OK) { rc 1098 http/ngx_http_request.c if (rc == NGX_AGAIN) { rc 1593 http/ngx_http_request.c long rc; rc 1600 http/ngx_http_request.c rc = SSL_get_verify_result(c->ssl->connection); rc 1602 http/ngx_http_request.c if (rc != X509_V_OK) { rc 1605 http/ngx_http_request.c rc, X509_verify_cert_error_string(rc)); rc 1866 http/ngx_http_request.c ngx_http_finalize_request(ngx_http_request_t *r, ngx_int_t rc) rc 1876 http/ngx_http_request.c rc, &r->uri, &r->args, r == c->data, r->main->count); rc 1878 http/ngx_http_request.c if (rc == NGX_DONE) { rc 1883 http/ngx_http_request.c if (rc == NGX_OK && r->filter_finalize) { rc 1888 http/ngx_http_request.c if (rc == NGX_DECLINED) { rc 1896 http/ngx_http_request.c rc = r->post_subrequest->handler(r, r->post_subrequest->data, rc); rc 1899 http/ngx_http_request.c if (rc == NGX_ERROR rc 1900 http/ngx_http_request.c || rc == NGX_HTTP_REQUEST_TIME_OUT rc 1901 http/ngx_http_request.c || rc == NGX_HTTP_CLIENT_CLOSED_REQUEST rc 1912 http/ngx_http_request.c ngx_http_terminate_request(r, rc); rc 1916 http/ngx_http_request.c if (rc >= NGX_HTTP_SPECIAL_RESPONSE rc 1917 http/ngx_http_request.c || rc == NGX_HTTP_CREATED rc 1918 http/ngx_http_request.c || rc == NGX_HTTP_NO_CONTENT) rc 1920 http/ngx_http_request.c if (rc == NGX_HTTP_CLOSE) { rc 1921 http/ngx_http_request.c ngx_http_terminate_request(r, rc); rc 1938 http/ngx_http_request.c ngx_http_finalize_request(r, ngx_http_special_response_handler(r, rc)); rc 2059 http/ngx_http_request.c ngx_http_terminate_request(ngx_http_request_t *r, ngx_int_t rc) rc 2070 http/ngx_http_request.c if (rc > 0 && (mr->headers_out.status == 0 || mr->connection->sent == 0)) { rc 2071 http/ngx_http_request.c mr->headers_out.status = rc; rc 2102 http/ngx_http_request.c ngx_http_close_request(mr, rc); rc 2194 http/ngx_http_request.c int rc; rc 2243 http/ngx_http_request.c rc = ngx_http_output_filter(r, NULL); rc 2247 http/ngx_http_request.c rc, &r->uri, &r->args); rc 2249 http/ngx_http_request.c if (rc == NGX_ERROR) { rc 2250 http/ngx_http_request.c ngx_http_finalize_request(r, rc); rc 2272 http/ngx_http_request.c ngx_http_finalize_request(r, rc); rc 2901 http/ngx_http_request.c ngx_http_close_request(ngx_http_request_t *r, ngx_int_t rc) rc 2921 http/ngx_http_request.c ngx_http_free_request(r, rc); rc 2927 http/ngx_http_request.c ngx_http_free_request(ngx_http_request_t *r, ngx_int_t rc) rc 2962 http/ngx_http_request.c if (rc > 0 && (r->headers_out.status == 0 || r->connection->sent == 0)) { rc 2963 http/ngx_http_request.c r->headers_out.status = rc; rc 317 http/ngx_http_request.h void *data, ngx_int_t rc); rc 243 http/ngx_http_request_body.c ngx_int_t rc; rc 251 http/ngx_http_request_body.c rc = ngx_http_do_read_client_request_body(r); rc 253 http/ngx_http_request_body.c if (rc >= NGX_HTTP_SPECIAL_RESPONSE) { rc 254 http/ngx_http_request_body.c ngx_http_finalize_request(r, rc); rc 493 http/ngx_http_request_body.c ngx_int_t rc; rc 523 http/ngx_http_request_body.c rc = ngx_http_read_discarded_request_body(r); rc 525 http/ngx_http_request_body.c if (rc == NGX_OK) { rc 913 http/ngx_http_script.c ngx_int_t rc; rc 935 http/ngx_http_script.c rc = ngx_http_regex_exec(r, code->regex, &e->line); rc 937 http/ngx_http_script.c if (rc == NGX_DECLINED) { rc 966 http/ngx_http_script.c if (rc == NGX_ERROR) { rc 473 http/ngx_http_special_response.c ngx_int_t rc; rc 492 http/ngx_http_special_response.c rc = ngx_http_special_response_handler(r, error); rc 496 http/ngx_http_special_response.c switch (rc) { rc 503 http/ngx_http_special_response.c return rc; rc 606 http/ngx_http_special_response.c ngx_int_t rc; rc 650 http/ngx_http_special_response.c rc = ngx_http_send_header(r); rc 652 http/ngx_http_special_response.c if (rc == NGX_ERROR || r->header_only) { rc 653 http/ngx_http_special_response.c return rc; rc 716 http/ngx_http_special_response.c ngx_int_t rc; rc 748 http/ngx_http_special_response.c rc = ngx_http_send_header(r); rc 750 http/ngx_http_special_response.c if (rc == NGX_ERROR || r->header_only) { rc 751 http/ngx_http_special_response.c return rc; rc 71 http/ngx_http_upstream.c ngx_http_upstream_t *u, ngx_int_t rc); rc 454 http/ngx_http_upstream.c ngx_int_t rc; rc 456 http/ngx_http_upstream.c rc = ngx_http_upstream_cache(r, u); rc 458 http/ngx_http_upstream.c if (rc == NGX_BUSY) { rc 465 http/ngx_http_upstream.c if (rc == NGX_DONE) { rc 469 http/ngx_http_upstream.c if (rc != NGX_DECLINED) { rc 470 http/ngx_http_upstream.c ngx_http_finalize_request(r, rc); rc 637 http/ngx_http_upstream.c ngx_int_t rc; rc 688 http/ngx_http_upstream.c rc = ngx_http_file_cache_open(r); rc 691 http/ngx_http_upstream.c "http upstream cache: %i", rc); rc 693 http/ngx_http_upstream.c switch (rc) { rc 698 http/ngx_http_upstream.c u->cache_status = rc; rc 699 http/ngx_http_upstream.c rc = NGX_OK; rc 702 http/ngx_http_upstream.c rc = NGX_HTTP_CACHE_STALE; rc 711 http/ngx_http_upstream.c switch (rc) { rc 715 http/ngx_http_upstream.c rc = ngx_http_upstream_cache_send(r, u); rc 717 http/ngx_http_upstream.c if (rc != NGX_HTTP_UPSTREAM_INVALID_HEADER) { rc 718 http/ngx_http_upstream.c return rc; rc 763 http/ngx_http_upstream.c return rc; rc 775 http/ngx_http_upstream.c ngx_int_t rc; rc 800 http/ngx_http_upstream.c rc = u->process_header(r); rc 802 http/ngx_http_upstream.c if (rc == NGX_OK) { rc 811 http/ngx_http_upstream.c if (rc == NGX_ERROR) { rc 819 http/ngx_http_upstream.c return rc; rc 1062 http/ngx_http_upstream.c ngx_int_t rc; rc 1089 http/ngx_http_upstream.c rc = ngx_event_connect_peer(&u->peer); rc 1092 http/ngx_http_upstream.c "http upstream connect: %i", rc); rc 1094 http/ngx_http_upstream.c if (rc == NGX_ERROR) { rc 1102 http/ngx_http_upstream.c if (rc == NGX_BUSY) { rc 1108 http/ngx_http_upstream.c if (rc == NGX_DECLINED) { rc 1176 http/ngx_http_upstream.c if (rc == NGX_AGAIN) { rc 1200 http/ngx_http_upstream.c ngx_int_t rc; rc 1224 http/ngx_http_upstream.c rc = ngx_ssl_handshake(c); rc 1226 http/ngx_http_upstream.c if (rc == NGX_AGAIN) { rc 1332 http/ngx_http_upstream.c ngx_int_t rc; rc 1347 http/ngx_http_upstream.c rc = ngx_output_chain(&u->output, u->request_sent ? NULL : u->request_bufs); rc 1351 http/ngx_http_upstream.c if (rc == NGX_ERROR) { rc 1360 http/ngx_http_upstream.c if (rc == NGX_AGAIN) { rc 1456 http/ngx_http_upstream.c ngx_int_t rc; rc 1545 http/ngx_http_upstream.c rc = u->process_header(r); rc 1547 http/ngx_http_upstream.c if (rc == NGX_AGAIN) { rc 1564 http/ngx_http_upstream.c if (rc == NGX_HTTP_UPSTREAM_INVALID_HEADER) { rc 1569 http/ngx_http_upstream.c if (rc == NGX_ERROR) { rc 1663 http/ngx_http_upstream.c ngx_int_t rc; rc 1665 http/ngx_http_upstream.c rc = u->reinit_request(r); rc 1667 http/ngx_http_upstream.c if (rc == NGX_OK) { rc 1669 http/ngx_http_upstream.c rc = ngx_http_upstream_cache_send(r, u); rc 1672 http/ngx_http_upstream.c ngx_http_upstream_finalize_request(r, u, rc); rc 2006 http/ngx_http_upstream.c ngx_int_t rc; rc 2011 http/ngx_http_upstream.c rc = ngx_http_send_header(r); rc 2013 http/ngx_http_upstream.c if (rc == NGX_ERROR || rc > NGX_OK || r->post_action) { rc 2014 http/ngx_http_upstream.c ngx_http_upstream_finalize_request(r, u, rc); rc 2034 http/ngx_http_upstream.c ngx_http_upstream_finalize_request(r, u, rc); rc 2361 http/ngx_http_upstream.c ngx_int_t rc; rc 2379 http/ngx_http_upstream.c rc = ngx_http_output_filter(r, u->out_bufs); rc 2381 http/ngx_http_upstream.c if (rc == NGX_ERROR) { rc 2857 http/ngx_http_upstream.c ngx_int_t rc; rc 2859 http/ngx_http_upstream.c rc = u->reinit_request(r); rc 2861 http/ngx_http_upstream.c if (rc == NGX_OK) { rc 2863 http/ngx_http_upstream.c rc = ngx_http_upstream_cache_send(r, u); rc 2866 http/ngx_http_upstream.c ngx_http_upstream_finalize_request(r, u, rc); rc 2927 http/ngx_http_upstream.c ngx_http_upstream_t *u, ngx_int_t rc) rc 2932 http/ngx_http_upstream.c "finalize http upstream request: %i", rc); rc 2954 http/ngx_http_upstream.c u->finalize_request(r, rc); rc 3000 http/ngx_http_upstream.c if (rc == NGX_HTTP_BAD_GATEWAY || rc == NGX_HTTP_GATEWAY_TIME_OUT) { rc 3002 http/ngx_http_upstream.c valid = ngx_http_file_cache_valid(u->conf->cache_valid, rc); rc 3006 http/ngx_http_upstream.c r->cache->error = rc; rc 3016 http/ngx_http_upstream.c && (rc == NGX_ERROR || rc >= NGX_HTTP_SPECIAL_RESPONSE)) rc 3018 http/ngx_http_upstream.c rc = 0; rc 3021 http/ngx_http_upstream.c if (rc == NGX_DECLINED) { rc 3027 http/ngx_http_upstream.c if (rc == 0) { rc 3028 http/ngx_http_upstream.c rc = ngx_http_send_special(r, NGX_HTTP_LAST); rc 3031 http/ngx_http_upstream.c ngx_http_finalize_request(r, rc); rc 3479 http/ngx_http_upstream.c ngx_int_t rc; rc 3490 http/ngx_http_upstream.c rc = r->upstream->rewrite_redirect(r, ho, 0); rc 3492 http/ngx_http_upstream.c if (rc == NGX_DECLINED) { rc 3496 http/ngx_http_upstream.c if (rc == NGX_OK) { rc 3503 http/ngx_http_upstream.c return rc; rc 3524 http/ngx_http_upstream.c ngx_int_t rc; rc 3539 http/ngx_http_upstream.c rc = r->upstream->rewrite_redirect(r, ho, p + 4 - ho->value.data); rc 3545 http/ngx_http_upstream.c if (rc == NGX_DECLINED) { rc 3549 http/ngx_http_upstream.c if (rc == NGX_OK) { rc 3556 http/ngx_http_upstream.c return rc; rc 4306 http/ngx_http_upstream.c ngx_int_t rc; rc 4319 http/ngx_http_upstream.c rc = ngx_parse_addr(cf->pool, *paddr, value[1].data, value[1].len); rc 4321 http/ngx_http_upstream.c switch (rc) { rc 287 http/ngx_http_upstream.h ngx_int_t rc); rc 363 http/ngx_http_upstream_round_robin.c ngx_int_t rc; rc 555 http/ngx_http_upstream_round_robin.c rc = ngx_http_upstream_get_round_robin_peer(pc, rrp); rc 557 http/ngx_http_upstream_round_robin.c if (rc != NGX_BUSY) { rc 558 http/ngx_http_upstream_round_robin.c return rc; rc 697 http/ngx_http_upstream_round_robin.c ngx_int_t rc; rc 708 http/ngx_http_upstream_round_robin.c rc = ngx_ssl_set_session(pc->connection, ssl_session); rc 716 http/ngx_http_upstream_round_robin.c return rc; rc 270 http/ngx_http_variables.c ngx_int_t rc; rc 316 http/ngx_http_variables.c rc = ngx_hash_add_key(cmcf->variables_keys, &v->name, v, 0); rc 318 http/ngx_http_variables.c if (rc == NGX_ERROR) { rc 322 http/ngx_http_variables.c if (rc == NGX_BUSY) { rc 1270 http/ngx_http_variables.c ngx_int_t rc; rc 1272 http/ngx_http_variables.c rc = ngx_http_auth_basic_user(r); rc 1274 http/ngx_http_variables.c if (rc == NGX_DECLINED) { rc 1279 http/ngx_http_variables.c if (rc == NGX_ERROR) { rc 1719 http/ngx_http_variables.c ngx_http_regex_compile(ngx_conf_t *cf, ngx_regex_compile_t *rc) rc 1730 http/ngx_http_variables.c rc->pool = cf->pool; rc 1732 http/ngx_http_variables.c if (ngx_regex_compile(rc) != NGX_OK) { rc 1733 http/ngx_http_variables.c ngx_conf_log_error(NGX_LOG_EMERG, cf, 0, "%V", &rc->err); rc 1742 http/ngx_http_variables.c re->regex = rc->regex; rc 1743 http/ngx_http_variables.c re->ncaptures = rc->captures; rc 1748 http/ngx_http_variables.c n = (ngx_uint_t) rc->named_captures; rc 1754 http/ngx_http_variables.c rv = ngx_palloc(rc->pool, n * sizeof(ngx_http_regex_variable_t)); rc 1761 http/ngx_http_variables.c re->name = rc->pattern; rc 1763 http/ngx_http_variables.c size = rc->name_size; rc 1764 http/ngx_http_variables.c p = rc->names; rc 1794 http/ngx_http_variables.c ngx_int_t rc, index; rc 1815 http/ngx_http_variables.c rc = ngx_regex_exec(re->regex, s, r->captures, len); rc 1817 http/ngx_http_variables.c if (rc == NGX_REGEX_NO_MATCHED) { rc 1821 http/ngx_http_variables.c if (rc < 0) { rc 1824 http/ngx_http_variables.c rc, s, &re->name); rc 1853 http/ngx_http_variables.c r->ncaptures = rc * 2; rc 1865 http/ngx_http_variables.c ngx_int_t rc; rc 1887 http/ngx_http_variables.c rc = ngx_hash_add_key(cmcf->variables_keys, &v->name, v, rc 1890 http/ngx_http_variables.c if (rc == NGX_OK) { rc 1894 http/ngx_http_variables.c if (rc == NGX_BUSY) { rc 86 http/ngx_http_variables.h ngx_regex_compile_t *rc); rc 154 mail/ngx_mail_auth_http_module.c ngx_int_t rc; rc 194 mail/ngx_mail_auth_http_module.c rc = ngx_event_connect_peer(&ctx->peer); rc 196 mail/ngx_mail_auth_http_module.c if (rc == NGX_ERROR || rc == NGX_BUSY || rc == NGX_DECLINED) { rc 218 mail/ngx_mail_auth_http_module.c if (rc == NGX_OK) { rc 459 mail/ngx_mail_auth_http_module.c ngx_int_t rc, port, n; rc 467 mail/ngx_mail_auth_http_module.c rc = ngx_mail_auth_http_parse_header_line(s, ctx); rc 469 mail/ngx_mail_auth_http_module.c if (rc == NGX_OK) { rc 676 mail/ngx_mail_auth_http_module.c if (rc == NGX_DONE) { rc 837 mail/ngx_mail_auth_http_module.c if (rc == NGX_AGAIN ) { rc 603 mail/ngx_mail_handler.c ngx_int_t rc; rc 629 mail/ngx_mail_handler.c rc = cscf->protocol->parse_command(s); rc 631 mail/ngx_mail_handler.c if (rc == NGX_AGAIN) { rc 634 mail/ngx_mail_handler.c return rc; rc 648 mail/ngx_mail_handler.c if (rc == NGX_IMAP_NEXT || rc == NGX_MAIL_PARSE_INVALID_COMMAND) { rc 649 mail/ngx_mail_handler.c return rc; rc 652 mail/ngx_mail_handler.c if (rc == NGX_ERROR) { rc 105 mail/ngx_mail_imap_handler.c ngx_int_t rc; rc 130 mail/ngx_mail_imap_handler.c rc = ngx_mail_read_command(s, c); rc 132 mail/ngx_mail_imap_handler.c if (rc == NGX_AGAIN || rc == NGX_ERROR) { rc 140 mail/ngx_mail_imap_handler.c if (rc == NGX_OK) { rc 173 mail/ngx_mail_imap_handler.c rc = ngx_mail_imap_login(s, c); rc 177 mail/ngx_mail_imap_handler.c rc = ngx_mail_imap_authenticate(s, c); rc 178 mail/ngx_mail_imap_handler.c tag = (rc != NGX_OK); rc 182 mail/ngx_mail_imap_handler.c rc = ngx_mail_imap_capability(s, c); rc 194 mail/ngx_mail_imap_handler.c rc = ngx_mail_imap_starttls(s, c); rc 198 mail/ngx_mail_imap_handler.c rc = NGX_MAIL_PARSE_INVALID_COMMAND; rc 205 mail/ngx_mail_imap_handler.c rc = ngx_mail_auth_login_username(s, c, 0); rc 214 mail/ngx_mail_imap_handler.c rc = ngx_mail_auth_login_password(s, c); rc 218 mail/ngx_mail_imap_handler.c rc = ngx_mail_auth_plain(s, c, 0); rc 222 mail/ngx_mail_imap_handler.c rc = ngx_mail_auth_cram_md5(s, c); rc 226 mail/ngx_mail_imap_handler.c } else if (rc == NGX_IMAP_NEXT) { rc 231 mail/ngx_mail_imap_handler.c switch (rc) { rc 275 mail/ngx_mail_imap_handler.c if (rc != NGX_IMAP_NEXT) { rc 344 mail/ngx_mail_imap_handler.c ngx_int_t rc; rc 354 mail/ngx_mail_imap_handler.c rc = ngx_mail_auth_parse(s, c); rc 356 mail/ngx_mail_imap_handler.c switch (rc) { rc 403 mail/ngx_mail_imap_handler.c return rc; rc 121 mail/ngx_mail_pop3_handler.c ngx_int_t rc; rc 145 mail/ngx_mail_pop3_handler.c rc = ngx_mail_read_command(s, c); rc 147 mail/ngx_mail_pop3_handler.c if (rc == NGX_AGAIN || rc == NGX_ERROR) { rc 153 mail/ngx_mail_pop3_handler.c if (rc == NGX_OK) { rc 161 mail/ngx_mail_pop3_handler.c rc = ngx_mail_pop3_user(s, c); rc 165 mail/ngx_mail_pop3_handler.c rc = ngx_mail_pop3_capa(s, c, 1); rc 169 mail/ngx_mail_pop3_handler.c rc = ngx_mail_pop3_apop(s, c); rc 173 mail/ngx_mail_pop3_handler.c rc = ngx_mail_pop3_auth(s, c); rc 184 mail/ngx_mail_pop3_handler.c rc = ngx_mail_pop3_stls(s, c); rc 188 mail/ngx_mail_pop3_handler.c rc = NGX_MAIL_PARSE_INVALID_COMMAND; rc 199 mail/ngx_mail_pop3_handler.c rc = ngx_mail_pop3_pass(s, c); rc 203 mail/ngx_mail_pop3_handler.c rc = ngx_mail_pop3_capa(s, c, 0); rc 214 mail/ngx_mail_pop3_handler.c rc = NGX_MAIL_PARSE_INVALID_COMMAND; rc 225 mail/ngx_mail_pop3_handler.c rc = ngx_mail_auth_login_username(s, c, 0); rc 232 mail/ngx_mail_pop3_handler.c rc = ngx_mail_auth_login_password(s, c); rc 236 mail/ngx_mail_pop3_handler.c rc = ngx_mail_auth_plain(s, c, 0); rc 240 mail/ngx_mail_pop3_handler.c rc = ngx_mail_auth_cram_md5(s, c); rc 245 mail/ngx_mail_pop3_handler.c switch (rc) { rc 441 mail/ngx_mail_pop3_handler.c ngx_int_t rc; rc 459 mail/ngx_mail_pop3_handler.c rc = ngx_mail_auth_parse(s, c); rc 461 mail/ngx_mail_pop3_handler.c switch (rc) { rc 498 mail/ngx_mail_pop3_handler.c return rc; rc 114 mail/ngx_mail_proxy_module.c ngx_int_t rc; rc 150 mail/ngx_mail_proxy_module.c rc = ngx_event_connect_peer(&p->upstream); rc 152 mail/ngx_mail_proxy_module.c if (rc == NGX_ERROR || rc == NGX_BUSY || rc == NGX_DECLINED) { rc 217 mail/ngx_mail_proxy_module.c ngx_int_t rc; rc 237 mail/ngx_mail_proxy_module.c rc = ngx_mail_proxy_read_response(s, 0); rc 239 mail/ngx_mail_proxy_module.c if (rc == NGX_AGAIN) { rc 243 mail/ngx_mail_proxy_module.c if (rc == NGX_ERROR) { rc 330 mail/ngx_mail_proxy_module.c ngx_int_t rc; rc 350 mail/ngx_mail_proxy_module.c rc = ngx_mail_proxy_read_response(s, s->mail_state); rc 352 mail/ngx_mail_proxy_module.c if (rc == NGX_AGAIN) { rc 356 mail/ngx_mail_proxy_module.c if (rc == NGX_ERROR) { rc 464 mail/ngx_mail_proxy_module.c ngx_int_t rc; rc 486 mail/ngx_mail_proxy_module.c rc = ngx_mail_proxy_read_response(s, s->mail_state); rc 488 mail/ngx_mail_proxy_module.c if (rc == NGX_AGAIN) { rc 492 mail/ngx_mail_proxy_module.c if (rc == NGX_ERROR) { rc 386 mail/ngx_mail_smtp_handler.c ngx_int_t rc; rc 410 mail/ngx_mail_smtp_handler.c rc = ngx_mail_read_command(s, c); rc 412 mail/ngx_mail_smtp_handler.c if (rc == NGX_AGAIN || rc == NGX_ERROR) { rc 418 mail/ngx_mail_smtp_handler.c if (rc == NGX_OK) { rc 427 mail/ngx_mail_smtp_handler.c rc = ngx_mail_smtp_helo(s, c); rc 431 mail/ngx_mail_smtp_handler.c rc = ngx_mail_smtp_auth(s, c); rc 440 mail/ngx_mail_smtp_handler.c rc = ngx_mail_smtp_mail(s, c); rc 444 mail/ngx_mail_smtp_handler.c rc = ngx_mail_smtp_rcpt(s, c); rc 448 mail/ngx_mail_smtp_handler.c rc = ngx_mail_smtp_rset(s, c); rc 455 mail/ngx_mail_smtp_handler.c rc = ngx_mail_smtp_starttls(s, c); rc 460 mail/ngx_mail_smtp_handler.c rc = NGX_MAIL_PARSE_INVALID_COMMAND; rc 467 mail/ngx_mail_smtp_handler.c rc = ngx_mail_auth_login_username(s, c, 0); rc 474 mail/ngx_mail_smtp_handler.c rc = ngx_mail_auth_login_password(s, c); rc 478 mail/ngx_mail_smtp_handler.c rc = ngx_mail_auth_plain(s, c, 0); rc 482 mail/ngx_mail_smtp_handler.c rc = ngx_mail_auth_cram_md5(s, c); rc 487 mail/ngx_mail_smtp_handler.c switch (rc) { rc 581 mail/ngx_mail_smtp_handler.c ngx_int_t rc; rc 597 mail/ngx_mail_smtp_handler.c rc = ngx_mail_auth_parse(s, c); rc 599 mail/ngx_mail_smtp_handler.c switch (rc) { rc 646 mail/ngx_mail_smtp_handler.c return rc; rc 41 os/unix/ngx_darwin_sendfile_chain.c int rc; rc 234 os/unix/ngx_darwin_sendfile_chain.c rc = sendfile(file->file->fd, c->fd, file->file_pos, rc 237 os/unix/ngx_darwin_sendfile_chain.c if (rc == -1) { rc 258 os/unix/ngx_darwin_sendfile_chain.c if (rc == 0 && sent == 0) { rc 275 os/unix/ngx_darwin_sendfile_chain.c rc, file->file_pos, sent, file_size + header_size); rc 278 os/unix/ngx_darwin_sendfile_chain.c rc = writev(c->fd, header.elts, header.nelts); rc 281 os/unix/ngx_darwin_sendfile_chain.c "writev: %d of %uz", rc, send); rc 283 os/unix/ngx_darwin_sendfile_chain.c if (rc == -1) { rc 304 os/unix/ngx_darwin_sendfile_chain.c sent = rc > 0 ? rc : 0; rc 43 os/unix/ngx_freebsd_sendfile_chain.c int rc, flags; rc 269 os/unix/ngx_freebsd_sendfile_chain.c rc = sendfile(file->file->fd, c->fd, file->file_pos, rc 272 os/unix/ngx_freebsd_sendfile_chain.c if (rc == -1) { rc 304 os/unix/ngx_freebsd_sendfile_chain.c } else if (rc >= 0 && sent == 0) { rc 321 os/unix/ngx_freebsd_sendfile_chain.c rc, file->file_pos, sent, file_size + header_size); rc 324 os/unix/ngx_freebsd_sendfile_chain.c rc = writev(c->fd, header.elts, header.nelts); rc 327 os/unix/ngx_freebsd_sendfile_chain.c "writev: %d of %uz", rc, header_size); rc 329 os/unix/ngx_freebsd_sendfile_chain.c if (rc == -1) { rc 350 os/unix/ngx_freebsd_sendfile_chain.c sent = rc > 0 ? rc : 0; rc 39 os/unix/ngx_linux_sendfile_chain.c int rc, tcp_nodelay; rc 261 os/unix/ngx_linux_sendfile_chain.c rc = sendfile(c->fd, file->file->fd, &offset, file_size); rc 263 os/unix/ngx_linux_sendfile_chain.c if (rc == -1) { rc 284 os/unix/ngx_linux_sendfile_chain.c sent = rc > 0 ? rc : 0; rc 288 os/unix/ngx_linux_sendfile_chain.c rc, file->file_pos, sent, file_size); rc 291 os/unix/ngx_linux_sendfile_chain.c rc = writev(c->fd, header.elts, header.nelts); rc 293 os/unix/ngx_linux_sendfile_chain.c if (rc == -1) { rc 314 os/unix/ngx_linux_sendfile_chain.c sent = rc > 0 ? rc : 0;