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

  /bootable/recovery/tests/component/
applypatch_test.cpp 80 old_file = from_testdata_base("old.file");
90 old_sha1 = sha1sum(old_file);
101 static std::string old_file; member in class:ApplyPatchTest
115 std::string ApplyPatchTest::old_file; member in class:ApplyPatchTest
126 cp(ApplyPatchTest::old_file, ApplyPatchTest::cache_file);
130 cp(ApplyPatchTest::cache_file, ApplyPatchTest::old_file);
214 ASSERT_EQ(0, applypatch_check(&old_file[0], 1, &s));
223 ASSERT_EQ(0, applypatch_check(&old_file[0], 3, argv));
231 ASSERT_NE(0, applypatch_check(&old_file[0], 2, argv));
235 mangle_file(old_file);
    [all...]
  /external/bsdiff/
bspatch.cc 223 std::unique_ptr<FileInterface> old_file = File::FOpen(old_filename, O_RDONLY); local
224 if (!old_file)
231 old_file.reset(new ExtentsFile(std::move(old_file), parsed_old_extents));
234 if (!old_file->GetSize(&oldsize))
292 if (static_cast<uint64_t>(i) != old_file_pos && !old_file->Seek(i))
301 if (!old_file->Read(old_buf.data(), bytes_to_read, &read_bytes))
343 old_file->Close();
  /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 176 milliseconds