/third_party/curl/lib/ |
D | base64.c | 189 const char *inputbuff, size_t insize, in base64_encode() argument 200 if(!insize) in base64_encode() 201 insize = strlen(inputbuff); in base64_encode() 204 if(insize > UINT_MAX/4) in base64_encode() 208 base64data = output = malloc((insize + 2) / 3 * 4 + 1); in base64_encode() 212 while(insize >= 3) { in base64_encode() 217 insize -= 3; in base64_encode() 220 if(insize) { in base64_encode() 223 if(insize == 1) { in base64_encode() 266 CURLcode Curl_base64_encode(const char *inputbuff, size_t insize, in Curl_base64_encode() argument [all …]
|
D | curl_base64.h | 35 CURLcode Curl_base64_encode(const char *inputbuff, size_t insize, 37 CURLcode Curl_base64url_encode(const char *inputbuff, size_t insize,
|
D | mime.c | 385 size_t insize = st->bufend - st->bufbeg; in encoder_nop_read() local 392 if(size > insize) in encoder_nop_read() 393 size = insize; in encoder_nop_read()
|
/third_party/python/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 …]
|
D | _codecs_iso2022.c | 162 Py_ssize_t insize; in ENCODER() local 180 insize = 1; in ENCODER() 198 insize = length; in ENCODER() 268 NEXT_INCHAR(insize); in ENCODER()
|
/third_party/skia/third_party/externals/libjpeg-turbo/ |
D | jdatasrc-tj.c | 27 unsigned long insize); 164 unsigned long insize) in jpeg_mem_src_tj() argument 168 if (inbuffer == NULL || insize == 0) /* Treat empty input as fatal error */ in jpeg_mem_src_tj() 192 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 | 553 unsigned long insize = 0; in djpeg() local 653 inbuffer = (unsigned char *)realloc(inbuffer, insize + INPUT_BUF_SIZE); in djpeg() 658 nbytes = JFREAD(input_file, &inbuffer[insize], INPUT_BUF_SIZE); in djpeg() 666 insize += (unsigned long)nbytes; in djpeg() 668 fprintf(stderr, "Compressed size: %lu bytes\n", insize); in djpeg() 669 jpeg_mem_src(&cinfo, inbuffer, insize); in djpeg()
|
D | jpeglib.h | 930 const unsigned char *inbuffer, unsigned long insize);
|
/third_party/protobuf/src/google/protobuf/io/ |
D | zero_copy_stream_unittest.cc | 330 uint32 insize; in TEST_F() local 331 EXPECT_TRUE(coded_input->ReadVarint32(&insize)); in TEST_F() 332 EXPECT_EQ(strlen(strA), insize); in TEST_F() 333 EXPECT_TRUE(coded_input->ReadRaw(temp_buffer, insize)); in TEST_F() 334 EXPECT_EQ(0, memcmp(temp_buffer, strA, insize)); in TEST_F() 336 EXPECT_TRUE(coded_input->ReadVarint32(&insize)); in TEST_F() 337 EXPECT_EQ(strlen(strB), insize); in TEST_F() 338 EXPECT_TRUE(coded_input->ReadRaw(temp_buffer, insize)); in TEST_F() 339 EXPECT_EQ(0, memcmp(temp_buffer, strB, insize)); in TEST_F() 637 uint32 insize; in TEST_F() local [all …]
|
/third_party/f2fs-tools/lib/ |
D | libf2fs.c | 60 size_t insize) in utf8_to_wchar() argument 62 if ((input[0] & 0x80) == 0 && insize >= 1) { in utf8_to_wchar() 66 if ((input[0] & 0xe0) == 0xc0 && insize >= 2) { in utf8_to_wchar() 71 if ((input[0] & 0xf0) == 0xe0 && insize >= 3) { in utf8_to_wchar() 77 if ((input[0] & 0xf8) == 0xf0 && insize >= 4) { in utf8_to_wchar() 84 if ((input[0] & 0xfc) == 0xf8 && insize >= 5) { in utf8_to_wchar() 92 if ((input[0] & 0xfe) == 0xfc && insize >= 6) { in utf8_to_wchar() 121 size_t insize) in utf8_to_utf16() argument 127 while ((size_t)(inp - input) < insize && *inp) { in utf8_to_utf16() 128 inp = utf8_to_wchar(inp, &wc, insize - (inp - input)); in utf8_to_utf16() [all …]
|
/third_party/cups-filters/filter/ |
D | texttotext.c | 132 size_t insize = 0; /* Bytes still to be converted in in main() local 597 insize = 0; in main() 607 nread = read (fd, inbuf + insize, sizeof (inbuf) - insize); in main() 614 if (insize > 0 && incomplete_char) in main() 622 insize += nread; in main() 625 if (insize > 0) { /* Do we have data to convert? */ in main() 627 nconv = iconv (cd, &inptr, &insize, &outptr, &outsize); in main() 638 memmove (inbuf, inptr, insize); in main()
|
/third_party/curl/tests/server/ |
D | getpart.c | 81 size_t insize, 85 size_t insize, in Curl_convert_clone() argument 91 convbuf = malloc(insize); in Curl_convert_clone() 95 memcpy(convbuf, indata, insize); in Curl_convert_clone()
|
/third_party/ffmpeg/libavcodec/ |
D | lzwenc.c | 230 int ff_lzw_encode(LZWEncodeState * s, const uint8_t * inbuf, int insize) in ff_lzw_encode() argument 234 if(insize * 3 > (s->bufsize - s->output_bytes) * 2){ in ff_lzw_encode() 241 for (i = 0; i < insize; i++) { in ff_lzw_encode()
|
D | lzw.h | 58 int ff_lzw_encode(struct LZWEncodeState * s, const uint8_t * inbuf, int insize);
|
/third_party/icu/icu4c/source/test/cintltst/ |
D | ncnvfbts.h | 24 static void TestConvertFallBackWithBufferSizes(int32_t outsize, int32_t insize );
|
D | ncnvfbts.c | 456 static void TestConvertFallBackWithBufferSizes(int32_t outsize, int32_t insize ) in TestConvertFallBackWithBufferSizes() argument 545 gInBufferSize = insize; in TestConvertFallBackWithBufferSizes()
|
D | ncnvtst.c | 923 static void TestWithBufferSize(int32_t insize, int32_t outsize){ in TestWithBufferSize() argument 925 gInBufferSize =insize; in TestWithBufferSize()
|
D | nucnvtst.c | 684 static void TestNewConvertWithBufferSizes(int32_t outsize, int32_t insize ) in TestNewConvertWithBufferSizes() argument 832 gInBufferSize = insize; in TestNewConvertWithBufferSizes()
|
/third_party/python/Objects/ |
D | unicodeobject.c | 4472 Py_ssize_t insize; in unicode_decode_call_errorhandler_wchar() local 4508 insize = PyBytes_GET_SIZE(inputobj); in unicode_decode_call_errorhandler_wchar() 4509 *inend = *input + insize; in unicode_decode_call_errorhandler_wchar() 4515 newpos = insize+newpos; in unicode_decode_call_errorhandler_wchar() 4516 if (newpos<0 || newpos>insize) { in unicode_decode_call_errorhandler_wchar() 4542 if (requiredsize > PY_SSIZE_T_MAX - (insize - newpos)) in unicode_decode_call_errorhandler_wchar() 4544 requiredsize += insize - newpos; in unicode_decode_call_errorhandler_wchar() 4584 Py_ssize_t insize; in unicode_decode_call_errorhandler_writer() local 4623 insize = PyBytes_GET_SIZE(inputobj); in unicode_decode_call_errorhandler_writer() 4624 *inend = *input + insize; in unicode_decode_call_errorhandler_writer() [all …]
|
/third_party/openssl/apps/lib/ |
D | apps.c | 3174 DWORD insize = 1; in has_stdin_waiting() local 3181 peeked = PeekConsoleInput(inhand, &inputrec, insize, &events); in has_stdin_waiting()
|
/third_party/node/deps/openssl/openssl/apps/lib/ |
D | apps.c | 3181 DWORD insize = 1; in has_stdin_waiting() local 3188 peeked = PeekConsoleInput(inhand, &inputrec, insize, &events); in has_stdin_waiting()
|
/third_party/ffmpeg/libavformat/ |
D | matroskadec.c | 1693 int insize = isize; in matroska_decode_buffer() local 1702 result = av_lzo1x_decode(pkt_data, &olen, data, &insize); in matroska_decode_buffer()
|