Lines Matching refs:ret
60 krb5_error_code ret;
66 ret = ENOMEM;
73 ret = ENOMEM;
74 krb5_set_error_message(context, ret, N_("malloc: out of memory", ""));
82 ret = krb5_kt_resolve (context, buf, &a->kt);
83 if (ret)
95 return ret;
131 krb5_error_code ret;
140 ret = krb5_kt_start_seq_get(context, ed->a->kt, &ed->cursor);
141 if (ret == 0)
159 krb5_error_code ret, ret2;
164 ret = krb5_kt_next_entry(context, ed->a->kt, entry, &ed->cursor);
165 if (ret == 0)
167 else if (ret != KRB5_KT_END)
168 return ret;
190 krb5_error_code ret = 0;
195 ret = krb5_kt_end_seq_get(context, ed->a->kt, &ed->cursor);
198 return ret;
207 krb5_error_code ret;
209 ret = krb5_kt_add_entry(context, a->kt, entry);
210 if(ret != 0 && ret != KRB5_KT_NOWRITE) {
211 krb5_set_error_message(context, ret,
214 return ret;
227 krb5_error_code ret;
230 ret = krb5_kt_remove_entry(context, a->kt, entry);
231 if(ret == 0)
234 if(ret != KRB5_KT_NOWRITE && ret != KRB5_KT_NOTFOUND) {
235 krb5_set_error_message(context, ret,
239 return ret;