/httpd/modules/lua/ |
H A D | lua_passwd.c | 47 static int generate_salt(char *s, size_t size, const char **errstr, argument 57 n = (size * 6 + 7)/8; 69 while (size > 0) { 75 size--;
|
H A D | lua_request.h | 52 size_t size; member in struct:__anon212
|
H A D | lua_vmprep.h | 110 apr_off_t size; member in struct:__anon216
|
/httpd/modules/filters/ |
H A D | mod_data.c | 61 * length based on the increase in size expected from the base64 conversion. 131 apr_size_t size; local 192 /* size will never be more than 6000 bytes */ 193 if (APR_SUCCESS == (rv = apr_bucket_read(e, &data, &size, 197 while (size && ctx->count && ctx->count < sizeof(ctx->overflow)) { 199 size--; 209 tail = size % sizeof(ctx->overflow); 210 size -= tail; 211 if (size) { 213 (const unsigned char *) data, size); [all...] |
H A D | mod_buffer.c | 40 apr_off_t size; /* size of the buffer */ member in struct:buffer_conf 41 int size_set; /* has the size been set */ 93 apr_size_t size; local 139 if (len > ctx->conf->size) { 153 * size, regardless of the size of the data placed into them. 158 if (APR_SUCCESS == (rv = apr_bucket_read(e, &data, &size, 170 if (APR_BUCKET_BUFF_SIZE != size) { 174 apr_brigade_write(ctx->bb, NULL, NULL, data, size); 222 apr_size_t size = 0; local [all...] |
H A D | mod_sed.c | 136 int size = ctx->curoutbuf - ctx->outbuf; local 139 if ((ctx->outbuf == NULL) || (size <=0)) 141 out = apr_pmemdup(ctx->tpool, ctx->outbuf, size); 142 status = append_bucket(ctx, out, size); 173 /* if size is bigger than the allocated buffer directly add to output
|
H A D | regexp.h | 62 int size; member in struct:_step_vars_storage 103 #define SEDERR_TSNTSS "transform strings not the same size: %s"
|
/httpd/os/win32/ |
H A D | ap_regkey.c | 189 apr_size_t size = 0; local 204 /* Read to NULL buffer to determine value size */ 205 rc = RegQueryValueExW(key->hkey, wvalname, 0, &type, NULL, (DWORD *)&size); 209 if ((size < 2) || (type != REG_SZ && type != REG_EXPAND_SZ)) { 213 wvalue = apr_palloc(pool, size); 214 /* Read value based on size query above */ 216 (LPBYTE)wvalue, (DWORD *)&size); 222 size = ExpandEnvironmentStringsW(wvalue, zbuf, 0); 223 if (size) { 225 /* The size returne 293 apr_size_t size = strlen(value) + 1; local 456 apr_size_t size = 0; local 559 apr_size_t size = eltsize; local [all...] |
/httpd/server/ |
H A D | util_debug.c | 230 AP_DECLARE(void *) ap_palloc_debug(apr_pool_t *p, apr_size_t size) argument 233 return memset(apr_palloc(p, size), 0xEE, size); 239 AP_DECLARE(void *) ap_pcalloc_debug(apr_pool_t *p, apr_size_t size) argument 241 return memset(apr_palloc(p, size), 0, size);
|
H A D | util_filter.c | 68 int size; member in struct:filter_trie_node 80 if (parent->nchildren == parent->size) { 82 parent->size *= 2; 83 new = (filter_trie_child_ptr *)apr_palloc(p, parent->size * 137 new_node->size = TRIE_INITIAL_SIZE; 139 new_node->size * sizeof(filter_trie_child_ptr));
|
/httpd/support/ |
H A D | passwd_common.c | 71 static int generate_salt(char *s, size_t size, const char **errstr, argument 81 n = (size * 6 + 7)/8; 93 while (size > 0) { 99 size--;
|
/httpd/modules/cache/ |
H A D | cache_storage.c | 68 * The size of the entity is provided so that a cache module can 70 * If the size is unknown, a size of -1 should be set. 73 apr_off_t size, apr_bucket_brigade *in) 97 switch (rv = list->provider->create_entity(h, r, cache->key, size, in)) { 72 cache_create_entity(cache_request_rec *cache, request_rec *r, apr_off_t size, apr_bucket_brigade *in) argument
|
H A D | mod_socache_dbm.c | 206 "data size too large for DBM socache: %d >= %d", 213 "data size too large for DBM socache: %d >= %d", 469 long size; local 474 size = 0; 494 size += dbmval.dsize; 497 if (size > 0 && elts > 0) 498 avg = (int)(size / (long)elts); 502 ap_rprintf(r, "cache type: <b>DBM</b>, maximum size: <b>unlimited</b><br>"); 503 ap_rprintf(r, "current entries: <b>%d</b>, current size: <b>%ld</b> bytes<br>", elts, size); [all...] |
H A D | cache_util.h | 230 apr_off_t size; /* the content length from the headers, or -1 */ member in struct:__anon84
|
/httpd/modules/ldap/ |
H A D | util_ldap_cache.c | 121 cache_node->size, 421 apr_size_t size; local 429 size = APR_ALIGN_DEFAULT(st->cache_bytes); 431 result = apr_shm_create(&st->cache_shm, size, st->cache_file, st->pool); 436 /* Determine the usable size of the shm segment. */ 437 size = apr_shm_size_get(st->cache_shm); 441 apr_shm_baseaddr_get(st->cache_shm), size,
|
H A D | util_ldap_cache.h | 44 unsigned long size; /* Size of cache array */ member in struct:util_ald_cache 60 obvious: it won't be 3/4 the size of the cache if 180 void *util_ald_alloc(util_ald_cache_t *cache, unsigned long size);
|
H A D | util_ldap_cache_mgr.c | 98 void *util_ald_alloc(util_ald_cache_t *cache, unsigned long size) argument 100 if (0 == size) 105 apr_rmm_off_t block = apr_rmm_calloc(cache->rmm_addr, size); 110 return (void *)calloc(sizeof(char), size); 113 return (void *)calloc(sizeof(char), size); 245 for (i=0; i < cache->size; ++i) { 361 cache->size = cache_size / 3; 362 if (cache->size < 64) 363 cache->size = 64; 364 for (i = 0; primes[i] && primes[i] < cache->size; [all...] |
/httpd/modules/mappers/ |
H A D | mod_vhost_alias.c | 238 char **pdest, int size) 240 /* XXX: what if size > HUGE_STRING_LEN? */ 241 if (*pdest + size > buf + HUGE_STRING_LEN) { 237 vhost_alias_checkspace(request_rec *r, char *buf, char **pdest, int size) argument
|
/httpd/modules/proxy/ |
H A D | ajp_msg.c | 143 * Check a new AJP Message by looking at signature and return its size 501 apr_uint16_t size; local 505 status = ajp_msg_get_uint16(msg, &size); 508 if ((status != APR_SUCCESS) || (size + start > msg->max_size)) { 512 msg->pos += (apr_size_t)size; 531 apr_uint16_t size; local 535 status = ajp_msg_get_uint16(msg, &size); 539 if ((status != APR_SUCCESS) || (size + start > msg->max_size)) { 542 msg->pos += (apr_size_t)size; /* only bytes, no trailer */ 545 *rvalue_len = size; 559 ajp_msg_create(apr_pool_t *pool, apr_size_t size, ajp_msg_t **rmsg) argument [all...] |
H A D | mod_proxy_ajp.c | 176 apr_uint16_t size; local 467 status = ajp_parse_data(r, conn->data, &size, &send_body_chunk_buff); 476 if (size == 0) { 501 e = apr_bucket_transient_create(send_body_chunk_buff, size,
|
H A D | mod_proxy_balancer.c | 1628 ap_rputs("<tr><td>Sticky Session:</td><td><input name='b_ss' id='b_ss' size=64 type=text ", r); 1638 ap_rputs("<tr><td>Add New Worker:</td><td><input name='b_nwrkr' id='b_nwrkr' size=32 type=text>" 1668 apr_size_t size; local 1670 storage->attach(&(conf->bslot), conf->id, &size, &num, p);
|
/httpd/modules/slotmem/ |
H A D | mod_slotmem_plain.c | 28 apr_size_t size; /* size of each memory slot */ member in struct:ap_slotmem_instance_t 61 ptr += mem->size; 106 res->size = item_size; 139 *item_size = next->size; 159 ptr = (char *)score->base + score->size * id; 236 return slot->size;
|
H A D | mod_slotmem_shm.c | 52 apr_size_t size; /* size of each memory slot */ member in struct:__anon314 168 nbytes = (slotmem->desc.size * slotmem->desc.num) + 182 static apr_status_t restore_slotmem(void *ptr, const char *name, apr_size_t size, argument 187 apr_size_t nbytes = size; 202 if ((rv == APR_SUCCESS || rv == APR_EOF) && nbytes == size) { 227 else if (nbytes != size) { 230 size, nbytes); 288 ptr += mem->desc.size; 308 apr_size_t size local [all...] |
/httpd/test/ |
H A D | time-sem.c | 420 static void *get_shared_mem(apr_size_t size) argument 425 result = (unsigned long *)mmap ((caddr_t)0, size, 441 static void *get_shared_mem(apr_size_t size) argument 450 if ((shmid = shmget(shmkey, size, IPC_CREAT | SHM_R | SHM_W)) == -1) {
|
/httpd/modules/proxy/balancers/ |
H A D | mod_lbmethod_heartbeat.c | 124 apr_brigade_insert_file(bb, fp, 0, fi.size, pool); 367 apr_size_t size; local 387 storage->attach(&hm_serversmem, "mod_heartmonitor", &size, &num, p);
|