Home
last modified time | relevance | path

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

/external/e2fsprogs/resize/
Dmain.c266 __s64 new_file_size; in main() local
553 new_file_size = ((__u64) new_size) * blocksize; in main()
554 if ((__u64) new_file_size > in main()
557 if ((new_file_size > st_buf.st_size) && in main()
559 if ((ext2fs_llseek(fd, new_file_size-1, SEEK_SET) >= 0) && in main()
638 if ((st_buf.st_size > new_file_size) && in main()
641 retval = ftruncate64(fd, new_file_size); in main()
645 if (((off_t) new_file_size) == new_file_size) in main()
646 retval = ftruncate(fd, (off_t) new_file_size); in main()
/external/bsdiff/
Dbspatch.cc265 while (newpos < patch_reader.new_file_size()) { in bspatch()
273 if (newpos + control_entry.diff_size > patch_reader.new_file_size()) { in bspatch()
346 if (newpos + control_entry.extra_size > patch_reader.new_file_size()) { in bspatch()
Dpatch_reader.h45 uint64_t new_file_size() const { return new_file_size_; } in new_file_size() function
Dpatch_reader_unittest.cc88 EXPECT_EQ(new_file_size_, patch_reader.new_file_size()); in VerifyPatch()