Lines Matching defs:amount
119 const char *subject, *subject_id, *resource, *action, *amount, *per;
133 amount = strsep(©, "/");
136 if (amount == NULL || strlen(amount) == 0) {
154 if (expand_number(amount, &num)) {
156 unexpanded_rule, amount);
314 const char *subject, *subject_id, *resource, *action, *amount, *per;
326 amount = strsep(©, "/");
329 if (amount == NULL || strlen(amount) == 0 ||
330 str2int64(amount, &num) != 0) {
466 const char *resource, *amount;
475 amount = copy;
478 assert(amount != NULL);
480 if (str2int64(amount, &num) != 0 ||