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

/external/bsdiff/
H A Dbspatch.cc221 std::unique_ptr<FileInterface> old_file = File::FOpen(old_filename, O_RDONLY); local
222 if (!old_file) {
234 old_file.reset(new ExtentsFile(std::move(old_file), parsed_old_extents));
263 return bspatch(old_file, new_file, patch_data, patch_size);
273 std::unique_ptr<FileInterface> old_file(new MemoryFile(old_data, old_size));
276 return bspatch(old_file, new_file, patch_data, patch_size);
279 // Patch |old_file| with |patch_data| and save it to |new_file|.
281 int bspatch(const std::unique_ptr<FileInterface>& old_file, argument
354 if (!old_file
[all...]
H A Dbspatch.h35 int bspatch(const std::unique_ptr<FileInterface>& old_file,
/external/toybox/toys/pending/
H A Dsyslogd.c290 char old_file[i]; local
296 sprintf(old_file, "%s.%d", tf->filename, --i);
297 rename(old_file, new_file);
/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/
H A Dfake_filesystem.py1541 def rename(self, old_file, new_file):
1542 """Adds a FakeFile object at new_file containing contents of old_file.
1544 Also removes the FakeFile object for old_file, and replaces existing
1548 old_file: path to filesystem object to rename
1552 OSError: if old_file does not exist.
1555 old_file = self.filesystem.NormalizePath(old_file)
1557 if not self.filesystem.Exists(old_file):
1561 old_file)
1563 if old_file
[all...]
H A 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/clang/
H A 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/
H A Dradeon_pair_schedule.c762 rc_register_file old_file,
775 old_file, new_index);
759 rgb_to_alpha_remap( struct rc_instruction * inst, struct rc_pair_instruction_arg * arg, rc_register_file old_file, rc_swizzle old_swz, unsigned int new_index) argument

Completed in 320 milliseconds