units 123 include/crm/common/internal.h const char *units); units 67 include/crm/common/util_compat.h const char *units); units 285 lib/common/nvpair.c pcmk__format_nvpair(const char *name, const char *value, const char *units) units 287 lib/common/nvpair.c return crm_strdup_printf("%s=\"%s%s\"", name, value, units ? units : ""); units 969 lib/common/nvpair.c const char *units) units 971 lib/common/nvpair.c return pcmk__format_nvpair(name, value, units); units 366 lib/common/strings.c const char *units; units 382 lib/common/strings.c units = num_start + num_len; units 383 lib/common/strings.c units += strspn(units, WHITESPACE); units 385 lib/common/strings.c if (!strncasecmp(units, "ms", 2) || !strncasecmp(units, "msec", 4)) { units 388 lib/common/strings.c } else if (!strncasecmp(units, "us", 2) || !strncasecmp(units, "usec", 4)) { units 391 lib/common/strings.c } else if (!strncasecmp(units, "s", 1) || !strncasecmp(units, "sec", 3)) { units 394 lib/common/strings.c } else if (!strncasecmp(units, "m", 1) || !strncasecmp(units, "min", 3)) { units 397 lib/common/strings.c } else if (!strncasecmp(units, "h", 1) || !strncasecmp(units, "hr", 2)) { units 400 lib/common/strings.c } else if ((*units != '\0') && (*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;