Home
last modified time | relevance | path

Searched refs:outsize (Results 1 – 25 of 36) sorted by relevance

12

/external/zopfli/src/zopfli/
Dgzip_container.c79 unsigned char** out, size_t* outsize) { in ZopfliGzipCompress() argument
83 ZOPFLI_APPEND_DATA(31, out, outsize); /* ID1 */ in ZopfliGzipCompress()
84 ZOPFLI_APPEND_DATA(139, out, outsize); /* ID2 */ in ZopfliGzipCompress()
85 ZOPFLI_APPEND_DATA(8, out, outsize); /* CM */ in ZopfliGzipCompress()
86 ZOPFLI_APPEND_DATA(0, out, outsize); /* FLG */ in ZopfliGzipCompress()
88 ZOPFLI_APPEND_DATA(0, out, outsize); in ZopfliGzipCompress()
89 ZOPFLI_APPEND_DATA(0, out, outsize); in ZopfliGzipCompress()
90 ZOPFLI_APPEND_DATA(0, out, outsize); in ZopfliGzipCompress()
91 ZOPFLI_APPEND_DATA(0, out, outsize); in ZopfliGzipCompress()
93 ZOPFLI_APPEND_DATA(2, out, outsize); /* XFL, 2 indicates best compression. */ in ZopfliGzipCompress()
[all …]
Ddeflate.c39 unsigned char* bp, unsigned char** out, size_t* outsize) { in AddBit() argument
40 if (*bp == 0) ZOPFLI_APPEND_DATA(0, out, outsize); in AddBit()
41 (*out)[*outsize - 1] |= bit << *bp; in AddBit()
46 unsigned char* bp, unsigned char** out, size_t* outsize) { in AddBits() argument
51 if (*bp == 0) ZOPFLI_APPEND_DATA(0, out, outsize); in AddBits()
52 (*out)[*outsize - 1] |= bit << *bp; in AddBits()
63 size_t* outsize) { in AddHuffmanBits() argument
68 if (*bp == 0) ZOPFLI_APPEND_DATA(0, out, outsize); in AddHuffmanBits()
69 (*out)[*outsize - 1] |= bit << *bp; in AddHuffmanBits()
109 unsigned char** out, size_t* outsize) { in EncodeTree() argument
[all …]
Dzlib_container.c52 unsigned char** out, size_t* outsize) { in ZopfliZlibCompress() argument
62 ZOPFLI_APPEND_DATA(cmfflg / 256, out, outsize); in ZopfliZlibCompress()
63 ZOPFLI_APPEND_DATA(cmfflg % 256, out, outsize); in ZopfliZlibCompress()
66 in, insize, &bitpointer, out, outsize); in ZopfliZlibCompress()
68 ZOPFLI_APPEND_DATA((checksum >> 24) % 256, out, outsize); in ZopfliZlibCompress()
69 ZOPFLI_APPEND_DATA((checksum >> 16) % 256, out, outsize); in ZopfliZlibCompress()
70 ZOPFLI_APPEND_DATA((checksum >> 8) % 256, out, outsize); in ZopfliZlibCompress()
71 ZOPFLI_APPEND_DATA(checksum % 256, out, outsize); in ZopfliZlibCompress()
76 (int)insize, (int)*outsize, in ZopfliZlibCompress()
77 100.0 * (double)(insize - *outsize) / (double)insize); in ZopfliZlibCompress()
Dzopfli_bin.c40 unsigned char** out, size_t* outsize) { in LoadFile() argument
44 *outsize = 0; in LoadFile()
49 *outsize = ftell(file); in LoadFile()
52 *out = (unsigned char*)malloc(*outsize); in LoadFile()
54 if (*outsize && (*out)) { in LoadFile()
55 size_t testsize = fread(*out, 1, *outsize, file); in LoadFile()
56 if (testsize != *outsize) { in LoadFile()
60 *outsize = 0; in LoadFile()
64 assert(!(*outsize) || out); /* If size is not zero, out must be allocated. */ in LoadFile()
89 size_t outsize = 0; in CompressFile() local
[all …]
Dzopfli_lib.c30 unsigned char** out, size_t* outsize) { in ZopfliCompress() argument
32 ZopfliGzipCompress(options, in, insize, out, outsize); in ZopfliCompress()
34 ZopfliZlibCompress(options, in, insize, out, outsize); in ZopfliCompress()
38 in, insize, &bp, out, outsize); in ZopfliCompress()
Ddeflate.h59 unsigned char* bp, unsigned char** out, size_t* outsize);
69 size_t* outsize);
Dblocksplitter.c132 static void AddSorted(size_t value, size_t** out, size_t* outsize) { in AddSorted() argument
134 ZOPFLI_APPEND_DATA(value, out, outsize); in AddSorted()
135 for (i = 0; i + 1 < *outsize; i++) { in AddSorted()
138 for (j = *outsize - 1; j > i; j--) { in AddSorted()
Dzlib_container.h44 unsigned char** out, size_t* outsize);
Dgzip_container.h44 unsigned char** out, size_t* outsize);
Dzopfli.h91 unsigned char** out, size_t* outsize);
/external/libjpeg-turbo/
Djdatadst-tj.c40 unsigned long * outsize; member
133 *dest->outsize = (unsigned long)(dest->bufsize - dest->pub.free_in_buffer); in term_mem_destination()
150 unsigned char ** outbuffer, unsigned long * outsize, in jpeg_mem_dest_tj() argument
156 if (outbuffer == NULL || outsize == NULL) /* sanity check */ in jpeg_mem_dest_tj()
178 dest->outsize = outsize; in jpeg_mem_dest_tj()
181 if (*outbuffer == NULL || *outsize == 0) { in jpeg_mem_dest_tj()
187 *outsize = OUTPUT_BUF_SIZE; in jpeg_mem_dest_tj()
194 dest->bufsize = *outsize; in jpeg_mem_dest_tj()
Djdatadst.c52 unsigned long * outsize; member
194 *dest->outsize = (unsigned long)(dest->bufsize - dest->pub.free_in_buffer); in term_mem_destination()
244 unsigned char ** outbuffer, unsigned long * outsize) in jpeg_mem_dest() argument
248 if (outbuffer == NULL || outsize == NULL) /* sanity check */ in jpeg_mem_dest()
265 dest->outsize = outsize; in jpeg_mem_dest()
268 if (*outbuffer == NULL || *outsize == 0) { in jpeg_mem_dest()
273 *outsize = OUTPUT_BUF_SIZE; in jpeg_mem_dest()
277 dest->pub.free_in_buffer = dest->bufsize = *outsize; in jpeg_mem_dest()
Dcjpeg.c499 unsigned long outsize = 0; in main() local
604 jpeg_mem_dest(&cinfo, &outbuffer, &outsize); in main()
634 fprintf(stderr, "Compressed size: %lu bytes\n", outsize); in main()
/external/opencv3/3rdparty/libjpeg/
Djdatadst.c49 unsigned long * outsize; member
185 *dest->outsize = dest->bufsize - dest->pub.free_in_buffer; in term_mem_destination()
236 unsigned char ** outbuffer, unsigned long * outsize) in jpeg_mem_dest() argument
240 if (outbuffer == NULL || outsize == NULL) /* sanity check */ in jpeg_mem_dest()
257 dest->outsize = outsize; in jpeg_mem_dest()
260 if (*outbuffer == NULL || *outsize == 0) { in jpeg_mem_dest()
265 *outsize = OUTPUT_BUF_SIZE; in jpeg_mem_dest()
269 dest->pub.free_in_buffer = dest->bufsize = *outsize; in jpeg_mem_dest()
/external/curl/tests/server/
Dfake_ntlm.c55 size_t outsize; in printable() local
69 outsize = inlength + outincr; in printable()
72 outsize = NOTHING_LEN + 1; in printable()
74 outbuf = malloc(outsize); in printable()
85 if(o > outsize - (HEX_STR_LEN + 1)) { in printable()
86 newsize = outsize + outincr; in printable()
93 outsize = newsize; in printable()
/external/curl/src/
Dmkhelp.pl240 $outsize=0;
246 $outsize += length($new)+1; # one for the newline
252 if($outsize > 500) {
255 $outsize=length($new)+1;
/external/zopfli/src/zopflipng/lodepng/
Dlodepng.h161 unsigned lodepng_encode_memory(unsigned char** out, size_t* outsize,
166 unsigned lodepng_encode32(unsigned char** out, size_t* outsize,
170 unsigned lodepng_encode24(unsigned char** out, size_t* outsize,
676 unsigned lodepng_encode(unsigned char** out, size_t* outsize,
756 unsigned lodepng_inflate(unsigned char** out, size_t* outsize,
766 unsigned lodepng_zlib_decompress(unsigned char** out, size_t* outsize,
779 unsigned lodepng_zlib_compress(unsigned char** out, size_t* outsize,
791 unsigned lodepng_deflate(unsigned char** out, size_t* outsize,
807 unsigned lodepng_load_file(unsigned char** out, size_t* outsize, const char* filename);
Dlodepng.cpp349 unsigned lodepng_load_file(unsigned char** out, size_t* outsize, const char* filename) in lodepng_load_file() argument
356 *outsize = 0; in lodepng_load_file()
367 *outsize = 0; in lodepng_load_file()
369 if(size && (*out)) (*outsize) = fread(*out, 1, (size_t)size, file); in lodepng_load_file()
1250 unsigned lodepng_inflate(unsigned char** out, size_t* outsize, in lodepng_inflate() argument
1256 ucvector_init_buffer(&v, *out, *outsize); in lodepng_inflate()
1259 *outsize = v.size; in lodepng_inflate()
1263 static unsigned inflate(unsigned char** out, size_t* outsize, in inflate() argument
1269 return settings->custom_inflate(out, outsize, in, insize, settings); in inflate()
1273 return lodepng_inflate(out, outsize, in, insize, settings); in inflate()
[all …]
/external/squashfs-tools/squashfs-tools/
Dlzma_xz_wrapper.c99 static int lzma_uncompress(void *dest, void *src, int size, int outsize, in lzma_uncompress() argument
118 if(uncompressed_size > outsize) { in lzma_uncompress()
126 strm.avail_out = outsize; in lzma_uncompress()
Dlzma_wrapper.c82 static int lzma_uncompress(void *dest, void *src, int size, int outsize, in lzma_uncompress() argument
94 if(outlen > outsize) { in lzma_uncompress()
Dlz4_wrapper.c251 static int lz4_uncompress(void *dest, void *src, int size, int outsize, in lz4_uncompress() argument
254 int res = LZ4_decompress_safe(src, dest, size, outsize); in lz4_uncompress()
Dlzo_wrapper.c378 static int lzo_uncompress(void *dest, void *src, int size, int outsize, in lzo_uncompress() argument
382 lzo_uint outlen = outsize; in lzo_uncompress()
/external/zopfli/src/zopflipng/
Dzopflipng_lib.cc42 unsigned CustomPNGDeflate(unsigned char** out, size_t* outsize, in CustomPNGDeflate() argument
59 ZopfliDeflate(&options, 2 /* Dynamic */, 1, in, insize, &bp, out, outsize); in CustomPNGDeflate()
65 if (outsize2 < *outsize) { in CustomPNGDeflate()
68 *outsize = outsize2; in CustomPNGDeflate()
76 ZopfliDeflate(&options, 2 /* Dynamic */, 1, in, insize, &bp, out, outsize); in CustomPNGDeflate()
/external/vboot_reference/futility/
Dvb1_helper.c408 uint64_t outsize; in SignKernelBlob() local
433 outsize = keyblock->key_block_size + preamble->preamble_size; in SignKernelBlob()
434 outbuf = malloc(outsize); in SignKernelBlob()
435 Memset(outbuf, 0, outsize); in SignKernelBlob()
441 *vblock_size_ptr = outsize; in SignKernelBlob()
/external/icu/icu4c/source/test/cintltst/
Dncnvfbts.h22 static void TestConvertFallBackWithBufferSizes(int32_t outsize, int32_t insize );

12