Searched refs:old_file (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython2/Lib/distutils/tests/ |
D | test_dep_util.py | 17 old_file = os.path.abspath(__file__) 20 self.assertRaises(DistutilsFileError, newer, new_file, old_file) 26 self.assertTrue(newer(new_file, old_file)) 30 self.assertFalse(newer(old_file, new_file)) 56 old_file = os.path.abspath(__file__) 63 self.assertTrue(newer_group([one, two, three], old_file)) 64 self.assertFalse(newer_group([one, two, old_file], three)) 68 self.assertRaises(OSError, newer_group, [one, two, old_file], three) 70 self.assertFalse(newer_group([one, two, old_file], three, 73 self.assertTrue(newer_group([one, two, old_file], three,
|
/external/bsdiff/ |
D | bspatch.cc | 221 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 …]
|
/external/bsdiff/include/bsdiff/ |
D | bspatch.h | 35 int bspatch(const std::unique_ptr<FileInterface>& 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/clang/ |
D | build.py | 614 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/ |
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()
|
/external/python/cpython2/Lib/idlelib/ |
D | PyShell.py | 245 with open(self.breakpointPath,"r") as old_file: 246 lines = old_file.readlines()
|