/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_jpeg_image.cpp | 134 dng_memory_stream stream (fHost.Allocator ()); in Process() 138 stream, in Process() 147 fJPEGImage.fJPEGData [tileIndex].Reset (stream.AsMemoryBlock (fHost.Allocator ())); in Process()
|
/third_party/skia/platform_tools/android/apps/skottie/skottielib/src/main/cpp/ |
H A D | native-lib.cpp | 141 std::unique_ptr<SkStream> stream = SkMemoryStream::Make(data); in Java_org_skia_skottie_SkottieAnimation_nCreateProxy() local 142 if (!stream.get()) { in Java_org_skia_skottie_SkottieAnimation_nCreateProxy() 143 // Cannot create a stream in Java_org_skia_skottie_SkottieAnimation_nCreateProxy() 149 skottieAnimation->mStream = std::move(stream); in Java_org_skia_skottie_SkottieAnimation_nCreateProxy()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/ |
H A D | os_win32.c | 219 int os_fdatasync(FILE *stream) in os_fdatasync() argument 223 if (stream == NULL) in os_fdatasync() 226 h = (HANDLE) _get_osfhandle(_fileno(stream)); in os_fdatasync()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | os_win32.c | 219 int os_fdatasync(FILE *stream) in os_fdatasync() argument 223 if (stream == NULL) in os_fdatasync() 226 h = (HANDLE) _get_osfhandle(_fileno(stream)); in os_fdatasync()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/display/dc/dcn30/ |
H A D | dcn30_resource.c | 1458 if (!res_ctx->pipe_ctx[i].stream) in dcn30_populate_dml_pipes_from_context() 1477 struct dc_stream_state *stream = res_ctx->pipe_ctx[i].stream; in dcn30_populate_dml_writeback_from_context() local 1479 if (!stream) in dcn30_populate_dml_writeback_from_context() 1486 for (j = 0; j < stream->num_wb_info; j++) { in dcn30_populate_dml_writeback_from_context() 1487 struct dc_writeback_info *wb_info = &stream->writeback_info[j]; in dcn30_populate_dml_writeback_from_context() 1595 if (!context->res_ctx.pipe_ctx[i].stream) in dcn30_set_mcif_arb_params() 1599 struct dc_writeback_info *writeback_info = &context->res_ctx.pipe_ctx[i].stream->writeback_info[j]; in dcn30_set_mcif_arb_params() 1604 //wb_arb_params = &context->res_ctx.pipe_ctx[i].stream->writeback_info[j].mcif_arb_params; in dcn30_set_mcif_arb_params() 1617 wb_arb_params->time_per_pixel = (1000000 << 6) / context->res_ctx.pipe_ctx[i].stream in dcn30_set_mcif_arb_params() [all...] |
/kernel/linux/linux-5.10/sound/pci/rme9652/ |
H A D | rme9652.c | 169 /* the size of a substream (1 mono data stream) */ 1845 int stream, in rme9652_channel_buffer_location() 1858 if (stream == SNDRV_PCM_STREAM_CAPTURE) { in rme9652_channel_buffer_location() 1878 substream->pstr->stream, in snd_rme9652_playback_copy() 1895 substream->pstr->stream, in snd_rme9652_playback_copy_kernel() 1914 substream->pstr->stream, in snd_rme9652_capture_copy() 1931 substream->pstr->stream, in snd_rme9652_capture_copy_kernel() 1947 substream->pstr->stream, in snd_rme9652_hw_silence() 1960 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in snd_rme9652_reset() 1991 if (substream->pstr->stream in snd_rme9652_hw_params() 1844 rme9652_channel_buffer_location(struct snd_rme9652 *rme9652, int stream, int channel) rme9652_channel_buffer_location() argument [all...] |
/kernel/linux/linux-6.6/drivers/soundwire/ |
H A D | qcom.c | 1115 struct sdw_stream_runtime *stream) in qcom_swrm_stream_free_ports() 1123 list_for_each_entry(m_rt, &stream->master_list, stream_node) { in qcom_swrm_stream_free_ports() 1137 struct sdw_stream_runtime *stream, in qcom_swrm_stream_alloc_ports() 1152 list_for_each_entry(m_rt, &stream->master_list, stream_node) { in qcom_swrm_stream_alloc_ports() 1192 sconfig.type = stream->type; in qcom_swrm_stream_alloc_ports() 1195 nports, stream); in qcom_swrm_stream_alloc_ports() 1216 substream->stream); in qcom_swrm_hw_params() 1236 void *stream, int direction) in qcom_swrm_set_sdw_stream() 1240 ctrl->sruntime[dai->id] = stream; in qcom_swrm_set_sdw_stream() 1280 substream->stream); in qcom_swrm_startup() 1114 qcom_swrm_stream_free_ports(struct qcom_swrm_ctrl *ctrl, struct sdw_stream_runtime *stream) qcom_swrm_stream_free_ports() argument 1136 qcom_swrm_stream_alloc_ports(struct qcom_swrm_ctrl *ctrl, struct sdw_stream_runtime *stream, struct snd_pcm_hw_params *params, int direction) qcom_swrm_stream_alloc_ports() argument 1235 qcom_swrm_set_sdw_stream(struct snd_soc_dai *dai, void *stream, int direction) qcom_swrm_set_sdw_stream() argument 1329 struct snd_soc_pcm_stream *stream; qcom_swrm_register_dais() local [all...] |
/kernel/linux/linux-6.6/sound/soc/intel/avs/ |
H A D | pcm.c | 25 * link stream is stored within substream's runtime 28 * host stream assigned 66 template = avs_dai_find_path_template(dai, is_fe, substream->stream); in avs_dai_startup() 131 for_each_dpcm_fe(be, substream->stream, dpcm) { in avs_dai_be_hw_params() 133 fe_hw_params = &fe->dpcm[substream->stream].hw_params; in avs_dai_be_hw_params() 322 /* clear link <-> stream mapping */ in avs_dai_hda_be_hw_free() 328 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in avs_dai_hda_be_hw_free() 361 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in avs_dai_hda_be_prepare() 538 for_each_dpcm_be(fe, substream->stream, dpcm) { in avs_dai_fe_hw_params() 540 be_hw_params = &be->dpcm[substream->stream] in avs_dai_fe_hw_params() 1093 avs_hda_stream_dpib_read(struct hdac_ext_stream *stream) avs_hda_stream_dpib_read() argument 1327 int stream; avs_component_hda_unregister_dais() local [all...] |
/third_party/alsa-lib/src/pcm/ |
H A D | pcm_hw.c | 443 (hw->subdevice << 1) | (pcm->stream & 1), in snd_pcm_hw_change_timer() 450 (hw->subdevice << 1) | (pcm->stream & 1), in snd_pcm_hw_change_timer() 723 assert(pcm->stream != SND_PCM_STREAM_PLAYBACK || in snd_pcm_hw_start() 759 if (pcm->stream != SND_PCM_STREAM_PLAYBACK) in snd_pcm_hw_drain() 761 /* stream probably in SETUP, prevent divide by zero */ in snd_pcm_hw_drain() 1246 int stream) in __fill_chmap_ctl_id() 1249 if (stream == SND_PCM_STREAM_PLAYBACK) in __fill_chmap_ctl_id() 1260 __fill_chmap_ctl_id(id, hw->device, hw->subdevice, pcm->stream); in fill_chmap_ctl_id() 1274 * \param stream the direction of PCM stream 1245 __fill_chmap_ctl_id(snd_ctl_elem_id_t *id, int dev, int subdev, int stream) __fill_chmap_ctl_id() argument 1286 snd_pcm_query_chmaps_from_hw(int card, int dev, int subdev, snd_pcm_stream_t stream) snd_pcm_query_chmaps_from_hw() argument 1751 snd_pcm_hw_open(snd_pcm_t **pcmp, const char *name, int card, int device, int subdevice, snd_pcm_stream_t stream, int mode, int mmap_emulation ATTRIBUTE_UNUSED, int sync_ptr_ioctl) snd_pcm_hw_open() argument 1878 _snd_pcm_hw_open(snd_pcm_t **pcmp, const char *name, snd_config_t *root ATTRIBUTE_UNUSED, snd_config_t *conf, snd_pcm_stream_t stream, int mode) _snd_pcm_hw_open() argument [all...] |
H A D | pcm_lfloat.c | 280 if (pcm->stream == SND_PCM_STREAM_PLAYBACK) { in snd_pcm_lfloat_hw_params() 404 err = snd_pcm_new(&pcm, SND_PCM_TYPE_LINEAR_FLOAT, name, slave->stream, slave->mode); in snd_pcm_lfloat_open() 459 * \param stream Stream type 468 snd_pcm_stream_t stream, int mode) in _snd_pcm_lfloat_open() 503 err = snd_pcm_open_slave(&spcm, root, sconf, stream, mode, conf); in _snd_pcm_lfloat_open() 532 snd_pcm_stream_t stream ATTRIBUTE_UNUSED, in _snd_pcm_lfloat_open() 466 _snd_pcm_lfloat_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_lfloat_open() argument
|
H A D | pcm_linear.c | 315 if (pcm->stream == SND_PCM_STREAM_PLAYBACK) { in snd_pcm_linear_hw_params() 323 if (pcm->stream == SND_PCM_STREAM_PLAYBACK) in snd_pcm_linear_hw_params() 448 err = snd_pcm_new(&pcm, SND_PCM_TYPE_LINEAR, name, slave->stream, slave->mode); in snd_pcm_linear_open() 502 * \param stream Stream type 511 snd_pcm_stream_t stream, int mode) in _snd_pcm_linear_open() 545 err = snd_pcm_open_slave(&spcm, root, sconf, stream, mode, conf); in _snd_pcm_linear_open() 509 _snd_pcm_linear_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_linear_open() argument
|
H A D | pcm_mmap_emul.c | 281 /* HACK: don't start stream automatically at commit in mmap mode */ in sync_slave_write() 326 if (pcm->stream == SND_PCM_STREAM_PLAYBACK) in snd_pcm_mmap_emul_mmap_commit() 336 if (!map->mmap_emul || pcm->stream == SND_PCM_STREAM_PLAYBACK) in snd_pcm_mmap_emul_avail_update() 421 slave->stream, slave->mode); in __snd_pcm_mmap_emul_open() 465 * \param stream PCM Stream 474 snd_pcm_stream_t stream, int mode) in _snd_pcm_mmap_emul_open() 502 err = snd_pcm_open_slave(&spcm, root, sconf, stream, mode, conf); in _snd_pcm_mmap_emul_open() 471 _snd_pcm_mmap_emul_open(snd_pcm_t **pcmp, const char *name, snd_config_t *root ATTRIBUTE_UNUSED, snd_config_t *conf, snd_pcm_stream_t stream, int mode) _snd_pcm_mmap_emul_open() argument
|
/third_party/libuv/test/ |
H A D | test-spawn.c | 294 options.stdio[1].data.stream = (uv_stream_t*) &out; in TEST_IMPL() 598 options.stdio[0].data.stream = (uv_stream_t*) ∈ in TEST_IMPL() 600 options.stdio[1].data.stream = (uv_stream_t*) &out; in TEST_IMPL() 639 options.stdio[3].data.stream = (uv_stream_t*) &pipe; in TEST_IMPL() 797 options.stdio[1].data.stream = (uv_stream_t*) &out; in TEST_IMPL() 877 options.stdio[0].data.stream = (uv_stream_t*) ∈ in TEST_IMPL() 879 options.stdio[1].data.stream = (uv_stream_t*) &out; in TEST_IMPL() 881 options.stdio[2].data.stream = (uv_stream_t*) &err; in TEST_IMPL() 928 options.stdio[0].data.stream = (uv_stream_t*) ∈ in TEST_IMPL() 930 options.stdio[1].data.stream in TEST_IMPL() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | YAMLParser.cpp | 442 /// Generate tokens needed to close out the stream. 535 /// Are we at the start of the stream? 1792 report_fatal_error("Can only iterate over the stream once"); 2276 Document::Document(Stream &S) : stream(S), Root(nullptr) { in Document() 2289 if (stream.scanner->failed()) in skip() 2305 return stream.scanner->peekNext(); in peekNext() 2309 return stream.scanner->getNext(); in getNext() 2313 stream.scanner->setError(Message, Location.Range.begin()); in setError() 2317 return stream.scanner->failed(); in failed() 2329 return new (NodeAllocator) AliasNode(stream in parseBlockNode() [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/cadence/ |
H A D | cdns-csi2tx.c | 332 unsigned int stream; in csi2tx_start() local 354 stream = pad_idx - CSI2TX_PAD_SINK_STREAM0; in csi2tx_start() 357 * We use the stream ID there, but it's wrong. in csi2tx_start() 359 * A stream could very well send a data type that is in csi2tx_start() 360 * not equal to its stream ID. We need to find a in csi2tx_start() 364 csi2tx->base + CSI2TX_DT_CFG_REG(stream)); in csi2tx_start() 368 csi2tx->base + CSI2TX_DT_FORMAT_REG(stream)); in csi2tx_start() 375 csi2tx->base + CSI2TX_STREAM_IF_CFG_REG(stream)); in csi2tx_start()
|
/kernel/linux/linux-5.10/sound/soc/amd/raven/ |
H A D | acp3x-pcm-dma.c | 227 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in acp3x_dma_open() 266 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in acp3x_dma_hw_params() 293 config_acp3x_dma(rtd, substream->stream); in acp3x_dma_hw_params() 309 bytescount = acp_get_byte_count(rtd, substream->stream); in acp3x_dma_pointer() 346 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in acp3x_dma_close()
|
/kernel/linux/linux-5.10/sound/soc/ |
H A D | soc-generic-dmaengine-pcm.c | 27 if (!pcm->chan[substream->stream]) in dmaengine_dma_dev() 30 return pcm->chan[substream->stream]->device->dev; in dmaengine_dma_dev() 111 struct dma_chan *chan = pcm->chan[substream->stream]; in dmaengine_pcm_set_runtime_hwparams() 157 struct dma_chan *chan = pcm->chan[substream->stream]; in dmaengine_pcm_open() 262 "Missing dma channel for stream: %d\n", i); in dmaengine_pcm_new() 307 bool is_playback = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in dmaengine_copy_user()
|
/kernel/linux/linux-5.10/drivers/media/usb/as102/ |
H A D | as102_usb_drv.c | 238 dev->stream, in as102_free_usb_stream_buffer() 246 dev->stream = usb_alloc_coherent(dev->bus_adap.usb_dev, in as102_alloc_usb_stream_buffer() 250 if (!dev->stream) { in as102_alloc_usb_stream_buffer() 256 memset(dev->stream, 0, MAX_STREAM_URB * AS102_USB_BUF_SIZE); in as102_alloc_usb_stream_buffer() 268 urb->transfer_buffer = dev->stream + (i * AS102_USB_BUF_SIZE); in as102_alloc_usb_stream_buffer()
|
/kernel/linux/linux-6.6/drivers/media/platform/cadence/ |
H A D | cdns-csi2tx.c | 333 unsigned int stream; in csi2tx_start() local 355 stream = pad_idx - CSI2TX_PAD_SINK_STREAM0; in csi2tx_start() 358 * We use the stream ID there, but it's wrong. in csi2tx_start() 360 * A stream could very well send a data type that is in csi2tx_start() 361 * not equal to its stream ID. We need to find a in csi2tx_start() 365 csi2tx->base + CSI2TX_DT_CFG_REG(stream)); in csi2tx_start() 369 csi2tx->base + CSI2TX_DT_FORMAT_REG(stream)); in csi2tx_start() 376 csi2tx->base + CSI2TX_STREAM_IF_CFG_REG(stream)); in csi2tx_start()
|
/kernel/linux/linux-6.6/sound/soc/ |
H A D | soc-generic-dmaengine-pcm.c | 31 if (!pcm->chan[substream->stream]) in dmaengine_dma_dev() 34 return pcm->chan[substream->stream]->device->dev; in dmaengine_dma_dev() 104 struct dma_chan *chan = pcm->chan[substream->stream]; in dmaengine_pcm_set_runtime_hwparams() 152 struct dma_chan *chan = pcm->chan[substream->stream]; in dmaengine_pcm_open() 255 "Missing dma channel for stream: %d\n", i); in dmaengine_pcm_new() 300 bool is_playback = substream->stream == SNDRV_PCM_STREAM_PLAYBACK; in dmaengine_copy()
|
/kernel/linux/linux-6.6/sound/soc/amd/vangogh/ |
H A D | acp5x-pcm-dma.c | 220 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in acp5x_dma_open() 258 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in acp5x_dma_hw_params() 286 config_acp5x_dma(rtd, substream->stream); in acp5x_dma_hw_params() 301 bytescount = acp_get_byte_count(rtd, substream->stream); in acp5x_dma_pointer() 331 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in acp5x_dma_close()
|
/kernel/linux/linux-6.6/sound/soc/amd/raven/ |
H A D | acp3x-pcm-dma.c | 225 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in acp3x_dma_open() 264 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in acp3x_dma_hw_params() 291 config_acp3x_dma(rtd, substream->stream); in acp3x_dma_hw_params() 307 bytescount = acp_get_byte_count(rtd, substream->stream); in acp3x_dma_pointer() 337 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in acp3x_dma_close()
|
/kernel/linux/linux-6.6/sound/soc/fsl/ |
H A D | fsl_dma.c | 169 if (dma_private->substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in fsl_dma_update_pointers() 398 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in fsl_dma_open() 476 mr |= (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) ? in fsl_dma_open() 487 * This function obtains hardware parameters about the opened stream and 636 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in fsl_dma_hw_params() 664 * stream buffer the hardware currently is. 686 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in fsl_dma_pointer() 712 dev_err(dev, "dma pointer is out of range, halting stream\n"); in fsl_dma_pointer() 768 * fsl_dma_close: close the stream.
|
/third_party/node/test/fixtures/wpt/streams/readable-streams/ |
H A D | async-iterator.any.js | 160 }, 'Async-iterating an errored stream throws'); 172 }, 'Async-iterating a closed stream never executes the loop body, but works fine'); 188 }, 'Async-iterating an empty but not closed/errored stream never executes the loop body and stalls the async function'); 210 }, 'Async-iterating a partially consumed stream'); 285 }, 'next() rejects if the stream errors'); 304 }, 'return() does not rejects if the stream has not errored yet'); 319 }, 'return() rejects if the stream has errored'); 540 }, 'Acquiring a reader after exhaustively async-iterating a stream'); 565 // i.e. it should not reject with a generic "this stream is locked" TypeError. 568 }, 'Acquiring a reader after return()ing from a stream tha [all...] |
/third_party/node/deps/undici/src/lib/cache/ |
H A D | cache.js | 360 if (innerResponse.body && (isDisturbed(innerResponse.body.stream) || innerResponse.body.stream.locked)) { 376 const stream = innerResponse.body.stream 379 const reader = stream.getReader()
|