Searched refs:hdbuf (Results 1 – 3 of 3) sorted by relevance
/external/curl/lib/vquic/ |
D | quiche.c | 604 char *hdbuf = (char *)mem; in http_request() local 618 if(hdbuf[i] == '\n' && hdbuf[i - 1] == '\r') { in http_request() 638 line_end = memchr(hdbuf, '\r', len); in http_request() 645 end = memchr(hdbuf, ' ', line_end - hdbuf); in http_request() 646 if(!end || end == hdbuf) in http_request() 650 nva[0].value = (unsigned char *)hdbuf; in http_request() 651 nva[0].value_len = (size_t)(end - hdbuf); in http_request() 653 hdbuf = end + 1; in http_request() 657 for(i = (size_t)(line_end - hdbuf); i; --i) { in http_request() 658 if(hdbuf[i - 1] == ' ') { in http_request() [all …]
|
D | ngtcp2.c | 1402 char *hdbuf = (char *)mem; in http_request() local 1427 if(hdbuf[i] == '\n' && hdbuf[i - 1] == '\r') { in http_request() 1447 line_end = memchr(hdbuf, '\r', len); in http_request() 1454 end = memchr(hdbuf, ' ', line_end - hdbuf); in http_request() 1455 if(!end || end == hdbuf) in http_request() 1459 nva[0].value = (unsigned char *)hdbuf; in http_request() 1460 nva[0].valuelen = (size_t)(end - hdbuf); in http_request() 1463 hdbuf = end + 1; in http_request() 1467 for(i = (size_t)(line_end - hdbuf); i; --i) { in http_request() 1468 if(hdbuf[i - 1] == ' ') { in http_request() [all …]
|
/external/curl/lib/ |
D | http2.c | 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() [all …]
|