Lines Matching defs:rc

151 	int		rc = 0;
158 if ((rc = __ns_ldap_getParam(NS_LDAP_SEARCH_SCOPE_P,
160 return (rc);
213 int rc = 0;
219 while (rc == 0) {
220 rc = ldap_result(ld, msgid, all, &waitTime, result);
221 if (rc == 0)
230 rc = ldap_result(ld, msgid, all, timeout, result);
248 rc = ldap_result(ld, msgid, all, &waitTime, result);
249 if (rc != 0)
261 rc = ldap_result(ld, msgid, all, &waitTime,
268 return (rc);
470 int rc = 0;
477 if ((rc = __ns_ldap_getParam(NS_LDAP_SEARCH_BASEDN_P,
479 return (rc);
542 rc = prepend_auto2dn(
544 if (rc != NS_LDAP_SUCCESS) {
549 return (rc);
604 int rc = 0;
606 if ((rc = __ns_ldap_getParam(NS_LDAP_SEARCH_DN_P,
608 return (rc);
890 int rc = 0, err = NS_LDAP_CONFIG, version = 1;
898 if ((rc = __ns_ldap_getParam(NS_LDAP_FILE_VERSION_P,
900 return (rc);
918 if ((rc = __ns_ldap_getParam(NS_LDAP_SERVERS_P,
920 return (rc);
954 if ((rc = __ns_ldap_getParam(NS_LDAP_SERVER_PREF_P,
959 return (rc);
966 if ((rc = __ns_ldap_getParam(NS_LDAP_PREF_ONLY_P,
972 return (rc);
1355 * other rc from __ns_ldap_getParam()
1365 int rc = 0;
1386 rc = __ns_ldap_getParam(NS_LDAP_SEARCH_REF_P,
1388 if (rc != NS_LDAP_SUCCESS)
1389 return (rc);
1701 int i, rc;
1729 rc = __ns_ldap_getSearchDescriptors(service, SSDlist, errorp);
1730 if (rc != NS_LDAP_SUCCESS)
1731 return (rc);
1744 rc = __ns_ldap_getSearchDescriptors(
1746 if (rc != NS_LDAP_SUCCESS)
1747 return (rc);
1756 rc = __s_api_prepend_automountmapname(
1761 if (rc != NS_LDAP_SUCCESS) {
1767 return (rc);
1793 rc = __ns_ldap_getSearchDescriptors(SSD_service,
1795 if (rc != NS_LDAP_SUCCESS) {
1796 return (rc);
2016 int i, rc;
2025 rc = __s_api_prepend_automountmapname_to_dn(
2028 if (rc != NS_LDAP_SUCCESS)
2029 return (rc);
2054 int rc, len_s = 0, len_d = 0, len = 0;
2065 rc = __ns_ldap_getParam(NS_LDAP_FILE_VERSION_P, &paramVal, errorp);
2066 if (rc != NS_LDAP_SUCCESS || !paramVal || !*paramVal) {
2069 return (rc);
2437 int rc;
2498 rc = __ns_ldap_trydoorcall(&sptr, &ndata, &adata);
2505 return (rc);
2526 * Create an ns_ldap_error structure, set status to 'rc',
2530 __s_api_make_error(int rc, char *msg)
2538 ep->status = rc;