Lines Matching defs:unzipped
950 // Create space to store unzipped data, the size is
958 byte *unzipped = new byte[lenUnzipped];
961 int result = unzip(cur_block, (byte*)(packet + header_size), (size - header_size), &unzipped, &lenUnzipped);
966 // Write any unzipped data to disk
981 unzipped,
1014 delete [] unzipped;
1062 int CUpDownClient::unzip(Pending_Block_Struct *block, byte *zipped, uint32 lenZipped, byte **unzipped, uint32 *lenUnzipped, int iRecursion)
1069 // Is this the first time this block has been unzipped
1081 zS->next_out = (*unzipped);
1097 zS->next_out = (*unzipped);
1113 // Got a good result, set the size to the amount unzipped in this call
1127 // Copy any data that was successfully unzipped to new array
1130 memcpy(temp, (*unzipped), (zS->total_out - block->totalUnzipped));
1131 delete [] (*unzipped);
1132 (*unzipped) = temp;
1136 zS->next_out = (*unzipped) + (zS->total_out - block->totalUnzipped);
1140 err = unzip(block, zS->next_in, zS->avail_in, unzipped, lenUnzipped, iRecursion + 1);
1143 // Set the size to the amount unzipped in this call