Lines Matching defs:templates
12791 * If 'templates' == 2, verbose output is printed in the format expected
12792 * for describe -v, which includes all templates fields. If pg is
12797 list_pg_tmpl(scf_pg_tmpl_t *pgt, scf_propertygroup_t *pg, int templates)
12804 if (templates == 0)
12811 if (templates == 2 && pg != NULL) {
12841 if (pg == NULL || templates == 2) {
12861 if (templates == 2 && scf_tmpl_pg_required(pgt, &required) == 0)
12865 if (templates == 2 && scf_tmpl_pg_target(pgt, &buf) > 0) {
12871 if (templates == 2 && scf_tmpl_pg_common_name(pgt, NULL, &buf) > 0) {
12878 if (templates == 2)
13067 * Verbose output if templates == 2, -v option of svccfg describe
13071 list_prop_tmpl(scf_prop_tmpl_t *prt, scf_property_t *prop, int templates)
13079 if (prt == NULL || templates == 0)
13091 if (prop == NULL || templates == 2) {
13104 if (templates == 2 && scf_tmpl_prop_required(prt, &u_buf) == 0)
13108 if (templates == 2 && scf_tmpl_prop_common_name(prt, NULL, &buf) > 0) {
13114 if (templates == 2 && scf_tmpl_prop_units(prt, NULL, &buf) > 0) {
13125 if (templates == 2 && scf_tmpl_prop_visibility(prt, &u_buf) == 0)
13129 if (templates == 2 && scf_tmpl_prop_cardinality(prt, &min, &max) == 0) {
13142 if (templates == 2 && scf_tmpl_prop_internal_seps(prt, &values) == 0) {
13153 if (templates != 2)
13244 list_entity_tmpl(int templates)
13280 * Do description, manpages, and doc links if templates == 2.
13282 if (templates == 2) {
13326 listtmpl(const char *pattern, int templates)
13368 list_pg_tmpl(pgt, NULL, templates);
13391 list_prop_tmpl(prt, NULL, templates);
13411 listprop(const char *pattern, int only_pgs, int templates)
13457 * matching items, their names, and their templates in objects,
13628 list_pg_tmpl(pgt, pg, templates);
13638 list_prop_tmpl(prt, prop, templates);