Searched refs:new_zone (Results 1 – 2 of 2) sorted by relevance
682 sdp_zone_t *new_zone = NULL; in sdp_parse_zone() local695 new_zone = calloc(1, sizeof (sdp_zone_t)); in sdp_parse_zone()696 if (new_zone == NULL) { in sdp_parse_zone()701 *zone = new_zone; in sdp_parse_zone()704 tmp->z_next = new_zone; in sdp_parse_zone()705 tmp = new_zone; in sdp_parse_zone()712 if (commp_strtoull(begin, current, &new_zone->z_time) != 0) in sdp_parse_zone()719 COMMP_COPY_STR(new_zone->z_offset, begin, current - in sdp_parse_zone()721 if (new_zone->z_offset == NULL) { in sdp_parse_zone()
563 sdp_zone_t *new_zone; in sdp_add_zone() local569 new_zone = calloc(1, sizeof (sdp_zone_t)); in sdp_add_zone()570 if (new_zone == NULL) in sdp_add_zone()572 new_zone->z_time = time; in sdp_add_zone()573 if ((ret = commp_add_str(&new_zone->z_offset, offset, in sdp_add_zone()575 free(new_zone); in sdp_add_zone()580 session->s_zone = new_zone; in sdp_add_zone()585 tmp->z_next = new_zone; in sdp_add_zone()