Searched refs:count (Results 1 - 25 of 33) sorted by relevance

12

/httpd/os/bs2000/
H A Debcdic.h29 void ebcdic2ascii(unsigned char *dest, const unsigned char *srce, size_t count);
30 void ebcdic2ascii_strictly(unsigned char *dest, const unsigned char *srce, size_t count);
31 void ascii2ebcdic(unsigned char *dest, const unsigned char *srce, size_t count);
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/build/
H A Dmake_var_export.awk25 count = 0
31 count++
37 if (count > 0) {
38 count--
42 if (count == 0) {
52 if (count) {
55 for (i = 0; i < count; i++) {
60 if (count == 0) {
/httpd/modules/lua/test/htdocs/
H A Dconfig_tests.lua18 local count = 0
21 r:puts("success in handle " .. count)
25 r:puts("hello from server scope " .. count)
26 count = count + 1
30 r:puts("hello from request scope " .. count)
31 count = count + 1
35 r:puts("hello from request scope " .. count)
36 count
[all...]
/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/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/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_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++) {
/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/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/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/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...]
/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
H A Dajp.h374 * @param count the number of bytes to dump
379 apr_size_t count, char **buf);
/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/mappers/
H A Dmod_dir.c59 int count = 0; local
67 if (count == 0 && !strcasecmp(w, "disabled")) {
78 count++;
/httpd/server/
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 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...]
/httpd/modules/dav/main/
H A Dutil_lock.c48 int count = 0; local
69 count++;
79 dav_check_bufsize(p, pbuf, count * 300);
/httpd/server/mpm/event/
H A Devent.c233 int count, *total; member in struct:timeout_queue
261 ++(q)->count; \
268 --(q)->count; \
277 (q)->count = 0; \
1571 /* XXX: This cancel timer event count fire before the pollset is updated */
1670 int total = 0, count; local
1682 count = 0;
1706 count++;
1708 if (!count)
1714 qp->count
[all...]
/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/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 )
/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;

Completed in 5503 milliseconds

12