Lines Matching refs:buf_len

122 format_keytype(krb5_key_data *k, krb5_salt *def_salt, char *buf, size_t buf_len)  in format_keytype()  argument
132 strlcpy(buf, s, buf_len); in format_keytype()
135 strlcat(buf, "(", buf_len); in format_keytype()
143 strlcat(buf, s, buf_len); in format_keytype()
153 strlcat(buf, s, buf_len); in format_keytype()
156 strlcat(buf, ")", buf_len); in format_keytype()
161 unsigned int subfield, char *buf, size_t buf_len, int condensed) in format_field() argument
166 krb5_unparse_name_fixed_short(context, princ->principal, buf, buf_len); in format_field()
168 krb5_unparse_name_fixed(context, princ->principal, buf, buf_len); in format_field()
172 time_t2str(princ->princ_expire_time, buf, buf_len, !condensed); in format_field()
176 time_t2str(princ->pw_expiration, buf, buf_len, !condensed); in format_field()
180 time_t2str(princ->last_pwd_change, buf, buf_len, !condensed); in format_field()
184 deltat2str(princ->max_life, buf, buf_len); in format_field()
188 deltat2str(princ->max_renewable_life, buf, buf_len); in format_field()
192 time_t2str(princ->mod_date, buf, buf_len, !condensed); in format_field()
197 strlcpy(buf, "unknown", buf_len); in format_field()
199 krb5_unparse_name_fixed_short(context, princ->mod_name, buf, buf_len); in format_field()
201 krb5_unparse_name_fixed(context, princ->mod_name, buf, buf_len); in format_field()
204 attributes2str (princ->attributes, buf, buf_len); in format_field()
207 snprintf(buf, buf_len, "%d", princ->kvno); in format_field()
211 strlcpy(buf, "unknown", buf_len); in format_field()
214 time_t2str(princ->last_success, buf, buf_len, !condensed); in format_field()
217 time_t2str(princ->last_failed, buf, buf_len, !condensed); in format_field()
220 snprintf(buf, buf_len, "%d", princ->fail_auth_count); in format_field()
224 strlcpy(buf, princ->policy, buf_len); in format_field()
226 strlcpy(buf, "none", buf_len); in format_field()
238 strlcat(buf, ", ", buf_len); in format_field()
239 strlcat(buf, buf2, buf_len); in format_field()
251 strlcpy(buf, "", buf_len); in format_field()
257 snprintf(buf, buf_len, "\"%.*s\"", in format_field()
272 snprintf(buf, buf_len, "failed to decode ACL"); in format_field()
278 strlcat(buf, "subject: ", buf_len); in format_field()
279 strlcat(buf, acl.val[i].subject, buf_len); in format_field()
281 strlcat(buf, " issuer:", buf_len); in format_field()
282 strlcat(buf, *acl.val[i].issuer, buf_len); in format_field()
285 strlcat(buf, " anchor:", buf_len); in format_field()
286 strlcat(buf, *acl.val[i].anchor, buf_len); in format_field()
289 strlcat(buf, ", ", buf_len); in format_field()
305 snprintf(buf, buf_len, "failed to decode alias"); in format_field()
315 strlcat(buf, " ", buf_len); in format_field()
316 strlcat(buf, p, buf_len); in format_field()
323 snprintf(buf, buf_len, "unknown type %d", subfield); in format_field()
329 strlcpy(buf, "<unknown>", buf_len); in format_field()