HomeSort by relevance Sort by last modified time
    Searched defs:old_file (Results 1 - 3 of 3) sorted by null

  /external/bsdiff/
bspatch.cc 221 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,
354 if (!old_file->GetSize(&oldsize))
    [all...]
  /bootable/recovery/tests/component/
applypatch_test.cpp 76 old_file = from_testdata_base("old.file");
86 sha1sum(old_file, &old_sha1, &old_size);
93 static std::string old_file; member in class:ApplyPatchTest
108 std::string ApplyPatchTest::old_file; member in class:ApplyPatchTest
117 cp(ApplyPatchTest::old_file, ApplyPatchTest::cache_file);
121 cp(ApplyPatchTest::cache_file, ApplyPatchTest::old_file);
193 ASSERT_EQ(0, applypatch_check(&old_file[0], sha1s));
198 ASSERT_EQ(0, applypatch_check(&old_file[0], sha1s));
203 ASSERT_EQ(0, applypatch_check(&old_file[0], sha1s));
208 ASSERT_NE(0, applypatch_check(&old_file[0], sha1s))
    [all...]
  /external/toybox/toys/pending/
syslogd.c 290 char old_file[i]; local
296 sprintf(old_file, "%s.%d", tf->filename, --i);
297 rename(old_file, new_file);

Completed in 68 milliseconds