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 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 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 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.c226 int hd; in test() local
251 hd = fstat(fileno(hd_src), &file_info); in test()
252 if(hd == -1) { in test()
/curl/lib/
H A Dhttp.c2802 #define HD_IS(hd, hdlen, n) \ argument
2805 #define HD_VAL(hd, hdlen, n) \ argument
2807 curl_strnequal((n), (hd), (sizeof(n)-1)))? (hd + (sizeof(n)-1)) : NULL)
2812 (HD_IS(hd, hdlen, n) && \
2827 switch(hd[0]) { in Curl_http_header()
3151 v = HD_VAL(hd, hdlen, "Trailer:"); in Curl_http_header()
3310 if(((hd[0] == ' ') || (hd[0] == '\t')) && k->headerline > 2) in verify_header()
3314 ptr = memchr(hd, ':', hdlen); in verify_header()
3674 if((0x0a == *hd) || (0x0d == *hd)) { in http_rw_hd()
3716 const char *p = hd; in http_rw_hd()
[all …]
H A Dcf-h2-proxy.c577 switch(frame->hd.type) { in proxy_h2_fr_print()
581 (int)frame->hd.length, in proxy_h2_fr_print()
595 (int)frame->hd.length, frame->hd.flags); in proxy_h2_fr_print()
600 (int)frame->hd.length, frame->hd.flags, in proxy_h2_fr_print()
639 frame->hd.type, (int)frame->hd.length, in proxy_h2_fr_print()
640 frame->hd.flags); in proxy_h2_fr_print()
671 int32_t stream_id = frame->hd.stream_id; in proxy_h2_on_frame_recv()
688 switch(frame->hd.type) { in proxy_h2_on_frame_recv()
713 switch(frame->hd.type) { in proxy_h2_on_frame_recv()
750 int32_t stream_id = frame->hd.stream_id; in proxy_h2_on_header()
[all …]
H A Dhttp2.c1099 int32_t stream_id = frame->hd.stream_id; in on_stream_frame()
1107 switch(frame->hd.type) { in on_stream_frame()
1211 switch(frame->hd.type) { in fr_print()
1229 (int)frame->hd.length, frame->hd.flags); in fr_print()
1234 (int)frame->hd.length, frame->hd.flags, in fr_print()
1275 frame->hd.type, (int)frame->hd.length, in fr_print()
1276 frame->hd.flags); in fr_print()
1305 int32_t stream_id = frame->hd.stream_id; in on_frame_recv()
1321 switch(frame->hd.type) { in on_frame_recv()
1486 if(frame->hd.type != NGHTTP2_HEADERS) { in on_begin_headers()
[all …]
H A Dhttp.h105 const char *hd, size_t hdlen);
137 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.h708 const char *hd, size_t hdlen, bool is_eos);
/curl/lib/vquic/
H A Dcurl_msh3.c377 const MSH3_HEADER *hd) in msh3_header_received() argument
392 if((hd->NameLength == 7) && in msh3_header_received()
393 !strncmp(HTTP_PSEUDO_STATUS, (char *)hd->Name, 7)) { in msh3_header_received()
398 stream->status_code = decode_status_code(hd->Value, hd->ValueLength); in msh3_header_received()
410 result = write_resp_raw(data, hd->Name, hd->NameLength); in msh3_header_received()
414 result = write_resp_raw(data, hd->Value, hd->ValueLength); in msh3_header_received()

Completed in 50 milliseconds