/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 | gzip_container.h | 43 const unsigned char* in, size_t insize,
|
D | zlib_container.h | 43 const unsigned char* in, size_t insize,
|
D | zopfli.h | 90 const unsigned char* in, size_t insize,
|
/external/curl/lib/ |
D | base64.c | 172 const char *inputbuff, size_t insize, in base64_encode() argument 189 if(!insize) in base64_encode() 190 insize = strlen(indata); in base64_encode() 193 if(insize > UINT_MAX/4) in base64_encode() 197 base64data = output = malloc(insize * 4 / 3 + 4); in base64_encode() 206 result = Curl_convert_clone(data, indata, insize, &convbuf); in base64_encode() 215 while(insize > 0) { in base64_encode() 217 if(insize > 0) { in base64_encode() 221 insize--; in base64_encode() 291 const char *inputbuff, size_t insize, in Curl_base64_encode() argument [all …]
|
D | curl_base64.h | 26 const char *inputbuff, size_t insize, 29 const char *inputbuff, size_t insize,
|
D | non-ascii.c | 57 size_t insize, in Curl_convert_clone() argument 63 convbuf = malloc(insize); in Curl_convert_clone() 67 memcpy(convbuf, indata, insize); in Curl_convert_clone() 68 result = Curl_convert_to_network(data, convbuf, insize); in Curl_convert_clone()
|
/external/python/cpython2/Modules/cjkcodecs/ |
D | _codecs_hk.c | 44 Py_ssize_t insize; in ENCODER() local 54 insize = GET_INSIZE(c); in ENCODER() 67 insize = 2; in ENCODER() 84 return insize; in ENCODER() 87 else return insize; in ENCODER() 90 return insize; in ENCODER() 94 NEXT(insize, 2) in ENCODER()
|
D | _codecs_jp.c | 152 Py_ssize_t insize; in ENCODER() local 161 insize = GET_INSIZE(c); in ENCODER() 192 insize = 2; in ENCODER() 215 else return insize; in ENCODER() 218 return insize; in ENCODER() 223 NEXT(insize, 3) in ENCODER() 227 NEXT(insize, 2) in ENCODER() 547 Py_ssize_t insize; in ENCODER() local 559 insize = GET_INSIZE(c); in ENCODER() 592 insize = 2; in ENCODER() [all …]
|
/external/python/cpython3/Modules/cjkcodecs/ |
D | _codecs_hk.c | 44 Py_ssize_t insize; in ENCODER() local 53 insize = 1; in ENCODER() 71 insize = 2; in ENCODER() 90 return insize; in ENCODER() 95 return insize; in ENCODER() 98 return insize; in ENCODER() 102 NEXT(insize, 2); in ENCODER()
|
D | _codecs_jp.c | 156 Py_ssize_t insize; in ENCODER() local 164 insize = 1; in ENCODER() 196 insize = 2; in ENCODER() 222 return insize; in ENCODER() 225 return insize; in ENCODER() 230 NEXT(insize, 3); in ENCODER() 234 NEXT(insize, 2); in ENCODER() 570 Py_ssize_t insize; in ENCODER() local 581 insize = 1; in ENCODER() 615 insize = 2; in ENCODER() [all …]
|
/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 | 325 uint32 insize; in TEST_F() local 326 EXPECT_TRUE(coded_input->ReadVarint32(&insize)); in TEST_F() 327 EXPECT_EQ(strlen(strA), insize); in TEST_F() 328 EXPECT_TRUE(coded_input->ReadRaw(temp_buffer, insize)); in TEST_F() 329 EXPECT_EQ(0, memcmp(temp_buffer, strA, insize)); in TEST_F() 331 EXPECT_TRUE(coded_input->ReadVarint32(&insize)); in TEST_F() 332 EXPECT_EQ(strlen(strB), insize); in TEST_F() 333 EXPECT_TRUE(coded_input->ReadRaw(temp_buffer, insize)); in TEST_F() 334 EXPECT_EQ(0, memcmp(temp_buffer, strB, insize)); in TEST_F() 638 uint32 insize; in TEST_F() local [all …]
|
/external/f2fs-tools/lib/ |
D | libf2fs.c | 62 size_t insize) in utf8_to_wchar() argument 64 if ((input[0] & 0x80) == 0 && insize >= 1) { in utf8_to_wchar() 68 if ((input[0] & 0xe0) == 0xc0 && insize >= 2) { in utf8_to_wchar() 73 if ((input[0] & 0xf0) == 0xe0 && insize >= 3) { in utf8_to_wchar() 79 if ((input[0] & 0xf8) == 0xf0 && insize >= 4) { in utf8_to_wchar() 86 if ((input[0] & 0xfc) == 0xf8 && insize >= 5) { in utf8_to_wchar() 94 if ((input[0] & 0xfe) == 0xfc && insize >= 6) { in utf8_to_wchar() 123 size_t insize) in utf8_to_utf16() argument 129 while ((size_t)(inp - input) < insize && *inp) { in utf8_to_utf16() 130 inp = utf8_to_wchar(inp, &wc, insize - (inp - input)); in utf8_to_utf16() [all …]
|
/external/libjpeg-turbo/ |
D | jdatasrc-tj.c | 161 unsigned long insize) in jpeg_mem_src_tj() argument 165 if (inbuffer == NULL || insize == 0) /* Treat empty input as fatal error */ in jpeg_mem_src_tj() 189 src->bytes_in_buffer = (size_t)insize; in jpeg_mem_src_tj()
|
D | jdatasrc.c | 264 unsigned long insize) in jpeg_mem_src() argument 268 if (inbuffer == NULL || insize == 0) /* Treat empty input as fatal error */ in jpeg_mem_src() 292 src->bytes_in_buffer = (size_t)insize; in jpeg_mem_src()
|
D | djpeg.c | 519 unsigned long insize = 0; in main() local 613 inbuffer = (unsigned char *)realloc(inbuffer, insize + INPUT_BUF_SIZE); in main() 618 nbytes = JFREAD(input_file, &inbuffer[insize], INPUT_BUF_SIZE); in main() 626 insize += (unsigned long)nbytes; in main() 628 fprintf(stderr, "Compressed size: %lu bytes\n", insize); in main() 629 jpeg_mem_src(&cinfo, inbuffer, insize); in main()
|
/external/curl/tests/server/ |
D | getpart.c | 79 size_t insize, 83 size_t insize, in Curl_convert_clone() argument 89 convbuf = malloc(insize); in Curl_convert_clone() 93 memcpy(convbuf, indata, insize); in Curl_convert_clone()
|
/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/strace/ |
D | xattr.c | 45 const kernel_ulong_t insize, in print_xattr_val() argument 54 tprintf(", %" PRI_klu, insize); in print_xattr_val()
|