/third_party/protobuf/csharp/src/AddressBook/ |
H A D | SampleUsage.cs | 51 using (MemoryStream stream = new MemoryStream())
in Main() 53 // Save the person to a stream
in Main() 54 person.WriteTo(stream);
in Main() 55 bytes = stream.ToArray();
in Main()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-subzero/lib/Support/ |
H A D | Errno.cpp | 68 raw_string_ostream stream(str);
in StrError() 69 stream << "Error #" << errnum;
in StrError() 70 stream.flush();
in StrError()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
H A D | Errno.cpp | 67 raw_string_ostream stream(str); in StrError() 68 stream << "Error #" << errnum; in StrError() 69 stream.flush(); in StrError()
|
/third_party/rust/crates/serde/serde_derive/src/internals/ |
H A D | respan.rs | 3 pub(crate) fn respan(stream: TokenStream, span: Span) -> TokenStream { 4 stream 12 *g = Group::new(g.delimiter(), respan(g.stream(), span)); in respan_token()
|
/third_party/rust/crates/serde/serde_derive_internals/src/ |
H A D | respan.rs | 3 pub(crate) fn respan(stream: TokenStream, span: Span) -> TokenStream { 4 stream 12 *g = Group::new(g.delimiter(), respan(g.stream(), span)); in respan_token()
|
/third_party/vk-gl-cts/framework/delibs/debase/ |
H A D | deSha1.h | 43 /* Initialize sha1 stream. */ 44 void deSha1Stream_init (deSha1Stream* stream); 47 void deSha1Stream_process (deSha1Stream* stream, size_t size, const void* data); 49 /* Finalize the stream and output the hash. */ 50 void deSha1Stream_finalize (deSha1Stream* stream, deSha1* hash);
|
/kernel/linux/linux-5.10/sound/core/ |
H A D | rawmidi.c | 3 * Abstract layer for MIDI v1.0 stream 54 s32 stream; member 65 int stream; member 158 if (substream->stream == SNDRV_RAWMIDI_STREAM_INPUT) in snd_rawmidi_runtime_create() 264 /* look for an available substream for the given stream direction; 268 int stream, int mode, in assign_substream() 272 struct snd_rawmidi_str *s = &rmidi->streams[stream]; in assign_substream() 278 if (!(rmidi->info_flags & info_flags[stream])) in assign_substream() 285 if (stream == SNDRV_RAWMIDI_STREAM_INPUT || in assign_substream() 319 rmidi->streams[substream->stream] in open_substream() 267 assign_substream(struct snd_rawmidi *rmidi, int subdevice, int stream, int mode, struct snd_rawmidi_substream **sub_ret) assign_substream() argument 843 int stream; snd_rawmidi_ioctl() local 1621 snd_rawmidi_alloc_substreams(struct snd_rawmidi *rmidi, struct snd_rawmidi_str *stream, int direction, int count) snd_rawmidi_alloc_substreams() argument 1721 snd_rawmidi_free_substreams(struct snd_rawmidi_str *stream) snd_rawmidi_free_substreams() argument 1902 snd_rawmidi_set_ops(struct snd_rawmidi *rmidi, int stream, const struct snd_rawmidi_ops *ops) snd_rawmidi_set_ops() argument [all...] |
/kernel/linux/linux-6.6/sound/core/ |
H A D | rawmidi.c | 3 * Abstract layer for MIDI v1.0 stream 54 s32 stream; member 65 int stream; member 176 if (substream->stream == SNDRV_RAWMIDI_STREAM_INPUT) in snd_rawmidi_runtime_create() 316 /* look for an available substream for the given stream direction; 320 int stream, int mode, in assign_substream() 324 struct snd_rawmidi_str *s = &rmidi->streams[stream]; in assign_substream() 330 if (!(rmidi->info_flags & info_flags[stream])) in assign_substream() 337 if (stream == SNDRV_RAWMIDI_STREAM_INPUT || in assign_substream() 372 rmidi->streams[substream->stream] in open_substream() 319 assign_substream(struct snd_rawmidi *rmidi, int subdevice, int stream, int mode, struct snd_rawmidi_substream **sub_ret) assign_substream() argument 926 int stream; snd_rawmidi_ioctl() local 1857 snd_rawmidi_alloc_substreams(struct snd_rawmidi *rmidi, struct snd_rawmidi_str *stream, int direction, int count) snd_rawmidi_alloc_substreams() argument 1969 snd_rawmidi_free_substreams(struct snd_rawmidi_str *stream) snd_rawmidi_free_substreams() argument 2156 snd_rawmidi_set_ops(struct snd_rawmidi *rmidi, int stream, const struct snd_rawmidi_ops *ops) snd_rawmidi_set_ops() argument [all...] |
/drivers/peripheral/camera/vdi_base/v4l2/src/stream_operator/ |
H A D | stream_operator_vdi_impl.cpp | 59 CAMERA_LOGE("get stream pipeline core failed."); in Init() 67 CAMERA_LOGE("stream pipeline core init failed."); in Init() 153 CAMERA_LOGE("stream id must be unique"); in IsStreamsSupported() 237 CAMERA_LOGE("stream [id = %{public}d] has already been created.", it.streamId_); in CreateStreams() 240 std::shared_ptr<IStream> stream = StreamFactory::Instance().CreateShared( in CreateStreams() local 243 CHECK_IF_PTR_NULL_RETURN_VALUE(stream, INSUFFICIENT_RESOURCES); in CreateStreams() 247 RetCode rc = stream->ConfigStream(scg); in CreateStreams() 252 CAMERA_LOGE("stream [id:%{public}d] is not tunnel mode, can't bind a buffer producer", it.streamId_); in CreateStreams() 260 if (stream->AttachStreamTunnel(tunnel) != RC_OK) { in CreateStreams() 261 CAMERA_LOGE("attach buffer queue to stream [i in CreateStreams() [all...] |
/kernel/linux/linux-5.10/drivers/media/platform/sti/hva/ |
H A D | hva-h264.c | 588 struct hva_stream *stream) in hva_h264_prepare_task() 608 unsigned int payload = stream->bytesused; in hva_h264_prepare_task() 773 td->addr_output_bitstream_end = (u32)stream->paddr + stream->size; in hva_h264_prepare_task() 775 td->addr_output_bitstream_start = (u32)stream->paddr; in hva_h264_prepare_task() 776 td->bitstream_offset = (((u32)stream->paddr & 0xF) << 3) & in hva_h264_prepare_task() 816 stream->vbuf.flags |= V4L2_BUF_FLAG_KEYFRAME; in hva_h264_prepare_task() 819 stream->vbuf.flags &= ~V4L2_BUF_FLAG_KEYFRAME; in hva_h264_prepare_task() 839 * during qbuf of stream buffer in hva_h264_prepare_task() 841 if ((stream in hva_h264_prepare_task() 585 hva_h264_prepare_task(struct hva_ctx *pctx, struct hva_h264_task *task, struct hva_frame *frame, struct hva_stream *stream) hva_h264_prepare_task() argument 1005 hva_h264_encode(struct hva_ctx *pctx, struct hva_frame *frame, struct hva_stream *stream) hva_h264_encode() argument [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/display/dc/link/protocols/ |
H A D | link_edp_panel_control.c | 501 if (dc->current_state->res_ctx.pipe_ctx[i].stream) { in get_pipe_from_link() 502 if (dc->current_state->res_ctx.pipe_ctx[i].stream->link == link) { in get_pipe_from_link() 648 const struct dc_stream_state *stream, struct psr_config *psr_config, in edp_setup_psr() 736 if (dc->current_state->res_ctx.pipe_ctx[i].stream in edp_setup_psr() 737 == stream) { in edp_setup_psr() 753 psr_context->crtcTimingVerticalTotal = stream->timing.v_total; in edp_setup_psr() 754 psr_context->vsync_rate_hz = div64_u64(div64_u64((stream-> in edp_setup_psr() 756 stream->timing.v_total), in edp_setup_psr() 757 stream->timing.h_total); in edp_setup_psr() 779 psr_context->hyst_lines = stream in edp_setup_psr() 647 edp_setup_psr(struct dc_link *link, const struct dc_stream_state *stream, struct psr_config *psr_config, struct psr_context *psr_context) edp_setup_psr() argument 921 edp_setup_replay(struct dc_link *link, const struct dc_stream_state *stream) edp_setup_replay() argument 1043 struct dc_stream_state *stream = pipe_ctx.stream; get_abm_from_stream_res() local [all...] |
/kernel/linux/linux-6.6/drivers/media/platform/st/sti/hva/ |
H A D | hva-h264.c | 590 struct hva_stream *stream) in hva_h264_prepare_task() 610 unsigned int payload = stream->bytesused; in hva_h264_prepare_task() 775 td->addr_output_bitstream_end = (u32)stream->paddr + stream->size; in hva_h264_prepare_task() 777 td->addr_output_bitstream_start = (u32)stream->paddr; in hva_h264_prepare_task() 778 td->bitstream_offset = (((u32)stream->paddr & 0xF) << 3) & in hva_h264_prepare_task() 818 stream->vbuf.flags |= V4L2_BUF_FLAG_KEYFRAME; in hva_h264_prepare_task() 821 stream->vbuf.flags &= ~V4L2_BUF_FLAG_KEYFRAME; in hva_h264_prepare_task() 841 * during qbuf of stream buffer in hva_h264_prepare_task() 843 if ((stream in hva_h264_prepare_task() 587 hva_h264_prepare_task(struct hva_ctx *pctx, struct hva_h264_task *task, struct hva_frame *frame, struct hva_stream *stream) hva_h264_prepare_task() argument 1007 hva_h264_encode(struct hva_ctx *pctx, struct hva_frame *frame, struct hva_stream *stream) hva_h264_encode() argument [all...] |
/third_party/rust/crates/libc/src/windows/ |
H A D | mod.rs | 287 pub fn fprintf(stream: *mut FILE, format: *const c_char, ...) -> ::c_int; in fprintf() 312 pub fn setvbuf(stream: *mut FILE, buffer: *mut c_char, mode: c_int, size: size_t) -> c_int; in setvbuf() 313 pub fn setbuf(stream: *mut FILE, buf: *mut c_char); in setbuf() 316 pub fn fgetc(stream: *mut FILE) -> c_int; in fgetc() 317 pub fn fgets(buf: *mut c_char, n: c_int, stream: *mut FILE) -> *mut c_char; in fgets() 318 pub fn fputc(c: c_int, stream: *mut FILE) -> c_int; in fputc() 319 pub fn fputs(s: *const c_char, stream: *mut FILE) -> c_int; in fputs() 321 pub fn ungetc(c: c_int, stream: *mut FILE) -> c_int; in ungetc() 322 pub fn fread(ptr: *mut c_void, size: size_t, nobj: size_t, stream: *mut FILE) -> size_t; in fread() 323 pub fn fwrite(ptr: *const c_void, size: size_t, nobj: size_t, stream in fread() [all...] |
/third_party/skia/src/utils/ |
H A D | SkJSON.cpp | 116 // (for the common case where the string is not at the end of the stream). 309 // We're only checking for end-of-stream on object/array close('}',']'), in parse() 857 void Write(const Value& v, SkWStream* stream) { in Write() argument 860 stream->writeText("null"); in Write() 863 stream->writeText(*v.as<BoolValue>() ? "true" : "false"); in Write() 866 stream->writeScalarAsText(*v.as<NumberValue>()); in Write() 869 stream->writeText("\""); in Write() 870 stream->writeText(v.as<StringValue>().begin()); in Write() 871 stream->writeText("\""); in Write() 875 stream in Write() [all...] |
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | data-convert-bt.c | 16 #include <babeltrace/ctf-writer/stream.h> 53 struct bt_ctf_stream *stream; member 61 struct ctf_stream **stream; member 671 err = bt_ctf_stream_flush(cs->stream); in ctf_stream__flush() 673 pr_err("CTF stream %d flush failed\n", cs->cpu); in ctf_stream__flush() 675 pr("Flush stream for cpu %d (%u samples)\n", in ctf_stream__flush() 689 struct bt_ctf_stream *stream = NULL; in ctf_stream__create() local 694 pr_err("Failed to allocate ctf stream\n"); in ctf_stream__create() 698 stream = bt_ctf_writer_create_stream(cw->writer, cw->stream_class); in ctf_stream__create() 699 if (!stream) { in ctf_stream__create() 1332 struct ctf_stream **stream; setup_streams() local [all...] |
/kernel/linux/linux-5.10/drivers/media/v4l2-core/ |
H A D | videobuf-core.c | 180 INIT_LIST_HEAD(&q->stream); in videobuf_queue_core_init() 291 INIT_LIST_HEAD(&q->stream); in videobuf_queue_cancel() 465 if (!list_empty(&q->stream)) { in videobuf_reqbufs() 466 dprintk(1, "reqbufs: stream running\n"); in videobuf_reqbufs() 611 list_add_tail(&buf->stream, &q->stream); in videobuf_qbuf() 643 if (list_empty(&q->stream)) { in stream_next_buffer_check_queue() 658 !list_empty(&q->stream) || !q->streaming); in stream_next_buffer_check_queue() 685 buf = list_entry(q->stream.next, struct videobuf_buffer, stream); in stream_next_buffer() [all...] |
/kernel/linux/linux-6.6/drivers/media/v4l2-core/ |
H A D | videobuf-core.c | 180 INIT_LIST_HEAD(&q->stream); in videobuf_queue_core_init() 291 INIT_LIST_HEAD(&q->stream); in videobuf_queue_cancel() 465 if (!list_empty(&q->stream)) { in videobuf_reqbufs() 466 dprintk(1, "reqbufs: stream running\n"); in videobuf_reqbufs() 611 list_add_tail(&buf->stream, &q->stream); in videobuf_qbuf() 643 if (list_empty(&q->stream)) { in stream_next_buffer_check_queue() 658 !list_empty(&q->stream) || !q->streaming); in stream_next_buffer_check_queue() 685 buf = list_entry(q->stream.next, struct videobuf_buffer, stream); in stream_next_buffer() [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | data-convert-bt.c | 16 #include <babeltrace/ctf-writer/stream.h> 57 struct bt_ctf_stream *stream; member 65 struct ctf_stream **stream; member 677 err = bt_ctf_stream_flush(cs->stream); in ctf_stream__flush() 679 pr_err("CTF stream %d flush failed\n", cs->cpu); in ctf_stream__flush() 681 pr("Flush stream for cpu %d (%u samples)\n", in ctf_stream__flush() 695 struct bt_ctf_stream *stream = NULL; in ctf_stream__create() local 700 pr_err("Failed to allocate ctf stream\n"); in ctf_stream__create() 704 stream = bt_ctf_writer_create_stream(cw->writer, cw->stream_class); in ctf_stream__create() 705 if (!stream) { in ctf_stream__create() 1338 struct ctf_stream **stream; setup_streams() local [all...] |
/third_party/skia/third_party/externals/freetype/src/truetype/ |
H A D | ttgxvar.c | 61 #define FT_Stream_FTell( stream ) \ 62 (FT_ULong)( (stream)->cursor - (stream)->base ) 63 #define FT_Stream_SeekSet( stream, off ) \ 64 (stream)->cursor = \ 65 ( (off) < (FT_ULong)( (stream)->limit - (stream)->base ) ) \ 66 ? (stream)->base + (off) \ 67 : (stream)->limit 127 * stream 144 ft_var_readpackedpoints( FT_Stream stream, FT_ULong size, FT_UInt *point_cnt ) ft_var_readpackedpoints() argument 260 ft_var_readpackeddeltas( FT_Stream stream, FT_ULong size, FT_UInt delta_cnt ) ft_var_readpackeddeltas() argument 360 FT_Stream stream = FT_FACE_STREAM( face ); ft_var_load_avar() local 453 FT_Stream stream = FT_FACE_STREAM( face ); ft_var_load_item_variation_store() local 687 FT_Stream stream = FT_FACE_STREAM( face ); ft_var_load_delta_set_index_mapping() local 828 FT_Stream stream = FT_FACE_STREAM( face ); ft_var_load_hvvar() local 1269 FT_Stream stream = FT_FACE_STREAM( face ); ft_var_load_mvar() local 1547 FT_Stream stream = FT_FACE_STREAM( face ); ft_var_load_gvar() local 2119 FT_Stream stream = face->root.stream; FT_LOCAL_DEF() local 3855 FT_Stream stream = face->root.stream; FT_LOCAL_DEF() local [all...] |
/foundation/communication/dsoftbus/sdk/transmission/trans_channel/udp/stream/libsoftbus_stream/ |
H A D | stream_common_data.cpp | 24 auto stream = std::make_unique<StreamCommonData>(info.streamId, info.seqNum, info); in MakeCommonStream() local 25 stream->InitStreamData(std::move(data.buffer), data.bufLen, std::move(data.extBuffer), data.extLen); in MakeCommonStream() 27 return stream; in MakeCommonStream()
|
/third_party/ffmpeg/libavformat/ |
H A D | rtpdec_ilbc.c | 27 AVStream *stream, PayloadContext *data, in ilbc_parse_fmtp() 34 stream->codecpar->block_align = 38; in ilbc_parse_fmtp() 37 stream->codecpar->block_align = 50; in ilbc_parse_fmtp() 26 ilbc_parse_fmtp(AVFormatContext *s, AVStream *stream, PayloadContext *data, const char *attr, const char *value) ilbc_parse_fmtp() argument
|
/third_party/astc-encoder/Source/Fuzzers/ |
H A D | fuzz_astc_physical_to_symbolic.cpp | 91 FuzzedDataProvider stream(data, size); in LLVMFuzzerTestOneInput() 94 int i = stream.ConsumeIntegralInRange<int>(0, testSz.size() - 1); in LLVMFuzzerTestOneInput() 98 std::vector<uint8_t> buffer = stream.ConsumeBytes<uint8_t>(16); in LLVMFuzzerTestOneInput()
|
/third_party/PyYAML/tests/lib/ |
H A D | test_reader.py | 6 stream = yaml.reader.Reader(data) 7 while stream.peek() != '\0': 8 stream.forward() 33 test_stream_error.unittest = ['.stream-error']
|
/third_party/node/test/parallel/ |
H A D | test-http2-client-setNextStreamID-errors.js | 11 server.on('stream', (stream) => { 12 stream.respond(); 13 stream.end('ok');
|
H A D | test-http2-cookies.js | 18 server.on('stream', common.mustCall(onStream)); 20 function onStream(stream, headers, flags) { 27 stream.respond({ 33 stream.end('hello world');
|