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 78 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double("2.0asdf", &result, NULL, &end_text), pcmk_rc_ok); pcmk__scan_double 89 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 92 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 95 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 99 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 103 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 118 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double(str, &result, NULL, NULL), EOVERFLOW); pcmk__scan_double 122 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double(str, &result, NULL, NULL), EOVERFLOW); pcmk__scan_double 139 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 144 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);