/kernel/linux/linux-6.6/drivers/media/usb/uvc/ |
H A D | uvc_queue.c | 71 struct uvc_streaming *stream; in uvc_queue_setup() local 80 stream = uvc_queue_to_stream(queue); in uvc_queue_setup() 81 size = stream->ctrl.dwMaxVideoFrameSize; in uvc_queue_setup() 153 struct uvc_streaming *stream = uvc_queue_to_stream(queue); in uvc_buffer_finish() local 157 uvc_video_clock_update(stream, vbuf, buf); in uvc_buffer_finish() 163 struct uvc_streaming *stream = uvc_queue_to_stream(queue); in uvc_start_streaming() local 170 ret = uvc_video_start_streaming(stream); in uvc_start_streaming()
|
/kernel/linux/linux-6.6/sound/xen/ |
H A D | xen_snd_front_cfg.c | 338 struct xen_front_cfg_stream *stream; in cfg_stream() local 357 stream = &pcm_instance->streams_pb[(*cur_pb)++]; in cfg_stream() 360 stream = &pcm_instance->streams_cap[(*cur_cap)++]; in cfg_stream() 366 /* Get next stream index. */ in cfg_stream() 367 stream->index = (*stream_cnt)++; in cfg_stream() 368 stream->xenstore_path = stream_path; in cfg_stream() 370 * Check XenStore if PCM HW configuration exists for this stream in cfg_stream() 372 * but can still override some of the values for the stream. in cfg_stream() 374 cfg_read_pcm_hw(stream->xenstore_path, in cfg_stream() 375 &pcm_instance->pcm_hw, &stream in cfg_stream() [all...] |
/kernel/linux/linux-6.6/sound/virtio/ |
H A D | virtio_pcm.c | 315 * virtsnd_pcm_parse_cfg() - Parse the stream configuration. 434 struct virtio_pcm_stream *stream = &vpcm->streams[i]; in virtsnd_pcm_build_devs() local 436 if (!stream->nsubstreams) in virtsnd_pcm_build_devs() 439 stream->substreams = in virtsnd_pcm_build_devs() 440 devm_kcalloc(&vdev->dev, stream->nsubstreams, in virtsnd_pcm_build_devs() 441 sizeof(*stream->substreams), in virtsnd_pcm_build_devs() 443 if (!stream->substreams) in virtsnd_pcm_build_devs() 446 stream->nsubstreams = 0; in virtsnd_pcm_build_devs()
|
/kernel/linux/linux-6.6/sound/soc/meson/ |
H A D | axg-tdm-interface.c | 194 /* Make sure this interface can cope with the stream */ in axg_tdm_iface_set_stream() 201 dev_err(dai->dev, "incompatible slots width for stream\n"); in axg_tdm_iface_set_stream() 374 int stream; in axg_tdm_iface_remove_dai() local 376 for_each_pcm_streams(stream) { in axg_tdm_iface_remove_dai() 377 struct axg_tdm_stream *ts = snd_soc_dai_dma_data_get(dai, stream); in axg_tdm_iface_remove_dai() 389 int stream; in axg_tdm_iface_probe_dai() local 391 for_each_pcm_streams(stream) { in axg_tdm_iface_probe_dai() 394 if (!snd_soc_dai_get_widget(dai, stream)) in axg_tdm_iface_probe_dai() 402 snd_soc_dai_dma_data_set(dai, stream, ts); in axg_tdm_iface_probe_dai() 517 * We'll change the number of channel provided by DAI stream, s in axg_tdm_iface_probe() [all...] |
/kernel/linux/linux-6.6/sound/soc/sh/ |
H A D | siu_pcm.c | 213 dev_dbg(dev, "%s: stream inactive\n", __func__); in siu_io_work() 217 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { in siu_io_work() 309 if (ss->stream == SNDRV_PCM_STREAM_PLAYBACK) { in siu_pcm_open() 343 if (ss->stream == SNDRV_PCM_STREAM_PLAYBACK) in siu_pcm_close() 366 if (ss->stream == SNDRV_PCM_STREAM_PLAYBACK) in siu_pcm_prepare() 416 if (ss->stream == SNDRV_PCM_STREAM_PLAYBACK) in siu_pcm_trigger() 427 if (ss->stream == SNDRV_PCM_STREAM_PLAYBACK) in siu_pcm_trigger() 458 if (ss->stream == SNDRV_PCM_STREAM_PLAYBACK) in siu_pcm_pointer_dma()
|
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/localedistance/ |
H A D | LocaleDistanceMapper.java | 22 import java.util.stream.Collectors; 23 import java.util.stream.Stream; 143 icuData.add(MATCH_DISTANCES, RbValue.of(Arrays.stream(distanceData.distances).mapToObj(Integer::toString))); in process() 377 checkState(rules.stream().distinct().count() == rules.size(), "duplicated rule in: %s", rules); in buildDistanceData() 431 map.entrySet().stream() in ofMapEntries() 448 lsrs.stream() in ofLsrs() 469 hexValues.add(line.stream().map(b -> String.format("%02x", b)).collect(Collectors.joining())); in ofBytes()
|
/third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/ant/ |
H A D | ConvertIcuDataTask.java | 15 import static java.util.stream.Collectors.joining; 26 import java.util.stream.Collectors; 116 .splitToList(types).stream() in setOutputTypes() 270 filter.forcedAliases.stream().map(a -> a.source).collect(Collectors.toSet()); in addConfiguredDirectory() 280 filter.forcedAliases.stream().map(a -> a.target).collect(Collectors.toSet()); in addConfiguredDirectory() 352 return altPaths.stream() in getGlobalAltPaths() 360 return altPaths.stream() in getLocaleAltPaths() 362 a -> a.localeIds.stream().map( in getLocaleAltPaths() 404 Arrays.stream(enumClass.getEnumConstants()) in resolve()
|
/third_party/mesa3d/src/compiler/nir/ |
H A D | nir_gather_xfb_info.c | 105 assert(xfb->buffer_to_stream[buffer] == var->data.stream); in add_var_xfb_outputs() 109 xfb->buffer_to_stream[buffer] = var->data.stream; in add_var_xfb_outputs() 112 assert(var->data.stream < NIR_MAX_XFB_STREAMS); in add_var_xfb_outputs() 113 xfb->streams_written |= (1 << var->data.stream); in add_var_xfb_outputs() 365 uint8_t stream = (sem.gs_streams >> (i * 2)) & 0x3; in nir_gather_xfb_info_from_intrinsics() local 366 buffer_to_stream[out.buffer] = stream; in nir_gather_xfb_info_from_intrinsics() 368 stream_mask |= BITFIELD_BIT(stream); in nir_gather_xfb_info_from_intrinsics() 472 fprintf(fp, "buffer%u: stride=%u varying_count=%u stream=%u\n", i, in nir_print_xfb_info()
|
/third_party/node/src/ |
H A D | process_wrap.cc | 97 uv_stream_t* stream = LibuvStreamWrap::From(env, handle)->stream(); in StreamForWrap() local 98 CHECK_NOT_NULL(stream); in StreamForWrap() 99 return stream; in StreamForWrap() 125 options->stdio[i].data.stream = StreamForWrap(env, stdio); in ParseStdioOptions() 130 options->stdio[i].data.stream = StreamForWrap(env, stdio); in ParseStdioOptions() 133 options->stdio[i].data.stream = StreamForWrap(env, stdio); in ParseStdioOptions()
|
H A D | stream_base.h | 45 StreamBase* stream, 57 StreamBase* stream() const { return stream_; } in stream() function in node::StreamReq 80 StreamBase* stream, 88 // Call stream()->EmitAfterShutdown() and dispose of this request wrap. 97 StreamBase* stream, 105 // Call stream()->EmitAfterWrite() and dispose of this request wrap. 114 // For example, the default `EmitToJSStreamListener` emits a stream's data 115 // as Buffers in JS, or `TLSWrap` reads and decrypts data from a stream. 120 // This is called when a stream wants to allocate memory before 156 // This is called by the stream i 167 StreamResource* stream() const { return stream_; } stream() function in node::StreamListener [all...] |
/third_party/node/deps/npm/node_modules/ssri/lib/ |
H A D | index.js | 31 // options used for calculating stream. can't be changed. 103 const err = new Error(`stream size mismatch when checking ${this.sri}.\n Wanted: ${this.expectedSize}\n Found: ${this.size}`) 439 function fromStream (stream, opts) { 442 stream.pipe(istream) 443 stream.on('error', reject) 496 function checkStream (stream, sri, opts) { 509 stream.pipe(checker) 510 stream.on('error', reject)
|
/third_party/node/deps/openssl/openssl/crypto/evp/ |
H A D | e_des3.c | 34 } stream; member 112 if (dat->stream.cbc != NULL) { in des_ede_cbc_cipher() 113 (*dat->stream.cbc) (in, out, inl, dat->ks.ks, in des_ede_cbc_cipher() 230 dat->stream.cbc = NULL; in des_ede_init_key() 239 dat->stream.cbc = enc ? des_t4_ede3_cbc_encrypt : in des_ede_init_key() 257 dat->stream.cbc = NULL; in des_ede3_init_key() 266 dat->stream.cbc = enc ? des_t4_ede3_cbc_encrypt : in des_ede3_init_key()
|
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/WellKnownTypes/ |
H A D | WrappersTest.cs | 321 // the binary stream. In fact we cheat a little bit - a message with an explicitly present default 334 using (var stream = new MemoryStream()) in MergingStreamExplicitValue() 336 var coded = new CodedOutputStream(stream); in MergingStreamExplicitValue() 342 bytes = stream.ToArray(); in MergingStreamExplicitValue() 391 var stream = new MemoryStream(); in UnknownFieldInWrapper() 392 var output = new CodedOutputStream(stream); in UnknownFieldInWrapper() 405 stream.Position = 0; in UnknownFieldInWrapper() 407 var message = TestWellKnownTypes.Parser.ParseFrom(stream); in UnknownFieldInWrapper()
|
/third_party/openssl/crypto/evp/ |
H A D | e_des3.c | 34 } stream; member 112 if (dat->stream.cbc != NULL) { in des_ede_cbc_cipher() 113 (*dat->stream.cbc) (in, out, inl, dat->ks.ks, in des_ede_cbc_cipher() 230 dat->stream.cbc = NULL; in des_ede_init_key() 239 dat->stream.cbc = enc ? des_t4_ede3_cbc_encrypt : in des_ede_init_key() 257 dat->stream.cbc = NULL; in des_ede3_init_key() 266 dat->stream.cbc = enc ? des_t4_ede3_cbc_encrypt : in des_ede3_init_key()
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
H A D | intermOut.cpp | 49 TStringStream stream; in getCompleteString() local 52 stream << getQualifierString() << " " << getPrecisionString() << " "; in getCompleteString() 54 stream << "array of "; in getCompleteString() 56 stream << static_cast<int>(primarySize) << "X" << static_cast<int>(secondarySize) << " matrix of "; in getCompleteString() 58 stream << static_cast<int>(primarySize) << "-component vector of "; in getCompleteString() 60 stream << getBasicString(); in getCompleteString() 61 return stream.str(); in getCompleteString()
|
/third_party/skia/third_party/externals/freetype/src/pfr/ |
H A D | pfrsbit.c | 586 FT_Stream stream = face->root.stream; in FT_LOCAL() local 636 pfr_lookup_bitmap_data( stream->cursor, in FT_LOCAL() 637 stream->limit, in FT_LOCAL() 680 p = stream->cursor; in FT_LOCAL() 681 error = pfr_load_bitmap_metrics( &p, stream->limit, in FT_LOCAL() 693 * Format 0: We have a stream of pixels (with 8 pixels per byte). in FT_LOCAL() 791 stream->limit, in FT_LOCAL()
|
/third_party/protobuf/src/google/protobuf/compiler/ |
H A D | importer.cc | 431 std::unique_ptr<io::ZeroCopyInputStream> stream(OpenDiskFile(disk_file)); in DiskFileToVirtualFile() 432 if (stream == NULL) { in DiskFileToVirtualFile() 441 std::unique_ptr<io::ZeroCopyInputStream> stream( in VirtualFileToDiskFile() 443 return stream != NULL; in VirtualFileToDiskFile() 471 io::ZeroCopyInputStream* stream = OpenDiskFile(temp_disk_file); in OpenVirtualFile() local 472 if (stream != NULL) { in OpenVirtualFile() 476 return stream; in OpenVirtualFile()
|
/third_party/python/Lib/lib2to3/pgen2/ |
H A D | pgen.py | 12 def __init__(self, filename, stream=None): 14 if stream is None: 15 stream = open(filename, encoding="utf-8") 16 close_stream = stream.close 18 self.stream = stream 19 self.generator = tokenize.generate_tokens(stream.readline)
|
/third_party/skia/dm/ |
H A D | DMSrcSink.cpp | 1092 std::unique_ptr<SkStream> stream = SkStream::MakeFromFile(fPath.c_str()); in draw() local 1093 if (!stream) { in draw() 1096 sk_sp<SkPicture> pic(SkPicture::MakeFromStream(stream.get())); in draw() 1100 stream = nullptr; // Might as well drop this when we're done with it. in draw() 1107 std::unique_ptr<SkStream> stream = SkStream::MakeFromFile(path); in get_cull_rect_for_skp() local 1108 if (!stream) { in get_cull_rect_for_skp() 1112 if (!SkPicture_StreamIsSKP(stream.get(), &info)) { in get_cull_rect_for_skp() 1328 auto stream = SkStream::MakeFromFile(path.c_str()); in SVGSrc() local 1329 if (!stream) { in SVGSrc() 1338 .make(*stream); in SVGSrc() 1390 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(fPath.c_str()); MSKPSrc() local 1417 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(fPath.c_str()); draw() local 2204 draw_to_canvas(Sink* sink, SkBitmap* bitmap, SkWStream* stream, SkString* log, SkISize size, const DrawToCanvasFn& draw) draw_to_canvas() argument 2255 draw(const Src& src, SkBitmap* bitmap, SkWStream* stream, SkString* log) const draw() argument 2269 draw(const Src& src, SkBitmap* bitmap, SkWStream* stream, SkString* log) const draw() argument 2301 draw( const Src& src, SkBitmap* bitmap, SkWStream* stream, SkString* log) const draw() argument 2330 draw(const Src& src, SkBitmap* bitmap, SkWStream* stream, SkString* log) const draw() argument 2354 draw(const Src& src, SkBitmap* bitmap, SkWStream* stream, SkString* log) const draw() argument [all...] |
/kernel/linux/linux-5.10/sound/soc/amd/raven/ |
H A D | acp3x-i2s.c | 89 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in acp3x_i2s_hwparams() 113 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in acp3x_i2s_hwparams() 165 substream->stream); in acp3x_i2s_trigger() 166 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in acp3x_i2s_trigger() 212 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in acp3x_i2s_trigger()
|
/kernel/linux/linux-5.10/sound/firewire/tascam/ |
H A D | tascam-pcm.c | 15 struct amdtp_stream *stream; in pcm_init_hw_params() local 18 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { in pcm_init_hw_params() 20 stream = &tscm->tx_stream; in pcm_init_hw_params() 24 stream = &tscm->rx_stream; in pcm_init_hw_params() 40 return amdtp_tscm_add_pcm_hw_constraints(stream, runtime); in pcm_init_hw_params() 64 // When source of clock is not internal or any stream is reserved for in pcm_open()
|
/kernel/linux/linux-5.10/sound/firewire/motu/ |
H A D | motu-pcm.c | 100 struct amdtp_stream *stream; in init_hw_info() local 104 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) { in init_hw_info() 106 stream = &motu->tx_stream; in init_hw_info() 110 stream = &motu->rx_stream; in init_hw_info() 127 return amdtp_motu_add_pcm_hw_constraints(stream, runtime); in init_hw_info() 155 // When source of clock is not internal or any stream is reserved for in pcm_open()
|
/kernel/linux/linux-5.10/sound/soc/tegra/ |
H A D | tegra_pcm.c | 158 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in tegra_pcm_hw_params() 216 static int tegra_pcm_preallocate_dma_buffer(struct snd_pcm *pcm, int stream, in tegra_pcm_preallocate_dma_buffer() argument 219 struct snd_pcm_substream *substream = pcm->streams[stream].substream; in tegra_pcm_preallocate_dma_buffer() 234 static void tegra_pcm_deallocate_dma_buffer(struct snd_pcm *pcm, int stream) in tegra_pcm_deallocate_dma_buffer() argument 239 substream = pcm->streams[stream].substream; in tegra_pcm_deallocate_dma_buffer()
|
/kernel/linux/linux-6.6/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/gpu/drm/amd/display/dc/dce/ |
H A D | dmub_replay.c | 151 res_ctx->pipe_ctx[i].stream && in dmub_replay_copy_settings() 152 res_ctx->pipe_ctx[i].stream->link && in dmub_replay_copy_settings() 153 res_ctx->pipe_ctx[i].stream->link == link && in dmub_replay_copy_settings() 154 res_ctx->pipe_ctx[i].stream->link->connector_signal == SIGNAL_TYPE_EDP) { in dmub_replay_copy_settings() 196 copy_settings_data->flags.bitfields.dsc_enable_status = (pipe_ctx->stream->timing.flags.DSC == 1); in dmub_replay_copy_settings()
|