Home
last modified time | relevance | path

Searched refs:stream (Results 1601 - 1625 of 4265) sorted by relevance

1...<<61626364656667686970>>...171

/third_party/rust/crates/libc/src/unix/
H A Dmod.rs477 pub fn setvbuf(stream: *mut FILE, buffer: *mut c_char, mode: c_int, size: size_t) -> c_int; in setvbuf()
478 pub fn setbuf(stream: *mut FILE, buf: *mut c_char); in setbuf()
481 pub fn fgetc(stream: *mut FILE) -> c_int; in fgetc()
482 pub fn fgets(buf: *mut c_char, n: c_int, stream: *mut FILE) -> *mut c_char; in fgets()
483 pub fn fputc(c: c_int, stream: *mut FILE) -> c_int; in fputc()
488 pub fn fputs(s: *const c_char, stream: *mut FILE) -> c_int; in fputs()
490 pub fn ungetc(c: c_int, stream: *mut FILE) -> c_int; in ungetc()
491 pub fn fread(ptr: *mut c_void, size: size_t, nobj: size_t, stream: *mut FILE) -> size_t; in fread()
496 pub fn fwrite(ptr: *const c_void, size: size_t, nobj: size_t, stream: *mut FILE) -> size_t; in fwrite()
497 pub fn fseek(stream in fwrite()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_profiler/
H A Drs_profiler_capture_recorder.cpp176 auto stream = std::make_unique<SkFILEWStream>((*MSKP_PATH).data()); in InitMSKP() local
177 if (!stream->isValid()) { in InitMSKP()
181 openMultiPicStream_ = std::move(stream); in InitMSKP()
316 SkFILEWStream* stream = this->openMultiPicStream_.release(); in EndCaptureMSKP()
320 delete stream; in EndCaptureMSKP()
/foundation/distributedhardware/distributed_screen/services/softbusadapter/test/fuzztest/softbusadapter_fuzzer/
H A Dsoftbusadapter_fuzzer.cpp51 StreamData *stream = nullptr; in SoftbusAdapterFuzzTest() local
60 adapter->sessListener_.OnStream(sessionId, stream, ext, info); in SoftbusAdapterFuzzTest()
62 adapter->SendSoftbusStream(sessionId, stream, ext, info); in SoftbusAdapterFuzzTest()
124 StreamData *stream = nullptr; in SoftbusOnStreamReceivedFuzzTest() local
128 adapter->OnStreamReceived(sessionId, stream, ext, info); in SoftbusOnStreamReceivedFuzzTest()
/kernel/linux/linux-5.10/sound/soc/amd/raven/
H A Dacp3x-i2s.c89 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 Dtascam-pcm.c15 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 Dmotu-pcm.c100 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 Dtegra_pcm.c158 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 Das102_usb_drv.c238 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 Ddmub_replay.c151 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/inc/
H A Dcore_types.h116 * Unassign a link encoder from a stream.
123 struct dc_stream_state *stream);
147 struct dc_stream_state *stream);
154 struct dc_stream_state *stream);
183 struct dc_stream_state *stream);
364 struct dc_stream_state *stream; member
382 * enabled given current link capability and stream during hw resource
497 * @stream_status: Planes status on a given stream
H A Dlink.h141 const struct dc_stream_state *stream,
148 const struct dc_stream_state *stream,
204 struct dc_stream_state *stream,
267 const struct dc_stream_state *stream,
283 const struct dc_stream_state *stream);
/kernel/linux/linux-6.6/sound/soc/amd/vangogh/
H A Dacp5x-i2s.c104 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in acp5x_i2s_hwparams()
128 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in acp5x_i2s_hwparams()
251 substream->stream); in acp5x_i2s_trigger()
252 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in acp5x_i2s_trigger()
300 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in acp5x_i2s_trigger()
/kernel/linux/linux-6.6/sound/firewire/motu/
H A Dmotu-pcm.c100 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-6.6/sound/soc/amd/raven/
H A Dacp3x-i2s.c89 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-6.6/sound/soc/google/
H A Dchv3-i2s.c145 if (substream->stream == SNDRV_PCM_STREAM_CAPTURE) in chv3_dma_open()
158 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in chv3_dma_close()
211 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) { in chv3_dma_prepare()
240 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) { in chv3_dma_pointer()
262 if (substream->pstr->stream == SNDRV_PCM_STREAM_CAPTURE) in chv3_dma_ack()
/third_party/googletest/googlemock/src/
H A Dgmock-matchers.cc233 ::std::ostream* stream) { in LogElementMatcherPairVec()
235 ::std::ostream& os = *stream; in LogElementMatcherPairVec()
410 matcher_describers_[mi]->DescribeTo(listener->stream()); in VerifyMatchMatrix()
449 LogElementMatcherPairVec(matches, listener->stream()); in FindPairing()
460 LogElementMatcherPairVec(matches, listener->stream()); in FindPairing()
232 LogElementMatcherPairVec(const ElementMatcherPairs& pairs, ::std::ostream* stream) LogElementMatcherPairVec() argument
/third_party/ltp/tools/sparse/sparse-src/
H A Dc2xml.c82 newProp(node, "file", stream_name(sym->pos.stream)); in new_sym_node()
90 if (sym->pos.stream != sym->endpos.stream) in new_sym_node()
91 newProp(node, "end-file", stream_name(sym->endpos.stream)); in new_sym_node()
296 if (sym->pos.stream == stream_id) in examine_symbol_list()
/third_party/libphonenumber/metadata/src/main/java/com/google/i18n/phonenumbers/metadata/regex/
H A DEdge.java29 import java.util.stream.Collectors;
30 import java.util.stream.Stream;
101 e -> (e instanceof Concatenation) ? ((Concatenation) e).edges.stream() : Stream.of(e)) in concatenation()
113 List<Edge> allEdges = edges.stream() in disjunction()
115 e -> (e instanceof Disjunction) ? ((Disjunction) e).edges.stream() : Stream.of(e)) in disjunction()
/third_party/python/Lib/
H A Dfileinput.py407 stream = gzip.open(filename, mode)
410 stream = bz2.BZ2File(filename, mode)
416 stream = io.TextIOWrapper(stream, encoding=encoding, errors=errors)
417 return stream
/third_party/python/Lib/asyncio/
H A Dsubprocess.py113 def _get_close_waiter(self, stream):
114 if stream is self.stdin:
171 stream = self.stderr
174 stream = self.stdout
178 output = await stream.read()
/third_party/skia/src/ports/
H A DSkFontMgr_preview.h195 std::unique_ptr<SkStreamAsset> stream = SkStream::MakeFromFile(pathName.c_str()); in SkFontStyleSet_Preview() local
196 if (!stream) { in SkFontStyleSet_Preview()
207 if (!scanner.scanFont(stream.get(), ttcIndex, in SkFontStyleSet_Preview()
340 sk_sp<SkTypeface> onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset> stream, int ttcIndex) const override;
341 sk_sp<SkTypeface> onMakeFromStreamArgs(std::unique_ptr<SkStreamAsset> stream,
/third_party/skia/tests/
H A DFrontBufferedStreamTest.cpp36 // Test that hasLength() returns the correct value, based on the stream
37 // being wrapped. A length can only be known if the wrapped stream has a
55 // Tests reading the stream across boundaries of what has been buffered so far and what
59 // wrapped stream, but that's okay because we know the wrapping stream has not been in test_incremental_buffering()
80 // reading directly from the stream. in test_incremental_buffering()
85 // This test assumes that the stream is larger than the buffer; otherwise the in test_incremental_buffering()
133 // A custom class whose isAtEnd behaves the way Android's stream does - since it is an adaptor to a
159 // This test ensures that buffering the exact length of the stream and attempting to read beyond it
162 // Use a stream tha in test_read_beyond_buffer()
213 LengthOptionalStream* stream = test_length_combos() local
295 auto stream = android::skia::FrontBufferedStream::Make( DEF_TEST() local
[all...]
/third_party/skia/tools/
H A Dremote_demo.cpp234 std::cout << "skp stream is " << skpData->size() << " bytes long " << std::endl; in renderer()
236 sk_sp<SkData> stream; in renderer() local
247 stream = pic->serialize(&procs); in renderer()
249 if (!write_SkData(writeFd, *stream)) { in renderer()
264 stream = skpData; in renderer()
265 final_draw("test-correct.png", stream.get(), nullptr, nullptr, -1, -1); in renderer()
/foundation/ability/ability_base/interfaces/kits/native/extractortool/src/
H A Dfile_path_utils.cpp232 std::ifstream stream(path, std::ios::ate); in FindNpmPackageInPath()
233 if (!stream.is_open()) { in FindNpmPackageInPath()
237 auto fileLen = stream.tellg(); in FindNpmPackageInPath()
239 stream.close(); in FindNpmPackageInPath()
243 stream.seekg(0); in FindNpmPackageInPath()
244 stream.read(path, fileLen); in FindNpmPackageInPath()
246 stream.close(); in FindNpmPackageInPath()
/foundation/multimedia/media_foundation/engine/plugin/plugins/sink/sdl/audio_sink/
H A Dsdl_audio_sink_plugin.cpp43 void SDLAudioCallback(void* userdata, uint8_t* stream, int len) // NOLINT: void* in SDLAudioCallback() argument
45 g_audioCallback(userdata, stream, len); in SDLAudioCallback()
125 RegisterAudioCallback([weakPtr](void* userdata, uint8_t* stream, int len) { in Init()
128 ptr->AudioCallback(userdata, stream, len); in Init()
398 void SdlAudioSinkPlugin::AudioCallback(void* userdata, uint8_t* stream, int len) // NOLINT: void* in AudioCallback() argument
410 SDL_memset(stream, 0, len); in AudioCallback()
411 SDL_MixAudio(stream, mixCache_.data(), realLen, volume_); in AudioCallback()

Completed in 19 milliseconds

1...<<61626364656667686970>>...171