Home
last modified time | relevance | path

Searched refs:memsize (Results 1 – 5 of 5) sorted by relevance

/php-src/ext/dba/libcdb/
H A Dcdb_make.c142 uint32 memsize; in cdb_make_finish() local
157 memsize = 1; in cdb_make_finish()
160 if (u > memsize) in cdb_make_finish()
161 memsize = u; in cdb_make_finish()
164 memsize += c->numentries; /* no overflow possible up to now */ in cdb_make_finish()
167 if (memsize > u) { in cdb_make_finish()
172 c->split = (struct cdb_hp *) safe_emalloc(memsize, sizeof(struct cdb_hp), 0); in cdb_make_finish()
/php-src/ext/hash/tests/
H A Dxxhash_unserialize_memsize.phpt2 xxhash memsize must be in range when unserializing
/php-src/ext/hash/
H A Dhash_xxhash.c82 && ctx->s.memsize < 16) { in php_hash_xxh32_unserialize()
226 && ctx->s.memsize < 32) { in php_hash_xxh64_unserialize()
/php-src/ext/hash/xxhash/
H A Dxxhash.h2220 state->memsize += (XXH32_hash_t)len; in XXH32_update()
2225 XXH_memcpy((xxh_u8*)(state->mem32) + state->memsize, input, 16-state->memsize); in XXH32_update()
2232 p += 16-state->memsize; in XXH32_update()
2233 state->memsize = 0; in XXH32_update()
2250 state->memsize = (unsigned)(bEnd-p); in XXH32_update()
2634 state->memsize += (xxh_u32)len; in XXH64_update()
2638 if (state->memsize) { /* tmp buffer is full */ in XXH64_update()
2639 XXH_memcpy(((xxh_u8*)state->mem64) + state->memsize, input, 32-state->memsize); in XXH64_update()
2644 p += 32 - state->memsize; in XXH64_update()
2645 state->memsize = 0; in XXH64_update()
[all …]
/php-src/ext/opcache/
H A Dzend_accelerator_module.c79 zend_long memsize = atoi(ZSTR_VAL(new_value)); in ZEND_INI_MH() local
81 if (memsize < 8) { in ZEND_INI_MH()
85 if (UNEXPECTED(memsize > ZEND_LONG_MAX / (1024 * 1024))) { in ZEND_INI_MH()
88 *p = memsize * (1024 * 1024); in ZEND_INI_MH()

Completed in 37 milliseconds