Home
last modified time | relevance | path

Searched refs:insize (Results 1 – 25 of 29) sorted by relevance

12

/external/zopfli/src/zopfli/
Dgzip_container.c78 const unsigned char* in, size_t insize, in ZopfliGzipCompress() argument
80 unsigned long crcvalue = CRC(in, insize); in ZopfliGzipCompress()
97 in, insize, &bp, out, outsize); in ZopfliGzipCompress()
106 ZOPFLI_APPEND_DATA(insize % 256, out, outsize); in ZopfliGzipCompress()
107 ZOPFLI_APPEND_DATA((insize >> 8) % 256, out, outsize); in ZopfliGzipCompress()
108 ZOPFLI_APPEND_DATA((insize >> 16) % 256, out, outsize); in ZopfliGzipCompress()
109 ZOPFLI_APPEND_DATA((insize >> 24) % 256, out, outsize); in ZopfliGzipCompress()
114 (int)insize, (int)*outsize, in ZopfliGzipCompress()
115 100.0 * (double)(insize - *outsize) / (double)insize); in ZopfliGzipCompress()
Dzlib_container.c51 const unsigned char* in, size_t insize, in ZopfliZlibCompress() argument
54 unsigned checksum = adler32(in, (unsigned)insize); in ZopfliZlibCompress()
66 in, insize, &bitpointer, out, outsize); in ZopfliZlibCompress()
76 (int)insize, (int)*outsize, in ZopfliZlibCompress()
77 100.0 * (double)(insize - *outsize) / (double)insize); in ZopfliZlibCompress()
Dzopfli_lib.c29 const unsigned char* in, size_t insize, 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()
Dzopfli_bin.c72 const unsigned char* in, size_t insize) { in SaveFile() argument
75 fwrite((char*)in, 1, insize, file); in SaveFile()
87 size_t insize; in CompressFile() local
90 LoadFile(infilename, &in, &insize); in CompressFile()
91 if (insize == 0) { in CompressFile()
96 ZopfliCompress(options, output_type, in, insize, &out, &outsize); in CompressFile()
Ddeflate.c845 const unsigned char* in, size_t insize, in ZopfliDeflate() argument
848 ZopfliDeflatePart(options, btype, final, in, 0, insize, bp, out, outsize); in ZopfliDeflate()
851 while (i < insize) { in ZopfliDeflate()
852 int masterfinal = (i + ZOPFLI_MASTER_BLOCK_SIZE >= insize); in ZopfliDeflate()
854 size_t size = masterfinal ? insize - i : ZOPFLI_MASTER_BLOCK_SIZE; in ZopfliDeflate()
863 (int)insize, (int)*outsize, in ZopfliDeflate()
864 100.0 * (double)(insize - *outsize) / (double)insize); in ZopfliDeflate()
Dzlib_container.h43 const unsigned char* in, size_t insize,
Dgzip_container.h43 const unsigned char* in, size_t insize,
Dzopfli.h90 const unsigned char* in, size_t insize,
Ddeflate.h58 const unsigned char* in, size_t insize,
/external/curl/lib/
Dbase64.c173 const char *inputbuff, size_t insize, in base64_encode() argument
190 if(0 == insize) in base64_encode()
191 insize = strlen(indata); in base64_encode()
193 base64data = output = malloc(insize*4/3+4); in base64_encode()
202 error = Curl_convert_clone(data, indata, insize, &convbuf); in base64_encode()
211 while(insize > 0) { in base64_encode()
213 if(insize > 0) { in base64_encode()
217 insize--; in base64_encode()
280 const char *inputbuff, size_t insize, in Curl_base64_encode() argument
283 return base64_encode(base64, data, inputbuff, insize, outptr, outlen); in Curl_base64_encode()
[all …]
Dcurl_base64.h26 const char *inputbuff, size_t insize,
29 const char *inputbuff, size_t insize,
Dnon-ascii.c56 size_t insize, in Curl_convert_clone() argument
62 convbuf = malloc(insize); in Curl_convert_clone()
66 memcpy(convbuf, indata, insize); in Curl_convert_clone()
67 result = Curl_convert_to_network(data, convbuf, insize); in Curl_convert_clone()
Dnon-ascii.h38 size_t insize,
/external/zopfli/src/zopflipng/lodepng/
Dlodepng.h113 const unsigned char* in, size_t insize,
118 const unsigned char* in, size_t insize);
122 const unsigned char* in, size_t insize);
200 const unsigned char* in, size_t insize,
661 const unsigned char* in, size_t insize);
670 const unsigned char* in, size_t insize);
757 const unsigned char* in, size_t insize,
767 const unsigned char* in, size_t insize,
780 const unsigned char* in, size_t insize,
792 const unsigned char* in, size_t insize,
[all …]
Dlodepng.cpp305 size_t insize = strlen(in), i = 0; in string_set() local
306 if(string_resize(out, insize)) in string_set()
308 for(i = 0; i < insize; i++) in string_set()
1217 const unsigned char* in, size_t insize, in lodepng_inflatev() argument
1232 if(bp + 2 >= insize * 8) return 52; /*error, bit pointer will jump past memory*/ in lodepng_inflatev()
1238 else if(BTYPE == 0) error = inflateNoCompression(out, in, &bp, &pos, insize); /*no compression*/ in lodepng_inflatev()
1239 …else error = inflateHuffmanBlock(out, in, &bp, &pos, insize, BTYPE); /*compression, BTYPE 01 or 10… in lodepng_inflatev()
1251 const unsigned char* in, size_t insize, in lodepng_inflate() argument
1257 error = lodepng_inflatev(&v, in, insize, settings); in lodepng_inflate()
1264 const unsigned char* in, size_t insize, in inflate() argument
[all …]
/external/protobuf/src/google/protobuf/io/
Dzero_copy_stream_unittest.cc320 uint32 insize; in TEST_F() local
321 EXPECT_TRUE(coded_input->ReadVarint32(&insize)); in TEST_F()
322 EXPECT_EQ(strlen(strA), insize); in TEST_F()
323 EXPECT_TRUE(coded_input->ReadRaw(temp_buffer, insize)); in TEST_F()
324 EXPECT_EQ(0, memcmp(temp_buffer, strA, insize)); in TEST_F()
326 EXPECT_TRUE(coded_input->ReadVarint32(&insize)); in TEST_F()
327 EXPECT_EQ(strlen(strB), insize); in TEST_F()
328 EXPECT_TRUE(coded_input->ReadRaw(temp_buffer, insize)); in TEST_F()
329 EXPECT_EQ(0, memcmp(temp_buffer, strB, insize)); in TEST_F()
633 uint32 insize; in TEST_F() local
[all …]
/external/strace/
Dxattr.c41 unsigned long insize, in print_xattr_val() argument
49 if (insize == 0) in print_xattr_val()
57 tprintf("\"\", %ld", insize); in print_xattr_val()
85 tprintf(", %ld", insize); in print_xattr_val()
/external/libjpeg-turbo/
Djdatasrc-tj.c160 unsigned char * inbuffer, unsigned long insize) in jpeg_mem_src_tj() argument
164 if (inbuffer == NULL || insize == 0) /* Treat empty input as fatal error */ in jpeg_mem_src_tj()
183 src->bytes_in_buffer = (size_t) insize; in jpeg_mem_src_tj()
Djdatasrc.c257 unsigned char * inbuffer, unsigned long insize) in jpeg_mem_src() argument
261 if (inbuffer == NULL || insize == 0) /* Treat empty input as fatal error */ in jpeg_mem_src()
280 src->bytes_in_buffer = (size_t) insize; in jpeg_mem_src()
Ddjpeg.c502 unsigned long insize = 0; in main() local
596 inbuffer = (unsigned char *)realloc(inbuffer, insize + INPUT_BUF_SIZE); in main()
601 nbytes = JFREAD(input_file, &inbuffer[insize], INPUT_BUF_SIZE); in main()
609 insize += (unsigned long)nbytes; in main()
611 fprintf(stderr, "Compressed size: %lu bytes\n", insize); in main()
612 jpeg_mem_src(&cinfo, inbuffer, insize); in main()
Djpeglib.h923 unsigned long insize);
/external/opencv3/3rdparty/libjpeg/
Djdatasrc.c250 unsigned char * inbuffer, unsigned long insize) in jpeg_mem_src() argument
254 if (inbuffer == NULL || insize == 0) /* Treat empty input as fatal error */ in jpeg_mem_src()
273 src->bytes_in_buffer = (size_t) insize; in jpeg_mem_src()
/external/zopfli/src/zopflipng/
Dzopflipng_lib.cc43 const unsigned char* in, size_t insize, in CustomPNGDeflate() argument
51 options.numiterations = insize < 200000 in CustomPNGDeflate()
59 ZopfliDeflate(&options, 2 /* Dynamic */, 1, in, insize, &bp, out, outsize); in CustomPNGDeflate()
63 in, insize, &bp, &out2, &outsize2); in CustomPNGDeflate()
76 ZopfliDeflate(&options, 2 /* Dynamic */, 1, in, insize, &bp, out, outsize); in CustomPNGDeflate()
/external/icu/icu4c/source/test/cintltst/
Dncnvfbts.h22 static void TestConvertFallBackWithBufferSizes(int32_t outsize, int32_t insize );
Dncnvfbts.c453 static void TestConvertFallBackWithBufferSizes(int32_t outsize, int32_t insize ) in TestConvertFallBackWithBufferSizes() argument
542 gInBufferSize = insize; in TestConvertFallBackWithBufferSizes()

12