/php-src/ext/random/ |
H A D | randomizer.c | 100 size_t total_size; in PHP_METHOD() local 105 total_size = 0; in PHP_METHOD() 109 total_size += r.size; in PHP_METHOD() 282 size_t total_size = 0; in PHP_METHOD() local 323 total_size += 8; in PHP_METHOD() 326 while (total_size < length) { in PHP_METHOD() 338 if (total_size >= length) { in PHP_METHOD() 426 size_t total_size = 0; in PHP_METHOD() local 450 while (total_size < length) { in PHP_METHOD() 473 while (total_size < length) { in PHP_METHOD() [all …]
|
H A D | random.c | 86 size_t total_size; in php_random_range32() local 89 total_size = 0; in php_random_range32() 93 total_size += r.size; in php_random_range32() 97 } while (total_size < sizeof(uint32_t)); in php_random_range32() 125 total_size = 0; in php_random_range32() 129 total_size += r.size; in php_random_range32() 145 size_t total_size; in php_random_range64() local 148 total_size = 0; in php_random_range64() 152 total_size += r.size; in php_random_range64() 184 total_size = 0; in php_random_range64() [all …]
|
/php-src/ext/pcre/pcre2lib/sljit/allocator_src/ |
H A D | sljitExecAllocatorCore.c | 120 static sljit_uw total_size; variable 210 total_size += chunk_size; in sljit_malloc_exec() 286 if (total_size - free_block->size > (allocated_size * 3 / 2)) { in sljit_free_exec() 287 total_size -= free_block->size; in sljit_free_exec() 310 total_size -= free_block->size; in sljit_free_unused_memory_exec() 317 SLJIT_ASSERT(total_size || (!total_size && !free_blocks)); in sljit_free_unused_memory_exec()
|
/php-src/ext/pcre/pcre2lib/ |
H A D | pcre2_serialize.c | 79 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-src/ext/sysvshm/ |
H A D | sysvshm.c | 368 zend_long total_size; in php_put_shm_data() local 371 …total_size = ((zend_long) (len + sizeof(sysvshm_chunk) - 1) / sizeof(zend_long)) * sizeof(zend_lon… in php_put_shm_data() 377 if (ptr->free < total_size) { in php_put_shm_data() 384 shm_var->next = total_size; in php_put_shm_data() 386 ptr->end += total_size; in php_put_shm_data() 387 ptr->free -= total_size; in php_put_shm_data()
|
/php-src/ext/sockets/ |
H A D | sendrecvmsg.c | 317 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-src/ext/gd/libgd/ |
H A D | gd_bmp.c | 93 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-src/win32/ |
H A D | sendmail.c | 695 size_t total_size = header_buffer_size + strlen(specifier) + strlen(string) + 1; in addToHeader() local 696 *header_buffer = erealloc(*header_buffer, total_size); in addToHeader() 697 snprintf(*header_buffer + header_buffer_size, total_size - header_buffer_size, specifier, string); in addToHeader()
|
/php-src/ext/pcre/pcre2lib/sljit/ |
H A D | sljitNativeRISCV_common.c | 407 sljit_uw total_size; in reduce_code_size() local 447 total_size = 2; in reduce_code_size() 449 total_size = 4; in reduce_code_size() 451 total_size = 5; in reduce_code_size() 458 total_size = 0; in reduce_code_size() 460 total_size = 1; in reduce_code_size() 472 total_size = 5; in reduce_code_size() 479 total_size = 1; in reduce_code_size() 481 total_size = 1; in reduce_code_size() 483 total_size = 3; in reduce_code_size() [all …]
|
H A D | sljitNativeARM_64.c | 380 sljit_uw total_size; in reduce_code_size() local 419 total_size = 3; in reduce_code_size() 421 total_size = 4; in reduce_code_size() 427 total_size = 0; in reduce_code_size() 429 total_size = 1; in reduce_code_size() 431 total_size = 3; in reduce_code_size() 438 total_size = 3; in reduce_code_size() 444 total_size = 0; in reduce_code_size() 446 total_size = 1; in reduce_code_size() 448 total_size = 1; in reduce_code_size() [all …]
|
H A D | sljitNativePPC_common.c | 501 sljit_uw total_size; in reduce_code_size() local 535 total_size = JUMP_MAX_SIZE - 1; in reduce_code_size() 540 total_size = 1 - 1; in reduce_code_size() 543 total_size = 4 - 1; in reduce_code_size() 545 total_size = 6 - 1; in reduce_code_size() 553 total_size = 1 - 1; in reduce_code_size() 555 total_size = 2 - 1; in reduce_code_size() 557 total_size = 1 - 1; in reduce_code_size() 562 jump->flags |= total_size << JUMP_SIZE_SHIFT; in reduce_code_size() 565 total_size = (sljit_uw)4 << JUMP_SIZE_SHIFT; in reduce_code_size() [all …]
|
H A D | sljitNativeLOONGARCH_64.c | 574 sljit_uw total_size; in reduce_code_size() local 609 total_size = JUMP_MAX_SIZE; in reduce_code_size() 614 total_size = 2; in reduce_code_size() 616 total_size = 3; in reduce_code_size() 622 total_size = 0; in reduce_code_size() 624 total_size = 1; in reduce_code_size() 626 total_size = 2; in reduce_code_size() 633 total_size = 3; in reduce_code_size() 640 total_size = 1; in reduce_code_size() 642 total_size = 1; in reduce_code_size() [all …]
|
H A D | sljitNativeARM_T2_32.c | 481 sljit_uw total_size; in reduce_code_size() local 515 total_size = JUMP_MAX_SIZE; in reduce_code_size() 525 total_size = 0; in reduce_code_size() 527 total_size = 1; in reduce_code_size() 530 total_size = 1; in reduce_code_size() 533 total_size = 2; in reduce_code_size() 536 size_reduce += JUMP_MAX_SIZE - total_size; in reduce_code_size() 539 total_size = 3; in reduce_code_size() 545 total_size = 1; in reduce_code_size() 548 size_reduce += 3 - total_size; in reduce_code_size() [all …]
|
H A D | sljitNativeARM_32.c | 748 sljit_uw total_size; in reduce_code_size() local 782 total_size = JUMP_MAX_SIZE - 1; in reduce_code_size() 789 total_size = 1 - 1; in reduce_code_size() 792 size_reduce += JUMP_MAX_SIZE - 1 - total_size; in reduce_code_size() 795 total_size = 1; in reduce_code_size() 800 total_size = 0; in reduce_code_size() 803 size_reduce += 1 - total_size; in reduce_code_size() 806 jump->flags |= total_size << JUMP_SIZE_SHIFT; in reduce_code_size()
|
/php-src/ext/opcache/ |
H A D | zend_file_cache.c | 1041 const ssize_t total_size = (ssize_t)(sizeof(*info) + script->size + info->str_size); local 1051 if (EXPECTED(written == total_size)) { 1058 if (UNEXPECTED(ZEND_LONG_MAX < (zend_long)total_size)) {
|