Home
last modified time | relevance | path

Searched refs:nlen (Results 1 – 8 of 8) sorted by relevance

/lighttpd1.4/tests/
H A Dfcgi-responder.c106 fcgi_getenv(const unsigned char * const r, const uint32_t rlen, const char * const name, int nlen, … in fcgi_getenv() argument
126 if (klen == nlen && 0 == memcmp(r+i, name, klen)) { in fcgi_getenv()
135 if (nlen > (int)sizeof(s)-1) in fcgi_getenv()
137 memcpy(s, name, nlen); in fcgi_getenv()
138 s[nlen] = '\0'; in fcgi_getenv()
/lighttpd1.4/src/
H A Dmod_alias.c161 const uint32_t nlen = vlen + uri_len - alias_len; in mod_alias_remap() local
162 if (path_len + buffer_string_space(&r->physical.path) < nlen) { in mod_alias_remap()
163 buffer_string_prepare_append(&r->physical.path, nlen - path_len); in mod_alias_remap()
168 buffer_truncate(&r->physical.path, nlen); in mod_alias_remap()
H A Dmod_mbedtls.c3627 size_t nlen = c ? len-1 : len; in mod_mbedtls_ssl_conf_ciphersuites() local
3628 memcpy(n, c ? p+1 : p, nlen); in mod_mbedtls_ssl_conf_ciphersuites()
3629 n[nlen] = '\0'; in mod_mbedtls_ssl_conf_ciphersuites()
3643 nlen = (size_t)(a - n); in mod_mbedtls_ssl_conf_ciphersuites()
3748 if (buffer_eq_icase_ss(n, nlen, CONST_STR_LEN("AES256")) in mod_mbedtls_ssl_conf_ciphersuites()
3749 || buffer_eq_icase_ss(n, nlen, CONST_STR_LEN("AES"))) { in mod_mbedtls_ssl_conf_ciphersuites()
3760 if (nlen == sizeof("AES256")-1) continue; in mod_mbedtls_ssl_conf_ciphersuites()
3763 if (buffer_eq_icase_ss(n, nlen, CONST_STR_LEN("AES128")) in mod_mbedtls_ssl_conf_ciphersuites()
3791 if (nlen == sizeof("CAMELLIA256")-1) continue; in mod_mbedtls_ssl_conf_ciphersuites()
3822 if (nlen == sizeof("ARIA256")-1) continue; in mod_mbedtls_ssl_conf_ciphersuites()
[all …]
H A Dmod_gnutls.c3215 size_t nlen = c ? len-1 : len; in mod_gnutls_ssl_conf_ciphersuites() local
3216 memcpy(n, c ? p+1 : p, nlen); in mod_gnutls_ssl_conf_ciphersuites()
3217 n[nlen] = '\0'; in mod_gnutls_ssl_conf_ciphersuites()
3231 nlen = (size_t)(a - n); in mod_gnutls_ssl_conf_ciphersuites()
3285 if (buffer_eq_icase_ss(n, nlen, CONST_STR_LEN("AES256")) in mod_gnutls_ssl_conf_ciphersuites()
3286 || buffer_eq_icase_ss(n, nlen, CONST_STR_LEN("AES"))) { in mod_gnutls_ssl_conf_ciphersuites()
3289 if (nlen == sizeof("AES256")-1) continue; in mod_gnutls_ssl_conf_ciphersuites()
3292 if (buffer_eq_icase_ss(n, nlen, CONST_STR_LEN("AES128")) in mod_gnutls_ssl_conf_ciphersuites()
3293 || buffer_eq_icase_ss(n, nlen, CONST_STR_LEN("AES"))) { in mod_gnutls_ssl_conf_ciphersuites()
3303 if (nlen == sizeof("CAMELLIA256")-1) continue; in mod_gnutls_ssl_conf_ciphersuites()
[all …]
H A Dlog.c128 const size_t nlen = in __attribute_nonnull__() local
130 memcpy(b->ptr+buffer_clen(b)-nlen-2, n, nlen); in __attribute_nonnull__()
H A Dstat_cache.h44 const buffer * stat_cache_mimetype_by_ext(const array *mimetypes, const char *name, uint32_t nlen);
H A Dstat_cache.c951 …_cache_mimetype_by_ext(const array * const mimetypes, const char * const name, const uint32_t nlen) in stat_cache_mimetype_by_ext() argument
953 const char * const end = name + nlen; /*(end of string)*/ in stat_cache_mimetype_by_ext()
960 if (klen <= nlen && buffer_eq_icase_ssn(end-klen, ds->key.ptr, klen)) in stat_cache_mimetype_by_ext()
967 if (nlen) { in stat_cache_mimetype_by_ext()
H A Dmod_magnet.c1816 uint32_t nlen; member
2013 if (klen == magnet_env[i].nlen in magnet_env_get_id()
2152 lua_pushlstring(L, magnet_env[pos].name, magnet_env[pos].nlen); in magnet_env_next()