Home
last modified time | relevance | path

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

12

/third_party/ffmpeg/libavdevice/
Dsndio.c40 struct sio_hdl *hdl; in ff_sndio_open() local
43 hdl = sio_open(audio_device, is_output ? SIO_PLAY : SIO_REC, 0); in ff_sndio_open()
44 if (!hdl) { in ff_sndio_open()
61 if (!sio_setpar(hdl, &par) || !sio_getpar(hdl, &par)) { in ff_sndio_open()
92 sio_onmove(hdl, movecb, s); in ff_sndio_open()
94 if (!sio_start(hdl)) { in ff_sndio_open()
99 s->hdl = hdl; in ff_sndio_open()
106 if (hdl) in ff_sndio_open()
107 sio_close(hdl); in ff_sndio_open()
116 if (s->hdl) in ff_sndio_close()
[all …]
Dsndio_enc.c60 ret = sio_write(s->hdl, s->buffer, s->buffer_size); in audio_write_packet()
61 if (ret == 0 || sio_eof(s->hdl)) in audio_write_packet()
75 sio_write(s->hdl, s->buffer, s->buffer_offset); in audio_write_trailer()
Dsndio_dec.c68 ret = sio_read(s->hdl, pkt->data, pkt->size); in audio_read_packet()
69 if (ret == 0 || sio_eof(s->hdl)) { in audio_read_packet()
Dsndio.h33 struct sio_hdl *hdl; member
/third_party/node/test/async-hooks/
Dtest-zlib.zlib-binding.deflate.js20 const hdl = as[0]; constant
21 assert.strictEqual(hdl.type, 'ZLIB');
22 assert.strictEqual(typeof hdl.uid, 'number');
23 assert.strictEqual(typeof hdl.triggerAsyncId, 'number');
24 checkInvocations(hdl, { init: 1 }, 'when created handle');
44 checkInvocations(hdl, { init: 1 }, 'when initialized handle');
49 checkInvocations(hdl, { init: 1 }, 'when invoked write() on handle');
54 checkInvocations(hdl, { init: 1, before: 1 },
59 checkInvocations(hdl, { init: 1, before: 2, after: 1 },
71 checkInvocations(hdl, { init: 1, before: 2, after: 2 }, 'when process exits');
/third_party/NuttX/drivers/usbdev/gadget/
Dusbd_video.c96 static int uvc_check_handle(uvc_t hdl) in uvc_check_handle() argument
103 if (hdl == NULL) in uvc_check_handle()
119 hdl != (uvc_t)uvc) in uvc_check_handle()
183 static int uvc_wait_host_sub(uvc_t hdl, int *connected) in uvc_wait_host_sub() argument
189 ret = uvc_check_handle(hdl); in uvc_wait_host_sub()
194 uvc = (struct uvc_handle *)hdl; in uvc_wait_host_sub()
215 int uvc_wait_host(uvc_t hdl, int wait_option, int *connected) in uvc_wait_host() argument
227 ret = uvc_wait_host_sub(hdl, connected); in uvc_wait_host()
233 ret = uvc_wait_host_sub(hdl, connected); in uvc_wait_host()
249 int uvc_open_device(uvc_t *hdl, struct uvc_open_param *param) in uvc_open_device() argument
[all …]
Dusbd_video.h109 extern int uvc_open_device(uvc_t *hdl, struct uvc_open_param *param);
/third_party/gstreamer/gstplugins_good/gst/avi/
Dgstavimux.c1283 gboolean hdl = TRUE; in gst_avi_mux_riff_get_avi_header() local
1302 hdl &= gst_byte_writer_put_data (&bw, (guint8 *) "AVI ", 4); in gst_avi_mux_riff_get_avi_header()
1304 hdl &= gst_byte_writer_put_data (&bw, (guint8 *) "hdrl", 4); in gst_avi_mux_riff_get_avi_header()
1308 hdl &= gst_byte_writer_put_uint32_le (&bw, avimux->avi_hdr.us_frame); in gst_avi_mux_riff_get_avi_header()
1309 hdl &= gst_byte_writer_put_uint32_le (&bw, avimux->avi_hdr.max_bps); in gst_avi_mux_riff_get_avi_header()
1310 hdl &= gst_byte_writer_put_uint32_le (&bw, avimux->avi_hdr.pad_gran); in gst_avi_mux_riff_get_avi_header()
1311 hdl &= gst_byte_writer_put_uint32_le (&bw, avimux->avi_hdr.flags); in gst_avi_mux_riff_get_avi_header()
1312 hdl &= gst_byte_writer_put_uint32_le (&bw, avimux->avi_hdr.tot_frames); in gst_avi_mux_riff_get_avi_header()
1313 hdl &= gst_byte_writer_put_uint32_le (&bw, avimux->avi_hdr.init_frames); in gst_avi_mux_riff_get_avi_header()
1314 hdl &= gst_byte_writer_put_uint32_le (&bw, avimux->avi_hdr.streams); in gst_avi_mux_riff_get_avi_header()
[all …]
/third_party/gstreamer/gstplugins_good/gst/audioparsers/
Dgstwavpackparse.c399 gboolean hdl = TRUE; in gst_wavpack_parse_frame_header() local
411 hdl &= gst_byte_reader_get_uint32_le (&br, &wph.ckSize); in gst_wavpack_parse_frame_header()
412 hdl &= gst_byte_reader_get_uint16_le (&br, &wph.version); in gst_wavpack_parse_frame_header()
413 hdl &= gst_byte_reader_get_uint8 (&br, &wph.track_no); in gst_wavpack_parse_frame_header()
414 hdl &= gst_byte_reader_get_uint8 (&br, &wph.index_no); in gst_wavpack_parse_frame_header()
415 hdl &= gst_byte_reader_get_uint32_le (&br, &wph.total_samples); in gst_wavpack_parse_frame_header()
416 hdl &= gst_byte_reader_get_uint32_le (&br, &wph.block_index); in gst_wavpack_parse_frame_header()
417 hdl &= gst_byte_reader_get_uint32_le (&br, &wph.block_samples); in gst_wavpack_parse_frame_header()
418 hdl &= gst_byte_reader_get_uint32_le (&br, &wph.flags); in gst_wavpack_parse_frame_header()
419 hdl &= gst_byte_reader_get_uint32_le (&br, &wph.crc); in gst_wavpack_parse_frame_header()
[all …]
/third_party/libsnd/programs/
Dsndfile-play.c674 { struct sio_hdl *hdl ; in sndio_play() local
693 if ((hdl = sio_open (NULL, SIO_PLAY, 0)) == NULL) in sndio_play()
705 if (! sio_setpar (hdl, &par) || ! sio_getpar (hdl, &par)) in sndio_play()
710 if (! sio_start (hdl)) in sndio_play()
716 sio_write (hdl, buffer, readcount * sizeof (short)) ; in sndio_play()
718 sio_close (hdl) ; in sndio_play()
/third_party/e2fsprogs/misc/
Dcreate_inode.c615 if (hdlinks->hdl[i].src_dev == dev && in is_hardlink()
616 hdlinks->hdl[i].src_ino == ino) in is_hardlink()
860 hdlinks->hdl[hdlink].dst_ino, in __populate_fs()
1021 void *p = realloc(hdlinks->hdl, in __populate_fs()
1030 hdlinks->hdl = p; in __populate_fs()
1033 hdlinks->hdl[hdlinks->count].src_dev = st.st_dev; in __populate_fs()
1034 hdlinks->hdl[hdlinks->count].src_ino = st.st_ino; in __populate_fs()
1035 hdlinks->hdl[hdlinks->count].dst_ino = ino; in __populate_fs()
1063 hdlinks.hdl = realloc(NULL, hdlinks.size * sizeof(struct hdlink_s)); in populate_fs2()
1064 if (hdlinks.hdl == NULL) { in populate_fs2()
[all …]
Dcreate_inode.h22 struct hdlink_s *hdl; member
/third_party/libusb/libusb/os/
Dsunos_usb.c116 di_devlink_handle_t hdl; in sunos_physpath_to_devlink() local
120 if ((hdl = di_devlink_init(NULL, 0)) == NULL) { in sunos_physpath_to_devlink()
128 (void) di_devlink_walk(hdl, match, NULL, DI_PRIMARY_LINK, in sunos_physpath_to_devlink()
131 (void) di_devlink_fini(&hdl); in sunos_physpath_to_devlink()
829 sunos_check_device_and_status_open(struct libusb_device_handle *hdl, in sunos_check_device_and_status_open() argument
840 hpriv = usbi_get_device_handle_priv(hdl); in sunos_check_device_and_status_open()
851 if (sunos_find_interface(hdl, ep_addr, &ifc) < 0) { in sunos_check_device_and_status_open()
1281 struct libusb_device_handle *hdl = transfer->dev_handle; in solaris_submit_ctrl_on_default() local
1285 hpriv = usbi_get_device_handle_priv(hdl); in solaris_submit_ctrl_on_default()
1374 struct libusb_device_handle *hdl; in sunos_submit_transfer() local
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/pbutils/
Dcodec-utils.c2119 gboolean hdl = TRUE; in gst_codec_utils_opus_create_header() local
2147 hdl &= gst_byte_writer_put_data (&bw, (const guint8 *) "OpusHead", 8); in gst_codec_utils_opus_create_header()
2148 hdl &= gst_byte_writer_put_uint8 (&bw, 0x01); /* version number */ in gst_codec_utils_opus_create_header()
2149 hdl &= gst_byte_writer_put_uint8 (&bw, channels); in gst_codec_utils_opus_create_header()
2150 hdl &= gst_byte_writer_put_uint16_le (&bw, pre_skip); in gst_codec_utils_opus_create_header()
2151 hdl &= gst_byte_writer_put_uint32_le (&bw, rate); in gst_codec_utils_opus_create_header()
2152 hdl &= gst_byte_writer_put_uint16_le (&bw, output_gain); in gst_codec_utils_opus_create_header()
2153 hdl &= gst_byte_writer_put_uint8 (&bw, channel_mapping_family); in gst_codec_utils_opus_create_header()
2155 hdl &= gst_byte_writer_put_uint8 (&bw, stream_count); in gst_codec_utils_opus_create_header()
2156 hdl &= gst_byte_writer_put_uint8 (&bw, coupled_count); in gst_codec_utils_opus_create_header()
[all …]
/third_party/gstreamer/gstplugins_bad/sys/msdk/
Dgstmsdkallocator.h63 mfxStatus gst_msdk_frame_get_hdl(mfxHDL pthis, mfxMemId mid, mfxHDL *hdl);
Dgstmsdkallocator_d3d.c61 gst_msdk_frame_get_hdl (mfxHDL pthis, mfxMemId mid, mfxHDL * hdl) in gst_msdk_frame_get_hdl() argument
Dgstmsdkallocator_libva.c509 gst_msdk_frame_get_hdl (mfxHDL pthis, mfxMemId mid, mfxHDL * hdl) in gst_msdk_frame_get_hdl() argument
513 if (!hdl || !mid) in gst_msdk_frame_get_hdl()
517 *hdl = mem_id->surface; in gst_msdk_frame_get_hdl()
/third_party/ffmpeg/libavfilter/
Dvf_deinterlace_qsv.c158 static mfxStatus frame_get_hdl(mfxHDL pthis, mfxMemId mid, mfxHDL *hdl) in frame_get_hdl() argument
160 *hdl = mid; in frame_get_hdl()
Dvf_scale_qsv.c265 static mfxStatus frame_get_hdl(mfxHDL pthis, mfxMemId mid, mfxHDL *hdl) in frame_get_hdl() argument
267 *hdl = mid; in frame_get_hdl()
Dqsvvpp.c234 static mfxStatus frame_get_hdl(mfxHDL pthis, mfxMemId mid, mfxHDL *hdl) in frame_get_hdl() argument
236 *hdl = mid; in frame_get_hdl()
/third_party/ffmpeg/libavcodec/
Dqsv.c682 static mfxStatus qsv_frame_get_hdl(mfxHDL pthis, mfxMemId mid, mfxHDL *hdl) in qsv_frame_get_hdl() argument
685 *hdl = qsv_mid->handle; in qsv_frame_get_hdl()
/third_party/ejdb/src/bindings/ejdb2_flutter/lib/
Dejdb2_flutter.dart340 final hdl =
342 return EJDB2._(hdl);
/third_party/gstreamer/gstplugins_good/gst/isomp4/
Datoms.c5796 gboolean hdl = TRUE; in build_opus_extension() local
5800 hdl &= gst_byte_writer_put_uint8 (&bw, 0x00); /* version number */ in build_opus_extension()
5801 hdl &= gst_byte_writer_put_uint8 (&bw, channels); in build_opus_extension()
5802 hdl &= gst_byte_writer_put_uint16_le (&bw, pre_skip); in build_opus_extension()
5803 hdl &= gst_byte_writer_put_uint32_le (&bw, rate); in build_opus_extension()
5804 hdl &= gst_byte_writer_put_uint16_le (&bw, output_gain); in build_opus_extension()
5805 hdl &= gst_byte_writer_put_uint8 (&bw, mapping_family); in build_opus_extension()
5807 hdl &= gst_byte_writer_put_uint8 (&bw, stream_count); in build_opus_extension()
5808 hdl &= gst_byte_writer_put_uint8 (&bw, coupled_count); in build_opus_extension()
5809 hdl &= gst_byte_writer_put_data (&bw, channel_mapping, channels); in build_opus_extension()
[all …]
/third_party/libusb/examples/
Dxusb.c67 #define CALL_CHECK_CLOSE(fcall, hdl) do { int _r=fcall; if (_r < 0) { libusb_close(hdl); ERR_EXIT(_… argument
/third_party/ffmpeg/libavutil/
Dhwcontext_qsv.c434 static mfxStatus frame_get_hdl(mfxHDL pthis, mfxMemId mid, mfxHDL *hdl) in frame_get_hdl() argument
436 *hdl = mid; in frame_get_hdl()

12