/third_party/node/deps/nghttp2/lib/ |
D | nghttp2_stream.c | 60 void nghttp2_stream_init(nghttp2_stream *stream, int32_t stream_id, in nghttp2_stream_init() argument 65 nghttp2_map_entry_init(&stream->map_entry, (key_type)stream_id); in nghttp2_stream_init() 66 nghttp2_pq_init(&stream->obq, stream_less, mem); in nghttp2_stream_init() 68 stream->stream_id = stream_id; in nghttp2_stream_init() 69 stream->flags = flags; in nghttp2_stream_init() 70 stream->state = initial_state; in nghttp2_stream_init() 71 stream->shut_flags = NGHTTP2_SHUT_NONE; in nghttp2_stream_init() 72 stream->stream_user_data = stream_user_data; in nghttp2_stream_init() 73 stream->item = NULL; in nghttp2_stream_init() 74 stream->remote_window_size = remote_initial_window_size; in nghttp2_stream_init() [all …]
|
/third_party/nghttp2/lib/ |
D | nghttp2_stream.c | 60 void nghttp2_stream_init(nghttp2_stream *stream, int32_t stream_id, in nghttp2_stream_init() argument 65 nghttp2_map_entry_init(&stream->map_entry, (key_type)stream_id); in nghttp2_stream_init() 66 nghttp2_pq_init(&stream->obq, stream_less, mem); in nghttp2_stream_init() 68 stream->stream_id = stream_id; in nghttp2_stream_init() 69 stream->flags = flags; in nghttp2_stream_init() 70 stream->state = initial_state; in nghttp2_stream_init() 71 stream->shut_flags = NGHTTP2_SHUT_NONE; in nghttp2_stream_init() 72 stream->stream_user_data = stream_user_data; in nghttp2_stream_init() 73 stream->item = NULL; in nghttp2_stream_init() 74 stream->remote_window_size = remote_initial_window_size; in nghttp2_stream_init() [all …]
|
/third_party/gettext/libtextstyle/lib/ |
D | color.c | 99 term_ostream_t stream; in print_color_test() local 102 stream = term_ostream_create (1, "stdout", TTYCTL_AUTO); in print_color_test() 106 term_ostream_rgb_to_color (stream, colors[i].r, colors[i].g, colors[i].b); in print_color_test() 108 ostream_write_str (stream, "Colors (foreground/background):\n"); in print_color_test() 109 ostream_write_str (stream, " "); in print_color_test() 113 ostream_write_str (stream, "|"); in print_color_test() 114 ostream_write_str (stream, name); in print_color_test() 115 ostream_write_mem (stream, " ", 7 - strlen (name)); in print_color_test() 117 ostream_write_str (stream, "\n"); in print_color_test() 121 ostream_write_str (stream, name); in print_color_test() [all …]
|
/third_party/gstreamer/gstplugins_bad/gst/mpegtsmux/tsmux/ |
D | tsmuxstream.c | 94 static guint8 tsmux_stream_pes_header_length (TsMuxStream * stream); 95 static void tsmux_stream_write_pes_header (TsMuxStream * stream, guint8 * data); 96 static void tsmux_stream_find_pts_dts_within (TsMuxStream * stream, guint bound, 127 TsMuxStream *stream = g_slice_new0 (TsMuxStream); in tsmux_stream_new() local 129 stream->state = TSMUX_STREAM_STATE_HEADER; in tsmux_stream_new() 130 stream->pi.pid = pid; in tsmux_stream_new() 131 stream->stream_type = stream_type; in tsmux_stream_new() 133 stream->pes_payload_size = 0; in tsmux_stream_new() 134 stream->cur_pes_payload_size = 0; in tsmux_stream_new() 135 stream->pes_bytes_written = 0; in tsmux_stream_new() [all …]
|
/third_party/gettext/libtextstyle/gnulib-local/lib/ |
D | html-ostream.oo.c | 55 write_attribute_value (html_ostream_t stream, const char *value, char quote) in write_attribute_value() argument 58 ostream_t destination = stream->destination; in write_attribute_value() 98 verify_invariants (html_ostream_t stream) in verify_invariants() argument 101 if (gl_list_size (stream->class_stack) in verify_invariants() 102 != MAX (stream->curr_class_stack_size, stream->last_class_stack_size)) in verify_invariants() 110 shrink_class_stack (html_ostream_t stream) in shrink_class_stack() argument 113 MAX (stream->curr_class_stack_size, stream->last_class_stack_size); in shrink_class_stack() 114 size_t i = gl_list_size (stream->class_stack); in shrink_class_stack() 118 free ((char *) gl_list_get_at (stream->class_stack, i)); in shrink_class_stack() 119 gl_list_remove_at (stream->class_stack, i); in shrink_class_stack() [all …]
|
D | term-ostream.oo.c | 1110 get_control_data (term_ostream_t stream) in get_control_data() argument 1112 return &stream->control_data; in get_control_data() 1117 simplify_attributes (term_ostream_t stream, attributes_t attr) in simplify_attributes() argument 1120 && stream->no_color_video > 0) in simplify_attributes() 1124 if (stream->no_color_video & 2) in simplify_attributes() 1127 if (stream->no_color_video & 32) in simplify_attributes() 1131 if (!stream->supports_foreground) in simplify_attributes() 1133 if (!stream->supports_background) in simplify_attributes() 1135 if (!stream->supports_weight) in simplify_attributes() 1137 if (!stream->supports_posture) in simplify_attributes() [all …]
|
/third_party/freetype/src/base/ |
D | ftstream.c | 30 #define FT_COMPONENT stream 34 FT_Stream_OpenMemory( FT_Stream stream, in FT_Stream_OpenMemory() argument 38 stream->base = (FT_Byte*) base; in FT_Stream_OpenMemory() 39 stream->size = size; in FT_Stream_OpenMemory() 40 stream->pos = 0; in FT_Stream_OpenMemory() 41 stream->cursor = NULL; in FT_Stream_OpenMemory() 42 stream->read = NULL; in FT_Stream_OpenMemory() 43 stream->close = NULL; in FT_Stream_OpenMemory() 48 FT_Stream_Close( FT_Stream stream ) in FT_Stream_Close() argument 50 if ( stream && stream->close ) in FT_Stream_Close() [all …]
|
/third_party/flutter/skia/third_party/externals/freetype/src/base/ |
D | ftstream.c | 31 #define FT_COMPONENT stream 35 FT_Stream_OpenMemory( FT_Stream stream, in FT_Stream_OpenMemory() argument 39 stream->base = (FT_Byte*) base; in FT_Stream_OpenMemory() 40 stream->size = size; in FT_Stream_OpenMemory() 41 stream->pos = 0; in FT_Stream_OpenMemory() 42 stream->cursor = NULL; in FT_Stream_OpenMemory() 43 stream->read = NULL; in FT_Stream_OpenMemory() 44 stream->close = NULL; in FT_Stream_OpenMemory() 49 FT_Stream_Close( FT_Stream stream ) in FT_Stream_Close() argument 51 if ( stream && stream->close ) in FT_Stream_Close() [all …]
|
/third_party/skia/third_party/externals/freetype/src/base/ |
D | ftstream.c | 30 #define FT_COMPONENT stream 34 FT_Stream_OpenMemory( FT_Stream stream, in FT_Stream_OpenMemory() argument 38 stream->base = (FT_Byte*) base; in FT_Stream_OpenMemory() 39 stream->size = size; in FT_Stream_OpenMemory() 40 stream->pos = 0; in FT_Stream_OpenMemory() 41 stream->cursor = NULL; in FT_Stream_OpenMemory() 42 stream->read = NULL; in FT_Stream_OpenMemory() 43 stream->close = NULL; in FT_Stream_OpenMemory() 48 FT_Stream_Close( FT_Stream stream ) in FT_Stream_Close() argument 50 if ( stream && stream->close ) in FT_Stream_Close() [all …]
|
/third_party/gstreamer/gstplugins_bad/gst/mpegpsmux/ |
D | psmuxstream.c | 53 static guint8 psmux_stream_pes_header_length (PsMuxStream * stream); 54 static void psmux_stream_write_pes_header (PsMuxStream * stream, guint8 * data); 55 static void psmux_stream_find_pts_dts_within (PsMuxStream * stream, guint bound, 70 PsMuxStream *stream = g_slice_new0 (PsMuxStream); in psmux_stream_new() local 73 stream->stream_type = stream_type; in psmux_stream_new() 74 stream->is_audio_stream = FALSE; in psmux_stream_new() 75 stream->is_video_stream = FALSE; in psmux_stream_new() 76 stream->stream_id = 0; in psmux_stream_new() 77 stream->max_buffer_size = 0; in psmux_stream_new() 83 stream->max_buffer_size = 2484; /* ISO/IEC 13818 2.5.2.4 */ in psmux_stream_new() [all …]
|
/third_party/mingw-w64/mingw-w64-crt/stdio/ |
D | mingw_pformat.c | 388 void __pformat_putc( int c, __pformat_t *stream ) in __pformat_putc() argument 393 if( (stream->flags & PFORMAT_NOLIMIT) || (stream->quota > stream->count) ) in __pformat_putc() 398 if( stream->flags & PFORMAT_TO_FILE ) in __pformat_putc() 402 __fputc(c, (FILE *)(stream->dest)); in __pformat_putc() 407 ((APICHAR *)(stream->dest))[stream->count] = c; in __pformat_putc() 409 ++stream->count; in __pformat_putc() 413 void __pformat_putchars( const char *s, int count, __pformat_t *stream ) in __pformat_putchars() argument 427 if( (stream->precision >= 0) && (count > stream->precision) ) in __pformat_putchars() 432 count = stream->precision; in __pformat_putchars() 436 if( stream->width > count ) in __pformat_putchars() [all …]
|
/third_party/gettext/libtextstyle/gnulib-local/tests/ |
D | test-term-ostream.c | 26 term_ostream_t stream; in main() local 29 stream = term_ostream_create (1, "stdout", TTYCTL_AUTO); in main() 33 term_ostream_rgb_to_color (stream, colors[i].r, colors[i].g, colors[i].b); in main() 35 ostream_write_str (stream, "Colors (foreground/background):\n"); in main() 36 ostream_write_str (stream, " "); in main() 40 ostream_write_str (stream, "|"); in main() 41 ostream_write_str (stream, name); in main() 42 ostream_write_mem (stream, " ", 7 - strlen (name)); in main() 44 ostream_write_str (stream, "\n"); in main() 48 ostream_write_str (stream, name); in main() [all …]
|
/third_party/uboot/u-boot-2020.01/fs/jffs2/ |
D | mini_inflate.c | 25 static void init_stream(struct bitstream *stream, unsigned char *data, in init_stream() argument 28 stream->error = NO_ERROR; in init_stream() 29 stream->memcpy = inflate_memcpy; in init_stream() 30 stream->decoded = 0; in init_stream() 31 stream->data = data; in init_stream() 32 stream->bit = 0; /* The first bit of the stream is the lsb of the in init_stream() 37 stream->codes.bits = 8; in init_stream() 38 stream->codes.num_symbols = 19; in init_stream() 39 stream->codes.lengths = stream->code_lengths; in init_stream() 40 stream->codes.symbols = stream->code_symbols; in init_stream() [all …]
|
/third_party/flutter/skia/tools/skdiff/ |
D | skdiff_html.cpp | 28 static void print_table_header(SkFILEWStream* stream, in print_table_header() argument 35 stream->writeText("<table>\n"); in print_table_header() 36 stream->writeText("<tr><th>"); in print_table_header() 37 stream->writeText("select image</th>\n<th>"); in print_table_header() 41 stream->writeText("SkDiff run at "); in print_table_header() 42 stream->writeDecAsText(dt.fHour); in print_table_header() 43 stream->writeText(":"); in print_table_header() 45 stream->writeText("0"); in print_table_header() 47 stream->writeDecAsText(dt.fMinute); in print_table_header() 48 stream->writeText(":"); in print_table_header() [all …]
|
/third_party/skia/tools/skdiff/ |
D | skdiff_html.cpp | 28 static void print_table_header(SkFILEWStream* stream, in print_table_header() argument 35 stream->writeText("<table>\n"); in print_table_header() 36 stream->writeText("<tr><th>"); in print_table_header() 37 stream->writeText("select image</th>\n<th>"); in print_table_header() 41 stream->writeText("SkDiff run at "); in print_table_header() 42 stream->writeDecAsText(dt.fHour); in print_table_header() 43 stream->writeText(":"); in print_table_header() 45 stream->writeText("0"); in print_table_header() 47 stream->writeDecAsText(dt.fMinute); in print_table_header() 48 stream->writeText(":"); in print_table_header() [all …]
|
/third_party/node/lib/internal/streams/ |
D | end-of-stream.js | 12 function isRequest(stream) { argument 13 return stream.setHeader && typeof stream.abort === 'function'; 16 function isReadable(stream) { argument 17 return typeof stream.readable === 'boolean' || 18 typeof stream.readableEnded === 'boolean' || 19 !!stream._readableState; 22 function isWritable(stream) { argument 23 return typeof stream.writable === 'boolean' || 24 typeof stream.writableEnded === 'boolean' || 25 !!stream._writableState; [all …]
|
/third_party/gettext/gettext-tools/src/ |
D | write-java.c | 358 write_java_string (FILE *stream, const char *str) in write_java_string() argument 363 fprintf (stream, "\""); in write_java_string() 372 fprintf (stream, "\\n"); in write_java_string() 374 fprintf (stream, "\\r"); in write_java_string() 376 fprintf (stream, "\\\""); in write_java_string() 378 fprintf (stream, "\\\\"); in write_java_string() 380 fprintf (stream, "%c", (int) uc); in write_java_string() 382 fprintf (stream, "\\u%c%c%c%c", in write_java_string() 391 fprintf (stream, "\\u%c%c%c%c", in write_java_string() 394 fprintf (stream, "\\u%c%c%c%c", in write_java_string() [all …]
|
D | write-csharp.c | 173 write_csharp_string (FILE *stream, const char *str) in write_csharp_string() argument 178 fprintf (stream, "\""); in write_csharp_string() 184 fprintf (stream, "\\0"); in write_csharp_string() 186 fprintf (stream, "\\a"); in write_csharp_string() 188 fprintf (stream, "\\b"); in write_csharp_string() 190 fprintf (stream, "\\t"); in write_csharp_string() 192 fprintf (stream, "\\n"); in write_csharp_string() 194 fprintf (stream, "\\v"); in write_csharp_string() 196 fprintf (stream, "\\f"); in write_csharp_string() 198 fprintf (stream, "\\r"); in write_csharp_string() [all …]
|
/third_party/gstreamer/gstreamer/gst/ |
D | gststreams.c | 179 gst_stream_init (GstStream * stream) in gst_stream_init() argument 181 stream->priv = gst_stream_get_instance_private (stream); in gst_stream_init() 182 stream->priv->type = GST_STREAM_TYPE_UNKNOWN; in gst_stream_init() 188 GstStream *stream = GST_STREAM_CAST (object); in gst_stream_finalize() local 190 gst_mini_object_replace ((GstMiniObject **) & stream->priv->tags, in gst_stream_finalize() 192 gst_caps_replace (&stream->priv->caps, NULL); in gst_stream_finalize() 193 g_free ((gchar *) stream->stream_id); in gst_stream_finalize() 217 GstStream *stream; in gst_stream_new() local 219 stream = g_object_new (GST_TYPE_STREAM, "stream-id", stream_id, "caps", caps, in gst_stream_new() 223 gst_object_ref_sink (stream); in gst_stream_new() [all …]
|
/third_party/skia/third_party/externals/angle2/src/tests/egl_tests/ |
D | EGLPrintEGLinfoTest.cpp | 151 #define QUERY_HELPER(enumValue, enumString, stream) \ argument 156 stream << enumString + std::string(",") + std::to_string(result) << std::endl; \ 159 #define QUERY_ARRAY_HELPER(enumValue, enumString, size, stream) \ argument 167 stream << enumString + std::string(",") + results.str() << std::endl; \ 170 #define QUERY_INDEXED_HELPER(enumValue, enumString, index, stream) \ argument 175 stream << enumString + std::string(",") + std::to_string(result) << std::endl; \ 178 #define QUERY_AND_LOG_CAPABILITY(enum, stream) QUERY_HELPER(enum, #enum, stream) argument 180 #define QUERY_AND_LOG_CAPABILITY_ARRAY(enum, size, stream) \ argument 181 QUERY_ARRAY_HELPER(enum, #enum, size, stream) 183 #define QUERY_AND_LOG_CAPABILITY_INDEXED(enum, index, stream) \ argument [all …]
|
/third_party/node/deps/npm/node_modules/through/ |
D | index.js | 18 var stream = new Stream() 19 stream.readable = stream.writable = true 20 stream.paused = false 23 stream.autoDestroy = !(opts && opts.autoDestroy === false) 25 stream.write = function (data) { 27 return !stream.paused 31 while(buffer.length && !stream.paused) { 34 return stream.emit('end') 36 stream.emit('data', data) 40 stream.queue = stream.push = function (data) { [all …]
|
/third_party/libdrm/tests/etnaviv/ |
D | etnaviv_cmd_stream_test.c | 36 struct etna_cmd_stream *stream; in test_avail() local 41 stream = etna_cmd_stream_new(NULL, 0, NULL, NULL); in test_avail() 42 assert(stream == NULL); in test_avail() 44 stream = etna_cmd_stream_new(NULL, 4, NULL, NULL); in test_avail() 45 assert(stream); in test_avail() 46 assert(etna_cmd_stream_avail(stream) == 2); in test_avail() 47 etna_cmd_stream_del(stream); in test_avail() 49 stream = etna_cmd_stream_new(NULL, 20, NULL, NULL); in test_avail() 50 assert(stream); in test_avail() 51 assert(etna_cmd_stream_avail(stream) == 18); in test_avail() [all …]
|
/third_party/libuv/src/unix/ |
D | stream.c | 47 uv_stream_t* stream; member 64 static void uv__write(uv_stream_t* stream); 65 static void uv__read(uv_stream_t* stream); 67 static void uv__write_callbacks(uv_stream_t* stream); 72 uv_stream_t* stream, in uv__stream_init() argument 76 uv__handle_init(loop, (uv_handle_t*)stream, type); in uv__stream_init() 77 stream->read_cb = NULL; in uv__stream_init() 78 stream->alloc_cb = NULL; in uv__stream_init() 79 stream->close_cb = NULL; in uv__stream_init() 80 stream->connection_cb = NULL; in uv__stream_init() [all …]
|
/third_party/node/deps/npm/node_modules/end-of-stream/ |
D | index.js | 5 var isRequest = function(stream) { argument 6 return stream.setHeader && typeof stream.abort === 'function'; 9 var isChildProcess = function(stream) { argument 10 return stream.stdio && Array.isArray(stream.stdio) && stream.stdio.length === 3 13 var eos = function(stream, opts, callback) { argument 14 if (typeof opts === 'function') return eos(stream, null, opts); 19 var ws = stream._writableState; 20 var rs = stream._readableState; 21 var readable = opts.readable || (opts.readable !== false && stream.readable); 22 var writable = opts.writable || (opts.writable !== false && stream.writable); [all …]
|
/third_party/gstreamer/gstplugins_bad/ext/webrtc/ |
D | transportstream.c | 44 transport_stream_get_caps_for_pt (TransportStream * stream, guint pt) in transport_stream_get_caps_for_pt() argument 48 len = stream->ptmap->len; in transport_stream_get_caps_for_pt() 50 PtMapItem *item = &g_array_index (stream->ptmap, PtMapItem, i); in transport_stream_get_caps_for_pt() 58 transport_stream_get_pt (TransportStream * stream, const gchar * encoding_name) in transport_stream_get_pt() argument 63 for (i = 0; i < stream->ptmap->len; i++) { in transport_stream_get_pt() 64 PtMapItem *item = &g_array_index (stream->ptmap, PtMapItem, i); in transport_stream_get_pt() 82 TransportStream *stream = TRANSPORT_STREAM (object); in transport_stream_set_property() local 86 gst_object_set_parent (GST_OBJECT (stream), g_value_get_object (value)); in transport_stream_set_property() 90 GST_OBJECT_LOCK (stream); in transport_stream_set_property() 95 stream->session_id = g_value_get_uint (value); in transport_stream_set_property() [all …]
|