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

  /external/bsdiff/
test_utils.cc 100 memcpy(&ctrl_len, contents.data() + 8, sizeof(ctrl_len));
104 TEST_AND_RETURN_FALSE(file_size >= kHeaderSize + ctrl_len + diff_len);
105 extra_len = file_size - kHeaderSize - ctrl_len - diff_len;
108 TEST_AND_RETURN_FALSE(ctrl_len >= 0);
112 bz2_ctrl = vector<uint8_t>(ptr, ptr + ctrl_len);
113 ptr += ctrl_len;
122 TEST_AND_RETURN_FALSE(ctrl_len >= 0);
test_utils.h 63 int64_t ctrl_len = -1; member in struct:test_utils::BsdiffPatchFile
  /bootable/recovery/applypatch/
bspatch.cpp 139 ssize_t ctrl_len, data_len, new_size; local
140 ctrl_len = offtin(header+8);
144 if (ctrl_len < 0 || data_len < 0 || new_size < 0) {
153 cstream.avail_in = ctrl_len;
162 dstream.next_in = patch->data + patch_offset + 32 + ctrl_len;
172 estream.next_in = patch->data + patch_offset + 32 + ctrl_len + data_len;
173 estream.avail_in = patch->size - (patch_offset + 32 + ctrl_len + data_len);

Completed in 1372 milliseconds