Searched refs:file_size (Results 1 – 10 of 10) sorted by relevance
/PHP-8.0/ext/zip/tests/ |
H A D | pecl12414.phpt | 16 $file_size=$finfo['size']; 18 if($file_size>0) { 22 if(strlen($contents)!=$file_size) {
|
/PHP-8.0/Zend/ |
H A D | zend_stream.c | 118 size_t file_size; in zend_stream_fixup() local 145 file_size = zend_stream_fsize(file_handle); in zend_stream_fixup() 146 if (file_size == (size_t)-1) { in zend_stream_fixup() 150 if (file_size) { in zend_stream_fixup() 153 *buf = safe_emalloc(1, file_size, ZEND_MMAP_AHEAD); in zend_stream_fixup() 154 while ((read = zend_stream_read(file_handle, *buf + size, file_size - size)) > 0) { in zend_stream_fixup()
|
/PHP-8.0/main/streams/ |
H A D | php_stream_context.h | 108 #define php_stream_notify_file_size(context, file_size, xmsg, xcode) do { if ((context) && (context… argument 110 (xmsg), (xcode), 0, (file_size), NULL); } } while(0)
|
H A D | plain_wrapper.c | 781 LARGE_INTEGER file_size; in php_stdiop_set_option() local 818 if (!GetFileSizeEx(hfile, &file_size)) { in php_stdiop_set_option() 824 size = file_size.QuadPart; in php_stdiop_set_option() 826 if (file_size.HighPart) { in php_stdiop_set_option() 831 size = file_size.LowPart; in php_stdiop_set_option()
|
/PHP-8.0/ext/standard/tests/file/ |
H A D | file.inc | 42 "text" = fills with string of size $file_size 43 "numeric" = fills with numeric value of size $file_size 87 "text" = fills with string of size $file_size 88 "numeric" = fills with numeric value of size $file_size 95 function fill_file($file_handle, $fill_type, $file_size) { 122 $size = $file_size; 140 $bytes_written = fwrite($file_handle, $num_values, $file_size); 141 if ( $bytes_written != $file_size ) { 257 $file_size = $size; 259 $file_size = $file_size * 1024; [all …]
|
H A D | ftruncate_variation4.phpt | 46 $file_size = filesize($filename); // current filesize 47 var_dump($file_size === 1024 || $file_size === 1137); // 1137 is for Windows with 't' mode 58 $file_size = filesize($filename); // new file size = actual size, no change 59 var_dump($file_size === 1024 || $file_size === 1137); // 1137 is for Windows with 't' mode
|
/PHP-8.0/main/ |
H A D | rfc1867.c | 1238 zval file_size, error_type; local 1246 ZVAL_LONG(&file_size, 0); 1263 ZVAL_LONG(&file_size, total_bytes); 1282 ZVAL_STRING(&file_size, file_size_buf); 1284 safe_php_register_variable_ex(lbuf, &file_size, NULL, size_overflow); 1294 ZVAL_STRING(&file_size, file_size_buf); 1296 …register_http_post_files_variable_ex(lbuf, &file_size, &PG(http_globals)[TRACK_VARS_FILES], size_o…
|
/PHP-8.0/ext/imap/tests/ |
H A D | imap_fetch_overview_variation6.phpt | 57 $file_size = 1;
|
/PHP-8.0/ext/standard/ |
H A D | http_fopen_wrapper.c | 133 size_t chunk_size = 0, file_size = 0; in php_stream_url_wrap_http_ex() local 796 file_size = atoi(http_header_value); in php_stream_url_wrap_http_ex() 797 php_stream_notify_file_size(context, file_size, http_header_line, 0); in php_stream_url_wrap_http_ex() 943 php_stream_notify_progress_init(context, 0, file_size); in php_stream_url_wrap_http_ex()
|
H A D | ftp_fopen_wrapper.c | 416 size_t file_size = 0; in php_stream_url_wrap_ftp() local 487 file_size = atoi(sizestr); in php_stream_url_wrap_ftp() 488 php_stream_notify_file_size(context, file_size, tmp_line, result); in php_stream_url_wrap_ftp() 568 php_stream_notify_progress_init(context, 0, file_size); in php_stream_url_wrap_ftp()
|
Completed in 48 milliseconds