Lines Matching refs:prt

12931 print_template_value_details(scf_prop_tmpl_t *prt, const char *val_buf,  in print_template_value_details()  argument
12936 if (scf_tmpl_value_common_name(prt, NULL, val_buf, &buf) > 0) { in print_template_value_details()
12945 if (scf_tmpl_value_description(prt, NULL, val_buf, &buf) > 0) { in print_template_value_details()
12956 print_template_value(scf_prop_tmpl_t *prt, const char *val_buf) in print_template_value() argument
12962 print_template_value_details(prt, val_buf, 1); in print_template_value()
12966 print_template_constraints(scf_prop_tmpl_t *prt, int verbose) in print_template_constraints() argument
12975 if (scf_tmpl_value_name_constraints(prt, &values) == 0) { in print_template_constraints()
12983 print_template_value_details(prt, in print_template_constraints()
12990 if (scf_tmpl_value_count_range_constraints(prt, &c_ranges) == 0) { in print_template_constraints()
13001 scf_tmpl_value_int_range_constraints(prt, &i_ranges) == 0) { in print_template_constraints()
13015 print_template_choices(scf_prop_tmpl_t *prt, int verbose) in print_template_choices() argument
13023 if (scf_tmpl_value_name_choices(prt, &values) == 0) { in print_template_choices()
13031 print_template_value_details(prt, in print_template_choices()
13038 if (scf_tmpl_value_count_range_choices(prt, &c_ranges) == 0) { in print_template_choices()
13049 scf_tmpl_value_int_range_choices(prt, &i_ranges) == 0) { in print_template_choices()
13063 list_values_by_template(scf_prop_tmpl_t *prt) in list_values_by_template() argument
13065 print_template_constraints(prt, 1); in list_values_by_template()
13066 print_template_choices(prt, 1); in list_values_by_template()
13070 list_values_tmpl(scf_prop_tmpl_t *prt, scf_property_t *prop) in list_values_tmpl() argument
13091 print_template_value(prt, val_buf); in list_values_tmpl()
13097 print_template_constraints(prt, 0); in list_values_tmpl()
13098 print_template_choices(prt, 0); in list_values_tmpl()
13108 list_prop_tmpl(scf_prop_tmpl_t *prt, scf_property_t *prop, int templates) in list_prop_tmpl() argument
13116 if (prt == NULL || templates == 0) in list_prop_tmpl()
13121 if (scf_tmpl_prop_name(prt, &buf) > 0) { in list_prop_tmpl()
13134 if ((buf = _scf_read_tmpl_prop_type_as_string(prt)) != NULL) { in list_prop_tmpl()
13141 if (templates == 2 && scf_tmpl_prop_required(prt, &u_buf) == 0) in list_prop_tmpl()
13145 if (templates == 2 && scf_tmpl_prop_common_name(prt, NULL, &buf) > 0) { in list_prop_tmpl()
13151 if (templates == 2 && scf_tmpl_prop_units(prt, NULL, &buf) > 0) { in list_prop_tmpl()
13157 if (scf_tmpl_prop_description(prt, NULL, &buf) > 0) { in list_prop_tmpl()
13162 if (templates == 2 && scf_tmpl_prop_visibility(prt, &u_buf) == 0) in list_prop_tmpl()
13166 if (templates == 2 && scf_tmpl_prop_cardinality(prt, &min, &max) == 0) { in list_prop_tmpl()
13179 if (templates == 2 && scf_tmpl_prop_internal_seps(prt, &values) == 0) { in list_prop_tmpl()
13194 list_values_tmpl(prt, prop); in list_prop_tmpl()
13196 list_values_by_template(prt); in list_prop_tmpl()
13366 scf_prop_tmpl_t *prt; in listtmpl() local
13376 (prt = scf_tmpl_prop_create(g_hndl)) == NULL) in listtmpl()
13409 scf_tmpl_prop_reset(prt); in listtmpl()
13411 while (scf_tmpl_iter_props(pgt, prt, 0) == 0) { in listtmpl()
13413 prop_name_size = scf_tmpl_prop_name(prt, &prop_name); in listtmpl()
13428 list_prop_tmpl(prt, NULL, templates); in listtmpl()
13440 scf_tmpl_prop_destroy(prt); in listtmpl()
13455 scf_prop_tmpl_t *prt; in listprop() local
13475 (prt = scf_tmpl_prop_create(g_hndl)) == NULL || in listprop()
13615 prt, 0) < 0) { in listprop()
13621 tmpls[i] = prt; in listprop()
13633 prt = scf_tmpl_prop_create(g_hndl); in listprop()
13657 scf_tmpl_prop_destroy(prt); in listprop()
13673 prt = (scf_prop_tmpl_t *)tmpls[i]; in listprop()
13675 list_prop_tmpl(prt, prop, templates); in listprop()
13678 if (prt != NULL) in listprop()
13679 scf_tmpl_prop_destroy(prt); in listprop()
13852 scf_prop_tmpl_t *prt; in lscf_setprop() local
13871 (prt = scf_tmpl_prop_create(g_hndl)) == NULL || in lscf_setprop()
13965 scf_tmpl_get_by_prop(pgt, propname, prt, in lscf_setprop()
13967 scf_tmpl_prop_type(prt, &current_ty) == 0) { in lscf_setprop()
14052 scf_tmpl_prop_destroy(prt); in lscf_setprop()