Home
last modified time | relevance | path

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

/titanic_44/usr/src/lib/libcommputil/common/
H A Dsdp_parse.c587 sdp_repeat_t *new_repeat; in sdp_parse_repeat() local
607 new_repeat = calloc(1, sizeof (sdp_repeat_t)); in sdp_parse_repeat()
608 if (new_repeat == NULL) { in sdp_parse_repeat()
618 time->t_repeat = new_repeat; in sdp_parse_repeat()
622 repeat->r_next = new_repeat; in sdp_parse_repeat()
631 if (commp_time_to_secs(begin, current, &new_repeat->r_interval) != 0) in sdp_parse_repeat()
637 if (commp_time_to_secs(begin, current, &new_repeat->r_duration) != 0) in sdp_parse_repeat()
649 if ((ret = add_value_to_list(&new_repeat->r_offset, begin, in sdp_parse_repeat()
670 sdp_free_repeat(new_repeat); in sdp_parse_repeat()
H A Dsdp.c528 sdp_repeat_t *new_repeat; in sdp_add_repeat() local
533 new_repeat = calloc(1, sizeof (sdp_repeat_t)); in sdp_add_repeat()
534 if (new_repeat == NULL) in sdp_add_repeat()
536 new_repeat->r_interval = interval; in sdp_add_repeat()
537 new_repeat->r_duration = duration; in sdp_add_repeat()
538 if ((ret = sdp_str_to_list(&new_repeat->r_offset, offset, in sdp_add_repeat()
544 time->t_repeat = new_repeat; in sdp_add_repeat()
548 tmp->r_next = new_repeat; in sdp_add_repeat()
552 sdp_free_repeat(new_repeat); in sdp_add_repeat()