units 42 include/crm/common/util.h char *pcmk_format_nvpair(const char *name, const char *value, const char *units); units 282 lib/common/nvpair.c pcmk_format_nvpair(const char *name, const char *value, const char *units) { units 283 lib/common/nvpair.c return crm_strdup_printf("%s=\"%s%s\"", name, value, units ? units : ""); units 343 lib/common/strings.c const char *units; units 359 lib/common/strings.c units = num_start + num_len; units 360 lib/common/strings.c units += strspn(units, WHITESPACE); units 362 lib/common/strings.c if (!strncasecmp(units, "ms", 2) || !strncasecmp(units, "msec", 4)) { units 365 lib/common/strings.c } else if (!strncasecmp(units, "us", 2) || !strncasecmp(units, "usec", 4)) { units 368 lib/common/strings.c } else if (!strncasecmp(units, "s", 1) || !strncasecmp(units, "sec", 3)) { units 371 lib/common/strings.c } else if (!strncasecmp(units, "m", 1) || !strncasecmp(units, "min", 3)) { units 374 lib/common/strings.c } else if (!strncasecmp(units, "h", 1) || !strncasecmp(units, "hr", 2)) { units 377 lib/common/strings.c } else if ((*units != EOS) && (*units != '\n') && (*units != '\r')) { units 397 lib/services/systemd.c GList *units = NULL; units 480 lib/services/systemd.c units = g_list_prepend(units, unit_name); units 486 lib/services/systemd.c units = g_list_sort(units, sort_str); units 487 lib/services/systemd.c return units; units 151 lib/services/upstart.c GList *units = NULL; units 220 lib/services/upstart.c units = g_list_append(units, fix_upstart_name(job)); units 227 lib/services/upstart.c return units;