Searched defs:mem (Results 1 - 8 of 8) sorted by relevance

/httpd/modules/ssl/
H A Dssl_ct_sct.c196 unsigned char *mem; local
214 mem = malloc(avail);
215 orig_mem = mem;
217 rv = ctutil_serialize_uint8(&mem, &avail, 0); /* version 1 */
219 rv = ctutil_serialize_uint8(&mem, &avail, 0); /* CERTIFICATE_TIMESTAMP */
222 rv = ctutil_serialize_uint64(&mem, &avail, fields->timestamp);
225 rv = ctutil_serialize_uint16(&mem, &avail, 0); /* X509_ENTRY */
238 rv = ctutil_write_var24_bytes(&mem, &avail,
244 rv = ctutil_write_var16_bytes(&mem, &avail, fields->extensions,
H A Dssl_ct_util.c478 static apr_status_t deserialize_uint(const unsigned char **mem, argument
491 val = (val << 8) | **mem;
492 *mem += 1;
500 apr_status_t ctutil_deserialize_uint64(const unsigned char **mem, argument
504 return deserialize_uint(mem, avail, 64, pval);
507 apr_status_t ctutil_deserialize_uint16(const unsigned char **mem, argument
514 rv = deserialize_uint(mem, avail, 16, &val64);
519 static apr_status_t serialize_uint(unsigned char **mem, apr_size_t *avail, argument
534 **mem = (unsigned char)((val & mask) >> shift);
535 *mem
544 ctutil_serialize_uint64(unsigned char **mem, apr_size_t *avail, apr_uint64_t val) argument
550 ctutil_serialize_uint24(unsigned char **mem, apr_size_t *avail, apr_uint32_t val) argument
556 ctutil_serialize_uint16(unsigned char **mem, apr_size_t *avail, apr_uint16_t val) argument
562 ctutil_serialize_uint8(unsigned char **mem, apr_size_t *avail, unsigned char val) argument
568 ctutil_write_var16_bytes(unsigned char **mem, apr_size_t *avail, const unsigned char *val, apr_uint16_t len) argument
589 ctutil_write_var24_bytes(unsigned char **mem, apr_size_t *avail, const unsigned char *val, apr_uint32_t len) argument
613 read_length_prefix(const unsigned char **mem, apr_size_t *avail, apr_size_t *result) argument
627 read_fixed_bytes(const unsigned char **mem, apr_size_t *avail, apr_size_t len, const unsigned char **start) argument
642 ctutil_read_var_bytes(const unsigned char **mem, apr_size_t *avail, const unsigned char **start, apr_size_t *len) argument
[all...]
H A Dmod_ssl_ct.c1622 const unsigned char *mem, *start_of_data; local
1624 mem = sct_list;
1629 rv = ctutil_read_var_bytes((const unsigned char **)&mem,
1641 mem = (unsigned char *)sct_list + sizeof(apr_uint16_t);
1645 rv = ctutil_read_var_bytes((const unsigned char **)&mem, &avail,
/httpd/modules/slotmem/
H A Dmod_slotmem_plain.c29 unsigned int num; /* number of mem slots */
41 static apr_status_t slotmem_do(ap_slotmem_instance_t *mem, ap_slotmem_callback_fn_t *func, void *data, apr_pool_t *pool) argument
49 if (!mem)
52 ptr = (char *)mem->base;
53 inuse = mem->inuse;
54 for (i = 0; i < mem->num; i++, inuse++) {
55 if (!AP_SLOTMEM_IS_PREGRAB(mem) ||
56 (AP_SLOTMEM_IS_PREGRAB(mem) && *inuse)) {
61 ptr += mem->size;
149 static apr_status_t slotmem_dptr(ap_slotmem_instance_t *score, unsigned int id, void **mem) argument
[all...]
H A Dmod_slotmem_shm.c53 unsigned int num; /* number of mem slots */
241 ap_slotmem_instance_t **mem = param; local
243 if (*mem) {
244 ap_slotmem_instance_t *next = *mem;
266 static apr_status_t slotmem_doall(ap_slotmem_instance_t *mem, argument
275 if (!mem) {
279 ptr = (char *)mem->base;
280 inuse = mem->inuse;
281 for (i = 0; i < mem->desc.num; i++, inuse++) {
282 if (!AP_SLOTMEM_IS_PREGRAB(mem) ||
531 slotmem_dptr(ap_slotmem_instance_t *slot, unsigned int id, void **mem) argument
[all...]
/httpd/modules/proxy/balancers/
H A Dmod_lbmethod_heartbeat.c214 static apr_status_t hm_read(void* mem, void *data, apr_pool_t *pool) argument
216 hm_slot_server_t *slotserver = (hm_slot_server_t *) mem;
/httpd/modules/cluster/
H A Dmod_heartmonitor.c169 static apr_status_t hm_update(void* mem, void *data, apr_pool_t *p) argument
171 hm_slot_server_t *old = (hm_slot_server_t *) mem;
183 static apr_status_t hm_readid(void* mem, void *data, apr_pool_t *p) argument
185 hm_slot_server_t *old = (hm_slot_server_t *) mem;
/httpd/modules/dav/main/
H A Dutil.c170 const void *mem, apr_size_t amt,
174 memcpy(pbuf->buf + pbuf->cur_len, mem, amt);
169 dav_buffer_place_mem(apr_pool_t *p, dav_buffer *pbuf, const void *mem, apr_size_t amt, apr_size_t pad) argument

Completed in 4634 milliseconds