Home
last modified time | relevance | path

Searched refs:stream_data (Results 1 – 15 of 15) sorted by relevance

/third_party/glib/gio/tests/
Ddata-output-stream.c143 guchar *stream_data; in test_data_array() local
152 stream_data = g_malloc0 (len); in test_data_array()
153 base_stream = g_memory_output_stream_new (stream_data, len, NULL, NULL); in test_data_array()
225 g_assert_cmpint (buffer[pos], ==, stream_data[pos]); in test_data_array()
229 …assert_cmpint (GUINT16_SWAP_LE_BE (((guint16 *) buffer)[pos]), ==, ((guint16 *) stream_data)[pos]); in test_data_array()
231 g_assert_cmpint (((guint16 *) buffer)[pos], ==, ((guint16 *) stream_data)[pos]); in test_data_array()
235 …cmpint ((gint16) GUINT16_SWAP_LE_BE (((gint16 *) buffer)[pos]), ==, ((gint16 *) stream_data)[pos]); in test_data_array()
237 g_assert_cmpint (((gint16 *) buffer)[pos], ==, ((gint16 *) stream_data)[pos]); in test_data_array()
241 …assert_cmpint (GUINT32_SWAP_LE_BE (((guint32 *) buffer)[pos]), ==, ((guint32 *) stream_data)[pos]); in test_data_array()
243 g_assert_cmpint (((guint32 *) buffer)[pos], ==, ((guint32 *) stream_data)[pos]); in test_data_array()
[all …]
Dbuffered-output-stream.c241 guchar *stream_data; in test_truncate() local
248 stream_data = g_malloc0 (len); in test_truncate()
249 …base_stream = G_MEMORY_OUTPUT_STREAM (g_memory_output_stream_new (stream_data, len, g_realloc, g_f… in test_truncate()
273 stream_data = g_memory_output_stream_get_data (base_stream); in test_truncate()
274 g_assert_cmpint (stream_data[0], ==, 'a'); in test_truncate()
275 g_assert_cmpint (stream_data[1], ==, 'b'); in test_truncate()
276 g_assert_cmpint (stream_data[2], ==, 'c'); in test_truncate()
277 g_assert_cmpint (stream_data[3], ==, 'd'); in test_truncate()
285 stream_data = g_memory_output_stream_get_data (base_stream); in test_truncate()
286 g_assert_cmpint (stream_data[0], ==, 'a'); in test_truncate()
[all …]
/third_party/nghttp2/examples/
Dlibevent-server.c200 http2_stream_data *stream_data) { in add_stream() argument
201 stream_data->next = session_data->root.next; in add_stream()
202 session_data->root.next = stream_data; in add_stream()
203 stream_data->prev = &session_data->root; in add_stream()
204 if (stream_data->next) { in add_stream()
205 stream_data->next->prev = stream_data; in add_stream()
210 http2_stream_data *stream_data) { in remove_stream() argument
213 stream_data->prev->next = stream_data->next; in remove_stream()
214 if (stream_data->next) { in remove_stream()
215 stream_data->next->prev = stream_data->prev; in remove_stream()
[all …]
Dlibevent-client.c94 http2_stream_data *stream_data; member
101 http2_stream_data *stream_data = malloc(sizeof(http2_stream_data)); in create_http2_stream_data() local
103 stream_data->uri = uri; in create_http2_stream_data()
104 stream_data->u = u; in create_http2_stream_data()
105 stream_data->stream_id = -1; in create_http2_stream_data()
107 stream_data->authoritylen = u->field_data[UF_HOST].len; in create_http2_stream_data()
108 stream_data->authority = malloc(stream_data->authoritylen + extra); in create_http2_stream_data()
109 memcpy(stream_data->authority, &uri[u->field_data[UF_HOST].off], in create_http2_stream_data()
112 stream_data->authoritylen += in create_http2_stream_data()
113 (size_t)snprintf(stream_data->authority + u->field_data[UF_HOST].len, in create_http2_stream_data()
[all …]
/third_party/nghttp2/doc/sources/
Dtutorial-client.rst83 http2_stream_data *stream_data;
88 and the ``stream_data`` points to it. The ``http2_stream_data``
272 http2_stream_data *stream_data = session_data->stream_data;
273 const char *uri = stream_data->uri;
274 const struct http_parser_url *u = stream_data->u;
279 MAKE_NV(":authority", stream_data->authority, stream_data->authoritylen),
280 MAKE_NV(":path", stream_data->path, stream_data->pathlen)};
284 ARRLEN(hdrs), NULL, stream_data);
289 stream_data->stream_id = stream_id;
295 HTTP request, we call `nghttp2_submit_request()`. The ``stream_data``
[all …]
Dtutorial-server.rst459 http2_stream_data *stream_data;
465 stream_data = create_http2_stream_data(session_data, frame->hd.stream_id);
467 stream_data);
491 http2_stream_data *stream_data;
498 stream_data =
500 if (!stream_data || stream_data->request_path) {
507 stream_data->request_path = percent_decode(value, j);
525 http2_stream_data *stream_data;
531 stream_data =
535 if (!stream_data) {
[all …]
/third_party/mesa3d/src/freedreno/ir3/
Dir3_shader.c247 char *stream_data = NULL; in assemble_variant() local
249 FILE *stream = open_memstream(&stream_data, &stream_size); in assemble_variant()
260 memcpy(v->disasm_info.disasm, stream_data, stream_size); in assemble_variant()
262 free(stream_data); in assemble_variant()
266 char *stream_data = NULL; in assemble_variant() local
268 FILE *stream = open_memstream(&stream_data, &stream_size); in assemble_variant()
279 mesa_log_multiline(MESA_LOG_INFO, stream_data); in assemble_variant()
280 free(stream_data); in assemble_variant()
/third_party/boost/boost/fusion/sequence/io/detail/
Dmanip.hpp47 struct stream_data struct
85 typedef stream_data<Stream, Tag, string_type> stream_data_t;
/third_party/mesa3d/src/compiler/nir/
Dnir_print.c1659 char *stream_data = NULL; in nir_shader_as_str_annotated() local
1662 if (u_memstream_open(&mem, &stream_data, &stream_size)) { in nir_shader_as_str_annotated()
1669 memcpy(str, stream_data, stream_size); in nir_shader_as_str_annotated()
1672 free(stream_data); in nir_shader_as_str_annotated()
/third_party/protobuf/src/google/protobuf/
Dwire_format_unittest.cc494 std::string stream_data; in TEST() local
497 stream_data.resize(size); in TEST()
508 io::ArrayOutputStream array_stream(::google::protobuf::string_as_array(&stream_data), size, in TEST()
523 EXPECT_TRUE(flat_data == stream_data); in TEST()
/third_party/gstreamer/gstplugins_bad/gst/mpegtsmux/
Dgstbasetsmux.c1189 StreamData *stream_data; in gst_base_ts_mux_aggregate_buffer() local
1339 stream_data = stream_data_new (buf); in gst_base_ts_mux_aggregate_buffer()
1340 tsmux_stream_add_data (best->stream, stream_data->map_info.data, in gst_base_ts_mux_aggregate_buffer()
1341 stream_data->map_info.size, stream_data, pts, dts, !delta); in gst_base_ts_mux_aggregate_buffer()
/third_party/libpng/
Dexample.c632 png_set_progressive_read_fn(*png_ptr, (void *)stream_data,
/third_party/skia/third_party/externals/libpng/
Dexample.c632 png_set_progressive_read_fn(*png_ptr, (void *)stream_data,
/third_party/flutter/skia/third_party/externals/libpng/
Dexample.c632 png_set_progressive_read_fn(*png_ptr, (void *)stream_data,
/third_party/mesa3d/src/intel/vulkan/
Danv_pipeline.c1232 char *stream_data = NULL; in anv_pipeline_add_executable() local
1234 FILE *stream = open_memstream(&stream_data, &stream_size); in anv_pipeline_add_executable()
1296 memcpy(disasm, stream_data, stream_size); in anv_pipeline_add_executable()
1299 free(stream_data); in anv_pipeline_add_executable()