Home
last modified time | relevance | path

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

/third_party/nghttp2/examples/
Dlibevent-server.c208 http2_stream_data *stream_data) { in add_stream() argument
209 stream_data->next = session_data->root.next; in add_stream()
210 session_data->root.next = stream_data; in add_stream()
211 stream_data->prev = &session_data->root; in add_stream()
212 if (stream_data->next) { in add_stream()
213 stream_data->next->prev = stream_data; in add_stream()
218 http2_stream_data *stream_data) { in remove_stream() argument
221 stream_data->prev->next = stream_data->next; in remove_stream()
222 if (stream_data->next) { in remove_stream()
223 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/cups-filters/filter/
Dpdf.cxx141 PointerHolder<Buffer> stream_data = PointerHolder<Buffer>(new Buffer(len)); in pdf_prepend_stream() local
142 memcpy(stream_data->getBuffer(), buf, len); in pdf_prepend_stream()
143 QPDFObjectHandle stream = QPDFObjectHandle::newStream(pdf, stream_data); in pdf_prepend_stream()
/third_party/mesa3d/src/freedreno/ir3/
Dir3_shader.c248 char *stream_data = NULL; in assemble_variant() local
250 FILE *stream = open_memstream(&stream_data, &stream_size); in assemble_variant()
261 memcpy(v->disasm_info.disasm, stream_data, stream_size); in assemble_variant()
263 free(stream_data); in assemble_variant()
267 char *stream_data = NULL; in assemble_variant() local
269 FILE *stream = open_memstream(&stream_data, &stream_size); in assemble_variant()
280 mesa_log_multiline(MESA_LOG_INFO, stream_data); in assemble_variant()
281 free(stream_data); in assemble_variant()
/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/mesa3d/src/compiler/nir/
Dnir_print.c1768 char *stream_data = NULL; in nir_shader_as_str_annotated() local
1771 if (u_memstream_open(&mem, &stream_data, &stream_size)) { in nir_shader_as_str_annotated()
1778 memcpy(str, stream_data, stream_size); in nir_shader_as_str_annotated()
1781 free(stream_data); in nir_shader_as_str_annotated()
/third_party/mesa3d/src/amd/vulkan/
Dradv_device_generated_commands.c421 nir_ssa_def *stream_data = in build_dgc_prepare_shader() local
424 nir_ssa_def *va = nir_pack_64_2x32(&b, nir_channels(&b, stream_data, 0x3)); in build_dgc_prepare_shader()
425 nir_ssa_def *size = nir_channel(&b, stream_data, 2); in build_dgc_prepare_shader()
426 nir_ssa_def *stride = nir_channel(&b, stream_data, 3); in build_dgc_prepare_shader()
/third_party/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.c1177 char *stream_data = NULL; in anv_pipeline_add_executable() local
1179 FILE *stream = open_memstream(&stream_data, &stream_size); in anv_pipeline_add_executable()
1241 memcpy(disasm, stream_data, stream_size); in anv_pipeline_add_executable()
1244 free(stream_data); in anv_pipeline_add_executable()