/httpd/modules/ssl/ |
H A D | ssl_ct_sct.c | 196 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 D | ssl_ct_util.c | 478 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 D | mod_ssl_ct.c | 1622 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 D | mod_slotmem_plain.c | 29 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 D | mod_slotmem_shm.c | 53 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 D | mod_lbmethod_heartbeat.c | 214 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 D | mod_heartmonitor.c | 169 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 D | util.c | 170 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
|