Searched refs:kMagicLength (Results 1 – 3 of 3) sorted by relevance
33 const size_t kMagicLength = 4; variable109 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()
74 patch->resize(kMagicLength + sizeof(header_size) + header_size + in CreatePatch()77 memcpy(patch->data() + offset, kMagic, kMagicLength); in CreatePatch()78 offset += kMagicLength; in CreatePatch()
14 extern const size_t kMagicLength;