Home
last modified time | relevance | path

Searched refs:file_size (Results 1 - 6 of 6) sorted by relevance

/php-7.4/Zend/
H A Dzend_stream.c(last modified 27/04/2020 08:00)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-7.4/main/
H A Drfc1867.c(last modified 12/05/2020 08:00)1235 zval file_size, error_type; local
1243 ZVAL_LONG(&file_size, 0);
1260 ZVAL_LONG(&file_size, total_bytes);
1279 ZVAL_STRING(&file_size, file_size_buf);
1281 safe_php_register_variable_ex(lbuf, &file_size, NULL, size_overflow);
1291 ZVAL_STRING(&file_size, file_size_buf);
1293 register_http_post_files_variable_ex(lbuf, &file_size, &PG(http_globals)[TRACK_VARS_FILES], size_overflow);
/php-7.4/main/streams/
H A Dplain_wrapper.c(last modified 24/09/2020 08:00)774 LARGE_INTEGER file_size; in php_stdiop_set_option()
811 if (!GetFileSizeEx(hfile, &file_size)) { in php_stdiop_set_option()
817 size = file_size.QuadPart; in php_stdiop_set_option()
819 if (file_size.HighPart) { in php_stdiop_set_option()
824 size = file_size.LowPart; in php_stdiop_set_option()
H A Dphp_stream_context.h(last modified 13/02/2019 23:05)110 #define php_stream_notify_file_size(context, file_size, xmsg, xcode) do { if ((context) && (context)->notifier) { \
112 (xmsg), (xcode), 0, (file_size), NULL); } } while(0)
/php-7.4/ext/standard/
H A Dftp_fopen_wrapper.c(last modified 23/07/2019 08:00)424 size_t file_size = 0; in php_stream_url_wrap_ftp() local
495 file_size = atoi(sizestr); in php_stream_url_wrap_ftp()
496 php_stream_notify_file_size(context, file_size, tmp_line, result); in php_stream_url_wrap_ftp()
576 php_stream_notify_progress_init(context, 0, file_size); in php_stream_url_wrap_ftp()
H A Dhttp_fopen_wrapper.c(last modified 25/02/2020 08:00)135 size_t chunk_size = 0, file_size = 0; in php_stream_url_wrap_http_ex() local
802 file_size = atoi(http_header_value); in php_stream_url_wrap_http_ex()
803 php_stream_notify_file_size(context, file_size, http_header_line, 0); in php_stream_url_wrap_http_ex()
944 php_stream_notify_progress_init(context, 0, file_size); in php_stream_url_wrap_http_ex()

Completed in 35 milliseconds