Lines Matching defs:rc
157 int rc, optind, i, first, free_filtpattern;
292 rc = dosearch( ld, conv, scope, attrs, attrsonly, filtpattern, "" );
298 rc = LDAP_SUCCESS;
300 while ( rc == LDAP_SUCCESS && !done ) {
340 rc = dosearch( ld, base, scope, attrs, attrsonly, filtpattern,
353 rc = ldaptool_check_ferror( stdout, rc,
355 return( rc );
612 int rc, first, matches;
734 rc = ldap_create_sort_control(ld,keylist,0,&ldctrl);
736 if ( rc != LDAP_SUCCESS ) {
776 if ( rc != LDAP_SUCCESS ) {
781 if (LDAP_SUCCESS != (rc = ldap_create_virtuallist_control(ld,
806 rc = ldap_result( ld, LDAP_RES_ANY, 1, NULL, &res );
808 while ( (rc = ldap_result( ld, LDAP_RES_ANY, 0, NULL, &res )) !=
809 LDAP_RES_SEARCH_RESULT && rc != -1 ) {
810 if ( rc != LDAP_RES_SEARCH_ENTRY ) {
811 if ( rc == LDAP_RES_SEARCH_REFERENCE ) {
813 } else if ( rc == LDAP_RES_EXTENDED
820 ldaptool_progname, rc, msgtype2str( rc ));
836 if ( rc == -1 ) {
842 if ( ldap_parse_result( ld, res, &rc, NULL, NULL, &refs,
846 } else if ( rc != LDAP_SUCCESS ) {
937 return( rc );