| /lighttpd1.4/src/ |
| H A D | burl.c | 60 int j = i; in burl_normalize_basic_unreserved_fix() local 132 int j = i; in burl_normalize_basic_required_fix() local 226 int j = i; in burl_normalize_qs20_to_plus_fix() local 228 s[j] = s[i]; in burl_normalize_qs20_to_plus_fix() 256 int j = i; in burl_normalize_2F_to_slash_fix() local 258 s[j] = s[i]; in burl_normalize_2F_to_slash_fix() 267 qs = j; in burl_normalize_2F_to_slash_fix() 268 j += qslen; in burl_normalize_2F_to_slash_fix() 392 int j = 0; in burl_append_encode_nde() local 426 int j = 0; in burl_append_encode_psnde() local [all …]
|
| H A D | mod_extforward.c | 217 for (uint32_t j = 0; j < forwarder->used; ++j) { in mod_extforward_parse_forwarder() local 245 for (uint32_t j = 0; j < forwarder->used; ++j) { in mod_extforward_parse_forwarder() local 286 for (uint32_t j = 0, used = opts_params->used; j < used; ++j) { in mod_extforward_parse_opts() local 371 for (uint32_t j = 0; j < a->used; ++j) { in SETDEFAULTS_FUNC() local 778 if (-1 == offsets[j]) { --j; continue; } in mod_extforward_Forwarded() 831 do { --j; } while (j > 0 && -1 != offsets[j]); in mod_extforward_Forwarded() 854 if (j > 0) { do { --j; } while (j > 0 && -1 != offsets[j]); } in mod_extforward_Forwarded() 855 if (-1 == offsets[j]) ++j; in mod_extforward_Forwarded() 856 if (j == ofor) j += 4; in mod_extforward_Forwarded() 968 for (j = i; j < used; ) { in mod_extforward_Forwarded() [all …]
|
| H A D | lemon.c | 1983 for(j=0; op[j].label; j++){ in handleflags() 2025 for(j=0; op[j].label; j++){ in handleswitch() 2904 for(j=start; j<i; j++) if( z[j]!='\n' ) z[j] = ' '; in preprocess_input() 2907 for(j=i; z[j] && z[j]!='\n'; j++) z[j] = ' '; in preprocess_input() 2911 for(j=start; j<i; j++) if( z[j]!='\n' ) z[j] = ' '; in preprocess_input() 2917 for(j=i; z[j] && z[j]!='\n'; j++) z[j] = ' '; in preprocess_input() 2926 for(j=i; z[j] && !ISSPACE(z[j]); j++){} in preprocess_input() 2940 for(j=i; z[j] && z[j]!='\n'; j++) z[j] = ' '; in preprocess_input() 3999 for(j=0; j<i; j++){ in translate_code() 4161 for(j=0; stddt[j]; j++){ in print_stack_union() [all …]
|
| H A D | http_range.c | 61 for (int j = i+2; j < n; j += 2) { in http_range_coalesce() local 63 if (b <= ranges[j] ? e < ranges[j]-80 : ranges[j+1] < b-80) in http_range_coalesce() 66 ranges[i] = b <= ranges[j] ? b : ranges[j]; in http_range_coalesce() 67 ranges[i+1] = e >= ranges[j+1] ? e : ranges[j+1]; in http_range_coalesce() 68 memmove(ranges+j, ranges+j+2, (n-j-2)*sizeof(off_t)); in http_range_coalesce()
|
| H A D | algo_md5.c | 303 unsigned int i, j; in Encode() local 305 for (i = 0, j = 0; j < len; i++, j += 4) { in Encode() 306 output[j] = (unsigned char)(input[i] & 0xff); in Encode() 307 output[j+1] = (unsigned char)((input[i] >> 8) & 0xff); in Encode() 308 output[j+2] = (unsigned char)((input[i] >> 16) & 0xff); in Encode() 309 output[j+3] = (unsigned char)((input[i] >> 24) & 0xff); in Encode() 318 unsigned int i, j; in Decode() local 320 for (i = 0, j = 0; j < len; i++, j += 4) in Decode() 321 output[i] = ((UINT4)input[j]) | (((UINT4)input[j+1]) << 8) | in Decode() 322 (((UINT4)input[j+2]) << 16) | (((UINT4)input[j+3]) << 24); in Decode()
|
| H A D | keyvalue.c | 492 unsigned int count = 0, j = 0; in pcre_keyvalue_burl_percent_high_UTF8() local 499 for (int i = 0; i < used; ++i, ++j) { in pcre_keyvalue_burl_percent_high_UTF8() 501 p[j] = s[i]; in pcre_keyvalue_burl_percent_high_UTF8() 503 p[j] = '%'; in pcre_keyvalue_burl_percent_high_UTF8() 505 p[++j] = hex_chars_uc[s[i] & 0xF]; in pcre_keyvalue_burl_percent_high_UTF8() 516 unsigned int count = 0, j = 0; in pcre_keyvalue_burl_percent_percent_high_UTF8() local 523 for (int i = 0; i < used; ++i, ++j) { in pcre_keyvalue_burl_percent_percent_high_UTF8() 525 p[j] = s[i]; in pcre_keyvalue_burl_percent_percent_high_UTF8() 527 p[j] = '%'; in pcre_keyvalue_burl_percent_percent_high_UTF8() 528 p[++j] = '%'; in pcre_keyvalue_burl_percent_percent_high_UTF8() [all …]
|
| H A D | mod_alias.c | 53 for (uint32_t j = 0; j < a->used; ++j) { in mod_alias_check_order() local 54 const buffer * const prefix = &a->data[j]->key; in mod_alias_check_order() 56 for (uint32_t k = j + 1; k < a->used; ++k) { in mod_alias_check_order() 65 const data_unset *dj = a->data[j]; in mod_alias_check_order()
|
| H A D | algo_sha1.c | 129 unsigned int i, j; in SHA1_Update() local 131 j = (context->count[0] >> 3) & 63; in SHA1_Update() 134 if ((j + len) > 63) { in SHA1_Update() 135 memcpy(&context->buffer[j], data, (i = 64-j)); in SHA1_Update() 140 j = 0; in SHA1_Update() 143 memcpy(&context->buffer[j], &data[i], len - i); in SHA1_Update() 149 sha1_quadbyte i, j; in SHA1_Final() local 167 i = j = 0; in SHA1_Final()
|
| H A D | mod_proxy.c | 159 for (uint32_t j = 0, used = a->used; j < used; ++j) { in mod_proxy_parse_forwarded() local 161 data_unset *du = a->data[j]; in mod_proxy_parse_forwarded() 196 for (uint32_t j = 0, used = a->used; j < used; ++j) { in mod_proxy_parse_header_opts() local 197 data_array *da = (data_array *)a->data[j]; in mod_proxy_parse_header_opts() 597 size_t j = 0; in buffer_append_string_backslash_escaped() local 603 p[j++] = '\\'; in buffer_append_string_backslash_escaped() 604 p[j++] = c; in buffer_append_string_backslash_escaped() 607 buffer_commit(b, j); in buffer_append_string_backslash_escaped() 634 j = i; in proxy_set_Forwarded() 642 ipv6 = (NULL != memchr(s+j, ':', i-j)); /*(over-simplified) */ in proxy_set_Forwarded() [all …]
|
| H A D | request.c | 797 uint32_t j = 0; in http_request_parse_header() local 798 while (j < klen && (light_islower(k[j]) || k[j] == '-')) in http_request_parse_header() 799 ++j; in http_request_parse_header() 801 if (__builtin_expect( (j != klen), 0)) { in http_request_parse_header() 802 if (light_isupper(k[j])) in http_request_parse_header() 804 if (0 != http_request_parse_header_other(r, k+j, klen-j, in http_request_parse_header() 1154 for (int j = 0; j < klen; ++j) { in http_request_parse_headers() local 1155 if (light_isalpha(k[j]) || k[j] == '-') continue; /*(common cases)*/ in http_request_parse_headers() 1156 if (0 != http_request_parse_header_other(r, k+j, klen-j, http_header_strict)) in http_request_parse_headers()
|
| H A D | mod_maxminddb.c | 197 for (uint32_t j = 0, used = env->used; j < used; ++j) { in mod_maxminddb_prep_cenv() local 198 if (data[j]->type != TYPE_STRING) { in mod_maxminddb_prep_cenv() 201 for (uint32_t k = 0; k < j; ++k) free(cenv[k]); in mod_maxminddb_prep_cenv() 205 buffer *value = &data[j]->value; in mod_maxminddb_prep_cenv() 212 for (uint32_t k = 0; k < j; ++k) free(cenv[k]); in mod_maxminddb_prep_cenv() 220 (const char **)(cenv[j] = ck_calloc(k, sizeof(char *))); in mod_maxminddb_prep_cenv()
|
| H A D | configfile.c | 274 for (uint32_t j = 0; j < config->value->used; ++j) { in config_warn_openssl_module() local 275 data_unset *du = config->value->data[j]; in config_warn_openssl_module() 298 for (uint32_t j = i+1; j < used; ++j) { in config_check_module_duplicates() local 299 if (buffer_is_equal(m, &data[j]->value)) { in config_check_module_duplicates() 310 uint32_t j; in config_check_module_duplicates() local 311 for (j = 0; j < modules->used; ++j) { in config_check_module_duplicates() 315 if (j == modules->used) in config_check_module_duplicates() 558 for (uint32_t j = 0; j < config->value->used; ++j) { in config_deprecate_module_compress() local 1276 for (uint32_t j = 0; config && j < config->used; ++j) { in config_finalize() local 1356 for (uint32_t j = i; j < srv->config_context->used; ++j) { in config_finalize() [all …]
|
| H A D | mod_status.c | 251 for (uint32_t j = 0, rused = h2c->rused; j < rused; ++j) { in mod_status_html_rtable() local 256 mod_status_html_rtable_r(b, h2c->r[j], cur_ts); in mod_status_html_rtable() 504 for (int j = 0; j < CON_STATE_CLOSE+2; ++j) { in mod_status_handle_server_status_html() local 506 if (0 == cstates[j] && j == CON_STATE_CLOSE+1) continue; in mod_status_handle_server_status_html() 508 buffer_append_int(b, cstates[j]); in mod_status_handle_server_status_html() 510 http_request_state_short(j), 1, in mod_status_handle_server_status_html() 512 http_request_state_append(b, j); in mod_status_handle_server_status_html()
|
| H A D | gw_backend.c | 222 for (uint32_t j = 0; j < fe->used; ++j) { in gw_extensions_free() local 223 gw_host_free(fe->hosts[j]); in gw_extensions_free() 751 for (uint32_t j = 0; j < exts->used; ++j) { in unixsocket_is_dup() local 1154 for (uint32_t j = 0; j < exts->used; ++j) { in gw_plugin_config_free() local 1208 for (uint32_t j = 0; j < exts->used; ++j) { in gw_exts_clear_check_local() local 1209 gw_extension *ex = exts->exts+j; in gw_exts_clear_check_local() 1322 for (uint32_t j = 0; j < a->used; ++j) { in gw_set_defaults_backend() local 2825 for (uint32_t j = 0; j < exts->used; ++j) { in gw_handle_trigger_exts() local 2826 gw_extension *ex = exts->exts+j; in gw_handle_trigger_exts() 2834 for (uint32_t j = 0; j < exts->used; ++j) { in gw_handle_trigger_exts_wkr() local [all …]
|
| H A D | mod_redirect.c | 84 for (uint32_t j = 0; j < a->used; ++j) { in mod_redirect_parse_list() local 85 data_string *ds = (data_string *)a->data[j]; in mod_redirect_parse_list()
|
| H A D | mod_vhostdb_ldap.c | 70 unsigned int j; in mod_vhostdb_dbconf_add_scheme() local 78 for (j = 0; j < sizeof(schemes)/sizeof(char *); ++j) { in mod_vhostdb_dbconf_add_scheme() 79 if (buffer_eq_icase_ssn(b, schemes[j], strlen(schemes[j]))) { in mod_vhostdb_dbconf_add_scheme() 83 if (j == sizeof(schemes)/sizeof(char *)) in mod_vhostdb_dbconf_add_scheme()
|
| H A D | ck.c | 299 for (size_t i = 0, j = 0; lim; --lim) { in ck_memeq_const_time() local 300 diff |= (av[i] ^ bv[j]); in ck_memeq_const_time() 302 j += (j < blen); in ck_memeq_const_time()
|
| H A D | mod_vhostdb_dbi.c | 128 for (size_t j = 0; j < opts->used; ++j) { in mod_vhostdb_dbconf_setup() local 129 data_unset *du = opts->data[j]; in mod_vhostdb_dbconf_setup()
|
| H A D | rand.c | 413 int j; in li_rand_pseudo() local 414 if (CCRandomGenerateBytes(&j, sizeof(j)) == kCCSuccess) in li_rand_pseudo() 415 return j; in li_rand_pseudo()
|
| H A D | plugin.c | 133 uint32_t j; in plugins_load() local 134 for (j = 0; load_functions[j].name; ++j) { in plugins_load() 135 if (0 == strcmp(load_functions[j].name, module)) { in plugins_load() 137 if ((*load_functions[j].plugin_init)(p)) { in plugins_load() 146 if (!load_functions[j].name) { in plugins_load()
|
| H A D | http_cgi.c | 98 size_t i, j = 0; in http_cgi_encode_varname() local 108 j = 5; /* "HTTP_" */ in http_cgi_encode_varname() 113 p[j++] = light_isalpha(c) ? c & ~0x20 : light_isdigit(c) ? c : '_'; in http_cgi_encode_varname() 115 buffer_truncate(b, j); in http_cgi_encode_varname()
|
| H A D | algo_splaytree.c | 55 #define compare(i,j) ((i)-(j)) argument
|
| H A D | mod_authn_ldap.c | 161 unsigned int j; in mod_authn_add_scheme() local 169 for (j = 0; j < sizeof(schemes)/sizeof(char *); ++j) { in mod_authn_add_scheme() 170 if (buffer_eq_icase_ssn(b, schemes[j], strlen(schemes[j]))) { in mod_authn_add_scheme() 174 if (j == sizeof(schemes)/sizeof(char *)) in mod_authn_add_scheme()
|
| H A D | mod_rewrite.c | 107 for (uint32_t j = 0; j < a->used; ++j) { in mod_rewrite_parse_list() local 108 data_string *ds = (data_string *)a->data[j]; in mod_rewrite_parse_list()
|
| H A D | mod_ssi.c | 729 int j; in process_ssi_stmt() local 733 for (j = 0; echovars[j].var; j++) { in process_ssi_stmt() 734 if (0 == strcmp(l[i+1], echovars[j].var)) { in process_ssi_stmt() 735 var = echovars[j].type; in process_ssi_stmt() 973 int j = 0; in process_ssi_stmt() local 978 for (j = 0; s > 1024 && abr[j+1]; s /= 1024, j++); in process_ssi_stmt() 981 buffer_append_string_len(tb, abr[j], j ? 3 : 2); in process_ssi_stmt()
|