pcmk__numeric_strcasecmp 143 include/crm/common/strings_internal.h int pcmk__numeric_strcasecmp(const char *s1, const char *s2); pcmk__numeric_strcasecmp 1359 lib/common/strings.c return pcmk__numeric_strcasecmp(s1, s2); pcmk__numeric_strcasecmp 17 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c pcmk__assert_asserts(pcmk__numeric_strcasecmp(NULL, NULL)); pcmk__numeric_strcasecmp 18 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c pcmk__assert_asserts(pcmk__numeric_strcasecmp("a", NULL)); pcmk__numeric_strcasecmp 19 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c pcmk__assert_asserts(pcmk__numeric_strcasecmp(NULL, "a")); pcmk__numeric_strcasecmp 26 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("abcd", "efgh"), -1); pcmk__numeric_strcasecmp 27 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("abcd", "abcd"), 0); pcmk__numeric_strcasecmp 28 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("efgh", "abcd"), 1); pcmk__numeric_strcasecmp 30 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("AbCd", "eFgH"), -1); pcmk__numeric_strcasecmp 31 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("ABCD", "abcd"), 0); pcmk__numeric_strcasecmp 32 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("EFgh", "ABcd"), 1); pcmk__numeric_strcasecmp 38 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("node1", "node2"), -1); pcmk__numeric_strcasecmp 39 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("node1", "node1"), 0); pcmk__numeric_strcasecmp 40 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("node2", "node1"), 1); pcmk__numeric_strcasecmp 42 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("node1", "node10"), -1); pcmk__numeric_strcasecmp 43 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("node10", "node10"), 0); pcmk__numeric_strcasecmp 44 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("node10", "node1"), 1); pcmk__numeric_strcasecmp 46 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("node10", "remotenode9"), -1); pcmk__numeric_strcasecmp 47 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("remotenode9", "node10"), 1); pcmk__numeric_strcasecmp 50 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("node001", "node1"), 1); pcmk__numeric_strcasecmp 51 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("node1", "node001"), -1); pcmk__numeric_strcasecmp 57 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("node1abc", "node1def"), -1); pcmk__numeric_strcasecmp 58 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("node1def", "node1abc"), 1); pcmk__numeric_strcasecmp 60 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("node1abc", "node2abc"), -1); pcmk__numeric_strcasecmp 61 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("node2abc", "node1abc"), 1); pcmk__numeric_strcasecmp 67 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("node-ab", "node-abc"), -1); pcmk__numeric_strcasecmp 68 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("node-abc", "node-ab"), 1); pcmk__numeric_strcasecmp 70 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("node1ab", "node1abc"), -1); pcmk__numeric_strcasecmp 71 lib/common/tests/strings/pcmk__numeric_strcasecmp_test.c assert_int_equal(pcmk__numeric_strcasecmp("node1abc", "node1ab"), 1); pcmk__numeric_strcasecmp 154 lib/pengine/clone.c retval = g_list_sort(retval, (GCompareFunc) pcmk__numeric_strcasecmp); pcmk__numeric_strcasecmp 1359 lib/pengine/native.c sorted_nodes = g_list_sort(sorted_nodes, (GCompareFunc) pcmk__numeric_strcasecmp); pcmk__numeric_strcasecmp 163 lib/pengine/utils.c return pcmk__numeric_strcasecmp(node1->details->uname, pcmk__numeric_strcasecmp 330 tools/crm_node.c return pcmk__numeric_strcasecmp((node_a->uname? node_a->uname : ""),