Searched refs:destlen (Results 1 - 4 of 4) sorted by relevance

/vbox/src/libs/zlib-1.2.6/contrib/puff/
H A Dpuff.h33 unsigned long *destlen, /* amount of output space */
H A Dpufftest.c95 unsigned long sourcelen, destlen; local
137 ret = puff(NIL, &destlen, source + skip, &sourcelen);
141 fprintf(stderr, "puff() succeeded uncompressing %lu bytes\n", destlen);
149 destlen >>= 1;
150 dest = malloc(destlen);
156 puff(dest, &destlen, source + skip, &sourcelen);
158 fwrite(dest, 1, destlen, stdout);
H A Dpuff.c747 * Inflate source to dest. On return, destlen and sourcelen are updated to the
752 * output space, then a positive error is returned. In that case, destlen and
760 * the input value of *destlen is ignored, and on return *destlen is set to the
791 unsigned long *destlen, /* amount of output space */
801 s.outlen = *destlen; /* ignored if dest is NIL */
833 *destlen = s.outcnt;
790 puff(unsigned char *dest, unsigned long *destlen, const unsigned char *source, unsigned long *sourcelen) argument
/vbox/src/libs/xpcom18a4/nsprpub/lib/libc/src/
H A Dbase64.c158 PRUint32 destlen = ((srclen + 2)/3) * 4; local
159 dest = (char *)PR_MALLOC(destlen + 1);
164 dest[ destlen ] = (char)0; /* null terminate */
406 PRUint32 destlen = ((srclen * 3) / 4); local
407 dest = (char *)PR_MALLOC(destlen + 1);
412 dest[ destlen ] = (char)0; /* null terminate */

Completed in 1896 milliseconds