Lines Matching defs:tmpl
49 struct ldap_disptmpl *tmpl, char **defattrs, char ***defvals,
59 static int max_label_len( struct ldap_disptmpl *tmpl );
99 struct ldap_disptmpl *tmpl,
117 rv = do_entry2text( ld, buf, NULL, entry, tmpl, defattrs, defvals,
122 return( do_entry2text( ld, buf, NULL, entry, tmpl, defattrs, defvals,
134 struct ldap_disptmpl *tmpl,
158 rv = do_entry2text( ld, buf, base, entry, tmpl, defattrs, defvals,
163 return( do_entry2text( ld, buf, base, entry, tmpl, defattrs, defvals,
175 struct ldap_disptmpl *tmpl,
214 ( tmpl == NULL ) ? "Entry" : tmpl->dt_name );
218 eol, eol, ( tmpl == NULL ) ? "Entry" : tmpl->dt_name );
271 if ( tmpl != NULL && ( opts & LDAP_DISP_OPT_AUTOLABELWIDTH ) != 0 ) {
272 labelwidth = max_label_len( tmpl ) + 3;
279 if ( tmpl == NULL ) {
315 for ( rowp = ldap_first_tmplrow( tmpl );
317 rowp = ldap_next_tmplrow( tmpl, rowp )) {
318 for ( colp = ldap_first_tmplcol( tmpl, rowp ); colp != NULLTMPLITEM;
319 colp = ldap_next_tmplcol( tmpl, rowp, colp )) {
489 struct ldap_disptmpl *tmpl;
508 tmpl = NULL;
556 tmpl = ldap_oc2template( vals, tmpllist );
568 if ( tmpl == NULL ) {
571 fetchattrs = ldap_tmplattrs( tmpl, NULL, 1, LDAP_SYN_OPT_DEFER );
599 err = do_entry2text( ld, buf, base, entry, tmpl, defattrs, defvals,
854 max_label_len( struct ldap_disptmpl *tmpl )
861 for ( rowp = ldap_first_tmplrow( tmpl ); rowp != NULLTMPLITEM;
862 rowp = ldap_next_tmplrow( tmpl, rowp )) {
863 for ( colp = ldap_first_tmplcol( tmpl, rowp ); colp != NULLTMPLITEM;
864 colp = ldap_next_tmplcol( tmpl, rowp, colp )) {