Home
last modified time | relevance | path

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

/PHP-7.4/ext/pcre/pcre2lib/sljit/
H A DsljitExecAllocator.c222 static sljit_uw total_size; variable
294 total_size += chunk_size; in sljit_malloc_exec()
355 if (total_size - free_block->size > (allocated_size * 3 / 2)) { in sljit_free_exec()
356 total_size -= free_block->size; in sljit_free_exec()
377 total_size -= free_block->size; in sljit_free_unused_memory_exec()
384 SLJIT_ASSERT((total_size && free_blocks) || (!total_size && !free_blocks)); in sljit_free_unused_memory_exec()
H A DsljitProtExecAllocator.c285 static sljit_uw total_size; variable
364 total_size += chunk_size; in sljit_malloc_exec()
431 if (total_size - free_block->size > (allocated_size * 3 / 2)) { in sljit_free_exec()
432 total_size -= free_block->size; in sljit_free_exec()
455 total_size -= free_block->size; in sljit_free_unused_memory_exec()
464 SLJIT_ASSERT((total_size && free_blocks) || (!total_size && !free_blocks)); in sljit_free_unused_memory_exec()
/PHP-7.4/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.4/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.4/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 17 milliseconds