Searched refs:old_file_size (Results 1 – 2 of 2) sorted by relevance
/external/bsdiff/ |
D | bspatch.cc | 253 uint64_t old_file_size; in bspatch() local 254 if (!old_file->GetSize(&old_file_size)) { in bspatch() 286 new_file, oldpos - old_file_size, new_buf.data(), new_buf.size(), in bspatch() 302 std::min<uint64_t>(oldpos + control_entry.diff_size, old_file_size); in bspatch() 334 if (oldpos > static_cast<int64_t>(old_file_size)) { in bspatch() 338 new_file, oldpos - old_file_size, new_buf.data(), new_buf.size(), in bspatch()
|
/external/u-boot/fs/yaffs2/ |
D | yaffs_yaffs2.c | 838 loff_t old_file_size; in yaffs2_handle_hole() local 858 old_file_size = obj->variant.file_variant.file_size; in yaffs2_handle_hole() 860 if (new_size <= old_file_size) in yaffs2_handle_hole() 863 increase = new_size - old_file_size; in yaffs2_handle_hole() 876 loff_t pos = old_file_size; in yaffs2_handle_hole() 901 yaffs_resize_file_down(obj, old_file_size); in yaffs2_handle_hole()
|