Lines Matching refs:prt

12894 print_template_value_details(scf_prop_tmpl_t *prt, const char *val_buf,  in print_template_value_details()  argument
12899 if (scf_tmpl_value_common_name(prt, NULL, val_buf, &buf) > 0) { in print_template_value_details()
12908 if (scf_tmpl_value_description(prt, NULL, val_buf, &buf) > 0) { in print_template_value_details()
12919 print_template_value(scf_prop_tmpl_t *prt, const char *val_buf) in print_template_value() argument
12925 print_template_value_details(prt, val_buf, 1); in print_template_value()
12929 print_template_constraints(scf_prop_tmpl_t *prt, int verbose) in print_template_constraints() argument
12938 if (scf_tmpl_value_name_constraints(prt, &values) == 0) { in print_template_constraints()
12946 print_template_value_details(prt, in print_template_constraints()
12953 if (scf_tmpl_value_count_range_constraints(prt, &c_ranges) == 0) { in print_template_constraints()
12964 scf_tmpl_value_int_range_constraints(prt, &i_ranges) == 0) { in print_template_constraints()
12978 print_template_choices(scf_prop_tmpl_t *prt, int verbose) in print_template_choices() argument
12986 if (scf_tmpl_value_name_choices(prt, &values) == 0) { in print_template_choices()
12994 print_template_value_details(prt, in print_template_choices()
13001 if (scf_tmpl_value_count_range_choices(prt, &c_ranges) == 0) { in print_template_choices()
13012 scf_tmpl_value_int_range_choices(prt, &i_ranges) == 0) { in print_template_choices()
13026 list_values_by_template(scf_prop_tmpl_t *prt) in list_values_by_template() argument
13028 print_template_constraints(prt, 1); in list_values_by_template()
13029 print_template_choices(prt, 1); in list_values_by_template()
13033 list_values_tmpl(scf_prop_tmpl_t *prt, scf_property_t *prop) in list_values_tmpl() argument
13054 print_template_value(prt, val_buf); in list_values_tmpl()
13060 print_template_constraints(prt, 0); in list_values_tmpl()
13061 print_template_choices(prt, 0); in list_values_tmpl()
13071 list_prop_tmpl(scf_prop_tmpl_t *prt, scf_property_t *prop, int templates) in list_prop_tmpl() argument
13079 if (prt == NULL || templates == 0) in list_prop_tmpl()
13084 if (scf_tmpl_prop_name(prt, &buf) > 0) { in list_prop_tmpl()
13097 if ((buf = _scf_read_tmpl_prop_type_as_string(prt)) != NULL) { in list_prop_tmpl()
13104 if (templates == 2 && scf_tmpl_prop_required(prt, &u_buf) == 0) in list_prop_tmpl()
13108 if (templates == 2 && scf_tmpl_prop_common_name(prt, NULL, &buf) > 0) { in list_prop_tmpl()
13114 if (templates == 2 && scf_tmpl_prop_units(prt, NULL, &buf) > 0) { in list_prop_tmpl()
13120 if (scf_tmpl_prop_description(prt, NULL, &buf) > 0) { in list_prop_tmpl()
13125 if (templates == 2 && scf_tmpl_prop_visibility(prt, &u_buf) == 0) in list_prop_tmpl()
13129 if (templates == 2 && scf_tmpl_prop_cardinality(prt, &min, &max) == 0) { in list_prop_tmpl()
13142 if (templates == 2 && scf_tmpl_prop_internal_seps(prt, &values) == 0) { in list_prop_tmpl()
13157 list_values_tmpl(prt, prop); in list_prop_tmpl()
13159 list_values_by_template(prt); in list_prop_tmpl()
13329 scf_prop_tmpl_t *prt; in listtmpl() local
13339 (prt = scf_tmpl_prop_create(g_hndl)) == NULL) in listtmpl()
13372 scf_tmpl_prop_reset(prt); in listtmpl()
13374 while (scf_tmpl_iter_props(pgt, prt, 0) == 0) { in listtmpl()
13376 prop_name_size = scf_tmpl_prop_name(prt, &prop_name); in listtmpl()
13391 list_prop_tmpl(prt, NULL, templates); in listtmpl()
13403 scf_tmpl_prop_destroy(prt); in listtmpl()
13418 scf_prop_tmpl_t *prt; in listprop() local
13438 (prt = scf_tmpl_prop_create(g_hndl)) == NULL || in listprop()
13578 prt, 0) < 0) { in listprop()
13584 tmpls[i] = prt; in listprop()
13596 prt = scf_tmpl_prop_create(g_hndl); in listprop()
13620 scf_tmpl_prop_destroy(prt); in listprop()
13636 prt = (scf_prop_tmpl_t *)tmpls[i]; in listprop()
13638 list_prop_tmpl(prt, prop, templates); in listprop()
13641 if (prt != NULL) in listprop()
13642 scf_tmpl_prop_destroy(prt); in listprop()
13815 scf_prop_tmpl_t *prt; in lscf_setprop() local
13834 (prt = scf_tmpl_prop_create(g_hndl)) == NULL || in lscf_setprop()
13928 scf_tmpl_get_by_prop(pgt, propname, prt, in lscf_setprop()
13930 scf_tmpl_prop_type(prt, &current_ty) == 0) { in lscf_setprop()
14015 scf_tmpl_prop_destroy(prt); in lscf_setprop()