Home
last modified time | relevance | path

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

/third_party/nghttp2/tests/
Dnghttp2_hd_test.c39 nghttp2_nv nva1[] = {MAKE_NV(":path", "/my-example/index.html"), in test_nghttp2_hd_deflate()
40 MAKE_NV(":scheme", "https"), MAKE_NV("hello", "world")}; in test_nghttp2_hd_deflate()
41 nghttp2_nv nva2[] = {MAKE_NV(":path", "/script.js"), in test_nghttp2_hd_deflate()
42 MAKE_NV(":scheme", "https")}; in test_nghttp2_hd_deflate()
43 nghttp2_nv nva3[] = {MAKE_NV("cookie", "k1=v1"), MAKE_NV("cookie", "k2=v2"), in test_nghttp2_hd_deflate()
44 MAKE_NV("via", "proxy")}; in test_nghttp2_hd_deflate()
45 nghttp2_nv nva4[] = {MAKE_NV(":path", "/style.css"), in test_nghttp2_hd_deflate()
46 MAKE_NV("cookie", "k1=v1"), MAKE_NV("cookie", "k1=v1")}; in test_nghttp2_hd_deflate()
47 nghttp2_nv nva5[] = {MAKE_NV(":path", "/style.css"), in test_nghttp2_hd_deflate()
48 MAKE_NV("x-nghttp2", "")}; in test_nghttp2_hd_deflate()
[all …]
Dfailmalloc_test.c130 nghttp2_nv nv[] = {MAKE_NV(":host", "example.org"), in run_nghttp2_session_send()
131 MAKE_NV(":scheme", "https")}; in run_nghttp2_session_send()
280 MAKE_NV(":method", "GET"), in run_nghttp2_session_recv()
281 MAKE_NV(":scheme", "https"), in run_nghttp2_session_recv()
282 MAKE_NV(":authority", "example.org"), in run_nghttp2_session_recv()
283 MAKE_NV(":path", "/"), in run_nghttp2_session_recv()
399 nghttp2_nv nv[] = {MAKE_NV(":host", "example.org"), in run_nghttp2_frame_pack_headers()
400 MAKE_NV(":scheme", "https")}; in run_nghttp2_frame_pack_headers()
528 MAKE_NV(":scheme", "https"), MAKE_NV(":authority", "example.org"), in run_nghttp2_hd()
529 MAKE_NV(":path", "/slashdot"), in run_nghttp2_hd()
[all …]
Dnghttp2_session_test.c85 MAKE_NV(":method", "GET"),
86 MAKE_NV(":path", "/"),
87 MAKE_NV(":scheme", "https"),
88 MAKE_NV(":authority", "localhost"),
92 MAKE_NV(":status", "200"),
97 MAKE_NV("digest", "SHA-256="
1848 MAKE_NV(":method", "GET"), MAKE_NV(":path", "/"), in test_nghttp2_session_recv_headers_with_extpri()
1849 MAKE_NV(":scheme", "https"), MAKE_NV(":authority", "localhost"), in test_nghttp2_session_recv_headers_with_extpri()
1850 MAKE_NV("priority", "i,u=2"), in test_nghttp2_session_recv_headers_with_extpri()
2143 nghttp2_nv nv = MAKE_NV(":authority", "example.org"); in test_nghttp2_session_recv_settings_header_table_size()
[all …]
Dnghttp2_frame_test.c632 nghttp2_nv emptynv[] = {MAKE_NV("", ""), MAKE_NV("", "")}; in test_nghttp2_nv_array_copy()
633 nghttp2_nv nv[] = {MAKE_NV("alpha", "bravo"), MAKE_NV("charlie", "delta")}; in test_nghttp2_nv_array_copy()
Dnghttp2_test_helper.h36 #define MAKE_NV(NAME, VALUE) \ macro
/third_party/nghttp2/examples/
Ddeflate.c34 #define MAKE_NV(K, V) \ macro
53 MAKE_NV(":scheme", "https"), MAKE_NV(":authority", "example.org"), in main()
54 MAKE_NV(":path", "/"), MAKE_NV("user-agent", "libnghttp2"), in main()
55 MAKE_NV("accept-encoding", "gzip, deflate")}; in main()
57 nghttp2_nv nva2[] = {MAKE_NV(":scheme", "https"), in main()
58 MAKE_NV(":authority", "example.org"), in main()
59 MAKE_NV(":path", "/stylesheet/style.css"), in main()
60 MAKE_NV("user-agent", "libnghttp2"), in main()
61 MAKE_NV("accept-encoding", "gzip, deflate"), in main()
62 MAKE_NV("referer", "https://example.org")}; in main()
Dclient.c67 #define MAKE_NV(NAME, VALUE) \ macro
483 const nghttp2_nv nva[] = {MAKE_NV(":method", "GET"), in submit_request()
485 MAKE_NV(":scheme", "https"), in submit_request()
487 MAKE_NV("accept", "*/*"), in submit_request()
488 MAKE_NV("user-agent", "nghttp2/" NGHTTP2_VERSION)}; in submit_request()
Dlibevent-client.c402 #define MAKE_NV(NAME, VALUE, VALUELEN) \ macro
422 MAKE_NV(":scheme", &uri[u->field_data[UF_SCHEMA].off], in submit_request()
424 MAKE_NV(":authority", stream_data->authority, stream_data->authoritylen), in submit_request()
425 MAKE_NV(":path", stream_data->path, stream_data->pathlen)}; in submit_request()
Dlibevent-server.c80 #define MAKE_NV(NAME, VALUE) \ macro
446 nghttp2_nv hdrs[] = {MAKE_NV(":status", "404")}; in error_reply()
540 nghttp2_nv hdrs[] = {MAKE_NV(":status", "200")}; in on_request_recv()
/third_party/nghttp2/doc/sources/
Dtutorial-client.rst277 MAKE_NV(":scheme", &uri[u->field_data[UF_SCHEMA].off],
279 MAKE_NV(":authority", stream_data->authority, stream_data->authoritylen),
280 MAKE_NV(":path", stream_data->path, stream_data->pathlen)};
/third_party/nghttp2/src/
Dhttp2_test.cc40 #define MAKE_NV(K, V) \ macro