Searched refs:ctrl_len (Results 1 – 3 of 3) sorted by relevance
111 memcpy(&ctrl_len, contents.data() + 8, sizeof(ctrl_len)); in LoadFromFile()116 TEST_AND_RETURN_FALSE(ctrl_len >= 0); in LoadFromFile()121 static_cast<uint64_t>(kHeaderSize + ctrl_len + diff_len)); in LoadFromFile()122 extra_len = file_size - kHeaderSize - ctrl_len - diff_len; in LoadFromFile()125 bz2_ctrl = vector<uint8_t>(ptr, ptr + ctrl_len); in LoadFromFile()126 ptr += ctrl_len; in LoadFromFile()135 TEST_AND_RETURN_FALSE(ctrl_len >= 0); in IsValid()
309 int64_t ctrl_len = ParseInt64(patch_data + 8); in bspatch() local313 if ((ctrl_len < 0) || (data_len < 0) || (signed_newsize < 0) || in bspatch()314 (32 + ctrl_len + data_len > static_cast<int64_t>(patch_size))) { in bspatch()321 cstream.avail_in = ctrl_len; in bspatch()331 dstream.next_in = (char*)patch_data + 32 + ctrl_len; in bspatch()342 estream.next_in = (char*)patch_data + 32 + ctrl_len + data_len; in bspatch()343 estream.avail_in = patch_size - (32 + ctrl_len + data_len); in bspatch()
69 int64_t ctrl_len = -1; member