str 74 cib/remote.c debug_log(int level, const char *str) str 76 cib/remote.c fputs(str, stderr); str 323 fencing/admin.c char *str = NULL; str 326 fencing/admin.c str = strdup("unknown"); str 328 fencing/admin.c str = crm_concat("turn", action, ' '); str 330 fencing/admin.c str = strdup(action); str 332 fencing/admin.c return str; str 154 fencing/test.c #define single_test(cmd, str, num_notifications, expected_rc) \ str 164 fencing/test.c crm_err("FAILURE - expected rc %d != %d(%s) for cmd - %s", expected_rc, rc, pcmk_strerror(rc), str); \ str 168 fencing/test.c num_notifications, num_notifications - expected_notifications, str); \ str 172 fencing/test.c crm_info("SUCCESS - %s: %d", str, rc); \ str 174 fencing/test.c crm_debug("SUCCESS - %s: %d", str, rc); \ str 66 include/crm/common/internal.h bool crm_starts_with(const char *str, const char *prefix); str 66 include/crm/common/util.h char * crm_strip_trailing_newline(char *str); str 72 include/portability.h char *strndup(const char *str, size_t len); str 219 include/portability.h char *str; /**< as char* (string, object path or signature) */ str 72 lib/common/iso8601.c gboolean check_for_ordinal(const char *str); str 774 lib/common/iso8601.c parse_int(const char *str, int field_width, int uppper_bound, int *result) str 782 lib/common/iso8601.c CRM_CHECK(str != NULL, return FALSE); str 787 lib/common/iso8601.c if (strlen(str) <= 0) { str 791 lib/common/iso8601.c if (str[offset] == 'T') { str 795 lib/common/iso8601.c if (str[offset] == '.' || str[offset] == ',') { str 799 lib/common/iso8601.c } else if (str[offset] == '-') { str 802 lib/common/iso8601.c } else if (str[offset] == '+' || str[offset] == ':') { str 806 lib/common/iso8601.c for (; (fraction || lpc < field_width) && isdigit((int)str[offset]); lpc++) { str 808 lib/common/iso8601.c intermediate = (str[offset] - '0') / (10 ^ lpc); str 811 lib/common/iso8601.c intermediate = str[offset] - '0'; str 826 lib/common/iso8601.c crm_trace("Found int: %d. Stopped at str[%d]='%c'", *result, lpc, str[lpc]); str 197 lib/common/strings.c crm_strip_trailing_newline(char *str) str 201 lib/common/strings.c if (str == NULL) { str 202 lib/common/strings.c return str; str 205 lib/common/strings.c for (len = strlen(str) - 1; len >= 0 && str[len] == '\n'; len--) { str 206 lib/common/strings.c str[len] = '\0'; str 209 lib/common/strings.c return str; str 252 lib/common/strings.c crm_starts_with(const char *str, const char *prefix) str 254 lib/common/strings.c const char *s = str; str 324 lib/services/dbus.c if(data->name && strcmp(name.str, data->name) != 0) { str 333 lib/services/dbus.c crm_trace("Property %s[%s] is '%s'", data->object, name.str, value.str); str 335 lib/services/dbus.c data->callback(name.str, value.str, data->userdata); str 339 lib/services/dbus.c output = strdup(value.str); str 414 lib/services/systemd.c if (value.str == NULL) { str 418 lib/services/systemd.c crm_trace("DBus ListUnitFiles listed: %s", value.str); str 420 lib/services/systemd.c match = systemd_unit_extension(value.str); str 424 lib/services/systemd.c value.str); str 429 lib/services/systemd.c basename = strrchr(value.str, '/'); str 433 lib/services/systemd.c basename = value.str; str 449 lib/services/systemd.c value.str); str 207 lib/services/upstart.c if(value.str) { str 209 lib/services/upstart.c path = value.str; str 210 lib/services/upstart.c job = value.str; str 282 lib/services/upstart.c if(value.str) { str 283 lib/services/upstart.c instance = strdup(value.str); str 80 libltdl/argz.c argz_create_sep (const char *str, int delim, char **pargz, size_t *pargz_len) str 85 libltdl/argz.c assert (str); str 91 libltdl/argz.c argz_len = 1+ strlen (str); str 101 libltdl/argz.c for (p = str, q = argz; *p != EOS_CHAR; ++p) str 52 libltdl/argz_.h LT_SCOPE error_t argz_create_sep(const char *str, int delim, str 132 libltdl/ltdl.c static int trim (char **dest, const char *str); str 997 libltdl/ltdl.c trim (char **dest, const char *str) str 1001 libltdl/ltdl.c const char *end = strrchr (str, '\''); str 1002 libltdl/ltdl.c size_t len = LT_STRLEN (str); str 1007 libltdl/ltdl.c if (!end || end == str) str 1010 libltdl/ltdl.c if (len > 3 && str[0] == '\'') str 1012 libltdl/ltdl.c tmp = MALLOC (char, end - str); str 1016 libltdl/ltdl.c memcpy(tmp, &str[1], (end - str) - 1); str 1017 libltdl/ltdl.c tmp[(end - str) - 1] = LT_EOS_CHAR; str 632 lrmd/lrmd.c static int pattern_matched(const char *pat, const char *str) str 634 lrmd/lrmd.c if (g_pattern_match_simple(pat, str)) { str 47 lrmd/tls_backend.c debug_log(int level, const char *str) str 49 lrmd/tls_backend.c fputs(str, stderr); str 27 replace/strndup.c strndup(const char *str, size_t len) str 29 replace/strndup.c size_t n = strnlen(str, len); str 37 replace/strndup.c return (char *)memcpy(new, str, len);