Lines Matching refs:stat
100 int stat;
130 stat = pthread_kill(table->mapping.enumTid, 0);
131 if (stat == ESRCH) {
151 } else if (stat == 0) {
156 stat = LDAP_SUCCESS;
161 myself, stat, table->mapping.enumTid,
164 stat = LDAP_OPERATIONS_ERROR;
172 return (stat);
211 stat = pthread_create(&tid, &attr, entriesFromLDAPthread, arg);
212 if (stat != 0) {
216 myself, stat);
217 stat = (int)entriesFromLDAPthread(arg);
218 return (stat);
239 stat = LDAP_SUCCESS;
244 stat = pthread_join(tid, (void **)&tstat);
245 if (stat == 0) {
246 stat = tstat;
253 myself, tid, stat);
254 stat = LDAP_OPERATIONS_ERROR;
260 stat = (int)entriesFromLDAPthread(arg);
263 return (stat);
276 int stat;
314 stat = entriesFromLDAPreal(arg);
323 return ((void *)stat);
337 int ret, stat = LDAP_SUCCESS, stat2, stat3;
398 res = mapFromLDAP(t, q, &nq, dbId, &stat, &oa);
402 myself, res, stat, stat == LDAP_SUCCESS ? "" :
403 ldap_err2string(stat), nq);
419 if (res == 0 && stat != LDAP_NO_SUCH_OBJECT) {
422 myself, stat, ldap_err2string(stat));
438 table->mapping.enumStat = stat;
452 return (stat);
518 TRYWRITELOCK(((db *)mindex->getDbPtr()), stat,
520 if (stat == 0) {
528 if (stat != 0 || stat2 != 0 || stat3 != 0) {
529 if (stat != 0) {
530 if (stat == EBUSY)
537 myself, stat, NIL(t->objName));
576 if (stat == 0) {
593 stat = LDAP_SUCCESS;
766 stat = mindex->updateTableEntry(e, 1, t->objName, &o, t->obj,
773 if (stat == LDAP_SUCCESS) {
775 } else if (stat == LDAP_COMPARE_TRUE) {
776 stat = LDAP_SUCCESS;
781 ldap_err2string(stat));
818 if (stat == LDAP_SUCCESS)
819 stat = st;
822 if (stat == LDAP_SUCCESS) {
839 if (xid != 0 && na > 0 && stat == LDAP_SUCCESS)
848 myself, (na > 0 && stat == LDAP_SUCCESS) ?
851 stat = LDAP_OPERATIONS_ERROR;
881 table->mapping.enumStat = stat;
924 return (stat);