Lines Matching refs:amount
118 const char *subject, *subject_id, *resource, *action, *amount, *per;
132 amount = strsep(©, "/");
135 if (amount == NULL || strlen(amount) == 0) {
153 if (expand_number(amount, &num)) {
155 unexpanded_rule, amount);
313 const char *subject, *subject_id, *resource, *action, *amount, *per;
325 amount = strsep(©, "/");
328 if (amount == NULL || strlen(amount) == 0 ||
329 str2int64(amount, &num) != 0) {
466 const char *resource, *amount;
475 amount = copy;
478 assert(amount != NULL);
480 if (str2int64(amount, &num) != 0 ||