Lines Matching refs:clen
189 jint clen = ENDCOM(bp);
190 if (endpos + ENDHDR + clen == len)
196 if (clen > 0)
198 zip->comment = malloc(clen + 1);
201 if (readFully(zip->fd, zip->comment, clen) == -1)
207 zip->comment[clen] = '\0';
382 int method, nlen, clen, elen, hsh;
412 clen = CENCOM(cp);
413 if ((cp - cenbuf) + CENHDR + nlen + clen + elen > cenlen)
460 if (clen > 0)
462 char *comment = malloc(clen+1);
463 memcpy(comment, cp+CENHDR+nlen+elen, clen);
464 comment[clen] = 0;
475 cp += (CENHDR + nlen + elen + clen);