Lines Matching refs:datap
111 char *datap, in Curl_httpchunk_read() argument
129 result = Curl_client_write(conn, CLIENTWRITE_BODY, datap, datalen); in Curl_httpchunk_read()
139 if(Curl_isxdigit_ascii(*datap)) { in Curl_httpchunk_read()
141 ch->hexbuffer[ch->hexindex] = *datap; in Curl_httpchunk_read()
142 datap++; in Curl_httpchunk_read()
177 if(*datap == 0x0a) { in Curl_httpchunk_read()
186 datap++; in Curl_httpchunk_read()
199 result = Curl_unencode_write(conn, k->writer_stack, datap, piece); in Curl_httpchunk_read()
201 result = Curl_client_write(conn, CLIENTWRITE_BODY, datap, piece); in Curl_httpchunk_read()
211 datap += piece; /* move read pointer forward */ in Curl_httpchunk_read()
220 if(*datap == 0x0a) { in Curl_httpchunk_read()
224 else if(*datap != 0x0d) in Curl_httpchunk_read()
226 datap++; in Curl_httpchunk_read()
231 if((*datap == 0x0d) || (*datap == 0x0a)) { in Curl_httpchunk_read()
260 if(*datap == 0x0a) in Curl_httpchunk_read()
271 result = Curl_dyn_addn(&conn->trailer, datap, 1); in Curl_httpchunk_read()
275 datap++; in Curl_httpchunk_read()
280 if(*datap == 0x0a) { in Curl_httpchunk_read()
282 datap++; in Curl_httpchunk_read()
292 if((*datap != 0x0d) && (*datap != 0x0a)) { in Curl_httpchunk_read()
297 if(*datap == 0x0d) { in Curl_httpchunk_read()
299 datap++; in Curl_httpchunk_read()
307 if(*datap == 0x0a) { in Curl_httpchunk_read()