Lines Matching refs:rc
196 int rc;
219 rc = __ns_ldap_list_sort(database, (const char *)ldapfilter,
222 if (rc != NS_LDAP_SUCCESS) {
224 (void) __ns_ldap_err2str(rc, &p);
232 return (rc);
242 switch_err(int rc)
244 switch (rc) {
268 int rc;
496 rc = rc1 = -1;
511 rc = list("passwd", ldapfilter, ldapattribute,
536 if (rc == -1 && rc1 == -1) {
540 rc = 2;
541 } else if (rc != 0 && rc1 != 0) {
544 if (rc == -1)
545 rc = rc1;
547 rc = 0;
548 exit(switch_err(rc));
571 if (rc = list(database, ldapfilter, ldapattribute, &err, udata))
580 exit(switch_err(rc));