Lines Matching refs:gotsize
1447 size_t gotsize = 0; in Curl_FormReader() local
1458 gotsize = readfromfile(form, buffer, wantedsize); in Curl_FormReader()
1460 if(gotsize) in Curl_FormReader()
1462 return gotsize; in Curl_FormReader()
1466 if((form->data->length - form->sent ) > wantedsize - gotsize) { in Curl_FormReader()
1468 memcpy(buffer + gotsize , form->data->line + form->sent, in Curl_FormReader()
1469 wantedsize - gotsize); in Curl_FormReader()
1471 form->sent += wantedsize-gotsize; in Curl_FormReader()
1476 memcpy(buffer+gotsize, in Curl_FormReader()
1479 gotsize += form->data->length - form->sent; in Curl_FormReader()
1489 return gotsize; in Curl_FormReader()