Lines Matching refs:new
242 sdp_list_t *new = NULL; in add_value_to_list() local
245 new = malloc(sizeof (sdp_list_t)); in add_value_to_list()
246 if (new == NULL) in add_value_to_list()
248 new->next = NULL; in add_value_to_list()
250 new->value = (char *)calloc(1, len + 1); in add_value_to_list()
252 new->value = (uint64_t *)calloc(1, sizeof (uint64_t)); in add_value_to_list()
253 if (new->value == NULL) { in add_value_to_list()
254 free(new); in add_value_to_list()
258 (void) strncpy(new->value, value, len); in add_value_to_list()
261 len), new->value) != 0) { in add_value_to_list()
262 sdp_free_list(new); in add_value_to_list()
267 *list = new; in add_value_to_list()
272 tmp->next = new; in add_value_to_list()