Lines Matching refs:supportedFeatures
43 static struct berval *supportedFeatures;
116 if ( supportedFeatures != NULL ) {
123 supportedFeatures = ch_calloc( sizeof( struct berval ), i + 1 );
124 if ( supportedFeatures == NULL ) {
129 ber_dupbv( &supportedFeatures[ i ], &builtin_supportedFeatures[ i ] );
131 BER_BVZERO( &supportedFeatures[ i ] );
141 if ( supportedFeatures == NULL ) {
145 for ( i = 0; !BER_BVISNULL( &supportedFeatures[ i ] ); i++ ) {
146 ch_free( supportedFeatures[ i ].bv_val );
149 ch_free( supportedFeatures );
150 supportedFeatures = NULL;
163 for ( i = 0; !BER_BVISNULL( &supportedFeatures[ i ] ); i++ )
166 tmp = ch_realloc( supportedFeatures, sizeof( struct berval ) * ( i + 2 ) );
170 supportedFeatures = tmp;
172 ber_dupbv( &supportedFeatures[ i ], f );
173 BER_BVZERO( &supportedFeatures[ i + 1 ] );
311 /* supportedFeatures */
312 if ( supportedFeatures == NULL ) {
316 if( attr_merge( e, ad_supportedFeatures, supportedFeatures, NULL ) ) {