Lines Matching refs:newvalue
75 nwam_value_t newvalue;
85 if ((newvalue = calloc(1, sizeof (struct nwam_value))) == NULL)
88 newvalue->nwv_value_type = value_type;
89 newvalue->nwv_value_numvalues = numvalues;
94 if ((newvalue->nwv_values.nwv_boolean =
96 free(newvalue);
100 newvalue->nwv_values.nwv_boolean[i] = values_boolean[i];
104 if ((newvalue->nwv_values.nwv_int64 =
106 free(newvalue);
110 newvalue->nwv_values.nwv_int64[i] = values_int64[i];
114 if ((newvalue->nwv_values.nwv_uint64 =
116 free(newvalue);
120 newvalue->nwv_values.nwv_uint64[i] = values_uint64[i];
124 if ((newvalue->nwv_values.nwv_string =
126 free(newvalue);
133 } else if ((newvalue->nwv_values.nwv_string[i] =
140 newvalue->nwv_values.nwv_string[i]);
141 free(newvalue->nwv_values.nwv_string);
142 free(newvalue);
151 *valuep = newvalue;