units 82 include/crm/common/internal.h const char *units); units 75 include/crm/common/util_compat.h const char *units); units 282 lib/common/nvpair.c pcmk__format_nvpair(const char *name, const char *value, const char *units) units 284 lib/common/nvpair.c return crm_strdup_printf("%s=\"%s%s\"", name, value, units ? units : ""); units 1096 lib/common/nvpair.c const char *units) units 1098 lib/common/nvpair.c return pcmk__format_nvpair(name, value, units); units 363 lib/common/strings.c char *units = NULL; // Do not free; will point to part of input units 378 lib/common/strings.c rc = scan_ll(input, &msec, PCMK__PARSE_INT_DEFAULT, &units); units 397 lib/common/strings.c while (isdigit(*units) || (*units == '.')) { units 398 lib/common/strings.c units++; units 402 lib/common/strings.c while (isspace(*units)) { units 403 lib/common/strings.c units++; units 409 lib/common/strings.c if ((*units == '\0') units 410 lib/common/strings.c || (strncasecmp(units, "s", 1) == 0) units 411 lib/common/strings.c || (strncasecmp(units, "sec", 3) == 0)) { units 415 lib/common/strings.c } else if ((strncasecmp(units, "ms", 2) == 0) units 416 lib/common/strings.c || (strncasecmp(units, "msec", 4) == 0)) { units 420 lib/common/strings.c } else if ((strncasecmp(units, "us", 2) == 0) units 421 lib/common/strings.c || (strncasecmp(units, "usec", 4) == 0)) { units 425 lib/common/strings.c } else if ((strncasecmp(units, "m", 1) == 0) units 426 lib/common/strings.c || (strncasecmp(units, "min", 3) == 0)) { units 430 lib/common/strings.c } else if ((strncasecmp(units, "h", 1) == 0) units 431 lib/common/strings.c || (strncasecmp(units, "hr", 2) == 0)) { units 545 lib/services/systemd.c GList *units = NULL; units 628 lib/services/systemd.c units = g_list_prepend(units, unit_name); units 634 lib/services/systemd.c units = g_list_sort(units, sort_str); units 635 lib/services/systemd.c return units; units 204 lib/services/upstart.c GList *units = NULL; units 273 lib/services/upstart.c units = g_list_append(units, fix_upstart_name(job)); units 280 lib/services/upstart.c return units;