Home
last modified time | relevance | path

Searched refs:new_file_size (Results 1 – 4 of 4) sorted by relevance

/third_party/e2fsprogs/resize/
Dmain.c266 __s64 new_file_size; in main() local
575 new_file_size = ((__u64) new_size) * blocksize; in main()
576 if ((__u64) new_file_size > in main()
579 if ((new_file_size > st_buf.st_size) && in main()
581 if ((ext2fs_llseek(fd, new_file_size-1, SEEK_SET) >= 0) && in main()
667 if ((st_buf.st_size > new_file_size) && in main()
670 retval = ftruncate64(fd, new_file_size); in main()
674 if (((off_t) new_file_size) == new_file_size) in main()
675 retval = ftruncate(fd, (off_t) new_file_size); in main()
/third_party/boost/libs/iostreams/src/
Dmapped_file.cpp177 DWORD dwCreationDisposition = (p.new_file_size != 0 && !readonly) ? in open_file()
205 if (p.new_file_size != 0 && !readonly) { in open_file()
206 LONG sizehigh = (p.new_file_size >> (sizeof(LONG) * 8)); in open_file()
207 LONG sizelow = (p.new_file_size & 0xffffffff); in open_file()
260 if (p.new_file_size != 0 && !readonly) in open_file()
273 if (p.new_file_size != 0 && !readonly) in open_file()
274 if (BOOST_IOSTREAMS_FD_TRUNCATE(handle_, p.new_file_size) == -1) in open_file()
433 if (new_file_size < 0) in normalize()
/third_party/boost/libs/iostreams/test/
Dmapped_file_test.cpp155 p.new_file_size = boost::iostreams::test::data_reps * boost::iostreams::test::data_length(); in mapped_file_test()
184 p.new_file_size = boost::iostreams::test::data_reps * boost::iostreams::test::data_length(); in mapped_file_test()
/third_party/boost/boost/iostreams/device/
Dmapped_file.hpp90 new_file_size(0), hint(0) in mapped_file_params_base()
100 stream_offset new_file_size; member