Home
last modified time | relevance | path

Searched refs:hd (Results 1 – 12 of 12) sorted by relevance

/curl/tests/libtest/
H A Dlib541.c41 int hd; in test() local
58 hd = fstat(fileno(hd_src), &file_info); in test()
59 if(hd == -1) { in test()
H A Dlib525.c39 int hd; in test() local
66 hd = fstat(fileno(hd_src), &file_info); in test()
67 if(hd == -1) { in test()
H A Dlib505.c44 int hd; in test() local
66 hd = fstat(fileno(hd_src), &file_info); in test()
67 if(hd == -1) { in test()
H A Dlib1485.c42 const char *hd = ptr; in header_callback() local
48 if(len == 2 && hd[0] == '\r' && hd[1] == '\n') { in header_callback()
H A Dlib582.c228 int hd; in test() local
253 hd = fstat(fileno(hd_src), &file_info); in test()
254 if(hd == -1) { in test()
/curl/lib/
H A Dcf-h2-proxy.c572 switch(frame->hd.type) { in proxy_h2_fr_print()
576 (int)frame->hd.length, in proxy_h2_fr_print()
590 (int)frame->hd.length, frame->hd.flags); in proxy_h2_fr_print()
595 (int)frame->hd.length, frame->hd.flags, in proxy_h2_fr_print()
636 frame->hd.type, (int)frame->hd.length, in proxy_h2_fr_print()
637 frame->hd.flags); in proxy_h2_fr_print()
668 int32_t stream_id = frame->hd.stream_id; in proxy_h2_on_frame_recv()
685 switch(frame->hd.type) { in proxy_h2_on_frame_recv()
710 switch(frame->hd.type) { in proxy_h2_on_frame_recv()
747 int32_t stream_id = frame->hd.stream_id; in proxy_h2_on_header()
[all …]
H A Dhttp.c2821 #define HD_IS(hd, hdlen, n) \ argument
2824 #define HD_VAL(hd, hdlen, n) \ argument
2826 curl_strnequal((n), (hd), (sizeof(n)-1)))? (hd + (sizeof(n)-1)) : NULL)
2831 (HD_IS(hd, hdlen, n) && \
2846 switch(hd[0]) { in Curl_http_header()
3316 char *ptr = memchr(hd, 0x00, hdlen); in verify_header()
3325 if(((hd[0] == ' ') || (hd[0] == '\t')) && k->headerline > 2) in verify_header()
3329 ptr = memchr(hd, ':', hdlen); in verify_header()
3691 if((0x0a == *hd) || (0x0d == *hd)) { in http_rw_hd()
3733 const char *p = hd; in http_rw_hd()
[all …]
H A Dhttp2.c1020 int32_t stream_id = frame->hd.stream_id; in on_stream_frame()
1028 switch(frame->hd.type) { in on_stream_frame()
1113 switch(frame->hd.type) { in fr_print()
1131 (int)frame->hd.length, frame->hd.flags); in fr_print()
1136 (int)frame->hd.length, frame->hd.flags, in fr_print()
1177 frame->hd.type, (int)frame->hd.length, in fr_print()
1178 frame->hd.flags); in fr_print()
1207 int32_t stream_id = frame->hd.stream_id; in on_frame_recv()
1223 switch(frame->hd.type) { in on_frame_recv()
1393 if(frame->hd.type != NGHTTP2_HEADERS) { in on_begin_headers()
[all …]
H A Dhttp.h106 const char *hd, size_t hdlen);
138 const char *hd, size_t hdlen,
H A Dhttp_chunks.c584 char hd[11] = ""; in add_chunk() local
588 hdlen = msnprintf(hd, sizeof(hd), "%zx\r\n", nread); in add_chunk()
592 result = Curl_bufq_cwrite(&ctx->chunkbuf, hd, hdlen, &n); in add_chunk()
H A Durldata.h728 const char *hd, size_t hdlen, bool is_eos);
/curl/lib/vquic/
H A Dcurl_msh3.c355 const MSH3_HEADER *hd) in msh3_header_received() argument
370 if((hd->NameLength == 7) && in msh3_header_received()
371 !strncmp(HTTP_PSEUDO_STATUS, (char *)hd->Name, 7)) { in msh3_header_received()
376 stream->status_code = decode_status_code(hd->Value, hd->ValueLength); in msh3_header_received()
388 result = write_resp_raw(data, hd->Name, hd->NameLength); in msh3_header_received()
392 result = write_resp_raw(data, hd->Value, hd->ValueLength); in msh3_header_received()

Completed in 68 milliseconds