/external/zopfli/src/zopfli/ |
gzip_container.c | 79 unsigned char** out, size_t* outsize) { 83 ZOPFLI_APPEND_DATA(31, out, outsize); /* ID1 */ 84 ZOPFLI_APPEND_DATA(139, out, outsize); /* ID2 */ 85 ZOPFLI_APPEND_DATA(8, out, outsize); /* CM */ 86 ZOPFLI_APPEND_DATA(0, out, outsize); /* FLG */ 88 ZOPFLI_APPEND_DATA(0, out, outsize); 89 ZOPFLI_APPEND_DATA(0, out, outsize); 90 ZOPFLI_APPEND_DATA(0, out, outsize); 91 ZOPFLI_APPEND_DATA(0, out, outsize); 93 ZOPFLI_APPEND_DATA(2, out, outsize); /* XFL, 2 indicates best compression. * [all...] |
zopfli_lib.c | 30 unsigned char** out, size_t* outsize) { 32 ZopfliGzipCompress(options, in, insize, out, outsize); 34 ZopfliZlibCompress(options, in, insize, out, outsize); 38 in, insize, &bp, out, outsize);
|
zlib_container.c | 52 unsigned char** out, size_t* outsize) { 62 ZOPFLI_APPEND_DATA(cmfflg / 256, out, outsize); 63 ZOPFLI_APPEND_DATA(cmfflg % 256, out, outsize); 66 in, insize, &bitpointer, out, outsize); 68 ZOPFLI_APPEND_DATA((checksum >> 24) % 256, out, outsize); 69 ZOPFLI_APPEND_DATA((checksum >> 16) % 256, out, outsize); 70 ZOPFLI_APPEND_DATA((checksum >> 8) % 256, out, outsize); 71 ZOPFLI_APPEND_DATA(checksum % 256, out, outsize); 76 (int)insize, (int)*outsize, 77 100.0 * (double)(insize - *outsize) / (double)insize) [all...] |
gzip_container.h | 40 outsize: pointer to the dynamic output array size. 44 unsigned char** out, size_t* outsize);
|
zlib_container.h | 40 outsize: pointer to the dynamic output array size. 44 unsigned char** out, size_t* outsize);
|
deflate.h | 55 outsize: pointer to the dynamic output array size. 59 unsigned char* bp, unsigned char** out, size_t* outsize); 69 size_t* outsize);
|
zopfli_bin.c | 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 local [all...] |
deflate.c | 33 The outsize is number of necessary bytes to encode the bits. 39 unsigned char* bp, unsigned char** out, size_t* outsize) { 40 if (*bp == 0) ZOPFLI_APPEND_DATA(0, out, outsize); 41 (*out)[*outsize - 1] |= bit << *bp; 46 unsigned char* bp, unsigned char** out, size_t* outsize) { 51 if (*bp == 0) ZOPFLI_APPEND_DATA(0, out, outsize); 52 (*out)[*outsize - 1] |= bit << *bp; 63 size_t* outsize) { 68 if (*bp == 0) ZOPFLI_APPEND_DATA(0, out, outsize); 69 (*out)[*outsize - 1] |= bit << *bp 325 bp, out, outsize); local 329 bp, out, outsize); local [all...] |
zopfli.h | 87 outsize: pointer to the dynamic output array size 91 unsigned char** out, size_t* outsize);
|
blocksplitter.c | 132 static void AddSorted(size_t value, size_t** out, size_t* outsize) { 134 ZOPFLI_APPEND_DATA(value, out, outsize); 135 for (i = 0; i + 1 < *outsize; i++) { 138 for (j = *outsize - 1; j > i; j--) {
|
/external/libjpeg-turbo/ |
jdatadst-tj.c | 40 unsigned long * outsize; member in struct:__anon15213 133 *dest->outsize = (unsigned long)(dest->bufsize - dest->pub.free_in_buffer); 150 unsigned char ** outbuffer, unsigned long * outsize, 156 if (outbuffer == NULL || outsize == NULL) /* sanity check */ 178 dest->outsize = outsize; 181 if (*outbuffer == NULL || *outsize == 0) { 187 *outsize = OUTPUT_BUF_SIZE; 194 dest->bufsize = *outsize;
|
jdatadst.c | 52 unsigned long * outsize; member in struct:__anon15215 194 *dest->outsize = (unsigned long)(dest->bufsize - dest->pub.free_in_buffer); 244 unsigned char ** outbuffer, unsigned long * outsize) 248 if (outbuffer == NULL || outsize == NULL) /* sanity check */ 265 dest->outsize = outsize; 268 if (*outbuffer == NULL || *outsize == 0) { 273 *outsize = OUTPUT_BUF_SIZE; 277 dest->pub.free_in_buffer = dest->bufsize = *outsize;
|
/external/curl/tests/server/ |
fake_ntlm.c | 55 size_t outsize; local 69 outsize = inlength + outincr; 72 outsize = NOTHING_LEN + 1; 74 outbuf = malloc(outsize); 79 snprintf(&outbuf[0], outsize, "%s", NOTHING_STR); 85 if(o > outsize - (HEX_STR_LEN + 1)) { 86 newsize = outsize + outincr; 93 outsize = newsize; 101 snprintf(&outbuf[o], outsize - o, HEX_FMT_STR, inbuf[i]);
|
/external/icu/icu4c/source/test/cintltst/ |
ncnvfbts.h | 22 static void TestConvertFallBackWithBufferSizes(int32_t outsize, int32_t insize );
|
/external/opencv3/3rdparty/libjpeg/ |
jdatadst.c | 49 unsigned long * outsize; member in struct:__anon20332 185 *dest->outsize = dest->bufsize - dest->pub.free_in_buffer; 236 unsigned char ** outbuffer, unsigned long * outsize) 240 if (outbuffer == NULL || outsize == NULL) /* sanity check */ 257 dest->outsize = outsize; 260 if (*outbuffer == NULL || *outsize == 0) { 265 *outsize = OUTPUT_BUF_SIZE; 269 dest->pub.free_in_buffer = dest->bufsize = *outsize;
|
/external/squashfs-tools/squashfs-tools/ |
lzma_wrapper.c | 82 static int lzma_uncompress(void *dest, void *src, int size, int outsize, 94 if(outlen > outsize) {
|
lzma_xz_wrapper.c | 99 static int lzma_uncompress(void *dest, void *src, int size, int outsize, 118 if(uncompressed_size > outsize) { 126 strm.avail_out = outsize;
|
lz4_wrapper.c | 251 static int lz4_uncompress(void *dest, void *src, int size, int outsize, 254 int res = LZ4_decompress_safe(src, dest, size, outsize);
|
lzo_wrapper.c | 378 static int lzo_uncompress(void *dest, void *src, int size, int outsize, 382 lzo_uint outlen = outsize;
|
/development/tools/yuv420sp2rgb/ |
yuv420sp2rgb.c | 204 size_t outsize; local 226 outsize = header_size + width * height * bpp; 227 outsize = (outsize + psz - 1) & ~(psz - 1); 244 INFO("Truncating output file %s to %d bytes\n", outfile, outsize); 245 FAILIF(ftruncate(ofd, outsize) < 0, 250 out = mmap(0, outsize, PROT_WRITE, MAP_SHARED, ofd, 0); 262 out + header_size, outsize - header_size,
|
/external/zopfli/src/zopflipng/lodepng/ |
lodepng.h | 152 outsize: Output parameter. Pointer to the size in bytes of the out buffer. 161 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, 675 /*This function allocates the out buffer with standard malloc and stores the size in *outsize.*/ 676 unsigned lodepng_encode(unsigned char** out, size_t* outsize, [all...] |
/device/google/dragon/recovery/updater/ |
flash_ec.c | 42 uint32_t outsize; member in struct:cros_ec_command 59 const void *outdata, int outsize, void *indata, int insize) 71 s_cmd.outsize = outsize;
|
/external/curl/src/ |
mkhelp.pl | 240 $outsize=0; 246 $outsize += length($new)+1; # one for the newline 252 if($outsize > 500) { 255 $outsize=length($new)+1;
|
/external/zopfli/src/zopflipng/ |
zopflipng_lib.cc | 42 unsigned CustomPNGDeflate(unsigned char** out, size_t* outsize, 59 ZopfliDeflate(&options, 2 /* Dynamic */, 1, in, insize, &bp, out, outsize); 65 if (outsize2 < *outsize) { 68 *outsize = outsize2; 76 ZopfliDeflate(&options, 2 /* Dynamic */, 1, in, insize, &bp, out, outsize);
|
/frameworks/av/media/ndk/ |
NdkMediaFormat.cpp | 173 bool AMediaFormat_getBuffer(AMediaFormat* format, const char *name, void** data, size_t *outsize) { 177 *outsize = buf->size();
|