Lines Matching refs:datap
106 char *datap, in Curl_httpchunk_read() argument
123 result = Curl_client_write(conn, CLIENTWRITE_BODY, datap, datalen); in Curl_httpchunk_read()
131 if(Curl_isxdigit(*datap)) { in Curl_httpchunk_read()
133 ch->hexbuffer[ch->hexindex] = *datap; in Curl_httpchunk_read()
134 datap++; in Curl_httpchunk_read()
171 if(*datap == 0x0a) { in Curl_httpchunk_read()
181 datap++; in Curl_httpchunk_read()
199 result = Curl_client_write(conn, CLIENTWRITE_BODY, datap, in Curl_httpchunk_read()
209 data->req.str = datap; in Curl_httpchunk_read()
216 data->req.str = datap; in Curl_httpchunk_read()
237 datap += piece; /* move read pointer forward */ in Curl_httpchunk_read()
246 if(*datap == 0x0a) { in Curl_httpchunk_read()
250 else if(*datap != 0x0d) in Curl_httpchunk_read()
252 datap++; in Curl_httpchunk_read()
257 if((*datap == 0x0d) || (*datap == 0x0a)) { in Curl_httpchunk_read()
283 if(*datap == 0x0a) in Curl_httpchunk_read()
312 conn->trailer[conn->trlPos++]=*datap; in Curl_httpchunk_read()
314 datap++; in Curl_httpchunk_read()
319 if(*datap == 0x0a) { in Curl_httpchunk_read()
321 datap++; in Curl_httpchunk_read()
331 if((*datap != 0x0d) && (*datap != 0x0a)) { in Curl_httpchunk_read()
336 if(*datap == 0x0d) { in Curl_httpchunk_read()
338 datap++; in Curl_httpchunk_read()
346 if(*datap == 0x0a) { in Curl_httpchunk_read()