Home
last modified time | relevance | path

Searched refs:stream (Results 2276 - 2300 of 4000) sorted by relevance

1...<<919293949596979899100>>...160

/third_party/skia/tools/skpbench/
H A Dskpbench.cpp171 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(path.c_str()); in MakeFromFile() local
172 if (!stream) { return nullptr; } in MakeFromFile()
182 int page_count = SkMultiPictureDocumentReadPageCount(stream.get()); in MakeFromFile()
187 if (!SkMultiPictureDocumentRead(stream.get(), frames.data(), page_count, &procs)) { in MakeFromFile()
702 static sk_sp<SkPicture> create_skp_from_svg(SkStream* stream, const char* filename) { in create_skp_from_svg() argument
704 sk_sp<SkSVGDOM> svg = SkSVGDOM::MakeFromStream(*stream); in create_skp_from_svg()
/third_party/rust/crates/proc-macro2/src/
H A Dlib.rs177 /// An abstract stream of tokens, or more concretely a sequence of token trees.
180 /// collecting token trees into one stream.
182 /// Token stream is both the input and output of `#[proc_macro]`,
222 /// `TokenStream::default()` returns an empty stream,
231 /// stream.
281 .extend(streams.into_iter().map(|stream| stream.inner)); in extend()
285 /// Collects a number of token trees into a single stream.
297 /// Prints the token stream as a string that is supposed to be losslessly
298 /// convertible back into the same token stream (modul
704 pub fn stream(&self) -> TokenStream { stream() functions
[all...]
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fTextureBufferTests.cpp69 std::ostringstream stream; in toTestName() local
78 stream << (first ? "" : "_") << bitInfos[infoNdx].str; in toTestName()
83 return stream.str(); in toTestName()
100 std::ostringstream stream; in toTestName() local
109 stream << (first ? "" : "_") << bitInfos[infoNdx].str; in toTestName()
114 return stream.str(); in toTestName()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
H A Dqed_main.c1055 p_hwfn->stream->next_in = input_buf; in qed_unzip_data()
1056 p_hwfn->stream->avail_in = input_len; in qed_unzip_data()
1057 p_hwfn->stream->next_out = unzip_buf; in qed_unzip_data()
1058 p_hwfn->stream->avail_out = max_size; in qed_unzip_data()
1060 rc = zlib_inflateInit2(p_hwfn->stream, MAX_WBITS); in qed_unzip_data()
1068 rc = zlib_inflate(p_hwfn->stream, Z_FINISH); in qed_unzip_data()
1069 zlib_inflateEnd(p_hwfn->stream); in qed_unzip_data()
1073 p_hwfn->stream->msg, rc); in qed_unzip_data()
1077 return p_hwfn->stream->total_out / 4; in qed_unzip_data()
1088 p_hwfn->stream in qed_alloc_stream_mem()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/qlogic/qed/
H A Dqed_main.c1021 p_hwfn->stream->next_in = input_buf; in qed_unzip_data()
1022 p_hwfn->stream->avail_in = input_len; in qed_unzip_data()
1023 p_hwfn->stream->next_out = unzip_buf; in qed_unzip_data()
1024 p_hwfn->stream->avail_out = max_size; in qed_unzip_data()
1026 rc = zlib_inflateInit2(p_hwfn->stream, MAX_WBITS); in qed_unzip_data()
1034 rc = zlib_inflate(p_hwfn->stream, Z_FINISH); in qed_unzip_data()
1035 zlib_inflateEnd(p_hwfn->stream); in qed_unzip_data()
1039 p_hwfn->stream->msg, rc); in qed_unzip_data()
1043 return p_hwfn->stream->total_out / 4; in qed_unzip_data()
1054 p_hwfn->stream in qed_alloc_stream_mem()
[all...]
/kernel/linux/linux-6.6/sound/soc/sof/
H A Dipc3-topology.c513 /* component at start of pipeline is our stream id */ in sof_ipc3_widget_setup_comp_pipeline()
1806 /* get runtime PCM params using widget's stream name */ in sof_ipc3_keyword_detect_pcm_params()
1852 /* send stream trigger ipc */
1857 struct sof_ipc_stream stream; in sof_ipc3_keyword_detect_trigger() local
1860 /* set IPC stream params */ in sof_ipc3_keyword_detect_trigger()
1861 stream.hdr.size = sizeof(stream); in sof_ipc3_keyword_detect_trigger()
1862 stream.hdr.cmd = SOF_IPC_GLB_STREAM_MSG | cmd; in sof_ipc3_keyword_detect_trigger()
1863 stream.comp_id = swidget->comp_id; in sof_ipc3_keyword_detect_trigger()
1866 ret = sof_ipc_tx_message_no_reply(sdev->ipc, &stream, sizeo in sof_ipc3_keyword_detect_trigger()
1878 int stream = SNDRV_PCM_STREAM_CAPTURE; sof_ipc3_keyword_dapm_event() local
[all...]
/third_party/nghttp2/src/
H A Dh2load.cc928 auto &stream = (*itr).second; in on_header() local
931 // If the stream is for warm-up phase, then mark as a success in on_header()
934 stream.status_success = 1; in on_header()
938 if (stream.status_success == -1 && namelen == 7 && in on_header()
946 stream.status_success = 0; in on_header()
954 stream.req_stat.status = status; in on_header()
957 stream.status_success = 1; in on_header()
960 stream.status_success = 1; in on_header()
963 stream.status_success = 0; in on_header()
965 stream in on_header()
975 auto &stream = (*itr).second; on_status_code() local
[all...]
/third_party/alsa-utils/aplay/
H A Daplay.c113 static snd_pcm_stream_t stream = SND_PCM_STREAM_PLAYBACK; variable
224 "-M, --mmap mmap stream\n" in usage()
283 snd_pcm_stream_name(stream)); in device_list()
305 snd_pcm_info_set_stream(pcminfo, stream); in device_list()
347 filter = stream == SND_PCM_STREAM_CAPTURE ? "Input" : "Output"; in pcm_list()
552 stream = SND_PCM_STREAM_CAPTURE;
558 stream = SND_PCM_STREAM_PLAYBACK;
765 stream = SND_PCM_STREAM_PLAYBACK;
769 stream = SND_PCM_STREAM_CAPTURE;
848 err = snd_pcm_open(&handle, pcm_name, stream, open_mod
[all...]
/kernel/linux/linux-5.10/net/sctp/
H A Dassociola.c229 if (sctp_stream_init(&asoc->stream, asoc->c.sinit_num_ostreams, 0, gfp)) in sctp_association_init()
276 sctp_stream_free(&asoc->stream); in sctp_association_init()
348 /* Free stream information. */ in sctp_association_free()
349 sctp_stream_free(&asoc->stream); in sctp_association_free()
1136 sctp_stream_clear(&asoc->stream); in sctp_assoc_update()
1162 sctp_stream_update(&asoc->stream, &new->stream); in sctp_assoc_update()
1392 sctp_datachk_len(&asoc->stream)); in sctp_assoc_update_frag_point()
1398 sctp_datachk_len(&asoc->stream)); in sctp_assoc_update_frag_point()
/kernel/linux/linux-5.10/sound/soc/fsl/
H A Dfsl_ssi.c16 // we receive in our (PCM-) data stream. The only chance we have is to
215 * @use_dma: DMA is used or FIQ with stream filter
230 * @fiq_params: FIQ stream filtering parameters
396 * when 1st stream starts, even if the opposite stream will not start
411 * the previous stream started. So skip all SxCR and SIER settings in fsl_ssi_config_enable()
426 /* Otherwise, only set bits for the current stream */ in fsl_ssi_config_enable()
467 /* Log the enabled stream to the mask */ in fsl_ssi_config_enable()
472 * Exclude bits that are used by the opposite stream
474 * When both streams are active, disabling some bits for the current stream
[all...]
H A Dfsl_sai.c41 * fsl_sai_dir_is_synced - Check if stream is synced by the opposite stream
45 * the stream's are synced by the opposite stream.
48 * @dir: stream direction
440 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in fsl_sai_hw_params()
471 if (!(sai->mclk_streams & BIT(substream->stream))) { in fsl_sai_hw_params()
476 sai->mclk_streams |= BIT(substream->stream); in fsl_sai_hw_params()
533 bool tx = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in fsl_sai_hw_free()
540 sai->mclk_streams & BIT(substream->stream)) { in fsl_sai_hw_free()
[all...]
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb-v2/
H A Dlmedm04.c754 static int lme2510_kill_urb(struct usb_data_stream *stream) in lme2510_kill_urb() argument
758 for (i = 0; i < stream->urbs_submitted; i++) { in lme2510_kill_urb()
761 usb_kill_urb(stream->urb_list[i]); in lme2510_kill_urb()
763 stream->urbs_submitted = 0; in lme2510_kill_urb()
1168 struct usb_data_stream_properties *stream) in lme2510_get_stream_config()
1186 stream->endpoint = 0x8; in lme2510_get_stream_config()
1204 lme2510_kill_urb(&adap->stream); in lme2510_exit()
1245 .stream =
1167 lme2510_get_stream_config(struct dvb_frontend *fe, u8 *ts_type, struct usb_data_stream_properties *stream) lme2510_get_stream_config() argument
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/link/protocols/
H A Dlink_dp_training.c1549 struct dc_stream_state *stream = pipe_ctx->stream; in perform_link_training_with_retries() local
1550 struct dc_link *link = stream->link; in perform_link_training_with_retries()
1557 bool is_link_bw_low = false; /* link bandwidth < stream bandwidth */ in perform_link_training_with_retries()
1587 if (stream->sink_patches.dppowerup_delay > 0) { in perform_link_training_with_retries()
1588 int delay_dp_power_up_in_ms = stream->sink_patches.dppowerup_delay; in perform_link_training_with_retries()
1594 struct cp_psp *cp_psp = &stream->ctx->cp_psp; in perform_link_training_with_retries()
1628 if (stream->signal == SIGNAL_TYPE_DISPLAY_PORT_MST) { in perform_link_training_with_retries()
1689 * - successfully trained but at a link rate lower than that required by stream; in perform_link_training_with_retries()
1715 /* Flag if reduced link bandwidth no longer meets stream requirement in perform_link_training_with_retries()
[all...]
/kernel/linux/linux-6.6/net/sctp/
H A Dassociola.c231 if (sctp_stream_init(&asoc->stream, asoc->c.sinit_num_ostreams, 0, gfp)) in sctp_association_init()
278 sctp_stream_free(&asoc->stream); in sctp_association_init()
349 /* Free stream information. */ in sctp_association_free()
350 sctp_stream_free(&asoc->stream); in sctp_association_free()
1144 sctp_stream_clear(&asoc->stream); in sctp_assoc_update()
1170 sctp_stream_update(&asoc->stream, &new->stream); in sctp_assoc_update()
1400 sctp_datachk_len(&asoc->stream)); in sctp_assoc_update_frag_point()
1406 sctp_datachk_len(&asoc->stream)); in sctp_assoc_update_frag_point()
/kernel/linux/linux-6.6/sound/soc/fsl/
H A Dfsl_ssi.c16 // we receive in our (PCM-) data stream. The only chance we have is to
216 * @use_dma: DMA is used or FIQ with stream filter
232 * @fiq_params: FIQ stream filtering parameters
401 * when 1st stream starts, even if the opposite stream will not start
416 * the previous stream started. So skip all SxCR and SIER settings in fsl_ssi_config_enable()
431 /* Otherwise, only set bits for the current stream */ in fsl_ssi_config_enable()
472 /* Log the enabled stream to the mask */ in fsl_ssi_config_enable()
477 * Exclude bits that are used by the opposite stream
479 * When both streams are active, disabling some bits for the current stream
[all...]
/kernel/linux/linux-6.6/sound/soc/qcom/
H A Dlpass-platform.c199 int ret, dma_ch, dir = substream->stream; in lpass_platform_pcmops_open()
331 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in __lpass_get_dmactl_handle()
366 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in __lpass_get_id()
587 reg = LPAIF_DMACTL_REG(v, pcm_data->dma_ch, substream->stream, dai_id); in lpass_platform_pcmops_hw_free()
608 int ret, id, ch, dir = substream->stream; in lpass_platform_pcmops_prepare()
869 int ret, ch, dir = substream->stream; in lpass_platform_pcmops_pointer()
1232 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in lpass_platform_copy()
1239 } else if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { in lpass_platform_copy()
/third_party/alsa-lib/src/pcm/
H A Dpcm_dmix.c953 * \param stream PCM Direction (stream)
964 snd_pcm_stream_t stream, int mode) in snd_pcm_dmix_open()
972 if (stream != SND_PCM_STREAM_PLAYBACK) { in snd_pcm_dmix_open()
973 SNDERR("The dmix plugin supports only playback stream"); in snd_pcm_dmix_open()
977 ret = _snd_pcm_direct_new(&pcm, &dmix, SND_PCM_TYPE_DMIX, name, opts, params, stream, mode); in snd_pcm_dmix_open()
997 ret = snd_pcm_open_slave(&spcm, root, sconf, stream, in snd_pcm_dmix_open()
1045 ret = snd_pcm_open_slave(&spcm, root, sconf, stream, in snd_pcm_dmix_open()
1279 * \param stream PCM Stream
1287 snd_pcm_stream_t stream, in in _snd_pcm_dmix_open()
960 snd_pcm_dmix_open(snd_pcm_t **pcmp, const char *name, struct snd_pcm_direct_open_conf *opts, struct slave_params *params, snd_config_t *root, snd_config_t *sconf, snd_pcm_stream_t stream, int mode) snd_pcm_dmix_open() argument
1285 _snd_pcm_dmix_open(snd_pcm_t **pcmp, const char *name, snd_config_t *root, snd_config_t *conf, snd_pcm_stream_t stream, int mode) _snd_pcm_dmix_open() argument
[all...]
H A Dpcm_ladspa.c231 if (ladspa->channels > 0 && pcm->stream == SND_PCM_STREAM_PLAYBACK) { in snd_pcm_ladspa_hw_refine_cprepare()
249 if (ladspa->channels > 0 && pcm->stream == SND_PCM_STREAM_CAPTURE) in snd_pcm_ladspa_hw_refine_sprepare()
324 list = pcm->stream == SND_PCM_STREAM_PLAYBACK ? &ladspa->pplugins : &ladspa->cplugins; in snd_pcm_ladspa_free_instances()
620 list = pcm->stream == SND_PCM_STREAM_PLAYBACK ? &ladspa->pplugins : &ladspa->cplugins; in snd_pcm_ladspa_allocate_instances()
622 (pcm->stream == SND_PCM_STREAM_PLAYBACK ? pcm->channels : ladspa->plug.gen.slave->channels); in snd_pcm_ladspa_allocate_instances()
698 if (pcm->stream == SND_PCM_STREAM_PLAYBACK) { in snd_pcm_ladspa_allocate_memory()
708 list = pcm->stream == SND_PCM_STREAM_PLAYBACK ? &ladspa->pplugins : &ladspa->cplugins; in snd_pcm_ladspa_allocate_memory()
1617 if (slave->stream == SND_PCM_STREAM_PLAYBACK) { in snd_pcm_ladspa_open()
1624 if (slave->stream == SND_PCM_STREAM_CAPTURE) { in snd_pcm_ladspa_open()
1634 err = snd_pcm_new(&pcm, SND_PCM_TYPE_LADSPA, name, slave->stream, slav in snd_pcm_ladspa_open()
1733 _snd_pcm_ladspa_open(snd_pcm_t **pcmp, const char *name, snd_config_t *root, snd_config_t *conf, snd_pcm_stream_t stream, int mode) _snd_pcm_ladspa_open() argument
[all...]
/third_party/cups-filters/filter/foomatic-rip/
H A Dutil.c295 size_t fwrite_or_die(const void* ptr, size_t size, size_t count, FILE* stream) { in fwrite_or_die() argument
296 size_t res = fwrite(ptr, size, count, stream); in fwrite_or_die()
297 if (ferror(stream)) in fwrite_or_die()
303 size_t fread_or_die(void* ptr, size_t size, size_t count, FILE* stream) { in fread_or_die() argument
304 size_t res = fread(ptr, size, count, stream); in fread_or_die()
305 if (ferror(stream)) in fread_or_die()
725 size_t fgetdstr(dstr_t *ds, FILE *stream) in fgetdstr() argument
736 while ((c = fgetc(stream)) != EOF) { in fgetdstr()
/third_party/lzma/CPP/7zip/Archive/7z/
H A D7zIn.cpp337 HRESULT CInArchive::FindAndReadSignature(IInStream *stream, const UInt64 *searchHeaderSizeLimit) in FindAndReadSignature() argument
339 RINOK(ReadStream_FALSE(stream, _header, kHeaderSize)) in FindAndReadSignature()
367 RINOK(stream->Read(buf + kHeaderSize, readSize, &processed)) in FindAndReadSignature()
388 return InStream_SeekSet(stream, _arhiveBeginStreamPosition + kHeaderSize); in FindAndReadSignature()
398 HRESULT CInArchive::Open(IInStream *stream, const UInt64 *searchHeaderSizeLimit) in Open() argument
402 RINOK(InStream_GetPos_GetSize(stream, _arhiveBeginStreamPosition, _fileEndPosition)) in Open()
403 RINOK(FindAndReadSignature(stream, searchHeaderSizeLimit)) in Open()
404 _stream = stream; in Open()
/third_party/node/test/parallel/
H A Dtest-stream-pipeline.js13 } = require('stream');
14 const pipelinep = require('stream/promises').pipeline;
133 [read, transform, write].forEach((stream) => {
134 stream.on('error', common.mustCall((err) => {
382 assert(finished, 'last stream finished');
573 const stream = new PassThrough();
575 stream.on('error', common.mustCall());
579 stream,
586 stream.destroy(new Error('oh no'));
826 // once from stream wrappe
[all...]
/third_party/skia/third_party/externals/freetype/src/cff/
H A Dcffobjs.c504 cff_face_init( FT_Stream stream, in FT_LOCAL_DEF()
551 /* create input stream from resource */ in FT_LOCAL_DEF()
557 error = sfnt->init_face( stream, face, face_index, num_params, params ); in FT_LOCAL_DEF()
575 error = face->goto_table( face, TTAG_head, stream, 0 ); in FT_LOCAL_DEF()
581 error = sfnt->load_face( stream, face, face_index, in FT_LOCAL_DEF()
589 error = sfnt->load_cmap( face, stream ); in FT_LOCAL_DEF()
596 error = face->goto_table( face, TTAG_CFF2, stream, 0 ); in FT_LOCAL_DEF()
604 error = face->goto_table( face, TTAG_CFF, stream, 0 ); in FT_LOCAL_DEF()
631 stream, in FT_LOCAL_DEF()
/third_party/jinja2/
H A Dcompiler.py106 stream: t.Optional[t.TextIO] = None,
115 environment, name, filename, stream, defer_init, optimized
119 if stream is None:
120 return generator.stream.getvalue() # type: ignore
306 stream: t.Optional[t.TextIO] = None,
310 if stream is None:
311 stream = StringIO()
315 self.stream = stream
454 """Write a string into the output stream
[all...]
/third_party/node/deps/v8/third_party/jinja2/
H A Dcompiler.py79 node, environment, name, filename, stream=None, defer_init=False, optimized=True
85 environment, name, filename, stream, defer_init, optimized
88 if stream is None:
89 return generator.stream.getvalue()
249 self, environment, name, filename, stream=None, defer_init=False, optimized=True
251 if stream is None:
252 stream = NativeStringIO()
256 self.stream = stream
386 """Write a string into the output stream
[all...]
/third_party/node/tools/inspector_protocol/jinja2/
H A Dcompiler.py74 def generate(node, environment, name, filename, stream=None,
80 stream, defer_init,
83 if stream is None:
84 return generator.stream.getvalue()
246 def __init__(self, environment, name, filename, stream=None,
248 if stream is None:
249 stream = NativeStringIO()
253 self.stream = stream
383 """Write a string into the output stream
[all...]

Completed in 42 milliseconds

1...<<919293949596979899100>>...160