/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/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/mesa3d/src/gallium/auxiliary/util/ |
D | u_dump_state.c | 45 util_stream_writef(FILE *stream, const char *format, ...) in util_stream_writef() argument 53 fwrite(buf, len, 1, stream); in util_stream_writef() 57 util_dump_bool(FILE *stream, int value) in util_dump_bool() argument 59 util_stream_writef(stream, "%c", value ? '1' : '0'); in util_dump_bool() 63 util_dump_int(FILE *stream, long long int value) in util_dump_int() argument 65 util_stream_writef(stream, "%lli", value); in util_dump_int() 69 util_dump_uint(FILE *stream, long long unsigned value) in util_dump_uint() argument 71 util_stream_writef(stream, "%llu", value); in util_dump_uint() 75 util_dump_float(FILE *stream, double value) in util_dump_float() argument 77 util_stream_writef(stream, "%g", value); in util_dump_float() [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 | 78 static guint8 tsmux_stream_pes_header_length (TsMuxStream * stream); 79 static void tsmux_stream_write_pes_header (TsMuxStream * stream, guint8 * data); 80 static void tsmux_stream_find_pts_dts_within (TsMuxStream * stream, guint bound, 111 TsMuxStream *stream = g_slice_new0 (TsMuxStream); in tsmux_stream_new() local 113 stream->state = TSMUX_STREAM_STATE_HEADER; in tsmux_stream_new() 114 stream->pi.pid = pid; in tsmux_stream_new() 115 stream->stream_type = stream_type; in tsmux_stream_new() 117 stream->pes_payload_size = 0; in tsmux_stream_new() 118 stream->cur_pes_payload_size = 0; in tsmux_stream_new() 119 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/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/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/mesa3d/src/gallium/drivers/i915/ |
D | i915_debug.c | 70 debug(struct debug_stream *stream, const char *name, unsigned len) in debug() argument 73 unsigned *ptr = (unsigned *)(stream->ptr + stream->offset); in debug() 76 mesa_logi("Error - zero length packet (0x%08x)", stream->ptr[0]); in debug() 81 if (stream->print_addresses) in debug() 82 mesa_logi("%08x: ", stream->offset); in debug() 89 stream->offset += len * sizeof(unsigned); in debug() 141 debug_prim(struct debug_stream *stream, const char *name, bool dump_floats, in debug_prim() argument 144 unsigned *ptr = (unsigned *)(stream->ptr + stream->offset); in debug_prim() 159 stream->offset += len * sizeof(unsigned); in debug_prim() 165 debug_program(struct debug_stream *stream, const char *name, unsigned len) in debug_program() argument [all …]
|
D | i915_debug_fp.c | 74 print_reg_type_nr(char **stream, unsigned type, unsigned nr) in print_reg_type_nr() argument 80 PRINTF(stream, "T_DIFFUSE"); in print_reg_type_nr() 83 PRINTF(stream, "T_SPECULAR"); in print_reg_type_nr() 86 PRINTF(stream, "T_FOG_W"); in print_reg_type_nr() 89 PRINTF(stream, "T_TEX%d", nr); in print_reg_type_nr() 94 PRINTF(stream, "oC"); in print_reg_type_nr() 100 PRINTF(stream, "oD"); in print_reg_type_nr() 108 PRINTF(stream, "%s[%d]", regname[type], nr); in print_reg_type_nr() 119 print_reg_neg_swizzle(char **stream, unsigned reg) in print_reg_neg_swizzle() argument 127 PRINTF(stream, "."); in print_reg_neg_swizzle() [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/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/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/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/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/mesa3d/src/freedreno/ir3/ |
D | ir3_print.c | 70 print_instr_name(struct log_stream *stream, struct ir3_instruction *instr, in print_instr_name() argument 76 mesa_log_stream_printf(stream, "%04u:", instr->serialno); in print_instr_name() 78 mesa_log_stream_printf(stream, "%04u:", instr->ip); in print_instr_name() 80 mesa_log_stream_printf(stream, "XXX: "); in print_instr_name() 82 mesa_log_stream_printf(stream, "%03u: ", instr->use_count); in print_instr_name() 86 mesa_log_stream_printf(stream, "\t"); in print_instr_name() 88 mesa_log_stream_printf(stream, "(sy)"); in print_instr_name() 90 mesa_log_stream_printf(stream, "(ss)"); in print_instr_name() 92 mesa_log_stream_printf(stream, "(jp)"); in print_instr_name() 94 mesa_log_stream_printf(stream, "(rpt%d)", instr->repeat); in print_instr_name() [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/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/skia/third_party/externals/dng_sdk/source/ |
D | dng_iptc.cpp | 183 void dng_iptc::ParseString (dng_stream &stream, in ParseString() argument 188 uint32 length = stream.Get_uint16 (); in ParseString() 194 stream.Get (c, length); in ParseString() 229 dng_stream stream (blockData, in Parse() local 233 stream.SetBigEndian (); in Parse() 244 uint64 firstOffset = stream.Position (); in Parse() 248 while (nextOffset + 5 < stream.Length ()) in Parse() 251 stream.SetReadPosition (nextOffset); in Parse() 253 uint8 firstByte = stream.Get_uint8 (); in Parse() 257 uint8 record = stream.Get_uint8 (); in Parse() [all …]
|