Lines Matching refs:per

87   struct per_transfer *per = clientp;  in xferinfo_cb()  local
88 struct OperationConfig *config = per->config; in xferinfo_cb()
89 per->dltotal = dltotal; in xferinfo_cb()
90 per->dlnow = dlnow; in xferinfo_cb()
91 per->ultotal = ultotal; in xferinfo_cb()
92 per->ulnow = ulnow; in xferinfo_cb()
94 if(per->abort) in xferinfo_cb()
99 curl_easy_pause(per->curl, CURLPAUSE_CONT); in xferinfo_cb()
184 struct per_transfer *per; in progress_meter() local
198 for(per = transfers; per; per = per->next) { in progress_meter()
199 all_dlnow += per->dlnow; in progress_meter()
200 all_ulnow += per->ulnow; in progress_meter()
201 if(!per->dltotal) in progress_meter()
203 else if(!per->dltotal_added) { in progress_meter()
205 all_dltotal += per->dltotal; in progress_meter()
206 per->dltotal_added = TRUE; in progress_meter()
208 if(!per->ultotal) in progress_meter()
210 else if(!per->ultotal_added) { in progress_meter()
212 all_ultotal += per->ultotal; in progress_meter()
213 per->ultotal_added = TRUE; in progress_meter()
215 if(per->added) in progress_meter()
306 void progress_finalize(struct per_transfer *per) in progress_finalize() argument
309 all_dlalready += per->dlnow; in progress_finalize()
310 all_ulalready += per->ulnow; in progress_finalize()
311 if(!per->dltotal_added) { in progress_finalize()
312 all_dltotal += per->dltotal; in progress_finalize()
313 per->dltotal_added = TRUE; in progress_finalize()
315 if(!per->ultotal_added) { in progress_finalize()
316 all_ultotal += per->ultotal; in progress_finalize()
317 per->ultotal_added = TRUE; in progress_finalize()