/third_party/gstreamer/gstplugins_good/tests/check/elements/ |
D | qtdemux.c | 181 GstBuffer *inbuf; in GST_START_TEST() local 219 inbuf = gst_buffer_new_and_alloc (init_mp4_len); in GST_START_TEST() 220 gst_buffer_fill (inbuf, 0, init_mp4, init_mp4_len); in GST_START_TEST() 221 GST_BUFFER_PTS (inbuf) = 0; in GST_START_TEST() 222 GST_BUFFER_OFFSET (inbuf) = 0; in GST_START_TEST() 224 fail_unless (gst_pad_chain (sinkpad, inbuf) == GST_FLOW_OK); in GST_START_TEST() 227 inbuf = gst_buffer_new_and_alloc (seg_1_moof_size); in GST_START_TEST() 228 gst_buffer_fill (inbuf, 0, seg_1_m4f, seg_1_moof_size); in GST_START_TEST() 229 GST_BUFFER_PTS (inbuf) = 0; in GST_START_TEST() 230 GST_BUFFER_OFFSET (inbuf) = 0; in GST_START_TEST() [all …]
|
D | deinterleave.c | 133 GstBuffer *inbuf; in GST_START_TEST() local 173 inbuf = gst_buffer_new_and_alloc (2 * 48000 * sizeof (gfloat)); in GST_START_TEST() 174 inbuf = gst_buffer_make_writable (inbuf); in GST_START_TEST() 175 gst_buffer_map (inbuf, &map, GST_MAP_WRITE); in GST_START_TEST() 181 gst_buffer_unmap (inbuf, &map); in GST_START_TEST() 183 fail_unless (gst_pad_push (mysrcpad, inbuf) == GST_FLOW_OK); in GST_START_TEST() 206 GstBuffer *inbuf; in GST_START_TEST() local 246 inbuf = gst_buffer_new_and_alloc (2 * 48000 * sizeof (gfloat)); in GST_START_TEST() 247 inbuf = gst_buffer_make_writable (inbuf); in GST_START_TEST() 248 gst_buffer_map (inbuf, &map, GST_MAP_WRITE); in GST_START_TEST() [all …]
|
D | interleave.c | 152 GstBuffer *inbuf; in GST_START_TEST() local 219 inbuf = gst_buffer_new_and_alloc (48000 * sizeof (gfloat)); in GST_START_TEST() 220 gst_buffer_map (inbuf, &map, GST_MAP_WRITE); in GST_START_TEST() 224 gst_buffer_unmap (inbuf, &map); in GST_START_TEST() 225 fail_unless (gst_pad_push (mysrcpads[0], inbuf) == GST_FLOW_OK); in GST_START_TEST() 228 inbuf = gst_buffer_new_and_alloc (48000 * sizeof (gfloat)); in GST_START_TEST() 229 gst_buffer_map (inbuf, &map, GST_MAP_WRITE); in GST_START_TEST() 233 gst_buffer_unmap (inbuf, &map); in GST_START_TEST() 234 fail_unless (gst_pad_push (mysrcpads[1], inbuf) == GST_FLOW_OK); in GST_START_TEST() 236 inbuf = gst_buffer_new_and_alloc (48000 * sizeof (gfloat)); in GST_START_TEST() [all …]
|
/third_party/node/test/parallel/ |
D | test-http2-max-invalid-frames.js | 33 let inbuf = Buffer.alloc(0); variable 37 inbuf = Buffer.concat([inbuf, chunk]); 40 if (inbuf.length < 9) return; 41 settingsFrameLength = inbuf.readIntBE(0, 3); 42 inbuf = inbuf.slice(9); 46 if (inbuf.length < settingsFrameLength) return; 47 inbuf = inbuf.slice(settingsFrameLength);
|
D | test-http2-reset-flood.js | 38 let inbuf = Buffer.alloc(0); variable 42 inbuf = Buffer.concat([inbuf, chunk]); 45 if (inbuf.length < 9) return; 46 settingsFrameLength = inbuf.readIntBE(0, 3); 47 inbuf = inbuf.slice(9); 51 if (inbuf.length < settingsFrameLength) return; 52 inbuf = inbuf.slice(settingsFrameLength);
|
/third_party/gstreamer/gstplugins_bad/gst/jp2kdecimator/ |
D | gstjp2kdecimator.c | 76 GstObject * parent, GstBuffer * inbuf); 177 gst_jp2k_decimator_decimate_jpc (GstJP2kDecimator * self, GstBuffer * inbuf, in gst_jp2k_decimator_decimate_jpc() argument 188 if (!gst_buffer_map (inbuf, &info, GST_MAP_READ)) { in gst_jp2k_decimator_decimate_jpc() 191 gst_buffer_unref (inbuf); in gst_jp2k_decimator_decimate_jpc() 196 gst_byte_writer_init_with_size (&writer, gst_buffer_get_size (inbuf), FALSE); in gst_jp2k_decimator_decimate_jpc() 213 gst_buffer_copy_into (outbuf, inbuf, GST_BUFFER_COPY_METADATA, 0, -1); in gst_jp2k_decimator_decimate_jpc() 218 gst_buffer_get_size (inbuf), gst_buffer_get_size (outbuf), in gst_jp2k_decimator_decimate_jpc() 220 ((gdouble) gst_buffer_get_size (inbuf))); in gst_jp2k_decimator_decimate_jpc() 223 gst_buffer_unmap (inbuf, &info); in gst_jp2k_decimator_decimate_jpc() 227 gst_buffer_unref (inbuf); in gst_jp2k_decimator_decimate_jpc() [all …]
|
/third_party/ffmpeg/libavformat/ |
D | tls_schannel.c | 152 SecBuffer inbuf[2]; in tls_client_handshake_loop() local 193 … init_sec_buffer(&inbuf[0], SECBUFFER_TOKEN, av_malloc(c->enc_buf_offset), c->enc_buf_offset); in tls_client_handshake_loop() 194 init_sec_buffer(&inbuf[1], SECBUFFER_EMPTY, NULL, 0); in tls_client_handshake_loop() 195 init_sec_buffer_desc(&inbuf_desc, inbuf, 2); in tls_client_handshake_loop() 197 if (inbuf[0].pvBuffer == NULL) { in tls_client_handshake_loop() 203 memcpy(inbuf[0].pvBuffer, c->enc_buf, c->enc_buf_offset); in tls_client_handshake_loop() 214 av_freep(&inbuf[0].pvBuffer); in tls_client_handshake_loop() 257 if (inbuf[1].BufferType == SECBUFFER_EXTRA && inbuf[1].cbBuffer > 0) { in tls_client_handshake_loop() 258 if (c->enc_buf_offset > inbuf[1].cbBuffer) { in tls_client_handshake_loop() 259 memmove(c->enc_buf, (c->enc_buf + c->enc_buf_offset) - inbuf[1].cbBuffer, in tls_client_handshake_loop() [all …]
|
/third_party/e2fsprogs/lib/ext2fs/ |
D | dirblock.c | 67 void *inbuf, int flags EXT2FS_ATTR((unused)), in ext2fs_write_dir_block4() argument 71 char *buf = inbuf; in ext2fs_write_dir_block4() 77 memcpy(buf, inbuf, fs->blocksize); in ext2fs_write_dir_block4() 97 void *inbuf, int flags EXT2FS_ATTR((unused))) in ext2fs_write_dir_block3() argument 99 return ext2fs_write_dir_block4(fs, block, inbuf, flags, 0); in ext2fs_write_dir_block3() 103 void *inbuf, int flags EXT2FS_ATTR((unused))) in ext2fs_write_dir_block2() argument 105 return ext2fs_write_dir_block3(fs, block, inbuf, flags); in ext2fs_write_dir_block2() 109 void *inbuf) in ext2fs_write_dir_block() argument 111 return ext2fs_write_dir_block3(fs, block, inbuf, 0); in ext2fs_write_dir_block()
|
/third_party/gstreamer/gstplugins_bad/ext/closedcaption/ |
D | gstccconverter.c | 1469 cdp_to_cea608_cc_data (GstCCConverter * self, GstBuffer * inbuf, in cdp_to_cea608_cc_data() argument 1478 if (inbuf) { in cdp_to_cea608_cc_data() 1479 gst_buffer_map (inbuf, &in, GST_MAP_READ); in cdp_to_cea608_cc_data() 1485 gst_buffer_unmap (inbuf, &in); in cdp_to_cea608_cc_data() 1489 return cc_data_to_cea608_ccp (self, inbuf ? cc_data : NULL, cc_data_len, in cdp_to_cea608_cc_data() 1491 inbuf ? *in_fps_entry : NULL); in cdp_to_cea608_cc_data() 1495 convert_cea608_raw_cea608_s334_1a (GstCCConverter * self, GstBuffer * inbuf, in convert_cea608_raw_cea608_s334_1a() argument 1501 n = gst_buffer_get_size (inbuf); in convert_cea608_raw_cea608_s334_1a() 1518 gst_buffer_map (inbuf, &in, GST_MAP_READ); in convert_cea608_raw_cea608_s334_1a() 1529 gst_buffer_unmap (inbuf, &in); in convert_cea608_raw_cea608_s334_1a() [all …]
|
/third_party/gstreamer/gstplugins_bad/gst/removesilence/ |
D | gstremovesilence.c | 338 gst_remove_silence_transform_ip (GstBaseTransform * trans, GstBuffer * inbuf) in gst_remove_silence_transform_ip() argument 347 gst_buffer_map (inbuf, &map, GST_MAP_READ); in gst_remove_silence_transform_ip() 350 gst_buffer_unmap (inbuf, &map); in gst_remove_silence_transform_ip() 355 if (GST_BUFFER_DURATION_IS_VALID (inbuf)) { in gst_remove_silence_transform_ip() 356 filter->consecutive_silence_time += inbuf->duration; in gst_remove_silence_transform_ip() 374 if (GST_BUFFER_PTS_IS_VALID (inbuf)) { in gst_remove_silence_transform_ip() 378 G_TYPE_UINT64, GST_BUFFER_PTS (inbuf) - filter->ts_offset, NULL); in gst_remove_silence_transform_ip() 389 if (GST_BUFFER_DURATION_IS_VALID (inbuf)) { in gst_remove_silence_transform_ip() 390 filter->ts_offset += inbuf->duration; in gst_remove_silence_transform_ip() 403 if (GST_BUFFER_PTS_IS_VALID (inbuf)) { in gst_remove_silence_transform_ip() [all …]
|
/third_party/ffmpeg/libavfilter/ |
D | vf_pp.c | 123 static int pp_filter_frame(AVFilterLink *inlink, AVFrame *inbuf) in pp_filter_frame() argument 137 av_frame_free(&inbuf); in pp_filter_frame() 140 av_frame_copy_props(outbuf, inbuf); in pp_filter_frame() 141 outbuf->width = inbuf->width; in pp_filter_frame() 142 outbuf->height = inbuf->height; in pp_filter_frame() 144 ret = ff_qp_table_extract(inbuf, &qp_table, &qstride, NULL, NULL); in pp_filter_frame() 146 av_frame_free(&inbuf); in pp_filter_frame() 151 pp_postprocess((const uint8_t **)inbuf->data, inbuf->linesize, in pp_filter_frame() 160 av_frame_free(&inbuf); in pp_filter_frame()
|
/third_party/gstreamer/gstplugins_good/gst/rtp/ |
D | gstrtputils.c | 33 foreach_metadata_copy (GstBuffer * inbuf, GstMeta ** meta, gpointer user_data) in foreach_metadata_copy() argument 48 info->transform_func (outbuf, *meta, inbuf, in foreach_metadata_copy() 60 gst_rtp_copy_meta (GstElement * element, GstBuffer * outbuf, GstBuffer * inbuf, in gst_rtp_copy_meta() argument 65 gst_buffer_foreach_meta (inbuf, foreach_metadata_copy, &data); in gst_rtp_copy_meta() 70 GstBuffer * inbuf) in gst_rtp_copy_video_meta() argument 72 gst_rtp_copy_meta (element, outbuf, inbuf, rtp_quark_meta_tag_video); in gst_rtp_copy_video_meta() 77 GstBuffer * inbuf) in gst_rtp_copy_audio_meta() argument 79 gst_rtp_copy_meta (element, outbuf, inbuf, rtp_quark_meta_tag_audio); in gst_rtp_copy_audio_meta() 89 foreach_metadata_drop (GstBuffer * inbuf, GstMeta ** meta, gpointer user_data) in foreach_metadata_drop() argument
|
/third_party/gstreamer/gstplugins_bad/gst/timecode/ |
D | gstavwait.c | 121 GstObject * parent, GstBuffer * inbuf); 123 GstObject * parent, GstBuffer * inbuf); 842 gst_avwait_vsink_chain (GstPad * pad, GstObject * parent, GstBuffer * inbuf) in gst_avwait_vsink_chain() argument 855 timestamp = GST_BUFFER_TIMESTAMP (inbuf); in gst_avwait_vsink_chain() 857 gst_buffer_unref (inbuf); in gst_avwait_vsink_chain() 868 tc_meta = gst_buffer_get_video_time_code_meta (inbuf); in gst_avwait_vsink_chain() 887 gst_buffer_unref (inbuf); in gst_avwait_vsink_chain() 905 gst_buffer_unref (inbuf); in gst_avwait_vsink_chain() 916 gst_buffer_unref (inbuf); in gst_avwait_vsink_chain() 917 inbuf = NULL; in gst_avwait_vsink_chain() [all …]
|
/third_party/gstreamer/gstplugins_base/tests/check/elements/ |
D | audiointerleave.c | 161 GstBuffer *inbuf; in GST_START_TEST() local 230 inbuf = gst_buffer_new_and_alloc (48000 * sizeof (gfloat)); in GST_START_TEST() 232 gst_buffer_map (inbuf, &map, GST_MAP_WRITE); in GST_START_TEST() 236 gst_buffer_unmap (inbuf, &map); in GST_START_TEST() 237 fail_unless (gst_pad_push (mysrcpads[0], inbuf) == GST_FLOW_OK); in GST_START_TEST() 240 inbuf = gst_buffer_new_and_alloc (48000 * sizeof (gfloat)); in GST_START_TEST() 242 gst_buffer_map (inbuf, &map, GST_MAP_WRITE); in GST_START_TEST() 246 gst_buffer_unmap (inbuf, &map); in GST_START_TEST() 247 fail_unless (gst_pad_push (mysrcpads[1], inbuf) == GST_FLOW_OK); in GST_START_TEST() 249 inbuf = gst_buffer_new_and_alloc (48000 * sizeof (gfloat)); in GST_START_TEST() [all …]
|
/third_party/libsoup/libsoup/ |
D | soup-converter-wrapper.c | 176 const void *inbuf, in soup_converter_wrapper_fallback_convert() argument 197 memcpy (outbuf, inbuf, inbuf_size); in soup_converter_wrapper_fallback_convert() 200 memcpy (outbuf, inbuf, outbuf_size); in soup_converter_wrapper_fallback_convert() 226 const void *inbuf, in soup_converter_wrapper_real_convert() argument 241 inbuf, inbuf_size, in soup_converter_wrapper_real_convert() 306 inbuf, inbuf_size, in soup_converter_wrapper_real_convert() 314 const void *inbuf, in soup_converter_wrapper_convert() argument 327 inbuf, inbuf_size, in soup_converter_wrapper_convert() 333 inbuf, inbuf_size, in soup_converter_wrapper_convert()
|
/third_party/libxml2/os400/ |
D | libxmlmain.c | 40 char * inbuf; in main() local 58 inbuf = argv[i]; in main() 64 &inbuf, &inbytesleft, &outbuf, &outbytesleft); in main() 80 inbuf = ebcdic_argv[i]; in main() 82 iconv(cd, &inbuf, &inbytesleft, &outbuf, &outbytesleft); in main()
|
/third_party/boost/tools/boost_install/test/iostreams/bzip2-1.0.6/ |
D | unzcrash.c | 40 uchar inbuf[M_BLOCK]; variable 92 nIn = fread ( inbuf, 1, M_BLOCK, f ); in main() 97 zbuf, &nZ, inbuf, nIn, 9, 0, 30 ); in main() 118 if (inbuf[i] != outbuf[i]) { in main() 132 if (inbuf[i] != outbuf[i]) { in main()
|
/third_party/bzip2/ |
D | unzcrash.c | 40 uchar inbuf[M_BLOCK]; variable 92 nIn = fread ( inbuf, 1, M_BLOCK, f ); in main() 97 zbuf, &nZ, inbuf, nIn, 9, 0, 30 ); in main() 118 if (inbuf[i] != outbuf[i]) { in main() 132 if (inbuf[i] != outbuf[i]) { in main()
|
/third_party/boost/tools/boost_install/test/iostreams/bzip2-1.0.8/ |
D | unzcrash.c | 40 uchar inbuf[M_BLOCK]; variable 92 nIn = fread ( inbuf, 1, M_BLOCK, f ); in main() 97 zbuf, &nZ, inbuf, nIn, 9, 0, 30 ); in main() 118 if (inbuf[i] != outbuf[i]) { in main() 132 if (inbuf[i] != outbuf[i]) { in main()
|
/third_party/gstreamer/gstplugins_bad/sys/androidmedia/ |
D | gstamcaudiodec.c | 1054 gst_amc_audio_dec_handle_frame (GstAudioDecoder * decoder, GstBuffer * inbuf) in gst_amc_audio_dec_handle_frame() argument 1074 if (inbuf) in gst_amc_audio_dec_handle_frame() 1075 inbuf = gst_buffer_ref (inbuf); in gst_amc_audio_dec_handle_frame() 1079 if (inbuf) in gst_amc_audio_dec_handle_frame() 1080 gst_buffer_unref (inbuf); in gst_amc_audio_dec_handle_frame() 1090 if (!inbuf) in gst_amc_audio_dec_handle_frame() 1093 timestamp = GST_BUFFER_PTS (inbuf); in gst_amc_audio_dec_handle_frame() 1094 duration = GST_BUFFER_DURATION (inbuf); in gst_amc_audio_dec_handle_frame() 1096 gst_buffer_map (inbuf, &minfo, GST_MAP_READ); in gst_amc_audio_dec_handle_frame() 1181 if (!GST_BUFFER_FLAG_IS_SET (inbuf, GST_BUFFER_FLAG_DELTA_UNIT)) in gst_amc_audio_dec_handle_frame() [all …]
|
/third_party/gstreamer/gstplugins_base/gst/audioconvert/ |
D | gstaudioconvert.c | 133 GstBuffer * inbuf, GstBuffer * outbuf); 137 GstBuffer * outbuf, GstMeta * meta, GstBuffer * inbuf); 141 base, GstBuffer * inbuf, GstBuffer ** outbuf); 813 gst_audio_convert_transform (GstBaseTransform * base, GstBuffer * inbuf, in gst_audio_convert_transform() argument 823 if (gst_buffer_get_size (inbuf) == 0) in gst_audio_convert_transform() 826 if (inbuf != outbuf) { in gst_audio_convert_transform() 827 inbuf_writable = gst_buffer_is_writable (inbuf) in gst_audio_convert_transform() 828 && gst_buffer_n_memory (inbuf) == 1 in gst_audio_convert_transform() 829 && gst_memory_is_writable (gst_buffer_peek_memory (inbuf, 0)); in gst_audio_convert_transform() 831 if (!gst_audio_buffer_map (&srcabuf, &this->in_info, inbuf, in gst_audio_convert_transform() [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/fdkaac/ |
D | gstfdkaacenc.c | 425 gst_fdkaacenc_handle_frame (GstAudioEncoder * enc, GstBuffer * inbuf) in gst_fdkaacenc_handle_frame() argument 443 if (inbuf) { in gst_fdkaacenc_handle_frame() 445 inbuf = gst_buffer_copy (inbuf); in gst_fdkaacenc_handle_frame() 446 gst_buffer_map (inbuf, &imap, GST_MAP_READWRITE); in gst_fdkaacenc_handle_frame() 451 gst_buffer_map (inbuf, &imap, GST_MAP_READ); in gst_fdkaacenc_handle_frame() 492 if (err == AACENC_ENCODE_EOF && !inbuf) in gst_fdkaacenc_handle_frame() 500 if (inbuf) { in gst_fdkaacenc_handle_frame() 501 gst_buffer_unmap (inbuf, &imap); in gst_fdkaacenc_handle_frame() 503 gst_buffer_unref (inbuf); in gst_fdkaacenc_handle_frame() 504 inbuf = NULL; in gst_fdkaacenc_handle_frame() [all …]
|
/third_party/gstreamer/gstplugins_base/gst/audioresample/ |
D | gstaudioresample.c | 122 GstBuffer * inbuf, GstBuffer * outbuf); 124 GstBuffer * outbuf, GstMeta * meta, GstBuffer * inbuf); 741 gst_audio_resample_process (GstAudioResample * resample, GstBuffer * inbuf, in gst_audio_resample_process() argument 752 inbuf_writable = gst_buffer_is_writable (inbuf) in gst_audio_resample_process() 753 && gst_buffer_n_memory (inbuf) == 1 in gst_audio_resample_process() 754 && gst_memory_is_writable (gst_buffer_peek_memory (inbuf, 0)); in gst_audio_resample_process() 756 gst_audio_buffer_map (&srcabuf, &resample->in, inbuf, in gst_audio_resample_process() 775 if (GST_BUFFER_FLAG_IS_SET (inbuf, GST_BUFFER_FLAG_GAP)) { in gst_audio_resample_process() 883 gst_audio_resample_transform (GstBaseTransform * base, GstBuffer * inbuf, in gst_audio_resample_transform() argument 892 gst_buffer_get_size (inbuf), GST_TIME_ARGS (GST_BUFFER_TIMESTAMP (inbuf)), in gst_audio_resample_transform() [all …]
|
/third_party/musl/libc-test/src/functional/ |
D | iconv_open.c | 10 char *inbuf = "test"; in main() local 12 size_t inlen = strlen(inbuf); in main() 30 r = iconv(cd, &inbuf, &inlen, &outbuf, &outlen); in main() 38 r = iconv(cd, &inbuf, &inlen, &outbuf, &outlen); in main()
|
/third_party/gstreamer/gstplugins_base/ext/gl/ |
D | gstglcolorconvertelement.c | 55 GstBuffer * inbuf, GstBuffer ** outbuf); 57 bt, GstBuffer * inbuf, GstBuffer * outbuf); 211 GstBuffer * inbuf, GstBuffer ** outbuf) in gst_gl_color_convert_element_prepare_output_buffer() argument 219 *outbuf = inbuf; in gst_gl_color_convert_element_prepare_output_buffer() 226 *outbuf = gst_gl_color_convert_perform (convert->convert, inbuf); in gst_gl_color_convert_element_prepare_output_buffer() 234 if (inbuf == *outbuf) in gst_gl_color_convert_element_prepare_output_buffer() 237 bclass->copy_metadata (bt, inbuf, *outbuf); in gst_gl_color_convert_element_prepare_output_buffer() 244 GstBuffer * inbuf, GstBuffer * outbuf) in gst_gl_color_convert_element_transform() argument
|