Lines Matching defs:supportedFeatures
45 static struct berval *supportedFeatures;
118 if ( supportedFeatures != NULL ) {
125 supportedFeatures = ch_calloc( sizeof( struct berval ), i + 1 );
126 if ( supportedFeatures == NULL ) {
131 ber_dupbv( &supportedFeatures[ i ], &builtin_supportedFeatures[ i ] );
133 BER_BVZERO( &supportedFeatures[ i ] );
143 if ( supportedFeatures == NULL ) {
147 for ( i = 0; !BER_BVISNULL( &supportedFeatures[ i ] ); i++ ) {
148 ch_free( supportedFeatures[ i ].bv_val );
151 ch_free( supportedFeatures );
152 supportedFeatures = NULL;
165 for ( i = 0; !BER_BVISNULL( &supportedFeatures[ i ] ); i++ )
168 tmp = ch_realloc( supportedFeatures, sizeof( struct berval ) * ( i + 2 ) );
172 supportedFeatures = tmp;
174 ber_dupbv( &supportedFeatures[ i ], f );
175 BER_BVZERO( &supportedFeatures[ i + 1 ] );
310 /* supportedFeatures */
311 if ( supportedFeatures == NULL ) {
315 if( attr_merge( e, ad_supportedFeatures, supportedFeatures, NULL ) ) {