duration 38 include/crm/common/iso8601_internal.h bool duration; duration 386 lib/common/crmcommon_private.h int pcmk__unpack_duration(const xmlNode *duration, const crm_time_t *start, duration 76 lib/common/iso8601.c bool duration; // True if duration duration 146 lib/common/iso8601.c || t->offset || t->duration); duration 1263 lib/common/iso8601.c diff->duration = TRUE; duration 1414 lib/common/iso8601.c target->duration = FALSE; duration 1666 lib/common/iso8601.c answer->duration = TRUE; duration 1815 lib/common/iso8601.c const int min_days = a_time->duration? 0 : 1; duration 1947 lib/common/iso8601.c .duration = dt->duration duration 1964 lib/common/iso8601.c .duration = hr_dt->duration duration 269 lib/common/rules.c int sub_rc = pcmk__add_time_from_xml(*end, component, duration); \ duration 293 lib/common/rules.c pcmk__unpack_duration(const xmlNode *duration, const crm_time_t *start, duration 298 lib/common/rules.c const char *parent_id = loggable_parent_id(duration); duration 300 lib/common/rules.c if ((start == NULL) || (duration == NULL) duration 306 lib/common/rules.c id = pcmk__xe_id(duration); duration 382 lib/common/rules.c xmlNode *duration = pcmk__xe_first_child(date_expression, duration 385 lib/common/rules.c if (duration != NULL) { duration 389 lib/common/rules.c pcmk__unpack_duration(duration, start, &end); duration 33 lib/common/tests/rules/pcmk__unpack_duration_test.c xmlNode *duration = pcmk__xml_parse(ALL_VALID); duration 38 lib/common/tests/rules/pcmk__unpack_duration_test.c assert_int_equal(pcmk__unpack_duration(duration, NULL, NULL), EINVAL); duration 39 lib/common/tests/rules/pcmk__unpack_duration_test.c assert_int_equal(pcmk__unpack_duration(duration, start, NULL), EINVAL); duration 40 lib/common/tests/rules/pcmk__unpack_duration_test.c assert_int_equal(pcmk__unpack_duration(duration, NULL, &end), EINVAL); duration 46 lib/common/tests/rules/pcmk__unpack_duration_test.c free_xml(duration); duration 52 lib/common/tests/rules/pcmk__unpack_duration_test.c xmlNode *duration = pcmk__xml_parse(ALL_VALID); duration 56 lib/common/tests/rules/pcmk__unpack_duration_test.c assert_int_equal(pcmk__unpack_duration(duration, start, &end), EINVAL); duration 60 lib/common/tests/rules/pcmk__unpack_duration_test.c free_xml(duration); duration 66 lib/common/tests/rules/pcmk__unpack_duration_test.c xmlNode *duration = pcmk__xml_parse(NO_ID); duration 71 lib/common/tests/rules/pcmk__unpack_duration_test.c assert_int_equal(pcmk__unpack_duration(duration, start, &end), pcmk_rc_ok); duration 77 lib/common/tests/rules/pcmk__unpack_duration_test.c free_xml(duration); duration 83 lib/common/tests/rules/pcmk__unpack_duration_test.c xmlNode *duration = pcmk__xml_parse(YEARS_INVALID); duration 88 lib/common/tests/rules/pcmk__unpack_duration_test.c assert_int_equal(pcmk__unpack_duration(duration, start, &end), duration 95 lib/common/tests/rules/pcmk__unpack_duration_test.c free_xml(duration); duration 101 lib/common/tests/rules/pcmk__unpack_duration_test.c xmlNode *duration = pcmk__xml_parse(ALL_VALID); duration 106 lib/common/tests/rules/pcmk__unpack_duration_test.c assert_int_equal(pcmk__unpack_duration(duration, start, &end), pcmk_rc_ok); duration 112 lib/common/tests/rules/pcmk__unpack_duration_test.c free_xml(duration); duration 850 lib/pacemaker/pcmk_output.c char *duration = pcmk__ftoa((end - start) / (float) CLOCKS_PER_SEC); duration 854 lib/pacemaker/pcmk_output.c PCMK_XA_DURATION, duration, duration 857 lib/pacemaker/pcmk_output.c free(duration); duration 118 maint/gnulib/lib/pthread-cond.c struct timespec duration; duration 120 maint/gnulib/lib/pthread-cond.c duration.tv_sec = 86400; duration 121 maint/gnulib/lib/pthread-cond.c duration.tv_nsec = 0; duration 122 maint/gnulib/lib/pthread-cond.c nanosleep (&duration, NULL); duration 137 maint/gnulib/lib/pthread-cond.c struct timespec duration; duration 172 maint/gnulib/lib/pthread-cond.c duration.tv_sec = remaining / 1000000000; duration 173 maint/gnulib/lib/pthread-cond.c duration.tv_nsec = remaining % 1000000000; duration 174 maint/gnulib/lib/pthread-cond.c nanosleep (&duration, NULL); duration 374 maint/gnulib/lib/pthread-rwlock.c struct timespec duration; duration 413 maint/gnulib/lib/pthread-rwlock.c duration.tv_sec = 0; duration 414 maint/gnulib/lib/pthread-rwlock.c duration.tv_nsec = 1000000; duration 415 maint/gnulib/lib/pthread-rwlock.c if (duration.tv_nsec > remaining) duration 416 maint/gnulib/lib/pthread-rwlock.c duration.tv_nsec = remaining; duration 417 maint/gnulib/lib/pthread-rwlock.c nanosleep (&duration, NULL); duration 431 maint/gnulib/lib/pthread-rwlock.c struct timespec duration; duration 470 maint/gnulib/lib/pthread-rwlock.c duration.tv_sec = 0; duration 471 maint/gnulib/lib/pthread-rwlock.c duration.tv_nsec = 1000000; duration 472 maint/gnulib/lib/pthread-rwlock.c if (duration.tv_nsec > remaining) duration 473 maint/gnulib/lib/pthread-rwlock.c duration.tv_nsec = remaining; duration 474 maint/gnulib/lib/pthread-rwlock.c nanosleep (&duration, NULL); duration 42 maint/gnulib/lib/pthread_mutex_timedlock.c struct timespec duration; duration 81 maint/gnulib/lib/pthread_mutex_timedlock.c duration.tv_sec = 0; duration 82 maint/gnulib/lib/pthread_mutex_timedlock.c duration.tv_nsec = 1000000; duration 83 maint/gnulib/lib/pthread_mutex_timedlock.c if (duration.tv_nsec > remaining) duration 84 maint/gnulib/lib/pthread_mutex_timedlock.c duration.tv_nsec = remaining; duration 85 maint/gnulib/lib/pthread_mutex_timedlock.c nanosleep (&duration, NULL); duration 425 maint/gnulib/lib/thrd.c thrd_sleep (const struct timespec *duration, struct timespec *remaining) duration 427 maint/gnulib/lib/thrd.c int ret = nanosleep (duration, remaining); duration 230 maint/gnulib/tests/test-nl_langinfo-mt.c struct timespec duration; duration 231 maint/gnulib/tests/test-nl_langinfo-mt.c duration.tv_sec = (argc > 1 ? atoi (argv[1]) : 2); duration 232 maint/gnulib/tests/test-nl_langinfo-mt.c duration.tv_nsec = 0; duration 234 maint/gnulib/tests/test-nl_langinfo-mt.c nanosleep (&duration, NULL); duration 129 maint/gnulib/tests/test-setlocale_null-mt-all.c struct timespec duration; duration 130 maint/gnulib/tests/test-setlocale_null-mt-all.c duration.tv_sec = 5; duration 131 maint/gnulib/tests/test-setlocale_null-mt-all.c duration.tv_nsec = 0; duration 133 maint/gnulib/tests/test-setlocale_null-mt-all.c nanosleep (&duration, NULL); duration 129 maint/gnulib/tests/test-setlocale_null-mt-one.c struct timespec duration; duration 130 maint/gnulib/tests/test-setlocale_null-mt-one.c duration.tv_sec = 2; duration 131 maint/gnulib/tests/test-setlocale_null-mt-one.c duration.tv_nsec = 0; duration 133 maint/gnulib/tests/test-setlocale_null-mt-one.c nanosleep (&duration, NULL); duration 20 tools/crm_resource_ban.c crm_time_t *duration = NULL; duration 26 tools/crm_resource_ban.c duration = crm_time_parse_duration(move_lifetime); duration 27 tools/crm_resource_ban.c if (duration == NULL) { duration 35 tools/crm_resource_ban.c later = crm_time_add(now, duration); duration 41 tools/crm_resource_ban.c crm_time_free(duration); duration 49 tools/crm_resource_ban.c crm_time_log(LOG_INFO, "duration", duration, crm_time_log_date | crm_time_log_timeofday); duration 53 tools/crm_resource_ban.c crm_time_free(duration); duration 315 tools/iso8601.c crm_time_t *duration = NULL; duration 377 tools/iso8601.c duration = crm_time_parse_duration(options.duration_s); duration 379 tools/iso8601.c if (duration == NULL) { duration 386 tools/iso8601.c out->message(out, "duration", duration, options.print_options); duration 403 tools/iso8601.c if (date_time && duration) { duration 404 tools/iso8601.c crm_time_t *later = crm_time_add(date_time, duration); duration 441 tools/iso8601.c crm_time_free(duration);