/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/ |
H A D | DirectiveHandler.cpp | 169 std::stringstream stream; in handleVersion() local 170 stream << version; in handleVersion() 171 std::string str = stream.str(); in handleVersion()
|
/third_party/skia/third_party/externals/oboe/include/oboe/ |
H A D | AudioStreamBuilder.h | 26 // This depends on AudioStream, so we use forward declaration, it will close and delete the stream 44 * the application should query for the actual value after the stream is opened. 52 * Request the direction for a stream. The default is Direction::Output. 65 * the application should query for the actual value after the stream is opened. 100 * the application should query for the actual value after the stream is opened. 111 * The final stream capacity may differ. For AAudio it should be at least this big. 125 * Get the audio API which will be requested when opening the stream. No guarantees that this is 126 * the API which will actually be used. Query the stream itself to find out the API which is 176 * So the application should query for the actual mode after the stream is opened. 187 * Request a performance level for the stream [all...] |
/third_party/skia/third_party/externals/oboe/samples/drumthumper/src/main/cpp/ |
H A D | DrumPlayerJNI.cpp | 26 #include <stream/MemInputStream.h> 84 MemInputStream stream(buf, len); in Java_com_plausiblesoftware_drumthumper_DrumPlayer_loadWavAssetNative() 86 WavStreamReader reader(&stream); in Java_com_plausiblesoftware_drumthumper_DrumPlayer_loadWavAssetNative()
|
/third_party/skia/src/ports/skia_ohos/ |
H A D | SkFontMgr_ohos.h | 45 virtual sk_sp<SkTypeface> onMakeFromStreamIndex(std::unique_ptr<SkStreamAsset> stream, 47 virtual sk_sp<SkTypeface> onMakeFromStreamArgs(std::unique_ptr<SkStreamAsset> stream, 63 sk_sp<SkTypeface> makeTypeface(std::unique_ptr<SkStreamAsset> stream,
|
/third_party/skia/third_party/externals/dawn/src/tests/perf_tests/ |
H A D | DawnPerfTestPlatform.cpp | 135 std::ostringstream stream; in AcquireTraceEventBuffer() local 136 stream << it->first; in AcquireTraceEventBuffer() 137 std::string threadId = stream.str(); in AcquireTraceEventBuffer()
|
/third_party/python/Lib/test/ |
H A D | test_pstats.py | 35 stream = StringIO() 36 stats = pstats.Stats(stream=stream)
|
/third_party/python/Lib/distutils/command/ |
H A D | check.py | 17 def __init__(self, source, report_level, halt_level, stream=None, 20 Reporter.__init__(self, source, report_level, halt_level, stream, 135 stream=settings.warning_stream,
|
/third_party/skia/third_party/icu/ |
H A D | SkLoadICU.cpp | 26 std::unique_ptr<FILE, FCloseWrapper> stream(fopen(dataFile, "rb")); in win_mmap() 27 if (!stream) { in win_mmap() 31 int fileno = _fileno(stream.get()); in win_mmap()
|
/third_party/skia/tools/mdbviz/ |
H A D | Model.cpp | 28 std::unique_ptr<SkStream> stream = SkStream::MakeFromFile(filename); in load() local 29 if (!stream) { in load() 32 sk_sp<SkPicture> pic(SkPicture::MakeFromStream(stream.get())); in load()
|
/third_party/skia/tools/skiaserve/urlhandlers/ |
H A D | BreakHandler.cpp | 51 SkDynamicMemoryWStream stream; in handle() local 52 SkJSONWriter writer(&stream, SkJSONWriter::Mode::kFast); in handle() 86 return SendData(connection, stream.detachAsData().get(), "application/json"); in handle()
|
/third_party/rust/crates/syn/src/ |
H A D | tt.rs | 20 let s1 = g1.stream().into_iter(); in eq() 21 let mut s2 = g2.stream().into_iter(); in eq() 62 for item in g.stream() { in hash()
|
/foundation/multimedia/media_foundation/engine/pipeline/filters/demux/ |
H A D | demuxer_filter.cpp | 53 * @param offset offset in media stream. 457 MEDIA_LOG_E("PrepareStreams, unsupported stream with trackId = " PUBLIC_LOG_D32, i); in PrepareStreams() 468 MEDIA_LOG_D("PrepareStreams, audio stream with trackId = " PUBLIC_LOG_U32 ".", trackId); in PrepareStreams() 524 for (const auto& stream : mediaMetaData_.trackInfos) { in SendEventEos() 525 stream.port->PushData(bufferPtr, -1); in SendEventEos() 531 for (auto& stream : mediaMetaData_.trackInfos) { in HandleFrame() 532 if (stream.trackId != trackId) { in HandleFrame() 535 stream.port->PushData(bufferPtr, -1); in HandleFrame() 575 for (auto& stream : mediaMetaData_.trackInfos) { in NegotiateDownstream() 576 if (stream in NegotiateDownstream() [all...] |
/foundation/resourceschedule/background_task_mgr/services/transient_task/src/ |
H A D | bg_transient_task_mgr.cpp | 740 std::stringstream stream; in DumpAllRequestId() local 743 stream.clear(); in DumpAllRequestId() 744 stream.str(""); in DumpAllRequestId() 745 stream << "No." << std::to_string(index++) << "\n"; in DumpAllRequestId() 746 stream << "\tRequestId: " << record.first << "\n"; in DumpAllRequestId() 747 stream << "\tAppName: " << record.second->GetPkg() << "\n"; in DumpAllRequestId() 748 stream << "\tAppUid: " << record.second->GetUid() << "\n"; in DumpAllRequestId() 749 stream << "\tAppPid: " << record.second->GetPid() << "\n"; in DumpAllRequestId() 750 stream << "\tActualDelayTime: " << decisionMaker_->GetRemainingDelayTime(record.second, record.first) << "\n"; in DumpAllRequestId() 751 stream << "\tRemainingQuot in DumpAllRequestId() [all...] |
/third_party/node/deps/uv/src/ |
H A D | uv-common.c | 521 static void uv__print_handles(uv_loop_t* loop, int only_active, FILE* stream) { in uv__print_handles() argument 542 fprintf(stream, in uv__print_handles() 553 void uv_print_all_handles(uv_loop_t* loop, FILE* stream) { in uv_print_all_handles() argument 554 uv__print_handles(loop, 0, stream); in uv_print_all_handles() 558 void uv_print_active_handles(uv_loop_t* loop, FILE* stream) { in uv_print_active_handles() argument 559 uv__print_handles(loop, 1, stream); in uv_print_active_handles() 851 int uv_read_start(uv_stream_t* stream, in uv_read_start() argument 854 if (stream == NULL || alloc_cb == NULL || read_cb == NULL) in uv_read_start() 857 if (stream->flags & UV_HANDLE_CLOSING) in uv_read_start() 860 if (stream in uv_read_start() [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | ProgramVk.cpp | 165 gl::BinaryInputStream *stream, in load() 174 mOriginalShaderInfo.load(stream); in load() 175 mExecutable.load(stream); in load() 180 const size_t uniformCount = stream->readInt<size_t>(); in load() 184 gl::LoadBlockMemberInfo(stream, &blockInfo); in load() 192 requiredBufferSize[shaderType] = stream->readInt<size_t>(); in load() 206 void ProgramVk::save(const gl::Context *context, gl::BinaryOutputStream *stream) in save() argument 208 mOriginalShaderInfo.save(stream); in save() 209 mExecutable.save(stream); in save() 215 stream in save() 164 load(const gl::Context *context, gl::BinaryInputStream *stream, gl::InfoLog &infoLog) load() argument [all...] |
/third_party/protobuf/src/google/protobuf/compiler/ |
H A D | plugin.pb.cc | 394 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { in _InternalSerialize() 402 target = stream->EnsureSpace(target); in _InternalSerialize() 408 target = stream->EnsureSpace(target); in _InternalSerialize() 414 target = stream->EnsureSpace(target); in _InternalSerialize() 424 target = stream->WriteStringMaybeAliased( in _InternalSerialize() 430 _internal_metadata_.unknown_fields<::PROTOBUF_NAMESPACE_ID::UnknownFieldSet>(::PROTOBUF_NAMESPACE_ID::UnknownFieldSet::default_instance), target, stream); in _InternalSerialize() 746 ::PROTOBUF_NAMESPACE_ID::uint8* target, ::PROTOBUF_NAMESPACE_ID::io::EpsCopyOutputStream* stream) const { in _InternalSerialize() 758 target = stream->WriteString(1, s, target); in _InternalSerialize() 768 target = stream->WriteStringMaybeAliased( in _InternalSerialize() 774 target = stream in _InternalSerialize() [all...] |
/third_party/mesa3d/src/imagination/vulkan/pds/ |
H A D | pvr_pds.c | 781 for (uint32_t stream = 0; stream < program->num_streams; stream++) { in pvr_pds_vertex_shader() 783 8 * program->streams[stream].num_elements, in pvr_pds_vertex_shader() 799 /* Evaluate what config of DDMAD should be used for each stream. */ in pvr_pds_vertex_shader() 800 for (uint32_t stream = 0; stream < program->num_streams; stream++) { in pvr_pds_vertex_shader() 801 vertex_stream = &program->streams[stream]; in pvr_pds_vertex_shader() 804 ddmadt_enables |= (1 << stream); in pvr_pds_vertex_shader() [all...] |
/kernel/linux/linux-5.10/sound/soc/xilinx/ |
H A D | xlnx_formatter_pcm.c | 91 * struct xlnx_pcm_stream_param - stream configuration 96 * @buffer_size: stream ring buffer size 268 static void xlnx_formatter_disable_irqs(void __iomem *mmio_base, int stream) in xlnx_formatter_disable_irqs() argument 274 if (stream == SNDRV_PCM_STREAM_CAPTURE) in xlnx_formatter_disable_irqs() 337 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK && in xlnx_formatter_pcm_open() 340 else if (substream->stream == SNDRV_PCM_STREAM_CAPTURE && in xlnx_formatter_pcm_open() 348 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in xlnx_formatter_pcm_open() 375 "stream %d : format = %d mode = %d ch_limit = %d\n", in xlnx_formatter_pcm_open() 376 substream->stream, stream_data->interleaved, in xlnx_formatter_pcm_open() 431 xlnx_formatter_disable_irqs(stream_data->mmio, substream->stream); in xlnx_formatter_pcm_close() [all...] |
/kernel/linux/linux-6.6/sound/soc/bcm/ |
H A D | cygnus-pcm.c | 255 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in configure_ringbuf_regs() 302 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in get_ringbuf() 320 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in enable_intr() 357 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in disable_intr() 407 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in cygnus_pcm_period_elapsed() 600 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in cygnus_pcm_open() 618 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in cygnus_pcm_close() 655 is_play = (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) ? 1 : 0; in cygnus_pcm_prepare() 677 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) in cygnus_pcm_pointer()
|
/kernel/linux/linux-6.6/sound/soc/xilinx/ |
H A D | xlnx_formatter_pcm.c | 91 * struct xlnx_pcm_stream_param - stream configuration 96 * @buffer_size: stream ring buffer size 268 static void xlnx_formatter_disable_irqs(void __iomem *mmio_base, int stream) in xlnx_formatter_disable_irqs() argument 274 if (stream == SNDRV_PCM_STREAM_CAPTURE) in xlnx_formatter_disable_irqs() 337 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK && in xlnx_formatter_pcm_open() 340 else if (substream->stream == SNDRV_PCM_STREAM_CAPTURE && in xlnx_formatter_pcm_open() 348 if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) { in xlnx_formatter_pcm_open() 375 "stream %d : format = %d mode = %d ch_limit = %d\n", in xlnx_formatter_pcm_open() 376 substream->stream, stream_data->interleaved, in xlnx_formatter_pcm_open() 431 xlnx_formatter_disable_irqs(stream_data->mmio, substream->stream); in xlnx_formatter_pcm_close() [all...] |
/third_party/ffmpeg/libavdevice/ |
H A D | kmsgrab.c | 417 AVStream *stream; in kmsgrab_read_header() local 622 stream = avformat_new_stream(avctx, NULL); in kmsgrab_read_header() 623 if (!stream) { in kmsgrab_read_header() 628 stream->codecpar->codec_type = AVMEDIA_TYPE_VIDEO; in kmsgrab_read_header() 629 stream->codecpar->codec_id = AV_CODEC_ID_WRAPPED_AVFRAME; in kmsgrab_read_header() 630 stream->codecpar->width = ctx->width; in kmsgrab_read_header() 631 stream->codecpar->height = ctx->height; in kmsgrab_read_header() 632 stream->codecpar->format = AV_PIX_FMT_DRM_PRIME; in kmsgrab_read_header() 634 avpriv_set_pts_info(stream, 64, 1, 1000000); in kmsgrab_read_header()
|
/third_party/alsa-lib/src/rawmidi/ |
H A D | rawmidi.c | 38 MIDI stream. The buffer size is tunable and drivers report underruns for incoming 39 stream as well. 400 * \brief get stream (direction) of RawMidi handle 402 * \return stream of RawMidi handle 404 * Returns the stream #snd_rawmidi_stream_t of given RawMidi handle. 409 return rawmidi->stream; in snd_rawmidi_stream() 435 pfds->events = rawmidi->stream == SND_RAWMIDI_STREAM_OUTPUT ? (POLLOUT|POLLERR|POLLNVAL) : (POLLIN|POLLERR|POLLNVAL); in snd_rawmidi_poll_descriptors() 465 * The nonblock mode cannot be used when the stream is in 555 * \brief get rawmidi stream identification 557 * \return rawmidi stream identificatio [all...] |
/third_party/libphonenumber/metadata/src/test/java/com/google/i18n/phonenumbers/metadata/testing/ |
H A D | TestNumberingScheme.java | 61 import java.util.stream.Stream; 116 this.regionMap = Stream.concat(Stream.of(main), others.stream()) in TestNumberingScheme() 165 this.carrierPrefixes = RangeTree.from(Arrays.stream(prefix).map(RangeSpecification::parse)); in setCarrierPrefixes() 272 shortcodes.entrySet().stream() in build() 277 xmlTable.getAssignedValues(XmlRangesSchema.FORMAT).stream(), in build() 278 shortcodeMap.values().stream() in build() 279 .flatMap(t -> t.getAssignedValues(ShortcodesTableSchema.FORMAT).stream())) in build() 281 ImmutableMap<String, FormatSpec> formatMap = formats.entrySet().stream() in build() 464 RangeTree ranges = RangeTree.from(Arrays.stream(specs).map(RangeSpecification::parse)); in rangesOf()
|
/third_party/skia/src/codec/ |
H A D | SkWebpCodec.cpp | 43 std::unique_ptr<SkCodec> SkWebpCodec::MakeFromStream(std::unique_ptr<SkStream> stream, in MakeFromStream() argument 47 if (stream->getMemoryBase()) { in MakeFromStream() 48 // It is safe to make without copy because we'll hold onto the stream. in MakeFromStream() 49 data = SkData::MakeWithoutCopy(stream->getMemoryBase(), stream->getLength()); in MakeFromStream() 51 data = SkCopyStreamToData(stream.get()); in MakeFromStream() 53 // If we are forced to copy the stream to a data, we can go ahead and delete the stream. in MakeFromStream() 54 stream.reset(nullptr); in MakeFromStream() 174 return std::unique_ptr<SkCodec>(new SkWebpCodec(std::move(info), std::move(stream), in MakeFromStream() 550 SkWebpCodec(SkEncodedInfo&& info, std::unique_ptr<SkStream> stream, WebPDemuxer* demux, sk_sp<SkData> data, SkEncodedOrigin origin) SkWebpCodec() argument [all...] |
/third_party/skia/third_party/externals/libwebp/imageio/ |
H A D | image_enc.c | 60 int write_to_mem, IStream** stream) { in CreateOutputStream() 63 // Output to a memory buffer. This is freed when 'stream' is released. in CreateOutputStream() 64 IFS(CreateStreamOnHGlobal(NULL, TRUE, stream)); in CreateOutputStream() 67 STGM_WRITE | STGM_CREATE, stream)); in CreateOutputStream() 84 IStream* stream = NULL; in WriteUsingWIC() local 101 IFS(CreateOutputStream(out_file_name, use_stdout, &stream)); in WriteUsingWIC() 104 IFS(IWICBitmapEncoder_Initialize(encoder, stream, in WriteUsingWIC() 117 IFS(GetHGlobalFromStream(stream, &image)); in WriteUsingWIC() 140 if (stream != NULL) IUnknown_Release(stream); in WriteUsingWIC() 59 CreateOutputStream(const char* out_file_name, int write_to_mem, IStream** stream) CreateOutputStream() argument [all...] |