Searched refs:old_file (Results 1 – 6 of 6) sorted by relevance
/external/bsdiff/ |
D | bspatch.cc | 157 std::unique_ptr<FileInterface> old_file = File::FOpen(old_filename, O_RDONLY); in bspatch() local 158 if (!old_file) in bspatch() 165 old_file.reset(new ExtentsFile(std::move(old_file), parsed_old_extents)); in bspatch() 168 if (!old_file->GetSize(&oldsize)) in bspatch() 211 if (static_cast<uint64_t>(i) != old_file_pos && !old_file->Seek(i)) in bspatch() 221 if (!old_file->Read(old_buf.data(), bytes_to_read, &read_bytes)) in bspatch() 251 old_file->Close(); in bspatch()
|
/external/chromium-trace/catapult/telemetry/third_party/pyfakefs/pyfakefs/ |
D | fake_filesystem.py | 1541 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)
|
D | fake_filesystem_test.py | 951 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/chromium-trace/catapult/third_party/pyfakefs/pyfakefs/ |
D | fake_filesystem.py | 1559 def rename(self, old_file, new_file): argument 1573 old_file = self.filesystem.NormalizePath(old_file) 1575 if not self.filesystem.Exists(old_file): 1579 old_file) 1581 if old_file == new_file: 1585 old_dir, old_name = self.path.split(old_file) 1602 self.remove(old_file)
|
/external/toybox/toys/pending/ |
D | syslogd.c | 290 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/mesa3d/src/gallium/drivers/r300/compiler/ |
D | radeon_pair_schedule.c | 762 rc_register_file old_file, in rgb_to_alpha_remap() argument 775 old_file, new_index); in rgb_to_alpha_remap()
|