pcmk__cmp_by_type 366 lib/common/crmcommon_private.h int pcmk__cmp_by_type(const char *value1, const char *value2, pcmk__cmp_by_type 947 lib/common/rules.c cmp = pcmk__cmp_by_type(actual, reference, type); pcmk__cmp_by_type 22 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_int_equal(pcmk__cmp_by_type(NULL, NULL, pcmk__type_string), 0); pcmk__cmp_by_type 23 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_true(pcmk__cmp_by_type("0", NULL, pcmk__type_integer) > 0); pcmk__cmp_by_type 24 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_true(pcmk__cmp_by_type(NULL, "0", pcmk__type_number) < 0); pcmk__cmp_by_type 30 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_int_equal(pcmk__cmp_by_type("0", "1", pcmk__type_unknown), 0); pcmk__cmp_by_type 31 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_int_equal(pcmk__cmp_by_type("hi", "bye", pcmk__type_unknown), 0); pcmk__cmp_by_type 32 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_int_equal(pcmk__cmp_by_type("-1.0", "2.0", pcmk__type_unknown), 0); pcmk__cmp_by_type 38 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_int_equal(pcmk__cmp_by_type("bye", "bye", pcmk__type_string), 0); pcmk__cmp_by_type 39 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_int_equal(pcmk__cmp_by_type("bye", "BYE", pcmk__type_string), 0); pcmk__cmp_by_type 40 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_true(pcmk__cmp_by_type("bye", "hello", pcmk__type_string) < 0); pcmk__cmp_by_type 41 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_true(pcmk__cmp_by_type("bye", "HELLO", pcmk__type_string) < 0); pcmk__cmp_by_type 42 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_true(pcmk__cmp_by_type("bye", "boo", pcmk__type_string) > 0); pcmk__cmp_by_type 43 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_true(pcmk__cmp_by_type("bye", "Boo", pcmk__type_string) > 0); pcmk__cmp_by_type 52 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_int_equal(pcmk__cmp_by_type("0", "0", pcmk__type_integer), 0); pcmk__cmp_by_type 53 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_true(pcmk__cmp_by_type("0", "1", pcmk__type_integer) < 0); pcmk__cmp_by_type 54 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_true(pcmk__cmp_by_type("1", "0", pcmk__type_integer) > 0); pcmk__cmp_by_type 55 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_true(pcmk__cmp_by_type("3999", "399", pcmk__type_integer) > 0); pcmk__cmp_by_type 56 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_true(pcmk__cmp_by_type(int_min, int_max, pcmk__type_integer) < 0); pcmk__cmp_by_type 57 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_true(pcmk__cmp_by_type(int_max, int_min, pcmk__type_integer) > 0); pcmk__cmp_by_type 62 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_int_equal(pcmk__cmp_by_type("0", "x", pcmk__type_integer), pcmk__cmp_by_type 63 lib/common/tests/rules/pcmk__cmp_by_type_test.c pcmk__cmp_by_type("0", "x", pcmk__type_string)); pcmk__cmp_by_type 64 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_int_equal(pcmk__cmp_by_type("x", "0", pcmk__type_integer), pcmk__cmp_by_type 65 lib/common/tests/rules/pcmk__cmp_by_type_test.c pcmk__cmp_by_type("x", "0", pcmk__type_string)); pcmk__cmp_by_type 66 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_int_equal(pcmk__cmp_by_type("x", "X", pcmk__type_integer), pcmk__cmp_by_type 67 lib/common/tests/rules/pcmk__cmp_by_type_test.c pcmk__cmp_by_type("x", "X", pcmk__type_string)); pcmk__cmp_by_type 73 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_int_equal(pcmk__cmp_by_type("0", "0.0", pcmk__type_number), 0); pcmk__cmp_by_type 74 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_true(pcmk__cmp_by_type("0.345", "0.5", pcmk__type_number) < 0); pcmk__cmp_by_type 75 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_true(pcmk__cmp_by_type("5", "3.1", pcmk__type_number) > 0); pcmk__cmp_by_type 76 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_true(pcmk__cmp_by_type("3999", "399", pcmk__type_number) > 0); pcmk__cmp_by_type 79 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_int_equal(pcmk__cmp_by_type("0.0", "x", pcmk__type_number), pcmk__cmp_by_type 80 lib/common/tests/rules/pcmk__cmp_by_type_test.c pcmk__cmp_by_type("0.0", "x", pcmk__type_string)); pcmk__cmp_by_type 81 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_int_equal(pcmk__cmp_by_type("x", "0.0", pcmk__type_number), pcmk__cmp_by_type 82 lib/common/tests/rules/pcmk__cmp_by_type_test.c pcmk__cmp_by_type("x", "0.0", pcmk__type_string)); pcmk__cmp_by_type 83 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_int_equal(pcmk__cmp_by_type("x", "X", pcmk__type_number), pcmk__cmp_by_type 84 lib/common/tests/rules/pcmk__cmp_by_type_test.c pcmk__cmp_by_type("x", "X", pcmk__type_string)); pcmk__cmp_by_type 90 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_int_equal(pcmk__cmp_by_type("1.0", "1.0", pcmk__type_version), 0); pcmk__cmp_by_type 91 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_true(pcmk__cmp_by_type("1.0.0", "1.0.1", pcmk__type_version) < 0); pcmk__cmp_by_type 92 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_true(pcmk__cmp_by_type("5.0", "3.1.15", pcmk__type_version) > 0); pcmk__cmp_by_type 93 lib/common/tests/rules/pcmk__cmp_by_type_test.c assert_true(pcmk__cmp_by_type("3999", "399", pcmk__type_version) > 0);