| /lighttpd1.4/tests/ |
| H A D | scgi-responder.c | 39 char * const end = r+rlen; in scgi_getenv() 60 unsigned long rlen; in scgi_process() local 94 rlen = strtoul(buf, &p, 10); in scgi_process() 97 if (rlen > sizeof(buf) - (p - buf) - 2) in scgi_process() 99 rlen += (p - buf) + 2; in scgi_process() 101 while ((ssize_t)rlen < offset) { in scgi_process() 125 if (offset < (ssize_t)rlen) in scgi_process() 127 if (buf[rlen-1] != ',') in scgi_process() 129 rlen -= (p - buf) + 2; in scgi_process() 135 p = scgi_getenv(r, rlen, "SCGI"); in scgi_process() [all …]
|
| H A D | fcgi-responder.c | 106 fcgi_getenv(const unsigned char * const r, const uint32_t rlen, const char * const name, int nlen, … in fcgi_getenv() argument 110 for (uint32_t i = 0; i < rlen; ) { in fcgi_getenv() 146 …_process_params (FILE * const stream, int req_id, int role, unsigned char * const r, uint32_t rlen) in fcgi_process_params() argument 156 if (NULL != (p = fcgi_getenv(r, rlen, "QUERY_STRING", 12, &len))) { in fcgi_process_params() 209 cdata = fcgi_getenv(r, rlen, p+4, len-4, &len); in fcgi_process_params() 211 cdata = fcgi_getenv(r, rlen, "X_LIGHTTPD_FCGI_AUTH", 20, &len); in fcgi_process_params()
|
| /lighttpd1.4/src/ |
| H A D | mod_authn_ldap.c | 371 const size_t rlen = buffer_clen(raw); in mod_authn_append_ldap_dn_escape() local 372 if (0 == rlen) return; in mod_authn_append_ldap_dn_escape() 379 for (size_t i = 0; i < rlen; ++i) { in mod_authn_append_ldap_dn_escape() 399 } while (++len < rlen); in mod_authn_append_ldap_dn_escape() 404 if ((i += len) == rlen) break; in mod_authn_append_ldap_dn_escape() 421 if (rlen > 1 && b[rlen-1] == ' ') { in mod_authn_append_ldap_dn_escape() 459 const size_t rlen = buffer_clen(raw); in mod_authn_append_ldap_filter_escape() local 460 for (size_t i = 0; i < rlen; ++i) { in mod_authn_append_ldap_filter_escape() 475 } while (++len < rlen); in mod_authn_append_ldap_filter_escape() 480 if ((i += len) == rlen) break; in mod_authn_append_ldap_filter_escape()
|
| H A D | buffer.c | 465 const size_t rlen = buffer_clen(replace); in buffer_substr_replace() local 467 if (rlen > len) { in buffer_substr_replace() 468 buffer_extend(b, rlen-len); in buffer_substr_replace() 469 memmove(b->ptr+offset+rlen, b->ptr+offset+len, blen-offset-len); in buffer_substr_replace() 472 memcpy(b->ptr+offset, replace->ptr, rlen); in buffer_substr_replace() 474 if (rlen < len) { in buffer_substr_replace() 475 memmove(b->ptr+offset+rlen, b->ptr+offset+len, blen-offset-len); in buffer_substr_replace() 476 buffer_truncate(b, blen-len+rlen); in buffer_substr_replace()
|
| H A D | mod_authn_dbi.c | 400 ,{ ai->realm, ai->rlen } in mod_authn_dbi_password_cmp() 454 if (ai->rlen < sizeof(buf)) { in mod_authn_dbi_query_build() 455 memcpy(buf, ai->realm, ai->rlen); in mod_authn_dbi_query_build() 456 buf[ai->rlen] = '\0'; in mod_authn_dbi_query_build() 572 ai.rlen = buffer_clen(require->realm); in mod_authn_dbi_basic()
|
| H A D | request.c | 1021 size_t rlen = buffer_clen(target); in http_request_parse_target() local 1022 qstr = memchr(target->ptr, '#', rlen);/* discard fragment */ in http_request_parse_target() 1024 rlen = (size_t)(qstr - target->ptr); in http_request_parse_target() 1025 buffer_truncate(target, rlen); in http_request_parse_target() 1027 qstr = memchr(target->ptr, '?', rlen); in http_request_parse_target() 1032 const uint32_t rlen = buffer_clen(target); in http_request_parse_target() local 1036 buffer_copy_string_len(&r->uri.query, qstr + 1, rlen - plen - 1); in http_request_parse_target() 1039 plen = rlen; in http_request_parse_target()
|
| H A D | mod_vhostdb_ldap.c | 221 const size_t rlen = buffer_clen(raw); in mod_authn_append_ldap_filter_escape() local 222 for (size_t i = 0; i < rlen; ++i) { in mod_authn_append_ldap_filter_escape() 237 } while (++len < rlen); in mod_authn_append_ldap_filter_escape() 242 if ((i += len) == rlen) break; in mod_authn_append_ldap_filter_escape()
|
| H A D | mod_authn_file.c | 188 ,{ ai->realm, ai->rlen } in mod_authn_file_digest() 244 if (ai->ulen == uh_len && ai->rlen == r_len in mod_authn_file_htdigest_get_loop() 259 if (ai->ulen == u_len && ai->rlen == r_len in mod_authn_file_htdigest_get_loop() 314 ai.rlen = buffer_clen(require->realm); in mod_authn_file_htdigest_basic()
|
| H A D | mod_auth_api.h | 66 size_t rlen; member
|
| H A D | mod_auth.c | 1360 ai->rlen = dp->len[e_realm]; in mod_auth_digest_validate_params() 1373 if (!buffer_eq_slen(require->realm, ai->realm, ai->rlen)) { in mod_auth_digest_validate_params()
|