period 137 lib/cluster/election.c election_timeout_set_period(election_t *e, guint period) period 140 lib/cluster/election.c mainloop_timer_set_period(e->timeout, period); period 909 lib/common/iso8601.c crm_time_period_t *period = NULL; period 915 lib/common/iso8601.c period = calloc(1, sizeof(crm_time_period_t)); period 918 lib/common/iso8601.c period->diff = crm_time_parse_duration(period_str); period 920 lib/common/iso8601.c period->start = parse_date(period_str); period 930 lib/common/iso8601.c period->diff = crm_time_parse_duration(period_str); period 932 lib/common/iso8601.c period->end = parse_date(period_str); period 935 lib/common/iso8601.c } else if (period->diff != NULL) { period 937 lib/common/iso8601.c period->start = crm_time_new(NULL); period 945 lib/common/iso8601.c if (period->start == NULL && period->end == NULL) { period 949 lib/common/iso8601.c } else if (period->start == NULL && period->diff == NULL) { period 953 lib/common/iso8601.c } else if (period->end == NULL && period->diff == NULL) { period 960 lib/common/iso8601.c free(period->start); period 961 lib/common/iso8601.c free(period->end); period 962 lib/common/iso8601.c free(period->diff); period 963 lib/common/iso8601.c free(period); period 966 lib/common/iso8601.c if (period->end == NULL && period->diff == NULL) { period 969 lib/common/iso8601.c if (period->start == NULL) { period 970 lib/common/iso8601.c period->start = crm_time_subtract(period->end, period->diff); period 972 lib/common/iso8601.c } else if (period->end == NULL) { period 973 lib/common/iso8601.c period->end = crm_time_add(period->start, period->diff); period 976 lib/common/iso8601.c crm_time_check(period->start); period 977 lib/common/iso8601.c crm_time_check(period->end); period 979 lib/common/iso8601.c return period;