/external/zopfli/src/zopfli/ |
D | gzip_container.c | 78 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()
|
D | zlib_container.c | 51 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()
|
D | zopfli_lib.c | 29 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()
|
D | zopfli_bin.c | 72 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()
|
D | deflate.c | 845 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()
|
D | zlib_container.h | 43 const unsigned char* in, size_t insize,
|
D | gzip_container.h | 43 const unsigned char* in, size_t insize,
|
D | zopfli.h | 90 const unsigned char* in, size_t insize,
|
D | deflate.h | 58 const unsigned char* in, size_t insize,
|
/external/curl/lib/ |
D | base64.c | 173 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 …]
|
D | curl_base64.h | 26 const char *inputbuff, size_t insize, 29 const char *inputbuff, size_t insize,
|
D | non-ascii.c | 56 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()
|
D | non-ascii.h | 38 size_t insize,
|
/external/zopfli/src/zopflipng/lodepng/ |
D | lodepng.h | 113 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 …]
|
D | lodepng.cpp | 305 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/ |
D | zero_copy_stream_unittest.cc | 320 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/ |
D | xattr.c | 41 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/ |
D | jdatasrc-tj.c | 160 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()
|
D | jdatasrc.c | 257 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()
|
D | djpeg.c | 502 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()
|
D | jpeglib.h | 923 unsigned long insize);
|
/external/opencv3/3rdparty/libjpeg/ |
D | jdatasrc.c | 250 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/ |
D | zopflipng_lib.cc | 43 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/ |
D | ncnvfbts.h | 22 static void TestConvertFallBackWithBufferSizes(int32_t outsize, int32_t insize );
|
D | ncnvfbts.c | 453 static void TestConvertFallBackWithBufferSizes(int32_t outsize, int32_t insize ) in TestConvertFallBackWithBufferSizes() argument 542 gInBufferSize = insize; in TestConvertFallBackWithBufferSizes()
|