Home | History | Annotate | Download | only in zopfli

Lines Matching defs:outsize

40                      unsigned char** out, size_t* outsize) {
44 *outsize = 0;
49 *outsize = ftell(file);
52 *out = (unsigned char*)malloc(*outsize);
54 if (*outsize && (*out)) {
55 size_t testsize = fread(*out, 1, *outsize, file);
56 if (testsize != *outsize) {
60 *outsize = 0;
64 assert(!(*outsize) || out); /* If size is not zero, out must be allocated. */
89 size_t outsize = 0;
96 ZopfliCompress(options, output_type, in, insize, &out, &outsize);
99 SaveFile(outfilename, out, outsize);
102 for (i = 0; i < outsize; i++) {