/external/zopfli/src/zopfli/ |
H A D | 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); 28 ZopfliCompress(const ZopfliOptions* options, ZopfliFormat output_type, const unsigned char* in, size_t insize, unsigned char** out, size_t* outsize) argument
|
H A D | 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); /* XF 77 ZopfliGzipCompress(const ZopfliOptions* options, const unsigned char* in, size_t insize, unsigned char** out, size_t* outsize) argument [all...] |
H A D | 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) / (doubl 50 ZopfliZlibCompress(const ZopfliOptions* options, const unsigned char* in, size_t insize, unsigned char** out, size_t* outsize) argument [all...] |
H A D | 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 local 39 LoadFile(const char* filename, unsigned char** out, size_t* outsize) argument [all...] |
H A D | blocksplitter.c | 132 static void AddSorted(size_t value, size_t** out, size_t* outsize) { argument 134 ZOPFLI_APPEND_DATA(value, out, outsize); 135 for (i = 0; i + 1 < *outsize; i++) { 138 for (j = *outsize - 1; j > i; j--) {
|
H A D | 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 38 AddBit(int bit, unsigned char* bp, unsigned char** out, size_t* outsize) argument 45 AddBits(unsigned symbol, unsigned length, unsigned char* bp, unsigned char** out, size_t* outsize) argument 61 AddHuffmanBits(unsigned symbol, unsigned length, unsigned char* bp, unsigned char** out, size_t* outsize) argument 105 EncodeTree(const unsigned* ll_lengths, const unsigned* d_lengths, int use_16, int use_17, int use_18, unsigned char* bp, unsigned char** out, size_t* outsize) argument 251 AddDynamicTree(const unsigned* ll_lengths, const unsigned* d_lengths, unsigned char* bp, unsigned char** out, size_t* outsize) argument 297 AddLZ77Data(const unsigned short* litlens, const unsigned short* dists, size_t lstart, size_t lend, size_t expected_data_size, const unsigned* ll_symbols, const unsigned* ll_lengths, const unsigned* d_symbols, const unsigned* d_lengths, unsigned char* bp, unsigned char** out, size_t* outsize) argument 325 bp, out, outsize); local 329 bp, out, outsize); local 528 AddLZ77Block(const ZopfliOptions* options, int btype, int final, const unsigned short* litlens, const unsigned short* dists, size_t lstart, size_t lend, size_t expected_data_size, unsigned char* bp, unsigned char** out, size_t* outsize) argument 586 DeflateDynamicBlock(const ZopfliOptions* options, int final, const unsigned char* in, size_t instart, size_t inend, unsigned char* bp, unsigned char** out, size_t* outsize) argument 639 DeflateFixedBlock(const ZopfliOptions* options, int final, const unsigned char* in, size_t instart, size_t inend, unsigned char* bp, unsigned char** out, size_t* outsize) argument 670 DeflateNonCompressedBlock(const ZopfliOptions* options, int final, const unsigned char* in, size_t instart, size_t inend, unsigned char* bp, unsigned char** out, size_t* outsize) argument 700 DeflateBlock(const ZopfliOptions* options, int btype, int final, const unsigned char* in, size_t instart, size_t inend, unsigned char* bp, unsigned char** out, size_t* outsize) argument 721 DeflateSplittingFirst(const ZopfliOptions* options, int btype, int final, const unsigned char* in, size_t instart, size_t inend, unsigned char* bp, unsigned char** out, size_t* outsize) argument 755 DeflateSplittingLast(const ZopfliOptions* options, int btype, int final, const unsigned char* in, size_t instart, size_t inend, unsigned char* bp, unsigned char** out, size_t* outsize) argument 827 ZopfliDeflatePart(const ZopfliOptions* options, int btype, int final, const unsigned char* in, size_t instart, size_t inend, unsigned char* bp, unsigned char** out, size_t* outsize) argument 844 ZopfliDeflate(const ZopfliOptions* options, int btype, int final, const unsigned char* in, size_t insize, unsigned char* bp, unsigned char** out, size_t* outsize) argument [all...] |
/external/libjpeg-turbo/ |
H A D | jdatadst-tj.c | 41 unsigned long *outsize; member in struct:__anon10861 134 *dest->outsize = (unsigned long)(dest->bufsize - dest->pub.free_in_buffer); 151 unsigned char **outbuffer, unsigned long *outsize, 157 if (outbuffer == NULL || outsize == NULL) /* sanity check */ 184 dest->outsize = outsize; 187 if (*outbuffer == NULL || *outsize == 0) { 193 *outsize = OUTPUT_BUF_SIZE; 200 dest->bufsize = *outsize; 150 jpeg_mem_dest_tj(j_compress_ptr cinfo, unsigned char **outbuffer, unsigned long *outsize, boolean alloc) argument
|
H A D | jdatadst.c | 53 unsigned long *outsize; member in struct:__anon10863 195 *dest->outsize = (unsigned long)(dest->bufsize - dest->pub.free_in_buffer); 253 unsigned char **outbuffer, unsigned long *outsize) 257 if (outbuffer == NULL || outsize == NULL) /* sanity check */ 279 dest->outsize = outsize; 282 if (*outbuffer == NULL || *outsize == 0) { 287 *outsize = OUTPUT_BUF_SIZE; 291 dest->pub.free_in_buffer = dest->bufsize = *outsize; 252 jpeg_mem_dest(j_compress_ptr cinfo, unsigned char **outbuffer, unsigned long *outsize) argument
|
H A D | cjpeg.c | 501 unsigned long outsize = 0; local 606 jpeg_mem_dest(&cinfo, &outbuffer, &outsize); 636 fprintf(stderr, "Compressed size: %lu bytes\n", outsize);
|
/external/squashfs-tools/squashfs-tools/ |
H A D | lzma_wrapper.c | 82 static int lzma_uncompress(void *dest, void *src, int size, int outsize, argument 94 if(outlen > outsize) {
|
H A D | lz4_wrapper.c | 252 static int lz4_uncompress(void *dest, void *src, int size, int outsize, argument 255 int res = LZ4_decompress_safe(src, dest, size, outsize);
|
H A D | lzma_xz_wrapper.c | 99 static int lzma_uncompress(void *dest, void *src, int size, int outsize, argument 118 if(uncompressed_size > outsize) { 126 strm.avail_out = outsize;
|
H A D | gzip_wrapper.c | 454 static int gzip_uncompress(void *d, void *s, int size, int outsize, int *error) argument 457 unsigned long bytes = outsize;
|
H A D | lzo_wrapper.c | 378 static int lzo_uncompress(void *dest, void *src, int size, int outsize, argument 382 lzo_uint outlen = outsize;
|
H A D | xz_wrapper.c | 487 static int xz_uncompress(void *dest, void *src, int size, int outsize, argument 495 src, &src_pos, size, dest, &dest_pos, outsize);
|
/external/curl/tests/server/ |
H A D | 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/zopfli/src/zopflipng/ |
H A D | zopflipng_lib.cc | 42 unsigned CustomPNGDeflate(unsigned char** out, size_t* outsize, argument 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);
|
/external/f2fs-tools/lib/ |
H A D | libf2fs.c | 87 static u_int16_t *wchar_to_utf16(u_int16_t *output, wchar_t wc, size_t outsize) argument 90 if (outsize == 0) 95 if (outsize < 2) 103 int utf8_to_utf16(u_int16_t *output, const char *input, size_t outsize, argument 116 outp = wchar_to_utf16(outp, wc, outsize - (outp - output)); 142 static char *wchar_to_utf8(char *output, wchar_t wc, size_t outsize) argument 145 if (outsize < 1) 149 if (outsize < 2) 154 if (outsize < 3) 160 if (outsize < 189 utf16_to_utf8(char *output, const u_int16_t *input, size_t outsize, size_t insize) argument [all...] |
/external/icu/icu4c/source/test/cintltst/ |
H A D | ncnvfbts.c | 455 static void TestConvertFallBackWithBufferSizes(int32_t outsize, int32_t insize ) argument 545 gOutBufferSize = outsize;
|
H A D | ncnvtst.c | 932 static void TestWithBufferSize(int32_t insize, int32_t outsize){ argument 935 gOutBufferSize = outsize;
|
H A D | nucnvtst.c | 682 static void TestNewConvertWithBufferSizes(int32_t outsize, int32_t insize ) argument 831 gOutBufferSize = outsize;
|
/external/vboot_reference/futility/ |
H A D | vb1_helper.c | 408 uint64_t outsize; local 433 outsize = keyblock->key_block_size + preamble->preamble_size; 434 outbuf = malloc(outsize); 435 Memset(outbuf, 0, outsize); 441 *vblock_size_ptr = outsize;
|
/external/valgrind/mpi/ |
H A D | libmpiwrap.c | 1800 must be writable: outbuf[0 .. outsize-1] 1808 void* outbuf, int outsize, 1821 check_mem_is_addressable_untyped(outbuf, outsize); 1831 CALL_FN_W_7W(err, fn, inbuf,incount,datatype, outbuf,outsize,position, comm); 1847 must be writable: outbuf[0 .. outsize-1] 1807 PMPI_Pack( void* inbuf, int incount, MPI_Datatype datatype, void* outbuf, int outsize, int* position, MPI_Comm comm ) argument
|
/external/valgrind/coregrind/m_syswrap/ |
H A D | syswrap-darwin.c | 6691 vm_size_t outsize; member in struct:__anon24719 6700 PRINT("read %llu bytes", (unsigned long long)reply->outsize); 6704 POST_MEM_WRITE(MACH_ARG(vm_read_overwrite.data), reply->outsize); 6707 POST_MEM_WRITE(MACH_ARG(vm_read_overwrite.data), reply->outsize); 7331 mach_vm_size_t outsize; member in struct:__anon24743
|
/external/python/cpython2/Objects/ |
H A D | unicodeobject.c | 1469 Py_ssize_t outsize = PyUnicode_GET_SIZE(*output); local 1526 if (requiredsize > outsize) { 1527 if (outsize <= PY_SSIZE_T_MAX/2 && requiredsize < 2*outsize) 1528 requiredsize = 2*outsize; 4568 Py_ssize_t outsize = PyString_GET_SIZE(*outobj); local 4570 if (requiredsize < 2*outsize) 4571 requiredsize = 2*outsize; 4593 Py_ssize_t outsize = PyString_GET_SIZE(*outobj); local 4600 if (outsize<requiredsiz [all...] |