Lines Matching defs:rc
162 int rc, rc_key;
203 if ( (rc = (ld->ld_cache_search)( ld, *msgidp, LDAP_REQ_SEARCH,
205 *msgidp = rc;
213 if (( rc = nsldapi_build_search_req( ld, base, scope, filter, attrs,
216 return( rc );
220 rc = nsldapi_send_initial_request( ld, *msgidp, LDAP_REQ_SEARCH,
226 if ( (rc_key == LDAP_SUCCESS) && (rc >= 0) ) {
227 ldap_memcache_new( ld, rc, key, base );
230 *msgidp = rc;
231 return( rc < 0 ? LDAP_GET_LDERRNO( ld, NULL, NULL ) : LDAP_SUCCESS );
668 int rc, len;
674 rc = -1; /* pessimistic */
677 return( rc );
736 if ( (rc = ber_printf( ber, "t{", ftype )) == -1 ) {
740 if ( (rc = ber_printf( ber, "ts", LDAP_TAG_MRA_OID,
746 if ( (rc = ber_printf( ber, "ts",
752 ( rc = ber_printf( ber, "totb}", LDAP_TAG_MRA_VALUE,
756 rc = 0;
765 rc = put_substring_filter( ber, str, value );
772 rc = ber_printf( ber, "ts", ftype, str );
774 rc = ber_printf( ber, "t{so}", ftype, str, value, len );
776 if ( rc != -1 ) {
777 rc = 0;
782 return( rc );