Lines Matching defs:ret

300 	int			ret = 0;
313 if ((ret = commp_add_str(&origin->o_username, name, strlen(name))) != 0)
315 if ((ret = commp_add_str(&origin->o_nettype, nettype,
319 if ((ret = commp_add_str(&origin->o_addrtype, addrtype,
323 if ((ret = commp_add_str(&origin->o_address, address,
328 return (ret);
331 return (ret);
412 int ret = 0;
423 if ((ret = commp_add_str(&new_conn->c_nettype, nettype,
427 if ((ret = commp_add_str(&new_conn->c_addrtype, addrtype,
431 if ((ret = commp_add_str(&new_conn->c_address, address,
443 return (ret);
446 return (ret);
458 int ret = 0;
466 if ((ret = commp_add_str(&new_bw->b_type, type, strlen(type))) != 0) {
468 return (ret);
478 return (ret);
526 int ret = 0;
535 if ((ret = sdp_str_to_list(&new_repeat->r_offset, offset,
547 return (ret);
550 return (ret);
562 int ret = 0;
570 if ((ret = commp_add_str(&new_zone->z_offset, offset,
573 return (ret);
584 return (ret);
595 int ret = 0;
604 if ((ret = commp_add_str(&((*key)->k_method), method,
609 if ((ret = commp_add_str(&((*key)->k_enckey), enckey,
614 return (ret);
618 return (ret);
631 int ret = 0;
638 if ((ret = commp_add_str(&new_attr->a_name, name, strlen(name))) != 0)
641 if ((ret = commp_add_str(&new_attr->a_value, value,
654 return (ret);
657 return (ret);
670 int ret = 0;
685 if ((ret = commp_add_str(&new_media->m_name, name, strlen(name))) != 0)
687 if ((ret = commp_add_str(&new_media->m_proto, protocol,
691 if ((ret = sdp_str_to_list(&new_media->m_format, fmt,
708 return (ret);
957 char *ret = NULL;
980 ret = malloc(s_len + 1);
981 if (ret == NULL) {
986 buf = ret;
1115 return (ret);