Home
last modified time | relevance | path

Searched refs:file_size (Results 1 – 7 of 7) sorted by relevance

/PHP-5.5/ext/zip/tests/
H A Dpecl12414.phpt16 $file_size=$finfo['size'];
18 if($file_size>0) {
22 if(strlen($contents)!=$file_size) {
/PHP-5.5/ext/standard/tests/file/
H A Dfile.inc42 "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 …]
/PHP-5.5/main/streams/
H A Dphp_stream_context.h112 #define php_stream_notify_file_size(context, file_size, xmsg, xcode) do { if ((context) && (context… argument
114 (xmsg), (xcode), 0, (file_size), NULL TSRMLS_CC); } } while(0)
/PHP-5.5/main/
H A Drfc1867.c1215 zval file_size, error_type; local
1222 file_size.value.lval = 0;
1223 file_size.type = IS_LONG;
1225 file_size.value.lval = total_bytes;
1226 file_size.type = IS_LONG;
1243 safe_php_register_variable_ex(lbuf, &file_size, NULL, 0 TSRMLS_CC);
1252 register_http_post_files_variable_ex(lbuf, &file_size, http_post_files, 0 TSRMLS_CC);
/PHP-5.5/ext/imap/tests/
H A Dimap_fetch_overview_variation6.phpt62 $file_size = 1;
/PHP-5.5/ext/standard/
H A Dhttp_fopen_wrapper.c128 size_t chunk_size = 0, file_size = 0; in php_stream_url_wrap_http_ex() local
754 file_size = atoi(http_header_line + 16); in php_stream_url_wrap_http_ex()
755 php_stream_notify_file_size(context, file_size, http_header_line, 0); in php_stream_url_wrap_http_ex()
906 php_stream_notify_progress_init(context, 0, file_size); in php_stream_url_wrap_http_ex()
H A Dftp_fopen_wrapper.c423 size_t file_size = 0; in php_stream_url_wrap_ftp() local
493 file_size = atoi(sizestr); in php_stream_url_wrap_ftp()
494 php_stream_notify_file_size(context, file_size, tmp_line, result); in php_stream_url_wrap_ftp()
573 php_stream_notify_progress_init(context, 0, file_size); in php_stream_url_wrap_ftp()

Completed in 46 milliseconds