Lines Matching refs:hdbuf
1849 char *hdbuf = (char *)mem; in http2_send() local
1914 if(hdbuf[i] == '\n' && hdbuf[i - 1] == '\r') { in http2_send()
1934 line_end = memchr(hdbuf, '\r', len); in http2_send()
1939 end = memchr(hdbuf, ' ', line_end - hdbuf); in http2_send()
1940 if(!end || end == hdbuf) in http2_send()
1944 nva[0].value = (unsigned char *)hdbuf; in http2_send()
1945 nva[0].valuelen = (size_t)(end - hdbuf); in http2_send()
1952 hdbuf = end + 1; in http2_send()
1956 for(i = (size_t)(line_end - hdbuf); i; --i) { in http2_send()
1957 if(hdbuf[i - 1] == ' ') { in http2_send()
1958 end = &hdbuf[i - 1]; in http2_send()
1962 if(!end || end == hdbuf) in http2_send()
1966 nva[1].value = (unsigned char *)hdbuf; in http2_send()
1967 nva[1].valuelen = (size_t)(end - hdbuf); in http2_send()
1992 hdbuf = line_end + 2; in http2_send()
1996 line_end = memchr(hdbuf, '\r', len - (hdbuf - (char *)mem)); in http2_send()
1997 if(!line_end || (line_end == hdbuf)) in http2_send()
2001 if(*hdbuf == ' ' || *hdbuf == '\t') in http2_send()
2004 for(end = hdbuf; end < line_end && *end != ':'; ++end) in http2_send()
2006 if(end == hdbuf || end == line_end) in http2_send()
2008 hlen = end - hdbuf; in http2_send()
2010 if(hlen == 4 && strncasecompare("host", hdbuf, 4)) { in http2_send()
2016 nva[i].namelen = (size_t)(end - hdbuf); in http2_send()
2018 Curl_strntolower((char *)hdbuf, hdbuf, nva[i].namelen); in http2_send()
2019 nva[i].name = (unsigned char *)hdbuf; in http2_send()
2021 hdbuf = end + 1; in http2_send()
2022 while(*hdbuf == ' ' || *hdbuf == '\t') in http2_send()
2023 ++hdbuf; in http2_send()
2026 switch(inspect_header((const char *)nva[i].name, nva[i].namelen, hdbuf, in http2_send()
2027 end - hdbuf)) { in http2_send()
2037 nva[i].value = (unsigned char *)hdbuf; in http2_send()
2038 nva[i].valuelen = (size_t)(end - hdbuf); in http2_send()