s                 105 daemons/based/based_io.c     struct stat s;
s                 108 daemons/based/based_io.c     if(stat(a_path, &s) != 0) {
s                 113 daemons/based/based_io.c     } else if ((s.st_mode & S_IFREG) != S_IFREG) {
s                 118 daemons/based/based_io.c         switch (s.st_mode & S_IFMT) {
s                 203 include/crm/common/ipc_internal.h void pcmk__drop_all_clients(qb_ipcs_service_t *s);
s                  83 include/crm/common/iso8601.h int crm_time_get_timeofday(crm_time_t * dt, uint32_t * h, uint32_t * m, uint32_t * s);
s                  25 include/crm/common/remote_internal.h void pcmk__sockaddr2str(void *sa, char *s);
s                  36 include/crm/common/strings_internal.h bool pcmk__ends_with(const char *s, const char *match);
s                  37 include/crm/common/strings_internal.h bool pcmk__ends_with_ext(const char *s, const char *match);
s                 120 include/crm/common/strings_internal.h gboolean pcmk__str_in_list(GList *lst, const gchar *s);
s                 122 include/crm/common/strings_internal.h bool pcmk__strcase_any_of(const char *s, ...) G_GNUC_NULL_TERMINATED;
s                 123 include/crm/common/strings_internal.h bool pcmk__str_any_of(const char *s, ...) G_GNUC_NULL_TERMINATED;
s                 166 include/crm/common/strings_internal.h pcmk__str_empty(const char *s)
s                 168 include/crm/common/strings_internal.h     return (s == NULL) || (s[0] == '\0');
s                  48 include/crm/common/util.h gboolean crm_is_true(const char *s);
s                  49 include/crm/common/util.h int crm_str_to_boolean(const char *s, int *ret);
s                 135 include/crm/common/util.h bool pcmk_str_is_infinity(const char *s);
s                 136 include/crm/common/util.h bool pcmk_str_is_minus_infinity(const char *s);
s                 592 include/crm/pengine/internal.h GList * pe__build_node_name_list(pe_working_set_t *data_set, const char *s);
s                 593 include/crm/pengine/internal.h GList * pe__build_rsc_list(pe_working_set_t *data_set, const char *s);
s                  44 include/portability.h char *strchrnul(const char *s, int c_in);
s                  54 include/portability.h size_t strnlen(const char *s, size_t maxlen);
s                 268 lib/common/iso8601.c crm_time_get_sec(int sec, uint * h, uint * m, uint * s)
s                 288 lib/common/iso8601.c     *s = seconds;
s                 292 lib/common/iso8601.c crm_time_get_timeofday(crm_time_t * dt, uint * h, uint * m, uint * s)
s                 294 lib/common/iso8601.c     crm_time_get_sec(dt->seconds, h, m, s);
s                 301 lib/common/iso8601.c     uint s;
s                 303 lib/common/iso8601.c     crm_time_get_sec(dt->seconds, h, m, &s);
s                 475 lib/common/iso8601.c         uint h = 0, m = 0, s = 0;
s                 479 lib/common/iso8601.c         crm_time_get_sec(dt->seconds, &h, &m, &s);
s                 482 lib/common/iso8601.c                                h, pcmk__plural_s(h), ((m || s)? " " : ""));
s                 486 lib/common/iso8601.c                                m, pcmk__plural_s(m), (s? " " : ""));
s                 488 lib/common/iso8601.c         if (s) {
s                 490 lib/common/iso8601.c                                s, pcmk__plural_s(s));
s                 568 lib/common/iso8601.c         uint h = 0, m = 0, s = 0;
s                 574 lib/common/iso8601.c         if (crm_time_get_timeofday(dt, &h, &m, &s)) {
s                 576 lib/common/iso8601.c                                "%.2u:%.2u:%.2u", h, m, s);
s                 580 lib/common/iso8601.c             crm_time_get_sec(dt->offset, &h, &m, &s);
s                 717 lib/common/iso8601.c     uint h, m, s;
s                 740 lib/common/iso8601.c     crm_time_get_sec(a_time->offset, &h, &m, &s);
s                 363 lib/common/md5.c #define OP(a, b, c, d, s, T)                                            \
s                 368 lib/common/md5.c           CYCLIC (a, s);                                                \
s                 375 lib/common/md5.c #define CYCLIC(w, s) (w = (w << s) | (w >> (32 - s)))
s                 409 lib/common/md5.c #define OP(f, a, b, c, d, k, s, T)                                      \
s                 413 lib/common/md5.c           CYCLIC (a, s);                                                \
s                 484 lib/common/nvpair.c     char s[LLSTRSIZE] = { '\0', };
s                 486 lib/common/nvpair.c     if (snprintf(s, LLSTRSIZE, "%lld", (long long) value) == LLSTRSIZE) {
s                 489 lib/common/nvpair.c     return crm_xml_add(xml, name, s);
s                  53 lib/common/operations.c convert_interval(const char *s, guint *interval_ms)
s                  58 lib/common/operations.c     l = strtoul(s, NULL, 10);
s                 305 lib/common/output_xml.c         for (subst_t *s = substitutions; s->from != NULL; s++) {
s                 306 lib/common/output_xml.c             if (!strcmp(s->from, buf)) {
s                 307 lib/common/output_xml.c                 name = g_strdup(s->to);
s                1166 lib/common/remote.c pcmk__sockaddr2str(void *sa, char *s)
s                1171 lib/common/remote.c                       s, INET6_ADDRSTRLEN);
s                1176 lib/common/remote.c                       s, INET6_ADDRSTRLEN);
s                1180 lib/common/remote.c             strcpy(s, "<invalid>");
s                  38 lib/common/schemas.c #define schema_scanf(s, prefix, version, suffix) \
s                  39 lib/common/schemas.c     sscanf((s), prefix "%hhu.%hhu" suffix, &((version).v[0]), &((version).v[1]))
s                 274 lib/common/schemas.c     struct stat s;
s                 290 lib/common/schemas.c     } else if (stat(xslt, &s) == 0) {
s                 296 lib/common/schemas.c         if (stat(xslt, &s) != 0) {
s                 304 lib/common/schemas.c             if (stat(xslt, &s) != 0) {
s                 314 lib/common/schemas.c             transform_onleave = (stat(xslt, &s) == 0);
s                 415 lib/common/strings.c crm_is_true(const char *s)
s                 419 lib/common/strings.c     if (s != NULL) {
s                 420 lib/common/strings.c         crm_str_to_boolean(s, &ret);
s                 426 lib/common/strings.c crm_str_to_boolean(const char *s, int *ret)
s                 428 lib/common/strings.c     if (s == NULL) {
s                 431 lib/common/strings.c     } else if (strcasecmp(s, "true") == 0
s                 432 lib/common/strings.c                || strcasecmp(s, "on") == 0
s                 433 lib/common/strings.c                || strcasecmp(s, "yes") == 0 || strcasecmp(s, "y") == 0 || strcasecmp(s, "1") == 0) {
s                 437 lib/common/strings.c     } else if (strcasecmp(s, "false") == 0
s                 438 lib/common/strings.c                || strcasecmp(s, "off") == 0
s                 439 lib/common/strings.c                || strcasecmp(s, "no") == 0 || strcasecmp(s, "n") == 0 || strcasecmp(s, "0") == 0) {
s                 485 lib/common/strings.c     const char *s = str;
s                 488 lib/common/strings.c     if (!s || !p) {
s                 491 lib/common/strings.c     while (*s && *p) {
s                 492 lib/common/strings.c         if (*s++ != *p++) {
s                 500 lib/common/strings.c ends_with(const char *s, const char *match, bool as_extension)
s                 504 lib/common/strings.c     } else if (s == NULL) {
s                 513 lib/common/strings.c             s = strrchr(s, match[0]);
s                 514 lib/common/strings.c             return (s == NULL)? false : !strcmp(s, match);
s                 518 lib/common/strings.c         slen = strlen(s);
s                 519 lib/common/strings.c         return ((slen >= mlen) && !strcmp(s + slen - mlen, match));
s                 535 lib/common/strings.c pcmk__ends_with(const char *s, const char *match)
s                 537 lib/common/strings.c     return ends_with(s, match, false);
s                 562 lib/common/strings.c pcmk__ends_with_ext(const char *s, const char *match)
s                 564 lib/common/strings.c     return ends_with(s, match, true);
s                 881 lib/common/strings.c pcmk__str_in_list(GList *lst, const gchar *s)
s                 891 lib/common/strings.c     return g_list_find_custom(lst, s, (GCompareFunc) strcmp) != NULL;
s                 895 lib/common/strings.c str_any_of(bool casei, const char *s, va_list args)
s                 899 lib/common/strings.c     if (s != NULL) {
s                 905 lib/common/strings.c             } else if (pcmk__str_eq(s, ele,
s                 929 lib/common/strings.c pcmk__strcase_any_of(const char *s, ...)
s                 934 lib/common/strings.c     va_start(ap, s);
s                 935 lib/common/strings.c     rc = str_any_of(true, s, ap);
s                 953 lib/common/strings.c pcmk__str_any_of(const char *s, ...)
s                 958 lib/common/strings.c     va_start(ap, s);
s                 959 lib/common/strings.c     rc = str_any_of(false, s, ap);
s                  30 lib/common/tests/xpath/pcmk__xpath_node_id_test.c     char *s = NULL;
s                  32 lib/common/tests/xpath/pcmk__xpath_node_id_test.c     s = pcmk__xpath_node_id("/some/xpath/containing/lrm[@id='xyz']", "lrm");
s                  33 lib/common/tests/xpath/pcmk__xpath_node_id_test.c     g_assert_cmpint(strcmp(s, "xyz"), ==, 0);
s                  34 lib/common/tests/xpath/pcmk__xpath_node_id_test.c     free(s);
s                  36 lib/common/tests/xpath/pcmk__xpath_node_id_test.c     s = pcmk__xpath_node_id("/some/other/lrm[@id='xyz']/xpath", "lrm");
s                  37 lib/common/tests/xpath/pcmk__xpath_node_id_test.c     g_assert_cmpint(strcmp(s, "xyz"), ==, 0);
s                  38 lib/common/tests/xpath/pcmk__xpath_node_id_test.c     free(s);
s                 585 lib/common/utils.c pcmk_str_is_infinity(const char *s) {
s                 586 lib/common/utils.c     return pcmk__str_any_of(s, CRM_INFINITY_S, CRM_PLUS_INFINITY_S, NULL);
s                 590 lib/common/utils.c pcmk_str_is_minus_infinity(const char *s) {
s                 591 lib/common/utils.c     return pcmk__str_eq(s, CRM_MINUS_INFINITY_S, pcmk__str_none);
s                 363 lib/gnu/md5.c  #define OP(a, b, c, d, s, T)                                            \
s                 368 lib/gnu/md5.c            CYCLIC (a, s);                                                \
s                 375 lib/gnu/md5.c  #define CYCLIC(w, s) (w = (w << s) | (w >> (32 - s)))
s                 409 lib/gnu/md5.c  #define OP(f, a, b, c, d, k, s, T)                                      \
s                 413 lib/gnu/md5.c            CYCLIC (a, s);                                                \
s                  30 lib/pacemaker/pcmk_sched_utilization.c utilization_value(const char *s)
s                  39 lib/pacemaker/pcmk_sched_utilization.c     if (s != NULL) {
s                  40 lib/pacemaker/pcmk_sched_utilization.c         pcmk__scan_min_int(s, &value, INT_MIN);
s                 513 lib/pengine/native.c add_output_flag(GString *s, const char *flag_desc, bool have_flags)
s                 515 lib/pengine/native.c     g_string_append(s, (have_flags? ", " : " ("));
s                 516 lib/pengine/native.c     g_string_append(s, flag_desc);
s                 522 lib/pengine/native.c add_output_node(GString *s, const char *node, bool have_nodes)
s                 524 lib/pengine/native.c     g_string_append(s, (have_nodes? " " : " [ "));
s                 525 lib/pengine/native.c     g_string_append(s, node);
s                 720 lib/pengine/native.c         gchar *s = pcmk__native_output_string(rsc, name, node, options,
s                 724 lib/pengine/native.c         pcmk_create_html_node(list_node, "span", NULL, cl, s);
s                 725 lib/pengine/native.c         g_free(s);
s                 752 lib/pengine/native.c         gchar *s = pcmk__native_output_string(rsc, name, node, options,
s                 755 lib/pengine/native.c         out->list_item(out, NULL, "%s", s);
s                 756 lib/pengine/native.c         g_free(s);
s                 717 lib/pengine/pe_output.c         char *s = crm_strdup_printf("%d resource instance%s configured (%d ",
s                 720 lib/pengine/pe_output.c         pcmk_create_html_node(resources_node, "span", NULL, NULL, s);
s                 721 lib/pengine/pe_output.c         free(s);
s                 725 lib/pengine/pe_output.c         s = crm_strdup_printf(", %d ", nblocked);
s                 726 lib/pengine/pe_output.c         pcmk_create_html_node(resources_node, "span", NULL, NULL, s);
s                 727 lib/pengine/pe_output.c         free(s);
s                 733 lib/pengine/pe_output.c         char *s = crm_strdup_printf("%d resource instance%s configured (%d ",
s                 736 lib/pengine/pe_output.c         pcmk_create_html_node(resources_node, "span", NULL, NULL, s);
s                 737 lib/pengine/pe_output.c         free(s);
s                 742 lib/pengine/pe_output.c         char *s = crm_strdup_printf("%d resource instance%s configured (%d ",
s                 745 lib/pengine/pe_output.c         pcmk_create_html_node(resources_node, "span", NULL, NULL, s);
s                 746 lib/pengine/pe_output.c         free(s);
s                 752 lib/pengine/pe_output.c         char *s = crm_strdup_printf("%d resource instance%s configured",
s                 754 lib/pengine/pe_output.c         pcmk_create_html_node(resources_node, "span", NULL, NULL, s);
s                 755 lib/pengine/pe_output.c         free(s);
s                 806 lib/pengine/pe_output.c     char *s = pcmk__itoa(nnodes);
s                 807 lib/pengine/pe_output.c     crm_xml_add(nodes_node, "number", s);
s                 808 lib/pengine/pe_output.c     free(s);
s                 810 lib/pengine/pe_output.c     s = pcmk__itoa(nresources);
s                 811 lib/pengine/pe_output.c     crm_xml_add(resources_node, "number", s);
s                 812 lib/pengine/pe_output.c     free(s);
s                 814 lib/pengine/pe_output.c     s = pcmk__itoa(ndisabled);
s                 815 lib/pengine/pe_output.c     crm_xml_add(resources_node, "disabled", s);
s                 816 lib/pengine/pe_output.c     free(s);
s                 818 lib/pengine/pe_output.c     s = pcmk__itoa(nblocked);
s                 819 lib/pengine/pe_output.c     crm_xml_add(resources_node, "blocked", s);
s                 820 lib/pengine/pe_output.c     free(s);
s                1167 lib/pengine/pe_output.c     char *s = failed_action_string(xml_op);
s                1169 lib/pengine/pe_output.c     out->list_item(out, NULL, "%s", s);
s                1170 lib/pengine/pe_output.c     free(s);
s                1209 lib/pengine/pe_output.c         char *s = NULL;
s                1214 lib/pengine/pe_output.c         s = pcmk__itoa(interval_ms);
s                1222 lib/pengine/pe_output.c                            "interval", s,
s                1226 lib/pengine/pe_output.c         free(s);
s                1306 lib/pengine/pe_output.c             char *s = crm_strdup_printf(" standby%s", node->details->running_rsc ? " (with active resources)" : "");
s                1307 lib/pengine/pe_output.c             pcmk_create_html_node(item_node, "span", NULL, " standby", s);
s                1308 lib/pengine/pe_output.c             free(s);
s                1532 lib/pengine/pe_output.c         char *s = crm_strdup_printf("%s: %s", name, value);
s                1541 lib/pengine/pe_output.c         pcmk_create_html_node(item_node, "span", NULL, NULL, s);
s                1542 lib/pengine/pe_output.c         free(s);
s                2215 lib/pengine/pe_output.c         char *s = crm_strdup_printf("%sms", interval_ms_s);
s                2216 lib/pengine/pe_output.c         crm_xml_add(node, "interval", s);
s                2217 lib/pengine/pe_output.c         free(s);
s                2231 lib/pengine/pe_output.c             char *s = crm_strdup_printf("%sms", value);
s                2232 lib/pengine/pe_output.c             crm_xml_add(node, XML_RSC_OP_T_EXEC, s);
s                2233 lib/pengine/pe_output.c             free(s);
s                2237 lib/pengine/pe_output.c             char *s = crm_strdup_printf("%sms", value);
s                2238 lib/pengine/pe_output.c             crm_xml_add(node, XML_RSC_OP_T_QUEUE, s);
s                2239 lib/pengine/pe_output.c             free(s);
s                2349 lib/pengine/pe_output.c             char *s = pcmk__itoa(failcount);
s                2351 lib/pengine/pe_output.c             crm_xml_add(node, PCMK__FAIL_COUNT_PREFIX, s);
s                2352 lib/pengine/pe_output.c             free(s);
s                 245 lib/pengine/rules.c     uint32_t h, m, s, y, d, w;
s                 254 lib/pengine/rules.c     crm_time_get_timeofday(now, &h, &m, &s);
s                 257 lib/pengine/rules.c     CHECK_ONE(cron_spec, "seconds", s);
s                1599 lib/pengine/unpack.c         for (const char *s = end; s > id; --s) {
s                1600 lib/pengine/unpack.c             switch (*s) {
s                1613 lib/pengine/unpack.c                     return (s == end)? s : (s - 1);
s                2432 lib/pengine/utils.c pe__build_node_name_list(pe_working_set_t *data_set, const char *s) {
s                2435 lib/pengine/utils.c     if (pcmk__str_eq(s, "*", pcmk__str_null_matches)) {
s                2442 lib/pengine/utils.c         pe_node_t *node = pe_find_node(data_set->nodes, s);
s                2448 lib/pengine/utils.c             nodes = g_list_prepend(nodes, strdup(s));
s                2456 lib/pengine/utils.c             nodes = pe__unames_with_tag(data_set, s);
s                2464 lib/pengine/utils.c pe__build_rsc_list(pe_working_set_t *data_set, const char *s) {
s                2467 lib/pengine/utils.c     if (pcmk__str_eq(s, "*", pcmk__str_null_matches)) {
s                2470 lib/pengine/utils.c         pe_resource_t *rsc = pe_find_resource_with_flags(data_set->resources, s,
s                2479 lib/pengine/utils.c             if (strstr(s, ":") != NULL) {
s                2489 lib/pengine/utils.c             resources = pe__rscs_with_tag(data_set, s);
s                 103 lib/services/services_linux.c     ssize_t s;
s                 108 lib/services/services_linux.c     s = read(fd, &fdsi, sizeof(struct signalfd_siginfo));
s                 109 lib/services/services_linux.c     if (s != sizeof(struct signalfd_siginfo)) {
s                  44 libltdl/ltdl.h #define LT_STRLEN(s)	(((s) && (s)[0]) ? strlen (s) : 0)
s                 240 maint/mocked/based.c     char *s;
s                 262 maint/mocked/based.c                         || (s
s                 263 maint/mocked/based.c                             = malloc((ctxt->modules_cnt * 2 + 2) * sizeof(*s))) == NULL) {
s                 266 maint/mocked/based.c                     s[0] = 'h';
s                 270 maint/mocked/based.c                         s[(ctxt->modules_cnt - i) + 1] = '|';
s                 271 maint/mocked/based.c                         s[(ctxt->modules_cnt - i) + 2] = ctxt->modules[c - 1]->shortopt;
s                 273 maint/mocked/based.c                     s[ctxt->modules_cnt * 2 + 1] = '\0';
s                 274 maint/mocked/based.c                     printf("Usage: %s [-{%s}]\n", argv[0], s);
s                 277 maint/mocked/based.c                     free(s);
s                   7 replace/strchrnul.c strchrnul(const char *s, int c_in)
s                  11 replace/strchrnul.c     while (*s && (*s != c))
s                  12 replace/strchrnul.c         s++;
s                  14 replace/strchrnul.c     return (char *)s;
s                  24 replace/strnlen.c strnlen(const char *s, size_t maxlen)
s                  28 replace/strnlen.c     eospos = memchr(s, (int)'\0', maxlen);
s                  30 replace/strnlen.c     return (eospos == NULL ? maxlen : (size_t) (eospos - s));
s                 216 tools/crm_mon.c     for (char **s = parts; *s != NULL; s++) {
s                 217 tools/crm_mon.c         unsigned int bit = find_section_bit(*s);
s                 219 tools/crm_mon.c         if (pcmk__str_eq(*s, "all", pcmk__str_none)) {
s                 221 tools/crm_mon.c         } else if (pcmk__str_eq(*s, "none", pcmk__str_none)) {
s                 246 tools/crm_mon.c     for (char **s = parts; *s != NULL; s++) {
s                 247 tools/crm_mon.c         unsigned int bit = find_section_bit(*s);
s                 249 tools/crm_mon.c         if (pcmk__str_eq(*s, "all", pcmk__str_none)) {
s                 251 tools/crm_mon.c         } else if (pcmk__starts_with(*s, "bans")) {
s                 258 tools/crm_mon.c             if (strlen(*s) > 4 && (*s)[4] == ':') {
s                 259 tools/crm_mon.c                 options.neg_location_prefix = strdup(*s+5);
s                 261 tools/crm_mon.c         } else if (pcmk__str_any_of(*s, "default", "defaults", NULL)) {
s                 263 tools/crm_mon.c         } else if (pcmk__str_eq(*s, "none", pcmk__str_none)) {
s                 293 tools/crm_mon.c         char *s = node->data;
s                 295 tools/crm_mon.c         if (pcmk__starts_with(s, "--include=")) {
s                 296 tools/crm_mon.c             rc = apply_include(s+10, error);
s                 297 tools/crm_mon.c         } else if (pcmk__starts_with(s, "-I=")) {
s                 298 tools/crm_mon.c             rc = apply_include(s+3, error);
s                 299 tools/crm_mon.c         } else if (pcmk__starts_with(s, "--exclude=")) {
s                 300 tools/crm_mon.c             rc = apply_exclude(s+10, error);
s                 301 tools/crm_mon.c         } else if (pcmk__starts_with(s, "-U=")) {
s                 302 tools/crm_mon.c             rc = apply_exclude(s+3, error);
s                 317 tools/crm_mon.c     char *s = crm_strdup_printf("%s=%s", option_name, optarg);
s                 319 tools/crm_mon.c     options.user_includes_excludes = g_slist_append(options.user_includes_excludes, s);
s                 325 tools/crm_mon.c     char *s = crm_strdup_printf("%s=%s", option_name, optarg);
s                 327 tools/crm_mon.c     options.includes_excludes = g_slist_append(options.includes_excludes, s);
s                 493 tools/crm_mon.c         char *s = crm_strdup_printf("bans:%s", optarg);
s                 494 tools/crm_mon.c         gboolean rc = include_exclude_cb("--include", s, data, err);
s                 495 tools/crm_mon.c         free(s);
s                1770 tools/crm_mon.c             char *s = crm_strdup_printf("offline node: %s", node->details->uname);
s                1772 tools/crm_mon.c             pcmk__add_word(&offline_nodes, &offline_nodes_len, s);
s                1773 tools/crm_mon.c             free(s);
s                1575 tools/crm_resource.c         for (gchar **s = options.remainder; *s; s++) {
s                1576 tools/crm_resource.c             char *name = calloc(1, strlen(*s));
s                1577 tools/crm_resource.c             char *value = calloc(1, strlen(*s));
s                1578 tools/crm_resource.c             int rc = sscanf(*s, "%[^=]=%s", name, value);
s                1600 tools/crm_resource.c         for (gchar **s = options.remainder; *s; s++) {
s                1609 tools/crm_resource.c         for (gchar **s = options.remainder; *s; s++) {
s                1610 tools/crm_resource.c             strv[i] = crm_strdup_printf("[%d of %d] %s\n", i, len, *s);