pcmk__scan_double 32 include/crm/common/strings_internal.h int pcmk__scan_double(const char *text, double *result, pcmk__scan_double 34 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double(NULL, &result, NULL, NULL), EINVAL); pcmk__scan_double 37 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double("", &result, NULL, NULL), EINVAL); pcmk__scan_double 41 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 44 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double("", &result, "2.0", NULL), EINVAL); pcmk__scan_double 54 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double("asdf", &result, NULL, NULL), EINVAL); pcmk__scan_double 57 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double("as2.0", &result, NULL, NULL), EINVAL); pcmk__scan_double 61 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double("asdf", &result, "2.0", NULL), EINVAL); pcmk__scan_double 64 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 74 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 82 lib/common/tests/strings/pcmk__scan_double_test.c pcmk__assert_asserts(pcmk__scan_double("asdf", NULL, NULL, NULL)); pcmk__scan_double 91 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 94 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("-1.0", &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 105 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 120 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double(str, &result, NULL, NULL), EOVERFLOW); pcmk__scan_double 124 lib/common/tests/strings/pcmk__scan_double_test.c assert_int_equal(pcmk__scan_double(str, &result, NULL, NULL), EOVERFLOW); pcmk__scan_double 141 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 146 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 838 lib/pengine/rules.c int rc1 = pcmk__scan_double(l_val, &l_val_num, NULL, NULL); pcmk__scan_double 839 lib/pengine/rules.c int rc2 = pcmk__scan_double(r_val, &r_val_num, NULL, NULL);