Home
last modified time | relevance | path

Searched refs:total_size (Results 1 – 9 of 9) sorted by relevance

/PHP-8.2/ext/random/
H A Drandom.c94 size_t total_size = 0; in rand_range32() local
98 total_size = 0; in rand_range32()
101 result = result | (r << (total_size * 8)); in rand_range32()
106 } while (total_size < sizeof(uint32_t)); in rand_range32()
133 total_size = 0; in rand_range32()
141 } while (total_size < sizeof(uint32_t)); in rand_range32()
150 size_t total_size = 0; in rand_range64() local
154 total_size = 0; in rand_range64()
162 } while (total_size < sizeof(uint64_t)); in rand_range64()
189 total_size = 0; in rand_range64()
[all …]
H A Drandomizer.c159 size_t total_size = 0; in PHP_METHOD() local
172 while (total_size < length) { in PHP_METHOD()
179 ZSTR_VAL(retval)[total_size++] = (result >> (i * 8)) & 0xff; in PHP_METHOD()
180 if (total_size >= length) { in PHP_METHOD()
/PHP-8.2/ext/pcre/pcre2lib/sljit/
H A DsljitExecAllocator.c242 static sljit_uw total_size; variable
315 total_size += chunk_size; in sljit_malloc_exec()
377 if (total_size - free_block->size > (allocated_size * 3 / 2)) { in sljit_free_exec()
378 total_size -= free_block->size; in sljit_free_exec()
401 total_size -= free_block->size; in sljit_free_unused_memory_exec()
408 SLJIT_ASSERT((total_size && free_blocks) || (!total_size && !free_blocks)); in sljit_free_unused_memory_exec()
H A DsljitProtExecAllocator.c288 static sljit_uw total_size; variable
367 total_size += chunk_size; in sljit_malloc_exec()
434 if (total_size - free_block->size > (allocated_size * 3 / 2)) { in sljit_free_exec()
435 total_size -= free_block->size; in sljit_free_exec()
458 total_size -= free_block->size; in sljit_free_unused_memory_exec()
467 SLJIT_ASSERT((total_size && free_blocks) || (!total_size && !free_blocks)); in sljit_free_unused_memory_exec()
/PHP-8.2/ext/pcre/pcre2lib/
H A Dpcre2_serialize.c79 PCRE2_SIZE total_size; in pcre2_serialize_encode() local
93 total_size = sizeof(pcre2_serialized_data) + TABLES_LENGTH; in pcre2_serialize_encode()
105 total_size += re->blocksize; in pcre2_serialize_encode()
109 bytes = memctl->malloc(total_size + sizeof(pcre2_memctl), memctl->memory_data); in pcre2_serialize_encode()
153 *serialized_size = total_size; in pcre2_serialize_encode()
/PHP-8.2/ext/sysvshm/
H A Dsysvshm.c375 zend_long total_size; in php_put_shm_data() local
378total_size = ((zend_long) (len + sizeof(sysvshm_chunk) - 1) / sizeof(zend_long)) * sizeof(zend_lon… in php_put_shm_data()
384 if (ptr->free < total_size) { in php_put_shm_data()
391 shm_var->next = total_size; in php_put_shm_data()
393 ptr->end += total_size; in php_put_shm_data()
394 ptr->free -= total_size; in php_put_shm_data()
/PHP-8.2/ext/sockets/
H A Dsendrecvmsg.c317 size_t total_size = CMSG_SPACE(size); in PHP_FUNCTION() local
319 || total_size > ZEND_LONG_MAX in PHP_FUNCTION()
320 || total_size < size /* align overflow */) { in PHP_FUNCTION()
/PHP-8.2/ext/gd/libgd/
H A Dgd_bmp.c93 int bitmap_size = 0, info_size, total_size, padding; in gdImageBmpCtx() local
133 total_size = 14 + info_size + bitmap_size; in gdImageBmpCtx()
137 gdBMPPutInt(out, total_size); in gdImageBmpCtx()
226 gdBMPPutInt(out, total_size + bitmap_size); in gdImageBmpCtx()
/PHP-8.2/ext/opcache/
H A Dzend_file_cache.c1014 const ssize_t total_size = (ssize_t)(sizeof(*info) + script->size + info->str_size); local
1024 if (EXPECTED(written == total_size)) {
1031 if (UNEXPECTED(ZEND_LONG_MAX < (zend_long)total_size)) {

Completed in 49 milliseconds