Home
last modified time | relevance | path

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

/PHP-7.3/ext/pcre/pcre2lib/sljit/
H A DsljitExecAllocator.c208 static sljit_uw total_size; variable
280 total_size += chunk_size; in sljit_malloc_exec()
341 if (total_size - free_block->size > (allocated_size * 3 / 2)) { in sljit_free_exec()
342 total_size -= free_block->size; in sljit_free_exec()
363 total_size -= free_block->size; in sljit_free_unused_memory_exec()
370 SLJIT_ASSERT((total_size && free_blocks) || (!total_size && !free_blocks)); in sljit_free_unused_memory_exec()
H A DsljitProtExecAllocator.c239 static sljit_uw total_size; variable
318 total_size += chunk_size; in sljit_malloc_exec()
385 if (total_size - free_block->size > (allocated_size * 3 / 2)) { in sljit_free_exec()
386 total_size -= free_block->size; in sljit_free_exec()
407 total_size -= free_block->size; in sljit_free_unused_memory_exec()
414 SLJIT_ASSERT((total_size && free_blocks) || (!total_size && !free_blocks)); in sljit_free_unused_memory_exec()
/PHP-7.3/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-7.3/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-7.3/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()

Completed in 18 milliseconds