Home
last modified time | relevance | path

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

12

/third_party/curl/lib/
Dbase64.c188 const char *inputbuff, size_t insize, in base64_encode() argument
199 if(!insize) in base64_encode()
200 insize = strlen(inputbuff); in base64_encode()
203 if(insize > UINT_MAX/4) in base64_encode()
207 base64data = output = malloc((insize + 2) / 3 * 4 + 1); in base64_encode()
211 while(insize >= 3) { in base64_encode()
216 insize -= 3; in base64_encode()
219 if(insize) { in base64_encode()
222 if(insize == 1) { in base64_encode()
265 CURLcode Curl_base64_encode(const char *inputbuff, size_t insize, in Curl_base64_encode() argument
[all …]
Dcurl_base64.h35 CURLcode Curl_base64_encode(const char *inputbuff, size_t insize,
37 CURLcode Curl_base64url_encode(const char *inputbuff, size_t insize,
Dmime.c385 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.c44 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.c156 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.c162 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/gstreamer/gstplugins_bad/gst/mpegtsmux/
Dgstbasetsmuxopus.c81 gssize insize = gst_buffer_get_size (buf); in gst_base_ts_mux_prepare_opus() local
90 outsize = 2 + insize / 255 + 1; in gst_base_ts_mux_prepare_opus()
115 map.data[n] = MIN (insize, 255); in gst_base_ts_mux_prepare_opus()
116 insize -= 255; in gst_base_ts_mux_prepare_opus()
118 } while (insize >= 0); in gst_base_ts_mux_prepare_opus()
/third_party/skia/third_party/externals/libjpeg-turbo/
Djdatasrc-tj.c27 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()
Djdatasrc.c264 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()
Ddjpeg.c553 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()
Djpeglib.h930 const unsigned char *inbuffer, unsigned long insize);
/third_party/protobuf/src/google/protobuf/io/
Dzero_copy_stream_unittest.cc330 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/gstreamer/gstplugins_good/ext/jpeg/
Dsmokecodec.h98 const unsigned int insize);
102 const unsigned int insize,
111 const unsigned int insize,
Dsmokecodec.c549 const unsigned char *in, const unsigned int insize) in smokecodec_parse_id() argument
553 if (insize < 4 + strlen (SMOKECODEC_ID_STRING)) { in smokecodec_parse_id()
581 const unsigned int insize, in smokecodec_parse_header() argument
610 const unsigned char *in, const unsigned int insize, unsigned char *out) in smokecodec_decode() argument
623 smokecodec_parse_header (info, in, insize, &flags, &width, &height, in smokecodec_decode()
636 info->jsrc.bytes_in_buffer = insize - (blocks * 2 + OFFS_PICT); in smokecodec_decode()
638 GST_DEBUG ("header %02x %d", in[blocks * 2 + OFFS_PICT], insize); in smokecodec_decode()
/third_party/cups-filters/filter/
Dtexttotext.c132 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/f2fs-tools/lib/
Dlibf2fs.c63 size_t insize) in utf8_to_wchar() argument
65 if ((input[0] & 0x80) == 0 && insize >= 1) { in utf8_to_wchar()
69 if ((input[0] & 0xe0) == 0xc0 && insize >= 2) { in utf8_to_wchar()
74 if ((input[0] & 0xf0) == 0xe0 && insize >= 3) { in utf8_to_wchar()
80 if ((input[0] & 0xf8) == 0xf0 && insize >= 4) { in utf8_to_wchar()
87 if ((input[0] & 0xfc) == 0xf8 && insize >= 5) { in utf8_to_wchar()
95 if ((input[0] & 0xfe) == 0xfc && insize >= 6) { in utf8_to_wchar()
124 size_t insize) in utf8_to_utf16() argument
130 while ((size_t)(inp - input) < insize && *inp) { in utf8_to_utf16()
131 inp = utf8_to_wchar(inp, &wc, insize - (inp - input)); in utf8_to_utf16()
[all …]
/third_party/curl/tests/server/
Dgetpart.c81 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/
Dlzwenc.c229 int ff_lzw_encode(LZWEncodeState * s, const uint8_t * inbuf, int insize) in ff_lzw_encode() argument
233 if(insize * 3 > (s->bufsize - s->output_bytes) * 2){ in ff_lzw_encode()
240 for (i = 0; i < insize; i++) { in ff_lzw_encode()
Dlzw.h58 int ff_lzw_encode(struct LZWEncodeState * s, const uint8_t * inbuf, int insize);
/third_party/icu/icu4c/source/test/cintltst/
Dncnvfbts.h24 static void TestConvertFallBackWithBufferSizes(int32_t outsize, int32_t insize );
Dncnvfbts.c456 static void TestConvertFallBackWithBufferSizes(int32_t outsize, int32_t insize ) in TestConvertFallBackWithBufferSizes() argument
545 gInBufferSize = insize; in TestConvertFallBackWithBufferSizes()
Dncnvtst.c923 static void TestWithBufferSize(int32_t insize, int32_t outsize){ in TestWithBufferSize() argument
925 gInBufferSize =insize; in TestWithBufferSize()
/third_party/gstreamer/gstplugins_bad/ext/closedcaption/
Dgstceaccoverlay.c1575 extract_ccdata_from_cdp (const guint8 * indata, gsize insize, in extract_ccdata_from_cdp() argument
1586 GST_MEMDUMP ("CDP", indata, insize); in extract_ccdata_from_cdp()
1588 gst_byte_reader_init (&br, indata, insize); in extract_ccdata_from_cdp()
1601 if (cdp_length > insize) { in extract_ccdata_from_cdp()
1603 cdp_length, insize); in extract_ccdata_from_cdp()
/third_party/python/Objects/
Dunicodeobject.c4472 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/gstreamer/gstreamer/libs/gst/base/
Dgstbasetransform.c1642 gsize insize, outsize; in default_prepare_output_buffer() local
1697 insize = gst_buffer_get_size (inbuf); in default_prepare_output_buffer()
1699 GST_PAD_SINK, incaps, insize, outcaps, &outsize); in default_prepare_output_buffer()

12