/third_party/node/deps/ngtcp2/nghttp3/lib/ |
H A D | nghttp3_http.c | 1431 int nghttp3_http_on_remote_end_stream(nghttp3_stream *stream) { in nghttp3_http_on_remote_end_stream() argument 1432 if ((stream->rx.http.flags & NGHTTP3_HTTP_FLAG_EXPECT_FINAL_RESPONSE) || in nghttp3_http_on_remote_end_stream() 1433 (stream->rx.http.content_length != -1 && in nghttp3_http_on_remote_end_stream() 1434 stream->rx.http.content_length != stream->rx.http.recv_content_length)) { in nghttp3_http_on_remote_end_stream() 1441 int nghttp3_http_on_data_chunk(nghttp3_stream *stream, size_t n) { in nghttp3_http_on_data_chunk() argument 1442 stream->rx.http.recv_content_length += (int64_t)n; in nghttp3_http_on_data_chunk() 1444 if ((stream->rx.http.flags & NGHTTP3_HTTP_FLAG_EXPECT_FINAL_RESPONSE) || in nghttp3_http_on_data_chunk() 1445 (stream->rx.http.content_length != -1 && in nghttp3_http_on_data_chunk() 1446 stream in nghttp3_http_on_data_chunk() 1453 nghttp3_http_record_request_method(nghttp3_stream *stream, const nghttp3_nv *nva, size_t nvlen) nghttp3_http_record_request_method() argument [all...] |
/third_party/skia/src/core/ |
H A D | SkStream.cpp | 135 bool SkWStream::writeStream(SkStream* stream, size_t length) { in writeStream() argument 144 stream->read(scratch, n); in writeStream() 650 // The contract is to write zeros until the entire stream has written a multiple of 4 bytes. in padToAlign4() 885 std::unique_ptr<SkStreamAsset> stream in detachAsStream() local 890 return stream; in detachAsStream() 914 auto stream = std::make_unique<SkFILEStream>(path); in MakeFromFile() local 915 if (!stream->isValid()) { in MakeFromFile() 918 return std::move(stream); in MakeFromFile() 922 sk_sp<SkData> SkCopyStreamToData(SkStream* stream) { in SkCopyStreamToData() argument 923 SkASSERT(stream ! in SkCopyStreamToData() [all...] |
H A D | SkFontStream.h | 19 * if the stream is a normal sfnt (ttf). If there is an error or 22 * Note: the stream is rewound initially, but is returned at an arbitrary 30 * Note: the stream is rewound initially, but is returned at an arbitrary 38 * Note: the stream is rewound initially, but is returned at an arbitrary 44 static size_t GetTableSize(SkStream* stream, int ttcIndex, SkFontTableTag tag) { in GetTableSize() argument 45 return GetTableData(stream, ttcIndex, tag, 0, ~0U, nullptr); in GetTableSize()
|
/foundation/multimedia/audio_framework/services/audio_service/server/include/ |
H A D | audio_engine_manager.h | 30 void AddRenderer(std::shared_ptr<IRendererStream> stream, DeviceInfo device); 31 void RemoveRenderer(std::shared_ptr<IRendererStream> stream);
|
/foundation/multimedia/camera_framework/frameworks/native/camera/src/session/ |
H A D | secure_camera_session.cpp | 35 sptr<IStreamCommon> stream = output->GetStream(); in AddSecureOutput() local 36 IStreamRepeat* repeatStream = static_cast<IStreamRepeat*>(stream.GetRefPtr()); in AddSecureOutput()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/amdgpu_dm/ |
H A D | amdgpu_dm_replay.h | 42 bool amdgpu_dm_replay_enable(struct dc_stream_state *stream, bool enable); 44 bool amdgpu_dm_replay_disable(struct dc_stream_state *stream);
|
/third_party/icu/icu4c/source/io/unicode/ |
H A D | ustream.h | 34 * C++ I/O stream API. 52 U_IO_API std::ostream & U_EXPORT2 operator<<(std::ostream& stream, const UnicodeString& s); 60 U_IO_API std::istream & U_EXPORT2 operator>>(std::istream& stream, UnicodeString& s);
|
/third_party/lzma/CPP/Common/ |
H A D | StdInStream.h | 18 CStdInStream(FILE *stream = NULL):
in CStdInStream() 19 _stream(stream),
in CStdInStream() 32 // false, if ZERO character in stream
|
/third_party/node/deps/uvwasi/src/ |
H A D | sync_helpers.h | 21 uv_stream_t* stream, 25 uv_stream_t* stream,
|
/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/ |
H A D | CodedInputStreamExtensions.cs | 45 public static T ReadMessage<T>(this CodedInputStream stream, MessageParser<T> parser) 49 stream.ReadMessage(message);
|
/third_party/protobuf/csharp/src/Google.Protobuf.Test/ |
H A D | CodedInputStreamExtensions.cs | 45 public static T ReadMessage<T>(this CodedInputStream stream, MessageParser<T> parser) 49 stream.ReadMessage(message);
|
/third_party/vk-gl-cts/executor/ |
H A D | xeTestLogWriter.hpp | 40 void writeTestLog (const BatchResult& batchResult, std::ostream& stream); 44 void writeTestResult (const TestCaseResult& result, std::ostream& stream);
|
/third_party/skia/third_party/externals/icu/source/io/unicode/ |
H A D | ustream.h | 34 * C++ I/O stream API. 52 U_IO_API std::ostream & U_EXPORT2 operator<<(std::ostream& stream, const UnicodeString& s); 60 U_IO_API std::istream & U_EXPORT2 operator>>(std::istream& stream, UnicodeString& s);
|
/third_party/skia/third_party/externals/dng_sdk/source/ |
H A D | dng_lossless_jpeg.h | 48 void DecodeLosslessJPEG (dng_stream &stream, 63 dng_stream &stream);
|
/third_party/skia/modules/skottie/fuzz/ |
H A D | FuzzSkottieJSON.cpp | 15 SkMemoryStream stream(bytes); in FuzzSkottieJSON() 16 auto animation = skottie::Animation::Make(&stream); in FuzzSkottieJSON()
|
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/ |
H A D | mwl8k.c | 111 /* Each HW queue can have one AMPDU stream. 207 /* Ampdu stream information */ 1784 /* caller must hold priv->stream_lock when calling the stream functions */ 1788 struct mwl8k_ampdu_stream *stream; in mwl8k_add_stream() local 1793 stream = &priv->ampdu[i]; in mwl8k_add_stream() 1794 if (stream->state == AMPDU_NO_STREAM) { in mwl8k_add_stream() 1795 stream->sta = sta; in mwl8k_add_stream() 1796 stream->state = AMPDU_STREAM_NEW; in mwl8k_add_stream() 1797 stream->tid = tid; in mwl8k_add_stream() 1798 stream in mwl8k_add_stream() 1808 mwl8k_start_stream(struct ieee80211_hw *hw, struct mwl8k_ampdu_stream *stream) mwl8k_start_stream() argument 1826 mwl8k_remove_stream(struct ieee80211_hw *hw, struct mwl8k_ampdu_stream *stream) mwl8k_remove_stream() argument 1840 struct mwl8k_ampdu_stream *stream; mwl8k_lookup_stream() local 1911 struct mwl8k_ampdu_stream *stream = NULL; mwl8k_txq_xmit() local 3968 mwl8k_check_ba(struct ieee80211_hw *hw, struct mwl8k_ampdu_stream *stream, struct ieee80211_vif *vif) mwl8k_check_ba() argument 4000 mwl8k_create_ba(struct ieee80211_hw *hw, struct mwl8k_ampdu_stream *stream, u8 buf_size, struct ieee80211_vif *vif) mwl8k_create_ba() argument 5447 struct mwl8k_ampdu_stream *stream; mwl8k_ampdu_action() local [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/ |
H A D | mwl8k.c | 111 /* Each HW queue can have one AMPDU stream. 207 /* Ampdu stream information */ 1788 /* caller must hold priv->stream_lock when calling the stream functions */ 1792 struct mwl8k_ampdu_stream *stream; in mwl8k_add_stream() local 1797 stream = &priv->ampdu[i]; in mwl8k_add_stream() 1798 if (stream->state == AMPDU_NO_STREAM) { in mwl8k_add_stream() 1799 stream->sta = sta; in mwl8k_add_stream() 1800 stream->state = AMPDU_STREAM_NEW; in mwl8k_add_stream() 1801 stream->tid = tid; in mwl8k_add_stream() 1802 stream in mwl8k_add_stream() 1812 mwl8k_start_stream(struct ieee80211_hw *hw, struct mwl8k_ampdu_stream *stream) mwl8k_start_stream() argument 1830 mwl8k_remove_stream(struct ieee80211_hw *hw, struct mwl8k_ampdu_stream *stream) mwl8k_remove_stream() argument 1844 struct mwl8k_ampdu_stream *stream; mwl8k_lookup_stream() local 1915 struct mwl8k_ampdu_stream *stream = NULL; mwl8k_txq_xmit() local 3972 mwl8k_check_ba(struct ieee80211_hw *hw, struct mwl8k_ampdu_stream *stream, struct ieee80211_vif *vif) mwl8k_check_ba() argument 4004 mwl8k_create_ba(struct ieee80211_hw *hw, struct mwl8k_ampdu_stream *stream, u8 buf_size, struct ieee80211_vif *vif) mwl8k_create_ba() argument 5454 struct mwl8k_ampdu_stream *stream; mwl8k_ampdu_action() local [all...] |
/kernel/linux/linux-5.10/drivers/soundwire/ |
H A D | intel.c | 713 struct sdw_cdns_streams *stream, bool pcm) in intel_pdi_stream_ch_update() 715 intel_pdi_get_ch_update(sdw, stream->bd, stream->num_bd, in intel_pdi_stream_ch_update() 716 &stream->num_ch_bd, pcm); in intel_pdi_stream_ch_update() 718 intel_pdi_get_ch_update(sdw, stream->in, stream->num_in, in intel_pdi_stream_ch_update() 719 &stream->num_ch_in, pcm); in intel_pdi_stream_ch_update() 721 intel_pdi_get_ch_update(sdw, stream->out, stream->num_out, in intel_pdi_stream_ch_update() 722 &stream in intel_pdi_stream_ch_update() 712 intel_pdi_stream_ch_update(struct sdw_intel *sdw, struct sdw_cdns_streams *stream, bool pcm) intel_pdi_stream_ch_update() argument 1109 intel_pcm_set_sdw_stream(struct snd_soc_dai *dai, void *stream, int direction) intel_pcm_set_sdw_stream() argument 1115 intel_pdm_set_sdw_stream(struct snd_soc_dai *dai, void *stream, int direction) intel_pdm_set_sdw_stream() argument 1206 struct sdw_cdns_streams *stream; intel_register_dai() local [all...] |
/third_party/mesa3d/src/gallium/drivers/radeonsi/ |
H A D | si_query.c | 731 query->stream = index; in si_query_hw_create() 781 static unsigned event_type_for_stream(unsigned stream) in event_type_for_stream() argument 783 switch (stream) { in event_type_for_stream() 796 static void emit_sample_streamout(struct radeon_cmdbuf *cs, uint64_t va, unsigned stream) in emit_sample_streamout() argument 800 radeon_emit(EVENT_TYPE(event_type_for_stream(stream)) | EVENT_INDEX(3)); in emit_sample_streamout() 841 emit_sample_streamout(cs, va, query->stream); in si_query_hw_do_emit_start() 844 for (unsigned stream = 0; stream < SI_MAX_STREAMS; ++stream) in si_query_hw_do_emit_start() 845 emit_sample_streamout(cs, va + 32 * stream, strea in si_query_hw_do_emit_start() [all...] |
/kernel/linux/linux-5.10/sound/soc/intel/skylake/ |
H A D | skl-messages.c | 54 struct hdac_stream *stream = snd_hdac_get_stream(bus, in skl_dsp_setup_spib() local 58 if (!stream) in skl_dsp_setup_spib() 61 estream = stream_to_hdac_ext_stream(stream); in skl_dsp_setup_spib() 62 /* enable/disable SPIB for this hdac stream */ in skl_dsp_setup_spib() 63 snd_hdac_ext_stream_spbcap_enable(bus, enable, stream->index); in skl_dsp_setup_spib() 76 struct hdac_stream *stream; in skl_dsp_prepare() local 84 substream.stream = SNDRV_PCM_STREAM_PLAYBACK; in skl_dsp_prepare() 91 stream = hdac_stream(estream); in skl_dsp_prepare() 94 ret = snd_hdac_dsp_prepare(stream, format, size, dmab); in skl_dsp_prepare() 98 skl_dsp_setup_spib(dev, size, stream in skl_dsp_prepare() 106 struct hdac_stream *stream; skl_dsp_trigger() local 125 struct hdac_stream *stream; skl_dsp_cleanup() local [all...] |
/kernel/linux/linux-6.6/sound/soc/intel/skylake/ |
H A D | skl-messages.c | 54 struct hdac_stream *stream = snd_hdac_get_stream(bus, in skl_dsp_setup_spib() local 57 if (!stream) in skl_dsp_setup_spib() 60 /* enable/disable SPIB for this hdac stream */ in skl_dsp_setup_spib() 61 snd_hdac_stream_spbcap_enable(bus, enable, stream->index); in skl_dsp_setup_spib() 64 snd_hdac_stream_set_spib(bus, stream, size); in skl_dsp_setup_spib() 74 struct hdac_stream *stream; in skl_dsp_prepare() local 82 substream.stream = SNDRV_PCM_STREAM_PLAYBACK; in skl_dsp_prepare() 89 stream = hdac_stream(estream); in skl_dsp_prepare() 92 ret = snd_hdac_dsp_prepare(stream, format, size, dmab); in skl_dsp_prepare() 96 skl_dsp_setup_spib(dev, size, stream in skl_dsp_prepare() 104 struct hdac_stream *stream; skl_dsp_trigger() local 123 struct hdac_stream *stream; skl_dsp_cleanup() local [all...] |
/third_party/backends/backend/ |
H A D | mustek_usb2_reflective.c | 653 FILE *stream = NULL; in Reflective_AdjustAD() local 661 stream = fopen ("/root/AD(Ref).pnm\n", "wb+\n"); in Reflective_AdjustAD() 663 fwrite (lpBuf, sizeof (SANE_Byte), strlen (lpBuf), stream); in Reflective_AdjustAD() 664 fwrite (lpCalData, sizeof (SANE_Byte), wCalWidth * 3, stream); in Reflective_AdjustAD() 665 fclose (stream); in Reflective_AdjustAD() 1194 FILE *stream = NULL; in Reflective_FindTopLeft() local 1195 stream = fopen ("/root/bound(Ref).pnm", "wb+\n"); in Reflective_FindTopLeft() 1203 fwrite (lpBuf, sizeof (SANE_Byte), strlen (lpBuf), stream); in Reflective_FindTopLeft() 1204 fwrite (lpCalData, sizeof (SANE_Byte), wCalWidth * wCalHeight, stream); in Reflective_FindTopLeft() 1206 fclose (stream); in Reflective_FindTopLeft() 1514 FILE *stream = NULL; Reflective_LineCalibration16Bits() local [all...] |
H A D | mustek_usb2_transparent.c | 688 FILE *stream = NULL; in Transparent_AdjustAD() local 697 stream = fopen ("/root/AD(Tra).pnm", "wb+\n"); in Transparent_AdjustAD() 699 fwrite (lpBuf, sizeof (SANE_Byte), strlen (lpBuf), stream); in Transparent_AdjustAD() 700 fwrite (lpCalData, sizeof (SANE_Byte), wCalWidth * 3, stream); in Transparent_AdjustAD() 701 fclose (stream); in Transparent_AdjustAD() 1184 FILE *stream = NULL; in Transparent_FindTopLeft() local 1191 stream = fopen ("/root/bound(Tra).pnm", "wb+\n"); in Transparent_FindTopLeft() 1193 fwrite (lpBuf, sizeof (SANE_Byte), strlen (lpBuf), stream); in Transparent_FindTopLeft() 1194 fwrite (lpCalData, sizeof (SANE_Byte), wCalWidth * wCalHeight, stream); in Transparent_FindTopLeft() 1195 fclose (stream); in Transparent_FindTopLeft() 1368 FILE *stream = NULL; Transparent_LineCalibration16Bits() local [all...] |
/third_party/python/Lib/logging/ |
H A D | handlers.py | 127 Open the specified file and use it as the stream for logging. 164 if self.stream: 165 self.stream.close() 166 self.stream = None 181 self.stream = self._open() 193 if self.stream is None: # delay was set... 194 self.stream = self._open() 197 self.stream.seek(0, 2) #due to non-posix-compliant Windows feature 198 if self.stream.tell() + len(msg) >= self.maxBytes: 413 if self.stream [all...] |
/third_party/protobuf/src/google/protobuf/ |
H A D | struct.pb.cc | 296 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { in _InternalSerialize() 316 if (stream->IsSerializationDeterministic() && in _InternalSerialize() 329 target = Struct_FieldsEntry_DoNotUse::Funcs::InternalSerialize(1, items[static_cast<ptrdiff_t>(i)]->first, items[static_cast<ptrdiff_t>(i)]->second, target, stream); in _InternalSerialize() 336 target = Struct_FieldsEntry_DoNotUse::Funcs::InternalSerialize(1, it->first, it->second, target, stream); in _InternalSerialize() 344 _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); in _InternalSerialize() 687 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { in _InternalSerialize() 694 target = stream->EnsureSpace(target); in _InternalSerialize() 701 target = stream->EnsureSpace(target); in _InternalSerialize() 711 target = stream->WriteStringMaybeAliased( in _InternalSerialize() 717 target = stream in _InternalSerialize() [all...] |