Lines Matching defs:rc
166 int rc, rc_key;
207 if ( (rc = (ld->ld_cache_search)( ld, *msgidp, LDAP_REQ_SEARCH,
209 *msgidp = rc;
217 if (( rc = nsldapi_build_search_req( ld, base, scope, filter, attrs,
220 return( rc );
224 rc = nsldapi_send_initial_request( ld, *msgidp, LDAP_REQ_SEARCH,
230 if ( (rc_key == LDAP_SUCCESS) && (rc >= 0) ) {
231 ldap_memcache_new( ld, rc, key, base );
234 *msgidp = rc;
235 return( rc < 0 ? LDAP_GET_LDERRNO( ld, NULL, NULL ) : LDAP_SUCCESS );
672 int rc, len;
678 rc = -1; /* pessimistic */
681 return( rc );
740 if ( (rc = ber_printf( ber, "t{", ftype )) == -1 ) {
744 if ( (rc = ber_printf( ber, "ts", LDAP_TAG_MRA_OID,
750 if ( (rc = ber_printf( ber, "ts",
756 ( rc = ber_printf( ber, "totb}", LDAP_TAG_MRA_VALUE,
760 rc = 0;
769 rc = put_substring_filter( ber, str, value );
776 rc = ber_printf( ber, "ts", ftype, str );
778 rc = ber_printf( ber, "t{so}", ftype, str, value, len );
780 if ( rc != -1 ) {
781 rc = 0;
786 return( rc );