Lines Matching defs:stat

103 	int				stat;
133 stat = pthread_kill(table->mapping.enumTid, 0);
134 if (stat == ESRCH) {
154 } else if (stat == 0) {
159 stat = LDAP_SUCCESS;
164 myself, stat, table->mapping.enumTid,
167 stat = LDAP_OPERATIONS_ERROR;
175 return (stat);
214 stat = pthread_create(&tid, &attr, entriesFromLDAPthread, arg);
215 if (stat != 0) {
219 myself, stat);
220 stat = entriesFromLDAPreal(arg);
221 return (stat);
242 stat = LDAP_SUCCESS;
247 stat = pthread_join(tid, (void **)&tstat);
248 if (stat == 0) {
249 stat = tstat;
256 myself, tid, stat);
257 stat = LDAP_OPERATIONS_ERROR;
263 stat = entriesFromLDAPreal(arg);
266 return (stat);
339 int ret, stat = LDAP_SUCCESS, stat2, stat3;
400 res = mapFromLDAP(t, q, &nq, dbId, &stat, &oa);
404 myself, res, stat, stat == LDAP_SUCCESS ? "" :
405 ldap_err2string(stat), nq);
421 if (res == 0 && stat != LDAP_NO_SUCH_OBJECT) {
424 myself, stat, ldap_err2string(stat));
440 table->mapping.enumStat = stat;
454 return (stat);
520 TRYWRITELOCK(((db *)mindex->getDbPtr()), stat,
522 if (stat == 0) {
530 if (stat != 0 || stat2 != 0 || stat3 != 0) {
531 if (stat != 0) {
532 if (stat == EBUSY)
539 myself, stat, NIL(t->objName));
578 if (stat == 0) {
595 stat = LDAP_SUCCESS;
768 stat = mindex->updateTableEntry(e, 1, t->objName, &o, t->obj,
775 if (stat == LDAP_SUCCESS) {
777 } else if (stat == LDAP_COMPARE_TRUE) {
778 stat = LDAP_SUCCESS;
783 ldap_err2string(stat));
820 if (stat == LDAP_SUCCESS)
821 stat = st;
824 if (stat == LDAP_SUCCESS) {
841 if (xid != 0 && na > 0 && stat == LDAP_SUCCESS)
850 myself, (na > 0 && stat == LDAP_SUCCESS) ?
853 stat = LDAP_OPERATIONS_ERROR;
883 table->mapping.enumStat = stat;
926 return (stat);