str 66 daemons/based/based_remote.c debug_log(int level, const char *str) str 68 daemons/based/based_remote.c fputs(str, stderr); str 44 daemons/execd/remoted_tls.c debug_log(int level, const char *str) str 46 daemons/execd/remoted_tls.c fputs(str, stderr); str 157 daemons/fenced/cts-fence-helper.c #define single_test(cmd, str, num_notifications, expected_rc) \ str 167 daemons/fenced/cts-fence-helper.c crm_err("FAILURE - expected rc %d != %d(%s) for cmd - %s", expected_rc, rc, pcmk_strerror(rc), str); \ str 171 daemons/fenced/cts-fence-helper.c num_notifications, num_notifications - expected_notifications, str); \ str 175 daemons/fenced/cts-fence-helper.c crm_info("SUCCESS - %s: %d", str, rc); \ str 177 daemons/fenced/cts-fence-helper.c crm_debug("SUCCESS - %s: %d", str, rc); \ str 35 include/crm/common/strings_internal.h bool pcmk__starts_with(const char *str, const char *prefix); str 55 include/crm/common/util.h char * crm_strip_trailing_newline(char *str); str 63 include/portability.h char *strndup(const char *str, size_t len); str 127 include/portability.h char *str; /**< as char* (string, object path or signature) */ str 917 lib/common/iso8601.c parse_int(const char *str, int field_width, int upper_bound, int *result) str 926 lib/common/iso8601.c if (*str == '\0') { str 930 lib/common/iso8601.c if (str[offset] == 'T') { str 934 lib/common/iso8601.c if (str[offset] == '.' || str[offset] == ',') { str 938 lib/common/iso8601.c } else if (str[offset] == '-') { str 941 lib/common/iso8601.c } else if (str[offset] == '+' || str[offset] == ':') { str 945 lib/common/iso8601.c for (; (fraction || lpc < field_width) && isdigit((int)str[offset]); lpc++) { str 947 lib/common/iso8601.c intermediate = (str[offset] - '0') / (10 ^ lpc); str 950 lib/common/iso8601.c intermediate = str[offset] - '0'; str 965 lib/common/iso8601.c crm_trace("Found int: %d. Stopped at str[%d]='%c'", *result, lpc, str[lpc]); str 111 lib/common/output_html.c char *str = (char *) data; str 113 lib/common/output_html.c out->list_item(out, NULL, "%s", str); str 135 lib/common/output_xml.c char *str = (char *) data; str 137 lib/common/output_xml.c pcmk_create_xml_text_node(node, "error", str); str 424 lib/common/strings.c crm_strip_trailing_newline(char *str) str 428 lib/common/strings.c if (str == NULL) { str 429 lib/common/strings.c return str; str 432 lib/common/strings.c for (len = strlen(str) - 1; len >= 0 && str[len] == '\n'; len--) { str 433 lib/common/strings.c str[len] = '\0'; str 436 lib/common/strings.c return str; str 452 lib/common/strings.c pcmk__starts_with(const char *str, const char *prefix) str 454 lib/common/strings.c const char *s = str; str 75 lib/common/tests/strings/pcmk__scan_double_test.c char str[LOCAL_BUF_SIZE]; str 90 lib/common/tests/strings/pcmk__scan_double_test.c snprintf(str, LOCAL_BUF_SIZE, "%f", DBL_MAX); str 91 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double(str, &result, NULL, NULL), ==, str 95 lib/common/tests/strings/pcmk__scan_double_test.c snprintf(str, LOCAL_BUF_SIZE, "%f", -DBL_MAX); str 96 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double(str, &result, NULL, NULL), ==, str 104 lib/common/tests/strings/pcmk__scan_double_test.c char str[LOCAL_BUF_SIZE]; str 111 lib/common/tests/strings/pcmk__scan_double_test.c snprintf(str, LOCAL_BUF_SIZE, "1e%d", DBL_MAX_10_EXP + 1); str 112 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double(str, &result, NULL, NULL), ==, EOVERFLOW); str 115 lib/common/tests/strings/pcmk__scan_double_test.c snprintf(str, LOCAL_BUF_SIZE, "-1e%d", DBL_MAX_10_EXP + 1); str 116 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double(str, &result, NULL, NULL), ==, EOVERFLOW); str 123 lib/common/tests/strings/pcmk__scan_double_test.c char str[LOCAL_BUF_SIZE]; str 132 lib/common/tests/strings/pcmk__scan_double_test.c snprintf(str, LOCAL_BUF_SIZE, "1e%d", DBL_MIN_10_EXP - 1); str 133 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double(str, &result, NULL, NULL), ==, str 138 lib/common/tests/strings/pcmk__scan_double_test.c snprintf(str, LOCAL_BUF_SIZE, "-1e%d", DBL_MIN_10_EXP - 1); str 139 lib/common/tests/strings/pcmk__scan_double_test.c g_assert_cmpint(pcmk__scan_double(str, &result, NULL, NULL), ==, str 711 lib/pengine/native.c retval = outstr->str; str 641 lib/services/dbus.c data->object, data->name, (value.str? value.str : "")); str 644 lib/services/dbus.c data->callback(data->name, (value.str? value.str : ""), data->userdata); str 647 lib/services/dbus.c output = strdup(value.str? value.str : ""); str 450 lib/services/systemd.c if (value.str == NULL) { str 454 lib/services/systemd.c crm_trace("DBus ListUnitFiles listed: %s", value.str); str 456 lib/services/systemd.c match = systemd_unit_extension(value.str); str 460 lib/services/systemd.c value.str); str 465 lib/services/systemd.c basename = strrchr(value.str, '/'); str 469 lib/services/systemd.c basename = value.str; str 208 lib/services/upstart.c if(value.str) { str 210 lib/services/upstart.c path = value.str; str 211 lib/services/upstart.c job = value.str; str 283 lib/services/upstart.c if(value.str) { str 284 lib/services/upstart.c instance = strdup(value.str); str 53 libltdl/libltdl/lt__argz_.h LT_SCOPE error_t argz_create_sep(const char *str, int delim, str 80 libltdl/lt__argz.c argz_create_sep (const char *str, int delim, char **pargz, size_t *pargz_len) str 85 libltdl/lt__argz.c assert (str); str 91 libltdl/lt__argz.c argz_len = 1+ strlen (str); str 101 libltdl/lt__argz.c for (p = str, q = argz; *p != EOS_CHAR; ++p) str 132 libltdl/ltdl.c static int trim (char **dest, const char *str); str 1004 libltdl/ltdl.c trim (char **dest, const char *str) str 1008 libltdl/ltdl.c const char *end = strrchr (str, '\''); str 1009 libltdl/ltdl.c size_t len = LT_STRLEN (str); str 1014 libltdl/ltdl.c if (!end || end == str) str 1017 libltdl/ltdl.c if (len > 3 && str[0] == '\'') str 1019 libltdl/ltdl.c tmp = MALLOC (char, end - str); str 1023 libltdl/ltdl.c memcpy(tmp, &str[1], (end - str) - 1); str 1024 libltdl/ltdl.c tmp[(end - str) - 1] = LT_EOS_CHAR; 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); str 44 tools/crm_error.c get_strings(int rc, const char **name, const char **str) str 47 tools/crm_error.c *str = crm_exit_str((crm_exit_t) rc); str 50 tools/crm_error.c *str = pcmk_rc_str(rc); str 53 tools/crm_error.c *str = pcmk_strerror(rc);