Home
last modified time | relevance | path

Searched refs:count (Results 1 – 18 of 18) sorted by relevance

/lighttpd1.4/src/
H A Dalgo_sha1.c124 context->count[0] = context->count[1] = 0; in SHA1_Init()
131 j = (context->count[0] >> 3) & 63; in SHA1_Update()
132 if ((context->count[0] += len << 3) < (len << 3)) context->count[1]++; in SHA1_Update()
133 context->count[1] += (len >> 29); in SHA1_Update()
153 finalcount[i] = (sha1_byte)((context->count[(i >= 4 ? 0 : 1)] in SHA1_Final()
157 while ((context->count[0] & 504) != 448) { in SHA1_Final()
170 memset(context->count, 0, 8); in SHA1_Final()
H A Dalgo_md5.c127 context->count[0] = context->count[1] = 0; in li_MD5_Init()
146 ndx = (unsigned int)((context->count[0] >> 3) & 0x3F); in li_MD5_Update()
149 if ((context->count[0] += ((UINT4)inputLen << 3)) in li_MD5_Update()
152 context->count[1]++; in li_MD5_Update()
153 context->count[1] += ((UINT4)inputLen >> 29); in li_MD5_Update()
187 Encode (bits, context->count, 8); in li_MD5_Final()
191 ndx = (unsigned int)((context->count[0] >> 3) & 0x3f); in li_MD5_Final()
H A Dkeyvalue.c492 unsigned int count = 0, j = 0; in pcre_keyvalue_burl_percent_high_UTF8() local
494 if (s[i] > 0x7F) ++count; in pcre_keyvalue_burl_percent_high_UTF8()
496 if (0 == count) return; in pcre_keyvalue_burl_percent_high_UTF8()
498 p = (unsigned char *)buffer_string_prepare_copy(t, used+(count*2)); in pcre_keyvalue_burl_percent_high_UTF8()
516 unsigned int count = 0, j = 0; in pcre_keyvalue_burl_percent_percent_high_UTF8() local
518 if (s[i] > 0x7F) ++count; in pcre_keyvalue_burl_percent_percent_high_UTF8()
520 if (0 == count) return; in pcre_keyvalue_burl_percent_percent_high_UTF8()
522 p = (unsigned char *)buffer_string_prepare_copy(t, used+(count*3)); in pcre_keyvalue_burl_percent_percent_high_UTF8()
H A Dlog.c84 ssize_t write_all(int fd, const void * const buf, size_t count) { in write_all() argument
89 wr = write(fd, (const char *)buf + written, count); in write_all()
90 } while (wr > 0 ? (written += wr, count -= wr) : wr < 0 && errno == EINTR); in write_all()
92 if (__builtin_expect( (0 == count), 1)) in write_all()
H A Dmod_rrdtool.c223 static ssize_t safe_write(int fd, const void *buf, size_t count) { in safe_write() argument
227 res = write(fd, buf, count); in safe_write()
231 if (res == 0 || (size_t) res == count) return sum; in safe_write()
232 count -= res; in safe_write()
H A Dmod_authn_ldap.c642 int count; in mod_authn_ldap_get_dn() local
651 count = ldap_count_entries(ld, lm); in mod_authn_ldap_get_dn()
652 if (0 == count) { /*(no entries found)*/ in mod_authn_ldap_get_dn()
655 } else if (count > 1) { in mod_authn_ldap_get_dn()
699 int count = ldap_count_entries(ldc->ldap, lm); in mod_authn_ldap_memberOf() local
701 if (count > 0) { in mod_authn_ldap_memberOf()
H A Dalgo_md5.h36 uint32_t count[2]; /* number of bits, modulo 2^64 (lsb first) */ member
H A Dlemon.c5290 x1a->count = 0; in Strsafe_init()
5327 array.count = x1a->count; in Strsafe_insert()
5458 x2a->count = 0; in Symbol_init()
5495 array.count = x2a->count; in Symbol_insert()
5572 arrSize = x2a->count; in Symbol_arrayof()
5657 x3a->count = 0; in State_init()
5694 array.count = x3a->count; in State_insert()
5751 arrSize = x3a->count; in State_arrayof()
5797 x4a->count = 0; in Configtable_init()
5834 array.count = x4a->count; in Configtable_insert()
[all …]
H A Dalgo_sha1.h58 sha1_quadbyte count[2]; member
H A Dmod_vhostdb_ldap.c401 int count; in mod_vhostdb_ldap_query() local
439 count = ldap_count_entries(ld, lm); in mod_vhostdb_ldap_query()
440 if (count > 1) { in mod_vhostdb_ldap_query()
448 if (0 == count) { /*(no entries found)*/ in mod_vhostdb_ldap_query()
H A Dlog.h19 ssize_t write_all(int fd, const void* buf, size_t count);
H A Dmod_nss.c466 int count = 0; in mod_nss_load_pem_file() local
469 ++count; in mod_nss_load_pem_file()
473 ++count; in mod_nss_load_pem_file()
474 if (0 == count) { in mod_nss_load_pem_file()
494 chain->len = count ? count : 1; in mod_nss_load_pem_file()
500 if (0 == count) { in mod_nss_load_pem_file()
534 if (i == count) in mod_nss_load_pem_file()
660 int count = 0; in mod_nss_load_config_crls() local
664 ++count; in mod_nss_load_config_crls()
665 if (0 == count) { in mod_nss_load_config_crls()
[all …]
H A Dmod_wolfssl.c665 int count = 0; in mod_wolfssl_load_pem_file() local
668 ++count; in mod_wolfssl_load_pem_file()
672 ++count; in mod_wolfssl_load_pem_file()
673 if (0 == count) { in mod_wolfssl_load_pem_file()
685 certs = ck_malloc((count+1) * sizeof(buffer *)); in mod_wolfssl_load_pem_file()
686 certs[count] = NULL; in mod_wolfssl_load_pem_file()
687 for (int i = 0; i < count; ++i) in mod_wolfssl_load_pem_file()
700 if (i >= count) break; /*(should not happen)*/ in mod_wolfssl_load_pem_file()
713 if (i >= count) break; /*(should not happen)*/ in mod_wolfssl_load_pem_file()
718 if (i == count) in mod_wolfssl_load_pem_file()
H A Dchunk.h57 ssize_t chunk_file_pread (int fd, void *buf, size_t count, off_t offset);
H A Dmod_dirlisting.c1037 int count = -1; in http_read_directory() local
1038 while (++count < DIRLIST_BATCH && (dent = readdir(p->dp)) != NULL) { in http_read_directory()
1130 if (count == DIRLIST_BATCH) in http_read_directory()
H A Dchunk.c170 chunk_file_pread (int fd, void *buf, size_t count, off_t offset) in chunk_file_pread() argument
185 rd =pread(fd, buf, count, offset); in chunk_file_pread()
187 rd = read(fd, buf, count); in chunk_file_pread()
/lighttpd1.4/src/ls-hpack/
H A Dlshpack.c1043 unsigned hist_size, first, count, i, j; in henc_resize_history() local
1067 count = enc->hpe_hist_size; in henc_resize_history()
1072 count = enc->hpe_hist_idx; in henc_resize_history()
1074 for (i = 0, j = 0; count > 0 && j < hist_size; ++i, ++j, --count) in henc_resize_history()
/lighttpd1.4/
H A DNEWS305 * [mod_accesslog] do not double-count hdr len in %I
1381 * [tests] fix skip count in mod-fastcgi w/o php-cgi
1985 * [tests] update skip count in mod-fastcgi.t
2369 * [tests] correct skip count for mod-scgi.t
2815 * [mod_status] table w/ count of con states (fixes #2427)
3076 * [ssl] count renegotiations to prevent client renegotiations