Home
last modified time | relevance | path

Searched refs:file_size_t (Results 1 – 25 of 45) sorted by relevance

12

/dports/net/arataga/restinio-v.0.6.13/dev/restinio/
H A Dsendfile.hpp72 static constexpr file_size_t
95 const file_size_t m_chunk_size;
196 file_size_t file_total_size, in file_meta_t()
208 file_size_t m_file_total_size{ 0 };
230 file_size_t ) noexcept;
321 file_size_t size_value = std::numeric_limits< file_size_t >::max() ) & in offset_and_size()
336 std::min< file_size_t >( in offset_and_size()
346 file_size_t size_value = std::numeric_limits< file_size_t >::max() ) && in offset_and_size()
445 file_size_t m_size;
448 file_size_t m_chunk_size;
[all …]
H A Dsendfile_defs_default.hpp23 using file_size_t = std::uint64_t; typedef
57 file_size_t fsize = 0; in get_file_meta()
68 fsize = static_cast< file_size_t >( end_pos ); in get_file_meta()
H A Dsendfile_defs_win.hpp25 using file_size_t = std::uint64_t; typedef
68 file_size_t fsize = 0; in get_file_meta()
77 fsize = static_cast< file_size_t >( file_size.QuadPart ); in get_file_meta()
H A Dsendfile_defs_posix.hpp33 using file_size_t = std::uint64_t; typedef
101 return META{ static_cast< file_size_t >( file_stat.st_size ), last_modified }; in get_file_meta()
/dports/sysutils/gsmartcontrol/gsmartcontrol-1.1.3/src/hz/
H A Dfs_file.h257 file_size_t& put_size_here, file_size_t max_size = 104857600);
267 file_size_t& put_size_here, file_size_t max_size = 104857600);
401 file_size_t& put_size_here, file_size_t max_size) in get_contents()
409 file_size_t& put_size_here, file_size_t max_size) in get_contents_noalloc()
432 const file_size_t size = platform_ftell(f); in get_contents_noalloc()
461 if (size != static_cast<file_size_t>(read_bytes)) { in get_contents_noalloc()
490 file_size_t size = 0; in get_contents()
523 file_size_t left_to_write = data_size; in put_contents()
532 left_to_write -= static_cast<file_size_t>(chunk_size); in put_contents()
628 const file_size_t size = platform_ftell(f); in get_size()
[all …]
H A Dfs_file_test.cpp38 hz::file_size_t size1 = 0, size2 = 0; in main()
/dports/devel/etl/synfig-1.2.2/synfig-core/src/synfig/
H A Dfilecontainerzip.h60 typedef long long int file_size_t; typedef
63 file_size_t prev_storage_size;
64 file_size_t storage_size;
65 inline explicit HistoryRecord(file_size_t prev_storage_size = 0, file_size_t storage_size = 0):
75 file_size_t size;
76 file_size_t header_offset;
95 file_size_t prev_storage_size_;
100 file_size_t file_processed_size_;
106 static void read_history(std::list<HistoryRecord> &list, FILE *f, file_size_t size);
114 bool open_from_history(const String &container_filename, file_size_t truncate_storage_size = 0);
H A Dcanvasfilenaming.h68 …le make_filesystem_container(const String &filename, FileContainerZip::file_size_t truncate_storag…
70 …static FileSystem::Handle make_filesystem(const String &filename, FileContainerZip::file_size_t tr…
H A Dfilecontainerzip.cpp330 void FileContainerZip::read_history(std::list<HistoryRecord> &list, FILE *f, file_size_t size) in read_history()
401 bool FileContainerZip::open_from_history(const String &container_filename, file_size_t truncate_sto… in open_from_history()
819 file_size_t file_size = file_reading_whole_container_ in file_read()
821 file_size_t remain_size = file_size - file_processed_size_; in file_read()
822 size_t s = remain_size > (file_size_t)size ? size : (size_t)remain_size; in file_read()
/dports/graphics/synfig/synfig-1.2.2/synfig-core/src/synfig/
H A Dfilecontainerzip.h60 typedef long long int file_size_t; typedef
63 file_size_t prev_storage_size;
64 file_size_t storage_size;
65 inline explicit HistoryRecord(file_size_t prev_storage_size = 0, file_size_t storage_size = 0):
75 file_size_t size;
76 file_size_t header_offset;
95 file_size_t prev_storage_size_;
100 file_size_t file_processed_size_;
106 static void read_history(std::list<HistoryRecord> &list, FILE *f, file_size_t size);
114 bool open_from_history(const String &container_filename, file_size_t truncate_storage_size = 0);
H A Dcanvasfilenaming.h68 …le make_filesystem_container(const String &filename, FileContainerZip::file_size_t truncate_storag…
70 …static FileSystem::Handle make_filesystem(const String &filename, FileContainerZip::file_size_t tr…
H A Dfilecontainerzip.cpp330 void FileContainerZip::read_history(std::list<HistoryRecord> &list, FILE *f, file_size_t size) in read_history()
401 bool FileContainerZip::open_from_history(const String &container_filename, file_size_t truncate_sto… in open_from_history()
819 file_size_t file_size = file_reading_whole_container_ in file_read()
821 file_size_t remain_size = file_size - file_processed_size_; in file_read()
822 size_t s = remain_size > (file_size_t)size ? size : (size_t)remain_size; in file_read()
/dports/graphics/synfigstudio/synfig-1.2.2/synfig-core/src/synfig/
H A Dfilecontainerzip.h60 typedef long long int file_size_t; typedef
63 file_size_t prev_storage_size;
64 file_size_t storage_size;
65 inline explicit HistoryRecord(file_size_t prev_storage_size = 0, file_size_t storage_size = 0):
75 file_size_t size;
76 file_size_t header_offset;
95 file_size_t prev_storage_size_;
100 file_size_t file_processed_size_;
106 static void read_history(std::list<HistoryRecord> &list, FILE *f, file_size_t size);
114 bool open_from_history(const String &container_filename, file_size_t truncate_storage_size = 0);
H A Dcanvasfilenaming.h68 …le make_filesystem_container(const String &filename, FileContainerZip::file_size_t truncate_storag…
70 …static FileSystem::Handle make_filesystem(const String &filename, FileContainerZip::file_size_t tr…
H A Dfilecontainerzip.cpp330 void FileContainerZip::read_history(std::list<HistoryRecord> &list, FILE *f, file_size_t size) in read_history()
401 bool FileContainerZip::open_from_history(const String &container_filename, file_size_t truncate_sto… in open_from_history()
819 file_size_t file_size = file_reading_whole_container_ in file_read()
821 file_size_t remain_size = file_size - file_processed_size_; in file_read()
822 size_t s = remain_size > (file_size_t)size ? size : (size_t)remain_size; in file_read()
/dports/sysutils/gdmap/gdmap-0.8.1/src/
H A Dutils.c62 char* print_filesize(file_size_t bytes) { in print_filesize()
160 file_size_t extract_bytes(const char* string) { in extract_bytes()
162 file_size_t result = 0; in extract_bytes()
204 const char* print_bytes_exact(file_size_t bytes) { in print_bytes_exact()
211 else if (bytes % ((file_size_t)1024*(file_size_t)1024*(file_size_t)1024*(file_size_t)1204) == 0) in print_bytes_exact()
H A Dutils.h15 typedef gint64 file_size_t; typedef
21 char* print_filesize(file_size_t bytes);
26 const char* print_bytes_exact(file_size_t bytes);
27 file_size_t extract_bytes(const char* string);
/dports/textproc/zorba/zorba-2.7.0/include/zorba/util/
H A Dfile.h49 typedef zorba::File::FileSize_t file_size_t; typedef
55 file_size_t size; // size in bytes
82 file_size_t get_size() const { return size; } in get_size()
93 bool is_empty() const { return (size == (file_size_t)0); } in is_empty()
/dports/net/arataga/restinio-v.0.6.13/dev/restinio/impl/
H A Dsendfile_operation.hpp40 std::function< void ( const asio_ns::error_code & , file_size_t ) >;
74 file_size_t m_remained_size;
75 file_size_t m_transfered_size{ 0 };
77 const file_size_t m_chunk_size;
H A Dsendfile_operation_posix.ipp80 std::min< file_size_t >(
211 std::min< file_size_t >( m_remained_size, m_chunk_size ) ),
232 m_remained_size -= static_cast< file_size_t >( n );
233 m_transfered_size += static_cast< file_size_t >( n );
251 std::min< file_size_t >( m_remained_size, m_chunk_size ) );
268 m_remained_size -= static_cast< file_size_t >( n );
269 m_transfered_size += static_cast< file_size_t >( n );
285 std::min< file_size_t >( m_remained_size, m_chunk_size ) );
396 m_remained_size -= static_cast< file_size_t >( n );
397 m_transfered_size += static_cast< file_size_t >( n );
/dports/net/arataga/restinio-v.0.6.13/dev/sample/hello_world_sendfile/
H A Dmain.cpp24 restinio::file_size_t m_data_size{ std::numeric_limits< restinio::file_size_t >::max() };
/dports/net/arataga/restinio-v.0.6.13/dev/sample/hello_world_sendfile_w32_unicode/
H A Dmain.cpp24 restinio::file_size_t m_data_size{ std::numeric_limits< restinio::file_size_t >::max() };
/dports/net/arataga/restinio-v.0.6.13/dev/sample/hello_world_sendfile_https/
H A Dmain.cpp26 restinio::file_size_t m_data_size{ std::numeric_limits< restinio::file_size_t >::max() };
/dports/net/arataga/restinio-v.0.6.13/dev/test/sendfile/
H A Dmain.cpp24 REQUIRE( 8 == sizeof( restinio::file_size_t ) );
307 const auto size = restinio::cast_to< restinio::file_size_t >( params[ "size" ] ); in __anoned0e0aff0902()
404 const auto chunk_size = restinio::cast_to< restinio::file_size_t >( params[ "chunk" ] ); in __anoned0e0aff0b02()
546 const auto size = restinio::cast_to< restinio::file_size_t >( params[ "size" ] ); in __anoned0e0aff0e02()
/dports/sysutils/lnav/lnav-0.10.1/src/base/
H A Dfile_range.hh38 using file_size_t = uint64_t; typedef

12