Lines Matching defs:le
138 struct ldap_error *le = (struct ldap_error *)key;
140 if (le == NULL)
142 if (le->le_matched != NULL) {
143 ldap_memfree(le->le_matched);
145 if (le->le_errmsg != NULL) {
146 ldap_memfree(le->le_errmsg);
148 free(le);
228 struct ldap_error *le;
231 if ((eno = thr_getspecific(ns_mtckey, (void **)&le)) != 0) {
239 if (le == NULL) {
245 le->le_errno = err;
247 if (le->le_matched != NULL) {
248 ldap_memfree(le->le_matched);
249 le->le_matched = NULL;
251 le->le_matched = matched;
253 if (le->le_errmsg != NULL) {
254 ldap_memfree(le->le_errmsg);
255 le->le_errmsg = NULL;
257 le->le_errmsg = errmsg;
275 struct ldap_error *le;
278 if ((eno = thr_getspecific(ns_mtckey, (void **)&le)) != 0) {
286 if (le == NULL)
287 le = &ldap_error_NULL;
290 *matched = le->le_matched;
293 *errmsg = le->le_errmsg;
295 return (le->le_errno);