Searched refs:PKGDIFF_MAGIC (Results 1 – 4 of 4) sorted by relevance
56 … PATCH_CHECK(param.patchSize >= (std::char_traits<char>::length(PKGDIFF_MAGIC) + sizeof(int32_t)), in ApplyImagePatch()58 …PATCH_CHECK(memcmp(param.patch, PKGDIFF_MAGIC, std::char_traits<char>::length(PKGDIFF_MAGIC)) == 0, in ApplyImagePatch()60 size_t offset = std::char_traits<char>::length(PKGDIFF_MAGIC); in ApplyImagePatch()219 … if (memcmp(patchData.memory, PKGDIFF_MAGIC, std::char_traits<char>::length(PKGDIFF_MAGIC)) == 0) { in ApplyPatch()
147 constexpr const char *PKGDIFF_MAGIC = "PKGDIFF0"; variable
93 if (memcmp(patchData.memory, UpdatePatch::PKGDIFF_MAGIC, in TestApplyPatch()94 std::char_traits<char>::length(UpdatePatch::PKGDIFF_MAGIC)) == 0) { in TestApplyPatch()
216 patchFile.write(PKGDIFF_MAGIC, std::char_traits<char>::length(PKGDIFF_MAGIC)); in DiffImage()217 size_t dataOffset = std::char_traits<char>::length(PKGDIFF_MAGIC); in DiffImage()