crm_time_parse_duration 78 include/crm/common/iso8601.h crm_time_t *crm_time_parse_duration(const char *duration_str); crm_time_parse_duration 1251 lib/common/iso8601.c period->diff = crm_time_parse_duration(period_str); crm_time_parse_duration 1272 lib/common/iso8601.c period->diff = crm_time_parse_duration(period_str); crm_time_parse_duration 462 lib/common/strings.c crm_time_t *period_s = crm_time_parse_duration(input); crm_time_parse_duration 20 lib/common/tests/iso8601/crm_time_parse_duration_test.c assert_null(crm_time_parse_duration(NULL)); crm_time_parse_duration 21 lib/common/tests/iso8601/crm_time_parse_duration_test.c assert_null(crm_time_parse_duration("")); crm_time_parse_duration 28 lib/common/tests/iso8601/crm_time_parse_duration_test.c assert_null(crm_time_parse_duration("X3Y6M4DT12H30M5S")); crm_time_parse_duration 31 lib/common/tests/iso8601/crm_time_parse_duration_test.c assert_null(crm_time_parse_duration("P")); crm_time_parse_duration 32 lib/common/tests/iso8601/crm_time_parse_duration_test.c assert_null(crm_time_parse_duration("P 3Y6M4DT12H30M5S")); crm_time_parse_duration 33 lib/common/tests/iso8601/crm_time_parse_duration_test.c assert_null(crm_time_parse_duration("PX3Y6M4DT12H30M5S")); crm_time_parse_duration 36 lib/common/tests/iso8601/crm_time_parse_duration_test.c assert_null(crm_time_parse_duration("P2147483648Y6M4DT12H30M5S")); crm_time_parse_duration 37 lib/common/tests/iso8601/crm_time_parse_duration_test.c assert_null(crm_time_parse_duration("P3Y2147483648M4DT12H30M5S")); crm_time_parse_duration 38 lib/common/tests/iso8601/crm_time_parse_duration_test.c assert_null(crm_time_parse_duration("P3Y6M2147483648DT12H30M5S")); crm_time_parse_duration 39 lib/common/tests/iso8601/crm_time_parse_duration_test.c assert_null(crm_time_parse_duration("P3Y6M4DT2147483648H30M5S")); crm_time_parse_duration 40 lib/common/tests/iso8601/crm_time_parse_duration_test.c assert_null(crm_time_parse_duration("P3Y6M4DT12H2147483648M5S")); crm_time_parse_duration 41 lib/common/tests/iso8601/crm_time_parse_duration_test.c assert_null(crm_time_parse_duration("P3Y6M4DT12H30MP2147483648S")); crm_time_parse_duration 44 lib/common/tests/iso8601/crm_time_parse_duration_test.c assert_null(crm_time_parse_duration("P3Y6M4DT12H30M5")); crm_time_parse_duration 45 lib/common/tests/iso8601/crm_time_parse_duration_test.c assert_null(crm_time_parse_duration("P3Y6M4DT12H30M5X")); crm_time_parse_duration 46 lib/common/tests/iso8601/crm_time_parse_duration_test.c assert_null(crm_time_parse_duration("P3X6M4DT12H30M5S")); crm_time_parse_duration 47 lib/common/tests/iso8601/crm_time_parse_duration_test.c assert_null(crm_time_parse_duration("PT")); crm_time_parse_duration 48 lib/common/tests/iso8601/crm_time_parse_duration_test.c assert_null(crm_time_parse_duration("P/")); crm_time_parse_duration 54 lib/common/tests/iso8601/crm_time_parse_duration_test.c assert_null(crm_time_parse_duration("P6M3Y4DT12H30M5S")); crm_time_parse_duration 55 lib/common/tests/iso8601/crm_time_parse_duration_test.c assert_null(crm_time_parse_duration("P6M3DT12HY430M5S")); crm_time_parse_duration 58 lib/common/tests/iso8601/crm_time_parse_duration_test.c assert_null(crm_time_parse_duration("P6Y4M3D1MT12H30M5S")); crm_time_parse_duration 61 lib/common/tests/iso8601/crm_time_parse_duration_test.c assert_null(crm_time_parse_duration("P6Y4M3W3D1MT12H30M5S")); crm_time_parse_duration 62 lib/common/tests/iso8601/crm_time_parse_duration_test.c assert_null(crm_time_parse_duration("P3WT12H30M5S")); crm_time_parse_duration 70 lib/common/tests/iso8601/crm_time_parse_duration_test.c assert_non_null(crm_time_parse_duration("P3Y6M4DT12H30M5S")); crm_time_parse_duration 71 lib/common/tests/iso8601/crm_time_parse_duration_test.c assert_non_null(crm_time_parse_duration("P3Y6M4DT12H30M")); crm_time_parse_duration 72 lib/common/tests/iso8601/crm_time_parse_duration_test.c assert_non_null(crm_time_parse_duration("P3Y6M4D")); crm_time_parse_duration 73 lib/common/tests/iso8601/crm_time_parse_duration_test.c assert_non_null(crm_time_parse_duration("P1M")); // 1 month crm_time_parse_duration 74 lib/common/tests/iso8601/crm_time_parse_duration_test.c assert_non_null(crm_time_parse_duration("PT1M")); // 1 minute crm_time_parse_duration 75 lib/common/tests/iso8601/crm_time_parse_duration_test.c assert_non_null(crm_time_parse_duration("P7W")); crm_time_parse_duration 81 lib/common/tests/iso8601/crm_time_parse_duration_test.c assert_non_null(crm_time_parse_duration("P3Y6M4DT12H30.5M")); crm_time_parse_duration 82 lib/common/tests/iso8601/crm_time_parse_duration_test.c assert_non_null(crm_time_parse_duration("P3Y6M4DT12H30,5M")); crm_time_parse_duration 85 lib/common/tests/iso8601/crm_time_parse_duration_test.c assert_non_null(crm_time_parse_duration("P0003-02-01T11:10:09"); crm_time_parse_duration 521 lib/common/utils.c crm_time_t *period_s = crm_time_parse_duration(input); crm_time_parse_duration 26 tools/crm_resource_ban.c duration = crm_time_parse_duration(move_lifetime); crm_time_parse_duration 197 tools/iso8601.c duration = crm_time_parse_duration(options.duration_s);