pcmk__scan_double 32 include/crm/common/strings_internal.h int pcmk__scan_double(const char *text, double *result, pcmk__scan_double 38 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double(NULL, &result, NULL, NULL), EINVAL); pcmk__scan_double 41 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double("", &result, NULL, NULL), EINVAL); pcmk__scan_double 45 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double(NULL, &result, "2.0", NULL), pcmk_rc_ok); pcmk__scan_double 48 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double("", &result, "2.0", NULL), EINVAL); pcmk__scan_double 58 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double("asdf", &result, NULL, NULL), EINVAL); pcmk__scan_double 61 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double("as2.0", &result, NULL, NULL), EINVAL); pcmk__scan_double 65 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double("asdf", &result, "2.0", NULL), EINVAL); pcmk__scan_double 68 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double("as2.0", &result, "2.0", NULL), EINVAL); pcmk__scan_double 77 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double("2.0asdf", &result, NULL, NULL), pcmk_rc_ok); pcmk__scan_double 87 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double("0.0", &result, NULL, NULL), pcmk_rc_ok); pcmk__scan_double 90 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double("1.0", &result, NULL, NULL), pcmk_rc_ok); pcmk__scan_double 93 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double("-1.0", &result, NULL, NULL), pcmk_rc_ok); pcmk__scan_double 97 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double(str, &result, NULL, NULL), pcmk_rc_ok); pcmk__scan_double 101 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double(str, &result, NULL, NULL), pcmk_rc_ok); pcmk__scan_double 116 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double(str, &result, NULL, NULL), EOVERFLOW); pcmk__scan_double 120 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double(str, &result, NULL, NULL), EOVERFLOW); pcmk__scan_double 137 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double(str, &result, NULL, NULL), pcmk_rc_underflow); pcmk__scan_double 142 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double(str, &result, NULL, NULL), pcmk_rc_underflow); pcmk__scan_double 941 lib/pengine/rules.c int rc1 = pcmk__scan_double(l_val, &l_val_num, NULL, NULL); pcmk__scan_double 942 lib/pengine/rules.c int rc2 = pcmk__scan_double(r_val, &r_val_num, NULL, NULL);