Lines Matching defs:rv
203 rep_val_t *rv;
205 for (rv = uu_list_first(list); rv != NULL;
206 rv = uu_list_next(list, rv)) {
207 if (rv->val == val)
210 return (rv);
216 rep_val_t *rv;
218 if ((rv = malloc(sizeof (rep_val_t))) == NULL)
221 uu_list_node_init(rv, &rv->link, rep_val_pool);
222 rv->val = val;
223 rv->scf_val = NULL;
224 (void) uu_list_insert_after(list, NULL, rv);
232 rep_val_t *rv;
234 if ((rv = find_rep_val(list, val)) != NULL) {
235 uu_list_remove(list, rv);
236 assert(rv->scf_val == NULL);
237 free(rv);
245 rep_val_t *rv;
247 while ((rv = uu_list_teardown(list, &cookie)) != NULL) {
248 if (rv->scf_val != NULL)
249 scf_value_destroy(rv->scf_val);
250 free(rv);
257 rep_val_t *rv = uu_list_first(list);
259 assert(rv != NULL);
260 return (rv->val);
266 rep_val_t *rv = uu_list_first(list);
268 if (rv == NULL) {
272 rv->val = val;