/kernel/linux/linux-5.10/sound/firewire/fireface/ |
H A D | ff-midi.c | 76 static void set_midi_substream_names(struct snd_rawmidi_str *stream, in set_midi_substream_names() argument 81 list_for_each_entry(substream, &stream->substreams, list) { in set_midi_substream_names() 100 struct snd_rawmidi_str *stream; in snd_ff_create_midi_devices() local 116 stream = &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT]; in snd_ff_create_midi_devices() 117 set_midi_substream_names(stream, ff->card->shortname); in snd_ff_create_midi_devices() 122 stream = &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT]; in snd_ff_create_midi_devices() 123 set_midi_substream_names(stream, ff->card->shortname); in snd_ff_create_midi_devices()
|
/kernel/linux/linux-6.6/include/uapi/linux/ |
H A D | v4l2-subdev.h | 35 * @stream: stream number, defined in subdev routing 42 __u32 stream; member 51 * @stream: stream number, defined in subdev routing 58 __u32 stream; member 75 * @stream: stream number, defined in subdev routing 84 __u32 stream; member 98 * @stream 110 __u32 stream; global() member 124 __u32 stream; global() member 148 __u32 stream; global() member 174 __u32 stream; global() member [all...] |
/kernel/linux/patches/linux-6.6/prebuilts/usr/include/linux/ |
H A D | v4l2-subdev.h | 33 __u32 stream; member 40 __u32 stream; member 54 __u32 stream; member 66 __u32 stream; member 72 __u32 stream; member 83 __u32 stream; member 92 __u32 stream; member 117 * @sink_stream: the sink stream identifier 119 * @source_stream: the source stream identifier 148 * The client is aware of streams. Setting this flag enables the use of 'stream' [all...] |
/kernel/linux/linux-6.6/sound/firewire/fireface/ |
H A D | ff-midi.c | 76 static void set_midi_substream_names(struct snd_rawmidi_str *stream, in set_midi_substream_names() argument 81 list_for_each_entry(substream, &stream->substreams, list) { in set_midi_substream_names() 100 struct snd_rawmidi_str *stream; in snd_ff_create_midi_devices() local 116 stream = &rmidi->streams[SNDRV_RAWMIDI_STREAM_INPUT]; in snd_ff_create_midi_devices() 117 set_midi_substream_names(stream, ff->card->shortname); in snd_ff_create_midi_devices() 122 stream = &rmidi->streams[SNDRV_RAWMIDI_STREAM_OUTPUT]; in snd_ff_create_midi_devices() 123 set_midi_substream_names(stream, ff->card->shortname); in snd_ff_create_midi_devices()
|
/kernel/linux/linux-6.6/sound/soc/codecs/ |
H A D | hda-dai.c | 21 pcm = container_of(stream_info, struct hda_pcm, stream[substream->stream]); in hda_codec_dai_startup() 23 dev_dbg(dai->dev, "open stream codec: %08x, info: %p, pcm: %p %s substream: %p\n", in hda_codec_dai_startup() 47 pcm = container_of(stream_info, struct hda_pcm, stream[substream->stream]); in hda_codec_dai_shutdown() 49 dev_dbg(dai->dev, "close stream codec: %08x, info: %p, pcm: %p %s substream: %p\n", in hda_codec_dai_shutdown() 76 struct hdac_stream *stream; in hda_codec_dai_prepare() local 82 stream = substream->runtime->private_data; in hda_codec_dai_prepare() 87 ret = snd_hda_codec_prepare(codec, stream_info, stream->stream_tag, format, substream); in hda_codec_dai_prepare()
|
/third_party/node/test/parallel/ |
H A D | test-http2-create-client-secure-session.js | 20 function onStream(stream, headers) { 21 const socket = stream.session[kSocket]; 23 assert(stream.session.encrypted); 24 assert.strictEqual(stream.session.alpnProtocol, 'h2'); 25 const originSet = stream.session.originSet; 31 stream.respond({ 'content-type': 'application/json' }); 32 stream.end(JSON.stringify({ 40 server.on('stream', common.mustCall(onStream));
|
H A D | test-stream-pipe-cleanup.js | 26 const stream = require('stream'); 32 stream.Stream.call(this); 34 Object.setPrototypeOf(Writable.prototype, stream.Stream.prototype); 35 Object.setPrototypeOf(Writable, stream.Stream); 46 stream.Stream.call(this); 48 Object.setPrototypeOf(Readable.prototype, stream.Stream.prototype); 49 Object.setPrototypeOf(Readable, stream.Stream);
|
H A D | test-stream-readable-unshift.js | 5 const { Readable } = require('stream'); 155 while (null !== (stream.read())) { 157 stream.removeListener('readable', onRead); 158 stream.unshift('a'); 159 stream.on('data', (chunk) => { 166 const stream = new ArrayReader(); 167 stream.once('readable', common.mustCall(onRead)); 168 stream.on('end', common.mustCall());
|
/kernel/linux/linux-6.6/drivers/media/v4l2-core/ |
H A D | v4l2-subdev.c | 38 * Maximum stream ID is 63 for now, as we use u64 bitmask to represent a set 42 * restricts the total number of streams in a pad, although the stream ID is 175 u32 which, u32 pad, u32 stream) in check_state() 179 if (!v4l2_subdev_state_get_stream_format(state, pad, stream)) in check_state() 187 if (stream != 0) in check_state() 204 check_state(sd, state, format->which, format->pad, format->stream); in check_format() 231 check_state(sd, state, code->which, code->pad, code->stream) ? : in call_enum_mbus_code() 243 check_state(sd, state, fse->which, fse->pad, fse->stream) ? : in call_enum_frame_size() 278 check_state(sd, state, fie->which, fie->pad, fie->stream) ? : in call_enum_frame_interval() 290 check_state(sd, state, sel->which, sel->pad, sel->stream); in check_selection() 174 check_state(struct v4l2_subdev *sd, struct v4l2_subdev_state *state, u32 which, u32 pad, u32 stream) check_state() argument 1126 v4l2_subdev_link_validate_get_format(struct media_pad *pad, u32 stream, struct v4l2_subdev_format *fmt, bool states_locked) v4l2_subdev_link_validate_get_format() argument 1235 u32 stream; v4l2_subdev_link_validate_locked() local 1633 v4l2_subdev_state_get_stream_format(struct v4l2_subdev_state *state, unsigned int pad, u32 stream) v4l2_subdev_state_get_stream_format() argument 1654 v4l2_subdev_state_get_stream_crop(struct v4l2_subdev_state *state, unsigned int pad, u32 stream) v4l2_subdev_state_get_stream_crop() argument 1675 v4l2_subdev_state_get_stream_compose(struct v4l2_subdev_state *state, unsigned int pad, u32 stream) v4l2_subdev_state_get_stream_compose() argument 1695 v4l2_subdev_routing_find_opposite_end(const struct v4l2_subdev_krouting *routing, u32 pad, u32 stream, u32 *other_pad, u32 *other_stream) v4l2_subdev_routing_find_opposite_end() argument 1727 v4l2_subdev_state_get_opposite_stream_format(struct v4l2_subdev_state *state, u32 pad, u32 stream) v4l2_subdev_state_get_opposite_stream_format() argument [all...] |
/third_party/alsa-lib/src/topology/ |
H A D | pcm.c | 76 /* find and copy the referenced stream caps */ 161 /* get playback & capture stream caps */ in tplg_build_dai() 211 struct snd_soc_tplg_stream *stream, in tplg_build_stream_cfg() 219 strm = stream + i; in tplg_build_stream_cfg() 237 err = tplg_build_stream_cfg(tplg, link->stream, in build_link() 323 SNDERR("unsupported stream format %s", s); in split_format() 366 SNDERR("unsupported stream rate %s", s); in split_rate() 396 /* Parse pcm stream capabilities */ 537 /* save stream caps */ 614 /* Parse the caps and config of a pcm stream */ 210 tplg_build_stream_cfg(snd_tplg_t *tplg, struct snd_soc_tplg_stream *stream, int num_streams, int index) tplg_build_stream_cfg() argument 626 int stream; tplg_parse_streams() local 699 unsigned int streams[2], stream; tplg_save_streams() local 2002 struct snd_tplg_stream_template *stream; tplg_decode_pcm() local 2151 struct snd_tplg_stream_template *stream; tplg_decode_link() local [all...] |
/third_party/skia/tests/ |
H A D | CodecTest.cpp | 450 std::unique_ptr<SkStream> stream(GetResourceAsStream(path)); in check_codec_image_generator() 451 sk_sp<SkData> fullData(SkData::MakeFromStream(stream.get(), stream->getLength())); in check_codec_image_generator() 486 // Initialize a codec with a data stream. in check() 487 std::unique_ptr<SkStream> stream(GetResourceAsStream(path)); in check() 488 if (!stream) { in check() 494 size_t length = stream->getLength(); in check() 495 codec = SkCodec::MakeFromData(SkData::MakeFromStream(stream.get(), 2 * length / 3)); in check() 497 codec = SkCodec::MakeFromStream(std::move(stream)); in check() 589 static void test_invalid_stream(skiatest::Reporter* r, const void* stream, size_ argument 1257 SkStream* stream = streamObj.get(); DEF_TEST() local 1288 auto stream = GetResourceAsStream(path); Make() local 1319 LimitedRewindingStream(std::unique_ptr<SkStream> stream, size_t limit) LimitedRewindingStream() argument 1341 auto stream = LimitedRewindingStream::Make(file, SkCodec::MinBufferedBytesNeeded()); DEF_TEST() local 1431 auto stream = GetResourceAsStream(path); test_invalid_images() local 1542 auto stream = GetResourceAsStream(path); DEF_TEST() local 1575 encode_format(SkDynamicMemoryWStream* stream, const SkPixmap& pixmap, SkEncodedImageFormat format) encode_format() argument [all...] |
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | plugin_texture_encode_test.cpp | 149 BufferPackerStream *stream = new (std::nothrow) BufferPackerStream(output, OUTPUT_SIZE_MAX);
in HWTEST_F() local 150 ASSERT_NE(stream, nullptr);
in HWTEST_F() 154 uint32_t setRet = astcEncoder.SetAstcEncode(stream, option, pixelMapPtr);
in HWTEST_F() 160 setRet = astcEncoder.SetAstcEncode(stream, option, pixelMapPtr);
in HWTEST_F() 169 if (stream != nullptr) {
in HWTEST_F() 170 delete stream;
in HWTEST_F() 171 stream = nullptr;
in HWTEST_F() 191 BufferPackerStream *stream = nullptr;
in HWTEST_F() local 195 uint32_t setRet = astcEncoder.SetAstcEncode(stream, option, pixelMapPtr);
in HWTEST_F() 214 BufferPackerStream *stream in HWTEST_F() local 249 BufferPackerStream *stream = new (std::nothrow) BufferPackerStream(output, OUTPUT_SIZE_MAX); HWTEST_F() local 287 BufferPackerStream *stream = new (std::nothrow) BufferPackerStream(output, OUTPUT_SIZE_MAX); HWTEST_F() local 341 BufferPackerStream *stream = new (std::nothrow) BufferPackerStream(nullptr, OUTPUT_SIZE_MAX); HWTEST_F() local 981 BufferPackerStream *stream = new (std::nothrow) BufferPackerStream(output, OUTPUT_SIZE_MAX); HWTEST_F() local [all...] |
/third_party/skia/third_party/externals/freetype/src/pcf/ |
H A D | pcfread.c | 94 pcf_read_TOC( FT_Stream stream, in pcf_read_TOC() argument 115 if ( stream->size < 16 ) in pcf_read_TOC() 120 if ( toc->count > ( stream->size >> 4 ) || in pcf_read_TOC() 126 FT_MIN( stream->size >> 4, 9 ) )); in pcf_read_TOC() 127 toc->count = FT_MIN( stream->size >> 4, 9 ); in pcf_read_TOC() 181 * `offset' + `size' must not exceed the stream size. in pcf_read_TOC() 201 size = stream->size; in pcf_read_TOC() 318 pcf_get_metric( FT_Stream stream, in pcf_get_metric() argument 372 pcf_seek_to_table_type( FT_Stream stream, in pcf_seek_to_table_type() argument 386 if ( stream in pcf_seek_to_table_type() 479 pcf_get_properties( FT_Stream stream, PCF_Face face ) pcf_get_properties() argument 678 pcf_get_metrics( FT_Stream stream, PCF_Face face ) pcf_get_metrics() argument 813 pcf_get_bitmaps( FT_Stream stream, PCF_Face face ) pcf_get_bitmaps() argument 976 pcf_get_encodings( FT_Stream stream, PCF_Face face ) pcf_get_encodings() argument 1189 pcf_get_accel( FT_Stream stream, PCF_Face face, FT_ULong type ) pcf_get_accel() argument [all...] |
/foundation/multimedia/media_foundation/test/scenetest/helper/ |
H A D | lite_stream_player.cpp | 46 std::shared_ptr<DataStream> stream = nullptr; variable 86 (void) stream->GetEmptyBuffer(buffer); in DataProcessThread() 104 stream->QueueDataBuffer(buffer); in DataProcessThread() 107 stream->QueueDataBuffer(buffer); in DataProcessThread() 172 stream = CreateDataStream(INPUT_BUFFER_SIZE, INPUT_BUFFER_ITEM); in StartLiteStreamPlayer() 173 if (stream == nullptr) { in StartLiteStreamPlayer() 174 MEDIA_LOG_E("Create data stream fail."); in StartLiteStreamPlayer() 177 OHOS::Media::Source source(stream); in StartLiteStreamPlayer() 193 MEDIA_LOG_I("stream player thread running..."); in StartLiteStreamPlayer() 196 stream in StartLiteStreamPlayer() [all...] |
/kernel/linux/linux-5.10/include/sound/ |
H A D | hdaudio_ext.h | 41 * hdac_ext_stream: HDAC extended stream for extended HDA caps 44 * @pphc_addr: processing pipe host stream pointer 45 * @pplc_addr: processing pipe link stream pointer 46 * @spib_addr: software position in buffers stream pointer 47 * @fifo_addr: software position Max fifos stream pointer 51 * @decoupled: stream host and link is decoupled 81 struct hdac_ext_stream *stream, int idx, 97 struct hdac_ext_stream *stream, u32 value); 99 struct hdac_ext_stream *stream); 103 struct hdac_ext_stream *stream, u3 [all...] |
/third_party/libphonenumber/tools/cpp/src/cpp-build/ |
H A D | generate_geocoding_data.cc | 114 // stream is reached or when an error occurs, and the errno check is the in ListDirectory() 150 std::stringstream stream; in StrToInt() local 151 stream << s; in StrToInt() 152 stream >> *n; in StrToInt() 153 return !stream.fail(); in StrToInt() 158 std::stringstream stream; in IntToStr() local 159 stream << n; in IntToStr() 160 stream >> *s; in IntToStr() 161 return !stream.fail(); in IntToStr()
|
/third_party/lzma/CPP/7zip/Common/ |
H A D | LimitedStreams.h | 22 void SetStream(ISequentialInStream *stream) { _stream = stream; }
in SetStream() argument 47 void SetStream(IInStream *stream) { _stream = stream; }
135 void SetStream(ISequentialOutStream *stream) { _stream = stream; }
181 void SetStream(IInStream *stream) { _stream = stream; }
|
/third_party/node/src/inspector/ |
H A D | node_string.cc | 86 std::ostringstream stream; in fromDouble() local 87 stream.imbue(std::locale::classic()); // Ignore current locale in fromDouble() 88 stream << d; in fromDouble() 89 return stream.str(); in fromDouble() 93 std::istringstream stream(std::string(buffer, length)); in toDouble() 94 stream.imbue(std::locale::classic()); // Ignore current locale in toDouble() 96 stream >> d; in toDouble() 97 *ok = !stream.fail(); in toDouble()
|
/third_party/node/deps/v8/third_party/zlib/contrib/minizip/ |
H A D | ioapi.h | 136 typedef uLong (ZCALLBACK *read_file_func) OF((voidpf opaque, voidpf stream, void* buf, uLong size)); 137 typedef uLong (ZCALLBACK *write_file_func) OF((voidpf opaque, voidpf stream, const void* buf, uLong size)); 138 typedef int (ZCALLBACK *close_file_func) OF((voidpf opaque, voidpf stream)); 139 typedef int (ZCALLBACK *testerror_file_func) OF((voidpf opaque, voidpf stream)); 141 typedef long (ZCALLBACK *tell_file_func) OF((voidpf opaque, voidpf stream)); 142 typedef long (ZCALLBACK *seek_file_func) OF((voidpf opaque, voidpf stream, uLong offset, int origin)); 158 typedef ZPOS64_T (ZCALLBACK *tell64_file_func) OF((voidpf opaque, voidpf stream)); 159 typedef long (ZCALLBACK *seek64_file_func) OF((voidpf opaque, voidpf stream, ZPOS64_T offset, int origin));
|
/third_party/rust/crates/atty/src/ |
H A D | lib.rs | 30 /// possible stream sources 40 pub fn is(stream: Stream) -> bool { in is() 43 let fd = match stream { in is() 53 pub fn is(stream: Stream) -> bool { in is() 56 let fd = match stream { in is() 66 pub fn is(stream: Stream) -> bool { in is() 72 let (fd, others) = match stream { in is() 85 // any of the other streams. If another stream has a console, then we know in is() 97 pub fn isnt(stream: Stream) -> bool { in isnt() 98 !is(stream) in isnt() [all...] |
/third_party/skia/third_party/externals/zlib/contrib/minizip/ |
H A D | ioapi.h | 136 typedef uLong (ZCALLBACK *read_file_func) OF((voidpf opaque, voidpf stream, void* buf, uLong size)); 137 typedef uLong (ZCALLBACK *write_file_func) OF((voidpf opaque, voidpf stream, const void* buf, uLong size)); 138 typedef int (ZCALLBACK *close_file_func) OF((voidpf opaque, voidpf stream)); 139 typedef int (ZCALLBACK *testerror_file_func) OF((voidpf opaque, voidpf stream)); 141 typedef long (ZCALLBACK *tell_file_func) OF((voidpf opaque, voidpf stream)); 142 typedef long (ZCALLBACK *seek_file_func) OF((voidpf opaque, voidpf stream, uLong offset, int origin)); 158 typedef ZPOS64_T (ZCALLBACK *tell64_file_func) OF((voidpf opaque, voidpf stream)); 159 typedef long (ZCALLBACK *seek64_file_func) OF((voidpf opaque, voidpf stream, ZPOS64_T offset, int origin));
|
/third_party/zlib/contrib/minizip/ |
H A D | ioapi.h | 140 typedef uLong (ZCALLBACK *read_file_func) (voidpf opaque, voidpf stream, void* buf, uLong size); 141 typedef uLong (ZCALLBACK *write_file_func) (voidpf opaque, voidpf stream, const void* buf, uLong size); 142 typedef int (ZCALLBACK *close_file_func) (voidpf opaque, voidpf stream); 143 typedef int (ZCALLBACK *testerror_file_func) (voidpf opaque, voidpf stream); 145 typedef long (ZCALLBACK *tell_file_func) (voidpf opaque, voidpf stream); 146 typedef long (ZCALLBACK *seek_file_func) (voidpf opaque, voidpf stream, uLong offset, int origin); 162 typedef ZPOS64_T (ZCALLBACK *tell64_file_func) (voidpf opaque, voidpf stream); 163 typedef long (ZCALLBACK *seek64_file_func) (voidpf opaque, voidpf stream, ZPOS64_T offset, int origin);
|
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/camera/pipe/src/ |
H A D | pipe_binarydesc.c | 53 descr->continuous = pipe->stream->config.continuous; in pipe_binarydesc_get_offline() 68 descr->stream_format = pipe->stream->config.input_config.format; in pipe_binarydesc_get_offline() 101 copy_descr->two_ppc = (pipe->stream->config.pixels_per_clock == 2); in ia_css_pipe_get_copy_binarydesc() 224 if (ia_css_util_is_input_format_yuv(pipe->stream->config.input_config.format)) in ia_css_pipe_get_preview_binarydesc() 235 if (pipe->stream->config.online) { in ia_css_pipe_get_preview_binarydesc() 236 preview_descr->online = pipe->stream->config.online; in ia_css_pipe_get_preview_binarydesc() 238 (pipe->stream->config.pixels_per_clock == 2); in ia_css_pipe_get_preview_binarydesc() 240 preview_descr->stream_format = pipe->stream->config.input_config.format; in ia_css_pipe_get_preview_binarydesc() 341 if (ia_css_util_is_input_format_yuv(pipe->stream->config.input_config.format)) in ia_css_pipe_get_video_binarydesc() 355 if (pipe->stream in ia_css_pipe_get_video_binarydesc() [all...] |
/foundation/multimedia/audio_framework/services/audio_service/server/src/ |
H A D | audio_engine_manager.cpp | 26 void AudioEngineManager::AddRenderer(std::shared_ptr<IRendererStream> stream, DeviceInfo device) in AddRenderer() argument 28 AudioProcessConfig config = stream->GetAudioProcessConfig(); in AddRenderer() 39 playbackEngine->AddRenderer(stream); in AddRenderer() 43 void AudioEngineManager::RemoveRenderer(std::shared_ptr<IRendererStream> stream) in RemoveRenderer() argument 45 AudioProcessConfig config = stream->GetAudioProcessConfig(); in RemoveRenderer()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/ |
H A D | config.c | 27 static void skip_line_end(FILE *stream) in skip_line_end() argument 30 while (fgets(buf, sizeof(buf), stream)) { in skip_line_end() 38 char * wpa_config_get_line(char *s, int size, FILE *stream, int *line, in wpa_config_get_line() argument 43 while (fgets(s, size, stream)) { in wpa_config_get_line() 53 skip_line_end(stream); in wpa_config_get_line()
|