Searched defs:count (Results 1 - 25 of 27) sorted by relevance

12

/httpd/os/bs2000/
H A Debcdic.c190 ebcdic2ascii(unsigned char *dest, const unsigned char *srce, size_t count) argument
192 while (count-- != 0) {
197 ebcdic2ascii_strictly(unsigned char *dest, const unsigned char *srce, size_t count) argument
199 while (count-- != 0) {
204 ascii2ebcdic(unsigned char *dest, const unsigned char *srce, size_t count) argument
206 while (count-- != 0) {
/httpd/server/mpm/simple/
H A Dsimple_children.c117 unsigned int count; local
139 count = apr_hash_count(sc->children);
144 if (count > wanted) {
146 int to_kill = count - wanted;
151 else if (count < wanted) {
154 int to_spawn = wanted - count;
/httpd/modules/filters/
H A Dmod_data.c43 int count; member in struct:data_ctx
144 if (ctx->count) {
146 ctx->count);
148 ctx->count = 0;
197 while (size && ctx->count && ctx->count < sizeof(ctx->overflow)) {
198 ctx->overflow[ctx->count++] = *data++;
201 if (ctx->count == sizeof(ctx->overflow)) {
205 ctx->count = 0;
220 ctx->count
[all...]
/httpd/modules/ssl/
H A Dssl_util_ocsp.c188 apr_size_t count; local
210 count = 0;
212 && ++count < MAX_HEADERS) {
217 if (count == MAX_HEADERS) {
220 "exceeded maximum count (%u)", MAX_HEADERS);
230 count = 0;
254 count += len;
255 if (count > MAX_CONTENT) {
263 " bytes, %" APR_SIZE_T_FMT " total", len, count);
H A Dssl_engine_io.c1577 unsigned count = 0; local
1583 * Find the last bucket - if any - of that prefix. count gives
1602 if (e->length) count++; /* don't count zero-length buckets */
1612 && (count > 1
1613 || (count == 1 && APR_BUCKET_NEXT(last) == APR_BRIGADE_SENTINEL(bb)))) {
H A Dssl_engine_vars.c940 apr_hash_t *count; local
943 /* Hash of (int) NID -> (int *) counter to count each time an RDN
945 count = apr_hash_make(p);
965 dup = apr_hash_get(count, &nid, sizeof nid);
972 apr_hash_set(count, &nid, sizeof nid, dup);
1086 int count = 0, j; local
1110 count = X509_get_ext_count(xs);
1114 array = apr_array_make(p, count, sizeof(char *));
1115 for (j = 0; j < count; j++) {
H A Dmod_ssl_ct.c824 int count = 0; local
837 if (++count >= 30) {
838 count = 0;
1090 int count = 0; local
1106 if (++count >= 30) {
1107 count = 0;
/httpd/support/
H A Dpasswd_common.c56 int written, count = strlen(buf); local
58 written = write(STDERR_FILENO, buf, count);
59 if (written == count)
63 count -= written;
H A Dfirehose.c73 apr_uint64_t count; member in struct:uuid_rec
92 apr_uint64_t count; member in struct:header_rec
209 rec->count = 0;
480 header->count = val;
564 /* does the count match what is expected? */
565 if (header.count != header.rec->count) {
577 else if (header.count != 0) {
598 if (!ignore && !header.count && !check_prefix(file,
614 header.rec->count
[all...]
H A Dab.c621 int count; local
625 if ((count = SK_NUM(sk)) > 0) {
627 for (i=1; i<count; i++) {
/httpd/modules/aaa/
H A Dmod_authz_host.c91 int count = 0; local
102 count++;
104 if (count == 0)
107 ip = apr_pcalloc(p, sizeof(apr_ipsubnet_t *) * (count + 1));
/httpd/modules/dav/main/
H A Dutil_lock.c48 int count = 0; local
69 count++;
79 dav_check_bufsize(p, pbuf, count * 300);
H A Dmod_dav.h544 int count; /* counter for "g###" prefixes */ member in struct:__anon122
/httpd/modules/loggers/
H A Dmod_log_forensic.c146 apr_size_t count; member in struct:hlog
163 h->count += count_string(key)+count_string(value)+2;
203 h.count = 0;
207 h.count += 1+strlen(id)+1+count_string(r->the_request)+1+1;
208 h.log = apr_palloc(r->pool, h.count);
210 h.end = h.log+h.count;
223 rv = apr_file_write_full(cfg->fd, h.log, h.count-1, NULL);
/httpd/modules/mappers/
H A Dmod_dir.c59 int count = 0; local
67 if (count == 0 && !strcasecmp(w, "disabled")) {
78 count++;
/httpd/modules/proxy/
H A Dajp_msg.c38 * @param count the number of bytes to dump
43 apr_size_t count, char **buf)
52 /* Display only first "count" bytes */
53 if (len > count)
54 len = count;
118 apr_size_t count; local
124 count = 1024;
127 count = AJP_MAX_BUFFER_SZ;
129 rc = ajp_msg_dump(r->pool, msg, err, count, &buf);
42 ajp_msg_dump(apr_pool_t *pool, ajp_msg_t *msg, char *err, apr_size_t count, char **buf) argument
/httpd/modules/session/
H A Dmod_session.c302 static int identity_count(int *count, const char *key, const char *val) argument
304 *count += strlen(key) * 3 + strlen(val) * 3 + 1;
/httpd/modules/debugging/
H A Dmod_firehose.c96 apr_uint64_t count; member in struct:firehose_ctx_t
131 if (!ctx->count) {
137 ctx->uuid, ctx->count);
151 "mod_firehose: could not write %" APR_UINT64_T_FMT " bytes to '%s' for '%c' connection '%s' and count '%0" APR_UINT64_T_HEX_FMT "', bytes dropped (further errors will be suppressed)",
152 (apr_uint64_t)(hdr_len), ctx->conn->filename, ctx->conn->direction, ctx->uuid, ctx->count);
160 "mod_firehose: could not write %" APR_UINT64_T_FMT " bytes to '%s' for '%c' connection '%s' and count '%0" APR_UINT64_T_HEX_FMT "', bytes dropped (further errors will be suppressed)",
161 (apr_uint64_t)(hdr_len), ctx->conn->filename, ctx->conn->direction, ctx->uuid, ctx->count);
169 ctx->count = 0;
212 ctx->direction, ctx->uuid, ctx->count);
233 "mod_firehose: could not write %" APR_UINT64_T_FMT " bytes to '%s' for '%c' connection '%s' and count '
[all...]
/httpd/modules/generators/
H A Dmod_status.c191 unsigned long count; local
232 count = 0;
373 count += lres;
463 count, kbcount);
478 (float) count / (float) up_time);
483 if (count > 0)
485 KBYTE * (float) kbcount / (float) count);
488 ap_rprintf(r, "<dt>Total accesses: %lu - Total Traffic: ", count);
504 (float) count / (float) up_time);
511 if (count >
[all...]
H A Dmod_cgid.c243 /* count the number of keywords */
387 static apr_status_t sock_writev(int fd, request_rec *r, int count, ...) argument
394 vec = (struct iovec *)apr_palloc(r->pool, count * sizeof(struct iovec));
395 va_start(ap, count);
396 for (i = 0; i < count; i++) {
403 rc = writev(fd, vec, count);
/httpd/server/mpm/winnt/
H A Dservice.c122 char count[16]; local
153 sprintf(count, "%d...",
157 if (!WriteConsole(hConErr, count, (DWORD)strlen(count), &result, NULL)
/httpd/server/
H A Drequest.c345 int count; /* Number of prev invocations of same call in this (sub)req */ member in struct:walk_cache_t
352 int count; local
366 count = prev_cache ? (prev_cache->count + 1) : 0;
376 while (inherit_cache->count > count) {
379 if (inherit_cache->count == count) {
388 cache->count = count;
[all...]
H A Dvhost.c281 unsigned count[IPHASH_TABLE_SIZE]; local
290 count[i] = 0;
292 ++count[i];
294 /* don't count the slop buckets in the total */
299 qsort(count, IPHASH_TABLE_SIZE, sizeof(count[0]), iphash_compare);
302 "chain lengths (count x len):",
306 if (count[i - 1] != count[i]) {
308 total, count[
[all...]
H A Dconfig.c2612 int count = 0; local
2615 count += count_directives_sub(directive, current->first_child);
2617 count++;
2620 return count;
2623 AP_DECLARE(void) ap_reserve_module_slots(int count) argument
2625 reserved_module_slots += count;
/httpd/modules/ldap/
H A Dutil_ldap.c1643 int count; local
1761 count = ldap_count_entries(ldc->ldap, res);
1762 if (count != 1)
1764 if (count == 0 )
1919 int count; local
2022 count = ldap_count_entries(ldc->ldap, res);
2023 if (count != 1)
2025 if (count == 0 )

Completed in 229 milliseconds

12