Searched refs:dataSize (Results 1 – 3 of 3) sorted by relevance
/toolchain/binutils/binutils-2.27/zlib/contrib/minizip/ |
D | mztools.c | 119 int dataSize = cpsize; variable 120 if (dataSize == 0) { 121 dataSize = uncpsize; 123 if (dataSize > 0) { 124 char* data = malloc(dataSize); 126 if ((int)fread(data, 1, dataSize, fpZip) == dataSize) { 127 if ((int)fwrite(data, 1, dataSize, fpOut) == dataSize) { 128 offset += dataSize; 129 totalBytes += dataSize;
|
D | zip.c | 1958 short dataSize; in zipRemoveExtraInfoBlock() local 1971 dataSize = *(((short*)p)+1); in zipRemoveExtraInfoBlock() 1975 p += dataSize + 4; // skip it. do not copy to temp buffer in zipRemoveExtraInfoBlock() 1980 memcpy(pTmp, p, dataSize + 4); in zipRemoveExtraInfoBlock() 1981 p += dataSize + 4; in zipRemoveExtraInfoBlock() 1982 size += dataSize + 4; in zipRemoveExtraInfoBlock()
|
D | unzip.c | 1030 uLong dataSize; in unz64local_GetCurrentFileInfoInternal() local 1035 if (unz64local_getShort(&s->z_filefunc, s->filestream,&dataSize) != UNZ_OK) in unz64local_GetCurrentFileInfoInternal() 1072 if (ZSEEK64(s->z_filefunc, s->filestream,dataSize,ZLIB_FILEFUNC_SEEK_CUR)!=0) in unz64local_GetCurrentFileInfoInternal() 1076 acc += 2 + 2 + dataSize; in unz64local_GetCurrentFileInfoInternal()
|