Searched defs:counter (Results 1 - 6 of 6) sorted by relevance

/httpd/modules/examples/
H A Dmod_example_ipc.c42 * The module allocates a counter in shared memory, which is incremented by the
84 apr_uint64_t counter; member in struct:exipc_data
170 base->counter = 0;
235 * status page to the client, is to increment the counter in
298 /* Increment the counter */
300 base->counter++;
301 /* Send a page with our pid and the new value of the counter. */
308 (unsigned int)base->counter);
313 * what the counter is, because without the lock the value could
/httpd/modules/metadata/
H A Dmod_unique_id.c39 unsigned short counter; member in struct:__anon269
47 * It will. The reason is, we don't increment the counter in a thread_safe
50 * have to get the same counter twice in the same second.
69 * The stamp and counter are used to distinguish all hits for a
71 * saving cpu cycles. The counter is never reset, and is used to
120 * XXX: We should have a per-thread counter and not use cur_unique_id.counter
146 unique_id_rec_offset[2] = APR_OFFSETOF(unique_id_rec, counter);
147 unique_id_rec_size[2] = sizeof(cur_unique_id.counter);
167 * If we use 0 as the initial counter w
201 unsigned short counter; local
[all...]
/httpd/modules/slotmem/
H A Dmod_slotmem_plain.c225 unsigned int i, counter=0; local
229 counter++;
231 return counter;
H A Dmod_slotmem_shm.c615 unsigned int i, counter=0; local
619 counter++;
621 return counter;
/httpd/modules/proxy/
H A Dmod_proxy_scgi.c86 apr_off_t *counter; member in struct:__anon301
127 *data->counter += *len;
372 sock_data->counter = &conn->worker->s->read;
H A Dproxy_util.c75 /* Global balancer counter */
3342 int counter; local
3544 for (counter = 0; counter < headers_in_array->nelts; counter++) {
3545 if (headers_in[counter].key == NULL
3546 || headers_in[counter].val == NULL
3549 || !strcasecmp(headers_in[counter].key, "Host")
3554 || !strcasecmp(headers_in[counter].key, "Keep-Alive")
3555 || !strcasecmp(headers_in[counter]
[all...]

Completed in 91 milliseconds