Lines Matching defs:val
401 scf_value_t *val = safe_scf_value_create(h);
404 if (scf_property_get_value(prop, val) == -1) {
412 if (scf_value_get_astring(val, *ret, max_scf_value_size) <= 0) {
418 scf_value_destroy(val);
727 scf_value_t *val;
733 val = safe_scf_value_create(h);
778 if (scf_property_get_value(prop, val) != 0) {
803 r = scf_value_get_boolean(val, valuep);
807 scf_value_destroy(val);
850 scf_value_t *val;
855 val = safe_scf_value_create(h);
901 if (scf_property_get_value(prop, val) != 0) {
929 r = scf_value_get_count(val, valuep);
933 scf_value_destroy(val);
1547 const char *pgtype, uint32_t pgflags, const char *pname, int val)
1574 scf_value_set_boolean(v, val);
1702 scf_value_t *val, char *buf, size_t buf_sz)
1723 if (scf_property_get_value(prop, val) != 0) {
1740 if (scf_value_get_astring(val, buf, buf_sz) < 0) {
1763 scf_value_t *val, char *buf, size_t buf_sz)
1771 switch (r = pg_get_milestone(pg, prop, val, buf, buf_sz)) {
1806 r = pg_get_milestone(pg, prop, val, buf, buf_sz);
1848 scf_value_t *val;
1851 val = safe_scf_value_create(scf_property_handle(prop));
1853 if (scf_property_get_value(prop, val) != 0) {
1854 scf_value_destroy(val);
1879 if (scf_value_get_astring(val, buf, sizeof (buf)) < 0) {
1880 scf_value_destroy(val);
1887 scf_value_destroy(val);
1908 scf_value_t *val;
1917 val = safe_scf_value_create(h);
1920 r = scf_value_set_astring(val, milestone);
1995 r = scf_entry_add_value(e_ms, val);
2053 scf_value_destroy(val);
2334 scf_value_t *val = NULL;
2344 val = safe_scf_value_create(h);
2444 scf_value_destroy(val);
3144 scf_value_t *val;
3151 val = safe_scf_value_create(h);
3217 if (scf_property_get_value(prop, val) == -1) {
3243 } else if (scf_value_get_integer(val, &rep_ts) == -1) {
3293 scf_value_destroy(val);
3489 scf_value_t *val;
3515 val = safe_scf_value_create(h);
3520 scf_value_destroy(val);
3539 r = scf_iter_next_value(iter, val);
3543 scf_value_destroy(val);
3564 sz = scf_value_get_astring(val, buf, max_scf_value_size);
3574 scf_value_destroy(val);