/PHP-8.1/ext/standard/ |
H A D | md5.c | 186 static const void *body(PHP_MD5_CTX *ctx, const void *data, size_t size) in body() argument 283 } while (size -= 64); in body() 310 if ((ctx->lo = (saved_lo + size) & 0x1fffffff) < saved_lo) { in PHP_MD5Update() 313 ctx->hi += size >> 29; in PHP_MD5Update() 320 if (size < free) { in PHP_MD5Update() 321 memcpy(&ctx->buffer[used], data, size); in PHP_MD5Update() 327 size -= free; in PHP_MD5Update() 331 if (size >= 64) { in PHP_MD5Update() 332 data = body(ctx, data, size & ~(size_t)0x3f); in PHP_MD5Update() 333 size &= 0x3f; in PHP_MD5Update() [all …]
|
/PHP-8.1/ext/zlib/tests/ |
H A D | gztell_basic2.phpt | 13 foreach ($sizes as $size) { 14 echo "bytes written=".gzwrite($h, str_repeat('1', $size))."\n";
|
H A D | bug_34821.phpt | 20 foreach ($b as $size) { 23 } while (++$i < $size);
|
H A D | zlib_wrapper_level.phpt | 22 $size = filesize($filename); 24 return $size;
|
/PHP-8.1/ext/standard/tests/file/ |
H A D | userstreams_006.phpt | 13 echo "size: ", strlen($data), "\n"; 36 size: 70
|
/PHP-8.1/ext/mysqlnd/ |
H A D | mysqlnd_block_alloc.c | 27 mysqlnd_mempool_get_chunk(MYSQLND_MEMORY_POOL * pool, size_t size) in mysqlnd_mempool_get_chunk() argument 30 DBG_RETURN(zend_arena_alloc(&pool->arena, size)); in mysqlnd_mempool_get_chunk()
|
/PHP-8.1/ext/opcache/ |
H A D | zend_persist_calc.c | 31 #define ADD_SIZE(m) ZCG(current_persistent_script)->size += ZEND_ALIGNED_SIZE(m) 99 uint32_t size; in zend_persist_zval_calc() local 113 size = zend_shared_memdup_size(Z_ARR_P(z), sizeof(zend_array)); in zend_persist_zval_calc() 114 if (size) { in zend_persist_zval_calc() 117 ADD_SIZE(size); in zend_persist_zval_calc() 130 size = zend_shared_memdup_size(Z_AST_P(z), sizeof(zend_ast_ref)); in zend_persist_zval_calc() 131 if (size) { in zend_persist_zval_calc() 132 ADD_SIZE(size); in zend_persist_zval_calc() 576 new_persistent_script->size = 0; in zend_accel_script_persist_calc() 590 new_persistent_script->size = (new_persistent_script->size + 63) & ~63; in zend_accel_script_persist_calc() [all …]
|
H A D | shared_alloc_posix.c | 75 shared_segment->common.size = requested_size; in create_segments() 82 munmap(shared_segment->common.p, shared_segment->common.size); in detach_segment()
|
/PHP-8.1/ext/dba/ |
H A D | dba_db4.c | 62 gkey.data = (char *) key; gkey.size = keylen 167 if (newlen) *newlen = gval.size; 168 new = estrndup(gval.data, gval.size); 184 gval.size = vallen; 254 nkey = estrndup(gkey.data, gkey.size); 255 if (newlen) *newlen = gkey.size;
|
/PHP-8.1/ext/gd/libgd/ |
H A D | gd_io.c | 181 int gdPutBuf (const void *buf, int size, gdIOCtx * ctx) in gdPutBuf() argument 184 return (ctx->putBuf) (ctx, buf, size); in gdPutBuf() 188 int gdGetBuf (void *buf, int size, gdIOCtx * ctx) in gdGetBuf() argument 190 return (ctx->getBuf) (ctx, buf, size); in gdGetBuf()
|
/PHP-8.1/main/ |
H A D | output.c | 819 context->in.size = size; in php_output_context_feed() 833 context->in.size = context->out.size; in php_output_context_swap() 837 context->out.size = 0; in php_output_context_swap() 847 context->out.size = context->in.size; in php_output_context_pass() 852 context->in.size = 0; in php_output_context_pass() 879 handler->size = chunk_size; in php_output_handler_init() 882 handler->buffer.data = emalloc(handler->buffer.size); in php_output_handler_init() 901 handler->buffer.size += grow_max; in php_output_handler_append() 907 if (handler->size && (handler->buffer.used >= handler->size)) { in php_output_handler_append() 939 handler->buffer.size, in php_output_handler_op() [all …]
|
/PHP-8.1/ext/sockets/ |
H A D | multicast.c | 622 ULONG size; in php_if_index_to_addr4() local 633 size = 4 * (sizeof *addr_table); in php_if_index_to_addr4() 634 addr_table = emalloc(size); in php_if_index_to_addr4() 639 addr_table = emalloc(size); in php_if_index_to_addr4() 665 ULONG size; in php_add4_to_if_index() local 676 size = 4 * (sizeof *addr_table); in php_add4_to_if_index() 677 addr_table = emalloc(size); in php_add4_to_if_index() 682 addr_table = emalloc(size); in php_add4_to_if_index() 754 int size = 0, local 765 buf = ecalloc(size, 1); [all …]
|
/PHP-8.1/Zend/ |
H A D | zend_hash.h | 301 # define zend_new_array(size) \ argument 302 (__builtin_constant_p(size) ? \ 306 _zend_new_array((size)) \ 309 _zend_new_array((size)) \ 312 # define zend_new_array(size) \ argument 313 _zend_new_array(size) 707 memcpy(Z_PTR_P(zv), pData, size); in zend_hash_add_mem() 720 memcpy(Z_PTR_P(zv), pData, size); in zend_hash_add_new_mem() 757 memcpy(p, pData, size); in zend_hash_update_mem() 766 memcpy(p, pData, size); in zend_hash_str_update_mem() [all …]
|
H A D | zend_multibyte.c | 191 size_t size = 0; in zend_multibyte_set_script_encoding_by_string() local 198 if (FAILURE == zend_multibyte_parse_encoding_list(new_value, new_value_length, &list, &size, 1)) { in zend_multibyte_set_script_encoding_by_string() 202 if (size == 0) { in zend_multibyte_set_script_encoding_by_string() 207 if (FAILURE == zend_multibyte_set_script_encoding(list, size)) { in zend_multibyte_set_script_encoding_by_string()
|
H A D | zend_portability.h | 354 # define do_alloca_ex(size, limit, use_heap) \ argument 355 ((use_heap = (UNEXPECTED((size) > (limit)))) ? emalloc(size) : alloca(size)) 356 # define do_alloca(size, use_heap) \ argument 357 do_alloca_ex(size, ZEND_ALLOCA_MAX_SIZE, use_heap) 466 #define ZEND_SECURE_ZERO(var, size) RtlSecureZeroMemory((var), (size)) argument 468 #define ZEND_SECURE_ZERO(var, size) explicit_bzero((var), (size)) argument
|
/PHP-8.1/ext/oci8/tests/ |
H A D | coll_003.phpt | 18 var_dump($coll1->size()); 34 Warning: OCICollection::trim(): OCI-22167: given trim size [3] must be less than or equal to [0] in…
|
H A D | coll_002.phpt | 20 var_dump($coll1->size()); 38 string(%d) "OCICollection::size(): supplied resource is not a valid oci8 collection resource"
|
/PHP-8.1/tests/basic/ |
H A D | rfc1867_anonymous_upload.phpt | 39 ["size"]=> 54 ["size"]=>
|
/PHP-8.1/ext/gd/tests/ |
H A D | imagegd_truecolor.phpt | 28 printf("size: %d\n", strlen($buffer)); 35 size: 411
|
/PHP-8.1/ext/intl/grapheme/ |
H A D | grapheme_string.c | 678 grapheme_extract_count_iter(UBreakIterator *bi, int32_t size, unsigned char *pstr, int32_t str_len) in grapheme_extract_count_iter() argument 683 while ( size ) { in grapheme_extract_count_iter() 690 size--; in grapheme_extract_count_iter() 713 …zend_long size; /* maximum number of grapheme clusters, bytes, or characters (based on extract_typ… in PHP_FUNCTION() local 723 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "sl|llz", &str, &str_len, &size, &extract_type, &lstart… in PHP_FUNCTION() 754 if (size < 0) { in PHP_FUNCTION() 759 if (size > INT32_MAX) { in PHP_FUNCTION() 764 if (size == 0) { in PHP_FUNCTION() 794 if ( -1 != grapheme_ascii_check((unsigned char *)pstr, MIN(size + 1, str_len)) ) { in PHP_FUNCTION() 795 size_t nsize = MIN(size, str_len); in PHP_FUNCTION() [all …]
|
/PHP-8.1/Zend/asm/ |
H A D | make_ppc64_sysv_elf_gas.S | 92 .size make_fcontext,24 167 .size make_fcontext, .-make_fcontext 170 .size .make_fcontext, .-.L.make_fcontext 172 .size .make_fcontext, .-.make_fcontext
|
/PHP-8.1/ext/phar/tests/tar/files/ |
H A D | tarmaker.php.inc | 52 'size' => strlen($fileOrStream), 85 sprintf('%11s ',decoct($stat['size'])), 113 if ($stat['size'] % 512) { 114 fwrite($this->tmp, (binary)str_repeat("\0", 512 - $stat['size'] % 512)); 156 'size' => 0,
|
/PHP-8.1/ext/dba/libflatfile/ |
H A D | flatfile.c | 103 size_t size = key_datum.dsize; in flatfile_delete() local 125 if (size == num && !memcmp(buf, key, size)) { in flatfile_delete() 158 size_t size = key_datum.dsize; in flatfile_findkey() local 172 if (size == num) { in flatfile_findkey() 173 if (!memcmp(buf, key, size)) { in flatfile_findkey()
|
/PHP-8.1/ext/spl/tests/ |
H A D | SplFixedArray_change_size_during_iteration.phpt | 2 SPL: FixedArray: change array size during iteration 7 /* Try changing size on first, second, and final iterations, and check what
|
/PHP-8.1/ext/standard/tests/streams/ |
H A D | set_file_buffer.phpt | 19 echo "size: ", strlen($data), "\n"; 45 size: %d
|