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

/osnet-11/usr/src/lib/libcommputil/common/
H A Dsdp_parse.c528 sdp_bandwidth_t *new_bw = NULL; local
535 new_bw = calloc(1, sizeof (sdp_bandwidth_t));
536 if (new_bw == NULL) {
545 COMMP_COPY_STR(new_bw->b_type, begin, current - begin);
546 if (new_bw->b_type == NULL) {
547 sdp_free_bandwidth(new_bw);
557 if (commp_strtoull(begin, current, &new_bw->b_value) != 0)
560 *bw = new_bw;
565 tmp->b_next = new_bw;
570 sdp_free_bandwidth(new_bw);
[all...]
H A Dsdp.c456 sdp_bandwidth_t *new_bw; local
462 new_bw = calloc(1, sizeof (sdp_bandwidth_t));
463 if (new_bw == NULL)
465 new_bw->b_value = value;
466 if ((ret = commp_add_str(&new_bw->b_type, type, strlen(type))) != 0) {
467 free(new_bw);
471 *bw = new_bw;
476 tmp->b_next = new_bw;

Completed in 30 milliseconds