Home
last modified time | relevance | path

Searched refs:old_file (Results 1 – 7 of 7) sorted by relevance

/external/bsdiff/
Dbspatch.cc221 std::unique_ptr<FileInterface> old_file = File::FOpen(old_filename, O_RDONLY); in bspatch() local
222 if (!old_file) { in bspatch()
234 old_file.reset(new ExtentsFile(std::move(old_file), parsed_old_extents)); in bspatch()
263 return bspatch(old_file, new_file, patch_data, patch_size); in bspatch()
273 std::unique_ptr<FileInterface> old_file(new MemoryFile(old_data, old_size)); in bspatch() local
276 return bspatch(old_file, new_file, patch_data, patch_size); in bspatch()
281 int bspatch(const std::unique_ptr<FileInterface>& old_file, in bspatch() argument
354 if (!old_file->GetSize(&oldsize)) { in bspatch()
400 if (static_cast<uint64_t>(i) != old_file_pos && !old_file->Seek(i)) { in bspatch()
412 if (!old_file->Read(old_buf.data(), bytes_to_read, &read_bytes)) { in bspatch()
[all …]
Dbspatch.h35 int bspatch(const std::unique_ptr<FileInterface>& old_file,
/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/
Dfake_filesystem.py1541 def rename(self, old_file, new_file): argument
1555 old_file = self.filesystem.NormalizePath(old_file)
1557 if not self.filesystem.Exists(old_file):
1561 old_file)
1563 if old_file == new_file:
1567 old_dir, old_name = self.path.split(old_file)
1584 self.remove(old_file)
Dfake_filesystem_test.py951 old_file = self.filesystem.CreateFile(old_file_path)
952 old_file.SetMTime(old_file.st_mtime - 3600)
956 self.assertNotEqual(new_file.st_mtime, old_file.st_mtime)
959 self.assertEqual(new_file.st_mtime, old_file.st_mtime)
960 self.assertEqual(new_file.st_mode, old_file.st_mode)
961 self.assertEqual(new_file.st_uid, old_file.st_uid)
962 self.assertEqual(new_file.st_gid, old_file.st_gid)
/external/toybox/toys/pending/
Dsyslogd.c290 char old_file[i]; in write_rotate() local
296 sprintf(old_file, "%s.%d", tf->filename, --i); in write_rotate()
297 rename(old_file, new_file); in write_rotate()
/external/clang/
Dbuild.py614 old_file = os.path.join(install_dir, built_file)
616 rename(old_file, new_file)
617 install_file(wrapper, old_file)
/external/mesa3d/src/gallium/drivers/r300/compiler/
Dradeon_pair_schedule.c762 rc_register_file old_file, in rgb_to_alpha_remap() argument
775 old_file, new_index); in rgb_to_alpha_remap()