Home
last modified time | relevance | path

Searched refs:kMagicLength (Results 1 – 3 of 3) sorted by relevance

/external/puffin/src/
Dpuffpatch.cc33 const size_t kMagicLength = 4; variable
109 TEST_AND_RETURN_FALSE(patch_length >= (kMagicLength + sizeof(header_size))); in DecodePatch()
111 string patch_magic(reinterpret_cast<const char*>(patch), kMagicLength); in DecodePatch()
116 offset += kMagicLength; in DecodePatch()
Dpuffdiff.cc74 patch->resize(kMagicLength + sizeof(header_size) + header_size + in CreatePatch()
77 memcpy(patch->data() + offset, kMagic, kMagicLength); in CreatePatch()
78 offset += kMagicLength; in CreatePatch()
/external/puffin/src/include/puffin/
Dpuffpatch.h14 extern const size_t kMagicLength;