Lines Matching refs:amount
65 static int multiply(curl_off_t *amount, curl_off_t with) in multiply() argument
68 DEBUGASSERT(*amount >= 0); in multiply()
70 if((with <= 0) || (*amount <= 0)) { in multiply()
76 if(__builtin_mul_overflow(*amount, with, &sum)) in multiply()
79 sum = *amount * with; in multiply()
80 if(sum/with != *amount) in multiply()
84 *amount = sum; in multiply()
89 size_t *posp, curl_off_t *amount, in glob_set() argument
125 if(multiply(amount, pat->content.Set.size + 1)) in glob_set()
184 size_t *posp, curl_off_t *amount, in glob_range() argument
244 if(multiply(amount, ((pat->content.CharRange.max_c - in glob_range()
322 if(multiply(amount, ((pat->content.NumRange.max_n - in glob_range()
372 size_t pos, curl_off_t *amount) in glob_parse() argument
380 *amount = 1; in glob_parse()
431 res = glob_set(glob, &pattern, &pos, amount, globindex++); in glob_parse()
438 res = glob_range(glob, &pattern, &pos, amount, globindex++); in glob_parse()
457 curl_off_t amount = 0; in glob_url() local
476 res = glob_parse(glob_expand, url, 1, &amount); in glob_url()
478 *urlnum = amount; in glob_url()