Home
last modified time | relevance | path

Searched refs:size (Results 201 – 225 of 760) sorted by relevance

12345678910>>...31

/php-src/Zend/
H A Dzend_multibyte.c191 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 Dzend_objects_API.c32 objects->size = init_size; in zend_objects_store_init()
134 uint32_t new_size = 2 * EG(objects_store).size; in zend_objects_store_put_cold()
138 EG(objects_store).size = new_size; in zend_objects_store_put_cold()
154 } else if (UNEXPECTED(EG(objects_store).top == EG(objects_store).size)) { in zend_objects_store_put()
H A Dzend_hash.h318 # define zend_new_array(size) \ argument
319 (__builtin_constant_p(size) ? \
323 _zend_new_array((size)) \
326 _zend_new_array((size)) \
329 # define zend_new_array(size) \ argument
330 _zend_new_array(size)
725 memcpy(Z_PTR_P(zv), pData, size); in zend_hash_add_mem()
738 memcpy(Z_PTR_P(zv), pData, size); in zend_hash_add_new_mem()
775 memcpy(p, pData, size); in zend_hash_update_mem()
784 memcpy(p, pData, size); in zend_hash_str_update_mem()
[all …]
H A Dzend_gdb.h23 ZEND_API bool zend_gdb_register_code(const void *object, size_t size);
H A Dzend_virtual_cwd.h174 CWD_API char *virtual_getcwd(char *buf, size_t size);
268 #define VCWD_GETCWD(buff, size) virtual_getcwd(buff, size) argument
313 #define VCWD_GETCWD(buff, size) php_win32_ioutil_getcwd(buff, size) argument
325 #define VCWD_GETCWD(buff, size) getcwd(buff, size) argument
/php-src/ext/ffi/
H A Dffi.stub.php50 public static function memcpy(FFI\CData $to, $from, int $size): void {} argument
58 public static function memcmp($ptr1, $ptr2, int $size): int {} argument
61 public static function memset(FFI\CData $ptr, int $value, int $size): void {} argument
64 public static function string(FFI\CData $ptr, ?int $size = null): string {} argument
/php-src/ext/phar/tests/tar/files/
H A Dtarmaker.php.inc52 '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,
H A Dmake.dangerous.tar.php.inc53 'size' => strlen($fileOrStream),
86 sprintf('%11s ',decoct($stat['size'])),
114 if ($stat['size'] % 512) {
115 fwrite($this->tmp, (binary)str_repeat("\0", 512 - $stat['size'] % 512));
157 'size' => 0,
/php-src/ext/dba/libflatfile/
H A Dflatfile.c103 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-src/ext/spl/tests/
H A DSplFixedArray_change_size_during_iteration.phpt2 SPL: FixedArray: change array size during iteration
7 /* Try changing size on first, second, and final iterations, and check what
/php-src/ext/standard/tests/array/
H A Darray_chunk_basic2.phpt6 $size = 2;
29 var_dump( array_chunk($input_array, $size, true) );
30 var_dump( array_chunk($input_array, $size, false) );
/php-src/ext/ldap/tests/
H A Dldap_get_option_controls.phpt42 'size' => 1,
83 ["size"]=>
101 ["size"]=>
H A Dldap_parse_result_controls.phpt24 [['oid' => LDAP_CONTROL_PAGEDRESULTS, 'iscritical' => TRUE, 'value' => ['size' => 1]]]),
27 $ctrls[LDAP_CONTROL_PAGEDRESULTS]['value']['size'],
/php-src/ext/mbstring/tests/
H A Dmb_str_split_jp.phpt56 $size = 50000;
57 $long = str_repeat($string, $size); /* 50k x 2 chars = 1e5 chars */
62 /* check array size */
63 if($size !== $count) printf("Long string splitting error: actual array size: %d expected: %d\n", $c…
/php-src/ext/standard/tests/file/
H A D007_variation4.phpt24 var_dump( fwrite($file_handle, $string) ); //Check for write operation; passes; expected:size of t…
32 …( filesize($file) ); //Check for size of existing data file before opening the file in "w+" mode …
35 var_dump( filesize($file) ); //Check for size of existing data file after opening the file in "w+"…
/php-src/ext/exif/
H A Dexif.c1912 size_t size; member
1925 size_t size; member
1932 size_t size; member
2124 if (!size) { in exif_file_sections_add()
2131 ImageInfo->file.list[count].size = size; in exif_file_sections_add()
2152 ImageInfo->file.list[section_index].size = size; in exif_file_sections_realloc()
3130 &xp_field->size, in exif_process_unicode()
3138 return xp_field->size; in exif_process_unicode()
3667 && ImageInfo->Thumbnail.size in exif_process_IFD_in_JPEG()
3871 if (got != size) { in exif_scan_JPEG_header()
[all …]
/php-src/ext/standard/
H A Dcrypt_blowfish.h21 char *output, int size);
/php-src/ext/intl/grapheme/
H A Dgrapheme_string.c678 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
725 Z_PARAM_LONG(size) in PHP_FUNCTION()
759 if (size < 0) { in PHP_FUNCTION()
764 if (size > INT32_MAX) { in PHP_FUNCTION()
769 if (size == 0) { in PHP_FUNCTION()
799 if ( -1 != grapheme_ascii_check((unsigned char *)pstr, MIN(size + 1, str_len)) ) { in PHP_FUNCTION()
800 size_t nsize = MIN(size, str_len); in PHP_FUNCTION()
[all …]
/php-src/Zend/tests/stack_limit/
H A Dstack_limit_011.phpt51 Maximum call stack size of %d bytes (zend.max_allowed_stack_size - zend.reserved_stack_size) reache…
52 Previous: Maximum call stack size of %d bytes (zend.max_allowed_stack_size - zend.reserved_stack_si…
/php-src/ext/opcache/jit/ir/
H A Dir_disasm.c83 uint64_t size) in ir_disasm_add_symbol() argument
93 sym->end = (addr + size - 1); in ir_disasm_add_symbol()
324 size_t size, argument
329 size_t orig_size = size;
400 if (size > rodata_offset) {
401 size = rodata_offset;
411 if (size > jmp_table_offset) {
412 size = jmp_table_offset;
431 end = (void *)((char *)start + size);
757 void *s = ir_mem_malloc(sect->size);
[all …]
/php-src/ext/hash/sha3/generic32lc/
H A DKeccakSponge.h133 #define KCP_DeclareSpongeStructure(prefix, size, alignment) \ argument
135 unsigned char state[size]; \
/php-src/ext/hash/sha3/generic64lc/
H A DKeccakSponge.h133 #define KCP_DeclareSpongeStructure(prefix, size, alignment) \ argument
135 unsigned char state[size]; \
/php-src/ext/ftp/tests/
H A Dgh10521.phpt21 foreach ([12345678910, 9223372036854775807] as $size) {
25 ftp_fget($ftp, $handle, 'gh10521', FTP_ASCII, $size);
/php-src/ext/shmop/
H A Dshmop_arginfo.h8 ZEND_ARG_TYPE_INFO(0, size, IS_LONG, 0)
14 ZEND_ARG_TYPE_INFO(0, size, IS_LONG, 0)
/php-src/ext/standard/libavifinfo/
H A Davifinfo.c242 uint32_t size; // In bytes. member
264 if (box->size == 1) { in AvifInfoInternalParseBox()
273 } else if (box->size == 0) { in AvifInfoInternalParseBox()
274 box->size = num_remaining_bytes; in AvifInfoInternalParseBox()
276 AVIFINFO_CHECK(box->size >= box_header_size, kInvalid); in AvifInfoInternalParseBox()
285 AVIFINFO_CHECK(box->size >= box_header_size, kInvalid); in AvifInfoInternalParseBox()
286 box->content_size = box->size - box_header_size; in AvifInfoInternalParseBox()
429 num_remaining_bytes -= box.size; in ParseIpco()
511 num_remaining_bytes -= box.size; in ParseIprp()
572 num_remaining_bytes -= box.size; in ParseIref()
[all …]

Completed in 65 milliseconds

12345678910>>...31