Lines Matching refs:result

163   CURLcode result;  in file_connect()  local
174 result = Curl_urldecode(data->state.up.path, 0, &real_path, in file_connect()
176 if(result) in file_connect()
177 return result; in file_connect()
302 CURLcode result = CURLE_OK; in file_upload() local
352 result = Curl_multi_xfer_ulbuf_borrow(data, &xfer_ulbuf, &xfer_ulblen); in file_upload()
353 if(result) in file_upload()
356 while(!result && !eos) { in file_upload()
361 result = Curl_client_read(data, xfer_ulbuf, xfer_ulblen, &readcount, &eos); in file_upload()
362 if(result) in file_upload()
389 result = CURLE_SEND_ERROR; in file_upload()
398 result = CURLE_ABORTED_BY_CALLBACK; in file_upload()
400 result = Curl_speedcheck(data, Curl_now()); in file_upload()
402 if(!result && Curl_pgrsUpdate(data)) in file_upload()
403 result = CURLE_ABORTED_BY_CALLBACK; in file_upload()
409 return result; in file_upload()
427 CURLcode result = CURLE_OK; in file_do() local
473 result = Curl_client_write(data, CLIENTWRITE_HEADER, header, headerlen); in file_do()
474 if(result) in file_do()
475 return result; in file_do()
477 result = Curl_client_write(data, CLIENTWRITE_HEADER, in file_do()
479 if(result != CURLE_OK) in file_do()
480 return result; in file_do()
484 result = Curl_gmtime(filetime, &buffer); in file_do()
485 if(result) in file_do()
486 return result; in file_do()
499 result = Curl_client_write(data, CLIENTWRITE_HEADER, header, headerlen); in file_do()
500 if(!result) in file_do()
502 result = Curl_client_write(data, CLIENTWRITE_HEADER, "\r\n", 2); in file_do()
503 if(result) in file_do()
504 return result; in file_do()
512 result = Curl_range(data); in file_do()
513 if(result) in file_do()
514 return result; in file_do()
565 result = Curl_multi_xfer_buf_borrow(data, &xfer_buf, &xfer_blen); in file_do()
566 if(result) in file_do()
570 while(!result) { in file_do()
593 result = Curl_client_write(data, CLIENTWRITE_BODY, xfer_buf, nread); in file_do()
594 if(result) in file_do()
598 result = CURLE_ABORTED_BY_CALLBACK; in file_do()
600 result = Curl_speedcheck(data, Curl_now()); in file_do()
601 if(result) in file_do()
611 result = CURLE_READ_ERROR; in file_do()
617 result = Curl_client_write(data, CLIENTWRITE_BODY, in file_do()
619 if(result) in file_do()
621 result = Curl_client_write(data, CLIENTWRITE_BODY, "\n", 1); in file_do()
622 if(result) in file_do()
630 result = CURLE_READ_ERROR; in file_do()
635 result = CURLE_ABORTED_BY_CALLBACK; in file_do()
639 return result; in file_do()