Home
last modified time | relevance | path

Searched refs:outsize (Results 1 – 25 of 86) sorted by relevance

1234

/third_party/libjpeg-turbo/
Djdatadst-tj.c27 unsigned long *outsize, boolean alloc);
39 unsigned long *outsize; member
131 *dest->outsize = (unsigned long)(dest->bufsize - dest->pub.free_in_buffer); in term_mem_destination()
148 unsigned long *outsize, boolean alloc) in jpeg_mem_dest_tj() argument
153 if (outbuffer == NULL || outsize == NULL) /* sanity check */ in jpeg_mem_dest_tj()
180 dest->outsize = outsize; in jpeg_mem_dest_tj()
183 if (*outbuffer == NULL || *outsize == 0) { in jpeg_mem_dest_tj()
189 *outsize = OUTPUT_BUF_SIZE; in jpeg_mem_dest_tj()
196 dest->bufsize = *outsize; in jpeg_mem_dest_tj()
Djdatadst.c48 unsigned long *outsize; member
189 *dest->outsize = (unsigned long)(dest->bufsize - dest->pub.free_in_buffer); in term_mem_destination()
247 unsigned long *outsize) in jpeg_mem_dest() argument
251 if (outbuffer == NULL || outsize == NULL) /* sanity check */ in jpeg_mem_dest()
273 dest->outsize = outsize; in jpeg_mem_dest()
276 if (*outbuffer == NULL || *outsize == 0) { in jpeg_mem_dest()
281 *outsize = OUTPUT_BUF_SIZE; in jpeg_mem_dest()
285 dest->pub.free_in_buffer = dest->bufsize = *outsize; in jpeg_mem_dest()
/third_party/skia/third_party/externals/libjpeg-turbo/
Djdatadst-tj.c31 unsigned long *outsize, boolean alloc);
43 unsigned long *outsize; member
135 *dest->outsize = (unsigned long)(dest->bufsize - dest->pub.free_in_buffer); in term_mem_destination()
152 unsigned long *outsize, boolean alloc) in jpeg_mem_dest_tj() argument
157 if (outbuffer == NULL || outsize == NULL) /* sanity check */ in jpeg_mem_dest_tj()
184 dest->outsize = outsize; in jpeg_mem_dest_tj()
187 if (*outbuffer == NULL || *outsize == 0) { in jpeg_mem_dest_tj()
193 *outsize = OUTPUT_BUF_SIZE; in jpeg_mem_dest_tj()
200 dest->bufsize = *outsize; in jpeg_mem_dest_tj()
Djdatadst.c53 unsigned long *outsize; member
194 *dest->outsize = (unsigned long)(dest->bufsize - dest->pub.free_in_buffer); in term_mem_destination()
252 unsigned long *outsize) in jpeg_mem_dest() argument
256 if (outbuffer == NULL || outsize == NULL) /* sanity check */ in jpeg_mem_dest()
278 dest->outsize = outsize; in jpeg_mem_dest()
281 if (*outbuffer == NULL || *outsize == 0) { in jpeg_mem_dest()
286 *outsize = OUTPUT_BUF_SIZE; in jpeg_mem_dest()
290 dest->pub.free_in_buffer = dest->bufsize = *outsize; in jpeg_mem_dest()
/third_party/flutter/skia/third_party/externals/libjpeg-turbo/
Djdatadst-tj.c41 unsigned long *outsize; member
134 *dest->outsize = (unsigned long)(dest->bufsize - dest->pub.free_in_buffer); in term_mem_destination()
151 unsigned long *outsize, boolean alloc) in jpeg_mem_dest_tj() argument
156 if (outbuffer == NULL || outsize == NULL) /* sanity check */ in jpeg_mem_dest_tj()
183 dest->outsize = outsize; in jpeg_mem_dest_tj()
186 if (*outbuffer == NULL || *outsize == 0) { in jpeg_mem_dest_tj()
192 *outsize = OUTPUT_BUF_SIZE; in jpeg_mem_dest_tj()
199 dest->bufsize = *outsize; in jpeg_mem_dest_tj()
Djdatadst.c53 unsigned long *outsize; member
195 *dest->outsize = (unsigned long)(dest->bufsize - dest->pub.free_in_buffer); in term_mem_destination()
253 unsigned long *outsize) in jpeg_mem_dest() argument
257 if (outbuffer == NULL || outsize == NULL) /* sanity check */ in jpeg_mem_dest()
279 dest->outsize = outsize; in jpeg_mem_dest()
282 if (*outbuffer == NULL || *outsize == 0) { in jpeg_mem_dest()
287 *outsize = OUTPUT_BUF_SIZE; in jpeg_mem_dest()
291 dest->pub.free_in_buffer = dest->bufsize = *outsize; in jpeg_mem_dest()
/third_party/gstreamer/gstplugins_bad/gst/mpegtsmux/
Dgstbasetsmuxopus.c82 gsize outsize; in gst_base_ts_mux_prepare_opus() local
90 outsize = 2 + insize / 255 + 1; in gst_base_ts_mux_prepare_opus()
92 outsize += 2; in gst_base_ts_mux_prepare_opus()
94 outsize += 2; in gst_base_ts_mux_prepare_opus()
96 outbuf = gst_buffer_new_and_alloc (outsize); in gst_base_ts_mux_prepare_opus()
110 g_assert (n < outsize); in gst_base_ts_mux_prepare_opus()
/third_party/openssl/crypto/evp/
Dmac_lib.c130 unsigned char *out, size_t *outl, size_t outsize) in evp_mac_final() argument
155 if (outsize < macsize) { in evp_mac_final()
168 res = ctx->meth->final(ctx->algctx, out, &l, outsize); in evp_mac_final()
175 unsigned char *out, size_t *outl, size_t outsize) in EVP_MAC_final() argument
177 return evp_mac_final(ctx, 0, out, outl, outsize); in EVP_MAC_final()
180 int EVP_MAC_finalXOF(EVP_MAC_CTX *ctx, unsigned char *out, size_t outsize) in EVP_MAC_finalXOF() argument
182 return evp_mac_final(ctx, 1, out, NULL, outsize); in EVP_MAC_finalXOF()
247 unsigned char *out, size_t outsize, size_t *outlen) in EVP_Q_mac() argument
286 && EVP_MAC_final(ctx, out, &len, outsize)) { in EVP_Q_mac()
/third_party/gstreamer/gstplugins_good/gst/rtp/
Dgstrtph264depay.c904 guint outsize, offset = 0; in gst_rtp_h264_complete_au() local
909 outsize = gst_adapter_available (rtph264depay->picture_adapter); in gst_rtp_h264_complete_au()
911 outbuf = gst_rtp_h264_depay_allocate_output_buffer (rtph264depay, outsize); in gst_rtp_h264_complete_au()
919 list = gst_adapter_take_buffer_list (rtph264depay->picture_adapter, outsize); in gst_rtp_h264_complete_au()
1118 guint outsize; in gst_rtp_h264_finish_fragmentation_unit() local
1122 outsize = gst_adapter_available (rtph264depay->adapter); in gst_rtp_h264_finish_fragmentation_unit()
1123 outbuf = gst_adapter_take_buffer (rtph264depay->adapter, outsize); in gst_rtp_h264_finish_fragmentation_unit()
1126 GST_DEBUG_OBJECT (rtph264depay, "output %d bytes", outsize); in gst_rtp_h264_finish_fragmentation_unit()
1131 outsize -= 4; in gst_rtp_h264_finish_fragmentation_unit()
1132 map.data[0] = (outsize >> 24); in gst_rtp_h264_finish_fragmentation_unit()
[all …]
Dgstrtph265depay.c975 guint outsize, offset = 0; in gst_rtp_h265_complete_au() local
980 outsize = gst_adapter_available (rtph265depay->picture_adapter); in gst_rtp_h265_complete_au()
982 outbuf = gst_rtp_h265_depay_allocate_output_buffer (rtph265depay, outsize); in gst_rtp_h265_complete_au()
990 list = gst_adapter_take_buffer_list (rtph265depay->picture_adapter, outsize); in gst_rtp_h265_complete_au()
1199 guint outsize; in gst_rtp_h265_finish_fragmentation_unit() local
1203 outsize = gst_adapter_available (rtph265depay->adapter); in gst_rtp_h265_finish_fragmentation_unit()
1204 g_assert (outsize >= 4); in gst_rtp_h265_finish_fragmentation_unit()
1206 outbuf = gst_adapter_take_buffer (rtph265depay->adapter, outsize); in gst_rtp_h265_finish_fragmentation_unit()
1209 GST_DEBUG_OBJECT (rtph265depay, "output %d bytes", outsize); in gst_rtp_h265_finish_fragmentation_unit()
1214 GST_WRITE_UINT32_BE (map.data, outsize - 4); in gst_rtp_h265_finish_fragmentation_unit()
[all …]
/third_party/openssl/providers/implementations/ciphers/
Dciphercommon.c244 size_t *outl, size_t outsize, in ossl_cipher_generic_block_update() argument
261 || outsize < inl in ossl_cipher_generic_block_update()
275 if (outsize < inl + padnum) { in ossl_cipher_generic_block_update()
340 if (outsize < blksz) { in ossl_cipher_generic_block_update()
361 if (outsize < outlint) { in ossl_cipher_generic_block_update()
385 size_t *outl, size_t outsize) in ossl_cipher_generic_block_final() argument
410 if (outsize < blksz) { in ossl_cipher_generic_block_final()
443 if (outsize < ctx->bufsz) { in ossl_cipher_generic_block_final()
454 size_t *outl, size_t outsize, in ossl_cipher_generic_stream_update() argument
464 if (outsize < inl) { in ossl_cipher_generic_stream_update()
[all …]
Dcipher_tdes_wrap.c128 unsigned char *out, size_t *outl, size_t outsize, in tdes_wrap_cipher() argument
138 if (outsize < inl) { in tdes_wrap_cipher()
152 size_t outsize, const unsigned char *in, in tdes_wrap_update() argument
158 if (outsize < inl) { in tdes_wrap_update()
163 if (!tdes_wrap_cipher(vctx, out, outl, outsize, in, inl)) { in tdes_wrap_update()
Dcipher_aes_xts.c158 size_t outsize, const unsigned char *in, size_t inl) in aes_xts_cipher() argument
193 size_t outsize, const unsigned char *in, in aes_xts_stream_update() argument
198 if (outsize < inl) { in aes_xts_stream_update()
203 if (!aes_xts_cipher(ctx, out, outl, outsize, in, inl)) { in aes_xts_stream_update()
212 size_t outsize) in aes_xts_stream_final() argument
Dcipher_aes_ocb.c162 size_t outsize, const unsigned char *in, in aes_ocb_block_update_internal() argument
174 if (outsize < AES_BLOCK_SIZE) { in aes_ocb_block_update_internal()
189 if (outsize < outlint) { in aes_ocb_block_update_internal()
232 size_t outsize, const unsigned char *in, in aes_ocb_block_update() argument
258 return aes_ocb_block_update_internal(ctx, buf, buflen, out, outl, outsize, in aes_ocb_block_update()
263 size_t outsize) in aes_ocb_block_final() argument
498 size_t outsize, const unsigned char *in, size_t inl) in aes_ocb_cipher() argument
505 if (outsize < inl) { in aes_ocb_cipher()
Dcipher_null.c66 size_t outsize, const unsigned char *in, size_t inl) in null_cipher() argument
83 if (outsize < inl) in null_cipher()
93 size_t outsize) in null_final() argument
/third_party/gstreamer/gstplugins_good/tests/check/elements/
Dy4menc.c113 gsize outsize; in GST_START_TEST() local
121 outsize = map.size; in GST_START_TEST()
124 fail_unless (outsize > size); in GST_START_TEST()
134 fail_unless (data - (gchar *) map.data + size == outsize); in GST_START_TEST()
/third_party/f2fs-tools/lib/
Dlibf2fs.c107 static uint16_t *wchar_to_utf16(uint16_t *output, wchar_t wc, size_t outsize) in wchar_to_utf16() argument
110 if (outsize == 0) in wchar_to_utf16()
115 if (outsize < 2) in wchar_to_utf16()
123 int utf8_to_utf16(uint16_t *output, const char *input, size_t outsize, in utf8_to_utf16() argument
136 outp = wchar_to_utf16(outp, wc, outsize - (outp - output)); in utf8_to_utf16()
162 static char *wchar_to_utf8(char *output, wchar_t wc, size_t outsize) in wchar_to_utf8() argument
165 if (outsize < 1) in wchar_to_utf8()
169 if (outsize < 2) in wchar_to_utf8()
174 if (outsize < 3) in wchar_to_utf8()
180 if (outsize < 4) in wchar_to_utf8()
[all …]
/third_party/gstreamer/gstplugins_good/ext/speex/
Dgstspeexenc.c534 gint outsize, written, dtx_ret = 0; in gst_speex_enc_encode() local
605 outsize = speex_bits_nbytes (&enc->bits); in gst_speex_enc_encode()
612 GST_BUFFER_OFFSET_NONE, outsize, in gst_speex_enc_encode()
618 outbuf = gst_buffer_new_allocate (NULL, outsize, NULL); in gst_speex_enc_encode()
621 written = speex_bits_write (&enc->bits, (gchar *) map.data, outsize); in gst_speex_enc_encode()
623 if (G_UNLIKELY (written < outsize)) { in gst_speex_enc_encode()
624 GST_ERROR_OBJECT (enc, "short write: %d < %d bytes", written, outsize); in gst_speex_enc_encode()
625 } else if (G_UNLIKELY (written > outsize)) { in gst_speex_enc_encode()
626 GST_ERROR_OBJECT (enc, "overrun: %d > %d bytes", written, outsize); in gst_speex_enc_encode()
627 written = outsize; in gst_speex_enc_encode()
/third_party/ntfs-3g/libntfs-3g/
Ddir.c2340 size_t outsize = 0; in get_dos_name() local
2364 outsize = fn->file_name_length; in get_dos_name()
2366 if (outsize > MAX_DOS_NAME_LENGTH) in get_dos_name()
2367 outsize = MAX_DOS_NAME_LENGTH; in get_dos_name()
2368 memcpy(dosname,fn->file_name,outsize*sizeof(ntfschar)); in get_dos_name()
2372 if ((outsize > 0) && (namecount > 1)) { in get_dos_name()
2373 outsize = -1; in get_dos_name()
2376 return (outsize); in get_dos_name()
2392 size_t outsize = 0; in get_long_name() local
2417 outsize = fn->file_name_length; in get_long_name()
[all …]
/third_party/gstreamer/gstplugins_bad/ext/voamrwbenc/
Dgstvoamrwbenc.c277 gint outsize; in gst_voamrwbenc_handle_frame() local
302 outsize = E_IF_encode (amrwbenc->handle, amrwbenc->bandmode, in gst_voamrwbenc_handle_frame()
305 GST_LOG_OBJECT (amrwbenc, "encoded to %d bytes", outsize); in gst_voamrwbenc_handle_frame()
308 gst_buffer_resize (out, 0, outsize); in gst_voamrwbenc_handle_frame()
/third_party/gstreamer/gstplugins_base/gst/audioresample/
Dgstaudioresample.c118 GstCaps * outcaps, gsize * outsize);
562 gsize out_len, outsize; in gst_audio_resample_dump_drain() local
571 outsize = out_len * resample->out.bpf; in gst_audio_resample_dump_drain()
572 outbuf = gst_buffer_new_and_alloc (outsize); in gst_audio_resample_dump_drain()
592 gint outsize; in gst_audio_resample_push_drain() local
607 outsize = out_len * resample->in.bpf; in gst_audio_resample_push_drain()
608 outbuf = gst_buffer_new_and_alloc (outsize); in gst_audio_resample_push_drain()
647 G_GUINT64_FORMAT, outsize, in gst_audio_resample_push_drain()
745 gsize outsize; in gst_audio_resample_process() local
865 outsize = out_len * resample->in.bpf; in gst_audio_resample_process()
[all …]
/third_party/gstreamer/gstplugins_bad/gst/adpcmdec/
Dadpcmdec.c338 int outsize; in adpcmdec_decode_block() local
349 outsize = 2 * samples; in adpcmdec_decode_block()
350 outbuf = gst_buffer_new_and_alloc (outsize); in adpcmdec_decode_block()
361 outsize = 2 * samples; in adpcmdec_decode_block()
362 outbuf = gst_buffer_new_and_alloc (outsize); in adpcmdec_decode_block()
/third_party/gstreamer/gstplugins_good/ext/jpeg/
Dsmokecodec.c363 unsigned char *out, unsigned int *outsize) in smokecodec_encode_id() argument
375 *outsize = 9; in smokecodec_encode_id()
383 SmokeCodecFlags flags, unsigned char *out, unsigned int *outsize) in smokecodec_encode() argument
471 info->jdest.free_in_buffer = (*outsize) - OFFS_PICT; in smokecodec_encode()
531 size = ((((*outsize) - OFFS_PICT - info->jdest.free_in_buffer) + 3) & ~3); in smokecodec_encode()
534 *outsize = size + blocks * 2 + OFFS_PICT; in smokecodec_encode()
535 GST_DEBUG ("outsize %d", *outsize); in smokecodec_encode()
539 smokecodec_decode (info, out, *outsize, info->reference); in smokecodec_encode()
/third_party/openssl/providers/implementations/asymciphers/
Drsa_enc.c136 size_t outsize, const unsigned char *in, size_t inlen) in rsa_encrypt() argument
196 size_t outsize, const unsigned char *in, size_t inlen) in rsa_decrypt() argument
210 if (outsize < SSL_MAX_MASTER_KEY_LENGTH) { in rsa_decrypt()
224 if (outsize < len) { in rsa_decrypt()
258 ret = RSA_padding_check_PKCS1_OAEP_mgf1(out, outsize, tbuf, in rsa_decrypt()
272 prsactx->libctx, out, outsize, tbuf, len, in rsa_decrypt()
/third_party/openssl/doc/man7/
Dprovider-cipher.pod33 size_t outsize, const unsigned char *in, size_t inl);
35 size_t outsize);
37 size_t outsize, const unsigned char *in, size_t inl);
145 I<*outl> which should not exceed I<outsize> bytes.
152 The same expectations apply to I<outsize> as documented for
160 amount of data written to I<*outl> which should not exceed I<outsize> bytes.
161 The same expectations apply to I<outsize> as documented for
176 I<outsize> bytes.

1234