Lines Matching defs:tmpl
49 struct ldap_disptmpl *tmpl, char **defattrs, char ***defvals,
59 static int max_label_len( struct ldap_disptmpl *tmpl );
88 struct ldap_disptmpl *tmpl,
100 return( do_entry2text( ld, buf, NULL, entry, tmpl, defattrs, defvals,
113 struct ldap_disptmpl *tmpl,
131 return( do_entry2text( ld, buf, base, entry, tmpl, defattrs, defvals,
142 struct ldap_disptmpl *tmpl,
193 ( tmpl == NULL ) ? "Entry" : tmpl->dt_name );
197 eol, eol, ( tmpl == NULL ) ? "Entry" : tmpl->dt_name );
250 if ( tmpl != NULL && ( opts & LDAP_DISP_OPT_AUTOLABELWIDTH ) != 0 ) {
251 labelwidth = max_label_len( tmpl ) + 3;
258 if ( tmpl == NULL ) {
302 for ( rowp = ldap_first_tmplrow( tmpl );
304 rowp = ldap_next_tmplrow( tmpl, rowp )) {
305 for ( colp = ldap_first_tmplcol( tmpl, rowp ); colp != NULLTMPLITEM;
306 colp = ldap_next_tmplcol( tmpl, rowp, colp )) {
454 struct ldap_disptmpl *tmpl;
479 tmpl = NULL;
514 tmpl = ldap_oc2template( vals, tmpllist );
526 if ( tmpl == NULL ) {
529 fetchattrs = ldap_tmplattrs( tmpl, NULL, 1, LDAP_SYN_OPT_DEFER );
554 err = do_entry2text( ld, buf, base, entry, tmpl, defattrs, defvals,
791 max_label_len( struct ldap_disptmpl *tmpl )
798 for ( rowp = ldap_first_tmplrow( tmpl ); rowp != NULLTMPLITEM;
799 rowp = ldap_next_tmplrow( tmpl, rowp )) {
800 for ( colp = ldap_first_tmplcol( tmpl, rowp ); colp != NULLTMPLITEM;
801 colp = ldap_next_tmplcol( tmpl, rowp, colp )) {