Home
last modified time | relevance | path

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

/PHP-8.3/ext/random/
H A Drandomizer.c97 size_t total_size; in PHP_METHOD() local
102 total_size = 0; in PHP_METHOD()
105 result = result | (r << (total_size * 8)); in PHP_METHOD()
110 } while (total_size < sizeof(uint64_t)); in PHP_METHOD()
275 size_t total_size = 0; in PHP_METHOD() local
288 while (total_size < length) { in PHP_METHOD()
296 if (total_size >= length) { in PHP_METHOD()
383 size_t total_size = 0; in PHP_METHOD() local
406 while (total_size < length) { in PHP_METHOD()
427 while (total_size < length) { in PHP_METHOD()
[all …]
H A Drandom.c79 size_t total_size = 0; in php_random_range32() local
83 total_size = 0; in php_random_range32()
86 result = result | (r << (total_size * 8)); in php_random_range32()
91 } while (total_size < sizeof(uint32_t)); in php_random_range32()
118 total_size = 0; in php_random_range32()
126 } while (total_size < sizeof(uint32_t)); in php_random_range32()
135 size_t total_size = 0; in php_random_range64() local
139 total_size = 0; in php_random_range64()
147 } while (total_size < sizeof(uint64_t)); in php_random_range64()
174 total_size = 0; in php_random_range64()
[all …]
/PHP-8.3/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.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-8.3/ext/sysvshm/
H A Dsysvshm.c369 zend_long total_size; in php_put_shm_data() local
372total_size = ((zend_long) (len + sizeof(sysvshm_chunk) - 1) / sizeof(zend_long)) * sizeof(zend_lon… in php_put_shm_data()
378 if (ptr->free < total_size) { in php_put_shm_data()
385 shm_var->next = total_size; in php_put_shm_data()
387 ptr->end += total_size; in php_put_shm_data()
388 ptr->free -= total_size; in php_put_shm_data()
/PHP-8.3/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.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()
/PHP-8.3/ext/imap/
H A Dphp_imap.c4186 size_t total_size = 0; in _php_imap_address_size() local
4191 total_size += _php_rfc822_len(current_address->personal); in _php_imap_address_size()
4192 total_size += _php_rfc822_len(current_address->adl); in _php_imap_address_size()
4193 total_size += _php_rfc822_len(current_address->mailbox); in _php_imap_address_size()
4194 total_size += _php_rfc822_len(current_address->host); in _php_imap_address_size()
4203 total_size += nb_addresses * PHP_IMAP_ADDRESS_SIZE_BUF; in _php_imap_address_size()
4205 return total_size; in _php_imap_address_size()
/PHP-8.3/ext/opcache/
H A Dzend_file_cache.c1016 const ssize_t total_size = (ssize_t)(sizeof(*info) + script->size + info->str_size); local
1026 if (EXPECTED(written == total_size)) {
1033 if (UNEXPECTED(ZEND_LONG_MAX < (zend_long)total_size)) {

Completed in 36 milliseconds