Lines Matching +defs:val +defs:first
197 print_value(scf_value_t *val)
202 bufsz = scf_value_get_as_string(val, NULL, 0) + 1;
208 r = scf_value_get_as_string(val, buf, bufsz);
226 scf_value_t *val;
228 int ret, first, err;
272 (val = scf_value_create(hndl)) == NULL)
278 first = 1;
279 while ((ret = scf_iter_next_value(iter, val)) == 1) {
280 if (first)
281 first = 0;
284 print_value(val);
299 (void) scf_value_destroy(val);