Searched refs:new_repeat (Results 1 - 2 of 2) sorted by relevance

/osnet-11/usr/src/lib/libcommputil/common/
H A Dsdp_parse.c587 sdp_repeat_t *new_repeat; local
607 new_repeat = calloc(1, sizeof (sdp_repeat_t));
608 if (new_repeat == NULL) {
618 time->t_repeat = new_repeat;
622 repeat->r_next = new_repeat;
631 if (commp_time_to_secs(begin, current, &new_repeat->r_interval) != 0)
637 if (commp_time_to_secs(begin, current, &new_repeat->r_duration) != 0)
649 if ((ret = add_value_to_list(&new_repeat->r_offset, begin,
670 sdp_free_repeat(new_repeat);
H A Dsdp.c525 sdp_repeat_t *new_repeat; local
530 new_repeat = calloc(1, sizeof (sdp_repeat_t));
531 if (new_repeat == NULL)
533 new_repeat->r_interval = interval;
534 new_repeat->r_duration = duration;
535 if ((ret = sdp_str_to_list(&new_repeat->r_offset, offset,
541 time->t_repeat = new_repeat;
545 tmp->r_next = new_repeat;
549 sdp_free_repeat(new_repeat);

Completed in 24 milliseconds