Searched refs:st_size (Results 1 – 25 of 35) sorted by last modified time
12
/PHP-7.4/main/streams/ |
H A D | streams.c | 1506 if (php_stream_stat(src, &ssbuf) == 0 && ssbuf.sb.st_size > 0) { in _php_stream_copy_to_mem() 1507 max_len = MAX(ssbuf.sb.st_size - src->position, 0) + step; in _php_stream_copy_to_mem() 1560 if (ssbuf.sb.st_size == 0 in _php_stream_copy_to_stream_ex()
|
H A D | plain_wrapper.c | 722 if (range->offset > data->sb.st_size) { in php_stdiop_set_option() 723 range->offset = data->sb.st_size; in php_stdiop_set_option() 726 range->length > data->sb.st_size - range->offset) { in php_stdiop_set_option() 727 range->length = data->sb.st_size - range->offset; in php_stdiop_set_option()
|
H A D | memory.c | 210 ssb->sb.st_size = ms->fsize; in php_stream_memory_stat()
|
/PHP-7.4/main/ |
H A D | main.c | 1622 return ssb.sb.st_size; in php_zend_stream_fsizer()
|
/PHP-7.4/ext/zip/ |
H A D | php_zip.c | 1487 if (VCWD_STAT(resolved_path, &st) == 0 && st.st_size == 0) {
|
H A D | zip_stream.c | 179 ssb->sb.st_size = sb.size; in php_zip_ops_stat() 182 ssb->sb.st_size = 0; in php_zip_ops_stat()
|
/PHP-7.4/ext/fileinfo/ |
H A D | libmagic.patch | 731 - if (st.st_size < 8 || st.st_size > maxoff_t()) { 733 + if (st.sb.st_size < 8 || st.sb.st_size > maxoff_t()) { 735 - st.st_size < 8 ? "small" : "large"); 736 + st.sb.st_size < 8 ? "small" : "large"); 740 - map->len = CAST(size_t, st.st_size); 755 + map->len = CAST(size_t, st.sb.st_size); 758 + if (php_stream_read(stream, map->p, (size_t)st.sb.st_size) != (size_t)st.sb.st_size) { 809 + dbname, (unsigned long long)st.sb.st_size, 1046 b->elen = CAST(size_t, b->st.st_size) < b->flen ? 1047 CAST(size_t, b->st.st_size) : b->flen; [all …]
|
/PHP-7.4/ext/curl/ |
H A D | interface.c | 2236 filesize = ssb.sb.st_size; in build_mime_structure_from_hash()
|
/PHP-7.4/ext/standard/ |
H A D | filestat.c | 882 RETURN_LONG((zend_long)ssb.sb.st_size); in php_stat() 939 ZVAL_LONG(&stat_size, stat_sb->st_size); in php_stat()
|
H A D | file.c | 1595 ZVAL_LONG(&stat_size, stat_ssb.sb.st_size); in PHP_NAMED_FUNCTION()
|
H A D | iptc.c | 224 spoolbuf = zend_string_safe_alloc(1, iptcdata_len + sizeof(psheader) + 1024 + 1, sb.st_size, 0); in PHP_FUNCTION() 226 memset(poi, 0, iptcdata_len + sizeof(psheader) + sb.st_size + 1024 + 1); in PHP_FUNCTION()
|
H A D | ftp_fopen_wrapper.c | 825 ssb->sb.st_size = 0; in php_stream_ftp_url_stat() 830 ssb->sb.st_size = atoi(tmp_line + 4); in php_stream_ftp_url_stat() 889 ssb->sb.st_blocks = (int)((4095 + ssb->sb.st_size) / ssb->sb.st_blksize); /* emulate ceil */ in php_stream_ftp_url_stat()
|
/PHP-7.4/ext/opcache/ |
H A D | ZendAccelerator.c | 962 *size = tmpbuf->st_size; in zend_get_file_handle_timestamp() 1034 *size = statbuf.st_size; in zend_get_file_handle_timestamp()
|
/PHP-7.4/ext/pdo_odbc/ |
H A D | odbc_stmt.c | 444 P->len = SQL_LEN_DATA_AT_EXEC(sb.sb.st_size); in odbc_stmt_param_hook()
|
/PHP-7.4/sapi/cli/ |
H A D | php_cli_server.c | 2166 smart_str_append_unsigned_ex(&buffer, client->request.sb.st_size, 1); in php_cli_server_begin_send_static()
|
/PHP-7.4/ext/soap/ |
H A D | php_sdl.c | 1562 buf = in = emalloc(st.st_size); in get_sdl_from_cache() 1563 if (read(f, in, st.st_size) != st.st_size) { in get_sdl_from_cache()
|
/PHP-7.4/ext/phar/ |
H A D | util.c | 227 entry.uncompressed_filesize = entry.compressed_filesize = ssb.sb.st_size; in phar_mount_entry()
|
/PHP-7.4/ext/ffi/ |
H A D | ffi.c | 3164 code_size = buf.st_size; in zend_ffi_load()
|
/PHP-7.4/ext/exif/ |
H A D | exif.c | 4448 ImageInfo->FileSize = st.st_size; in exif_read_from_impl()
|
/PHP-7.4/ext/sqlite3/ |
H A D | sqlite3.c | 1265 ssb->sb.st_size = sqlite3_stream->size; in php_sqlite3_stream_stat()
|
/PHP-7.4/win32/ |
H A D | ioutil.h | 708 php_win32_ioutil_size_t st_size; member
|
H A D | ioutil.c | 884 buf->st_size = _buf.st_size; in php_win32_ioutil_fstat_int() 967 buf->st_size = (zend_long)t.QuadPart; in php_win32_ioutil_fstat_int()
|
/PHP-7.4/sapi/apache2handler/ |
H A D | sapi_apache2.c | 223 ctx->finfo.st_size = ctx->r->finfo.size; in php_apache_sapi_get_stat()
|
/PHP-7.4/Zend/ |
H A D | zend_stream.c | 49 return buf.st_size; in zend_stream_stdio_fsizer()
|
/PHP-7.4/ext/session/ |
H A D | mod_files.c | 98 size_t st_size; member 244 if (ZSTR_LEN(val) < data->st_size) { in ps_files_write() 490 data->st_size = sbuf.st_size; in PS_READ_FUNC() 492 if (sbuf.st_size == 0) { in PS_READ_FUNC() 497 *val = zend_string_alloc(sbuf.st_size, 0); in PS_READ_FUNC() 524 if (n != (zend_long)sbuf.st_size) { in PS_READ_FUNC()
|
Completed in 143 milliseconds
12