Lines Matching full:amount
113 const char *subject, *subject_id, *resource, *action, *amount, *per; in expand_amount() local
127 amount = strsep(©, "/"); in expand_amount()
130 if (amount == NULL || strlen(amount) == 0) { in expand_amount()
148 if (expand_number(amount, &num)) { in expand_amount()
150 unexpanded_rule, amount); in expand_amount()
308 const char *subject, *subject_id, *resource, *action, *amount, *per; in humanize_amount() local
320 amount = strsep(©, "/"); in humanize_amount()
323 if (amount == NULL || strlen(amount) == 0 || in humanize_amount()
324 str2int64(amount, &num) != 0) { in humanize_amount()
461 const char *resource, *amount; in humanize_usage_amount() local
470 amount = copy; in humanize_usage_amount()
473 assert(amount != NULL); in humanize_usage_amount()
475 if (str2int64(amount, &num) != 0 || in humanize_usage_amount()