Lines Matching refs:amount
67 static int multiply(curl_off_t *amount, curl_off_t with)
70 DEBUGASSERT(*amount >= 0);
72 if((with <= 0) || (*amount <= 0)) {
78 if(__builtin_mul_overflow(*amount, with, &sum))
81 sum = *amount * with;
82 if(sum/with != *amount)
86 *amount = sum;
91 size_t *posp, curl_off_t *amount,
127 if(multiply(amount, pat->content.Set.size + 1))
186 size_t *posp, curl_off_t *amount,
246 if(multiply(amount, ((pat->content.CharRange.max_c -
324 if(multiply(amount, ((pat->content.NumRange.max_n -
374 size_t pos, curl_off_t *amount)
382 *amount = 1;
433 res = glob_set(glob, &pattern, &pos, amount, globindex++);
440 res = glob_range(glob, &pattern, &pos, amount, globindex++);
459 curl_off_t amount = 0;
478 res = glob_parse(glob_expand, url, 1, &amount);
480 *urlnum = amount;