Lines Matching refs:bv_val

214 					op->o_connid, type.bv_val, err );
390 ssa.sa_initial.bv_val = NULL;
392 ssa.sa_final.bv_val = NULL;
404 op->o_connid, desc.bv_val, (long) rc );
420 desc.bv_val );
434 if ( value.bv_val == NULL || value.bv_len == 0 ) {
441 if ( ssa.sa_initial.bv_val != NULL
443 || ssa.sa_final.bv_val != NULL )
452 if ( ssa.sa_final.bv_val != NULL ) {
460 if ( ssa.sa_final.bv_val != NULL ) {
485 desc.bv_val, rc, *text );
507 slap_sl_free( nvalue.bv_val, op->o_tmpmemctx );
513 slap_sl_free( ssa.sa_initial.bv_val, op->o_tmpmemctx );
517 slap_sl_free( ssa.sa_final.bv_val, op->o_tmpmemctx );
559 if ( f->f_sub_initial.bv_val != NULL ) {
560 op->o_tmpfree( f->f_sub_initial.bv_val, op->o_tmpmemctx );
563 if ( f->f_sub_final.bv_val != NULL ) {
564 op->o_tmpfree( f->f_sub_final.bv_val, op->o_tmpmemctx );
682 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 1, op->o_tmpmemctx );
684 snprintf( fstr->bv_val, fstr->bv_len + 1, "(%s%s%s%s)",
686 f->f_av_desc->ad_cname.bv_val, sign,
687 tmp.bv_len ? tmp.bv_val : "" );
689 if ( value.bv_val != f->f_av_value.bv_val ) {
690 ber_memfree_x( value.bv_val, op->o_tmpmemctx );
693 ber_memfree_x( tmp.bv_val, op->o_tmpmemctx );
701 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 128, op->o_tmpmemctx );
703 snprintf( fstr->bv_val, fstr->bv_len + 1, "(%s%s=*)",
705 f->f_sub_desc->ad_cname.bv_val );
707 if ( f->f_sub_initial.bv_val != NULL ) {
716 fstr->bv_val = op->o_tmprealloc( fstr->bv_val,
719 snprintf( &fstr->bv_val[len - 2],
722 tmp.bv_len ? tmp.bv_val : "");
724 ber_memfree_x( tmp.bv_val, op->o_tmpmemctx );
728 for ( i = 0; f->f_sub_any[i].bv_val != NULL; i++ ) {
737 fstr->bv_val = op->o_tmprealloc( fstr->bv_val,
740 snprintf( &fstr->bv_val[len - 1],
743 tmp.bv_len ? tmp.bv_val : "");
744 ber_memfree_x( tmp.bv_val, op->o_tmpmemctx );
748 if ( f->f_sub_final.bv_val != NULL ) {
757 fstr->bv_val = op->o_tmprealloc( fstr->bv_val,
760 snprintf( &fstr->bv_val[len - 1],
763 tmp.bv_len ? tmp.bv_val : "");
765 ber_memfree_x( tmp.bv_val, op->o_tmpmemctx );
776 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 1, op->o_tmpmemctx );
778 snprintf( fstr->bv_val, fstr->bv_len + 1, "(%s%s=*)",
780 f->f_desc->ad_cname.bv_val );
787 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 128, op->o_tmpmemctx );
789 snprintf( fstr->bv_val, fstr->bv_len + 1, "(%c)",
799 fstr->bv_val = op->o_tmprealloc( fstr->bv_val, fstr->bv_len + 1,
802 snprintf( &fstr->bv_val[len-1],
804 /*"("*/ "%s)", tmp.bv_val );
806 op->o_tmpfree( tmp.bv_val, op->o_tmpmemctx );
824 ad.bv_val = "";
832 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 1, op->o_tmpmemctx );
834 snprintf( fstr->bv_val, fstr->bv_len + 1, "(%s%s%s%s%s:=%s)",
836 ad.bv_val,
839 f->f_mr_rule_text.bv_len ? f->f_mr_rule_text.bv_val : "",
840 tmp.bv_len ? tmp.bv_val : "" );
841 ber_memfree_x( tmp.bv_val, op->o_tmpmemctx );
958 n->f_mr_rule_text.bv_val = (char *)(n->f_mra+1);
959 AC_MEMCPY(n->f_mr_rule_text.bv_val,
960 f->f_mr_rule_text.bv_val, f->f_mr_rule_text.bv_len );
1057 op->o_connid, type.bv_val, err );
1202 if ( vrf->vrf_sub_initial.bv_val != NULL ) {
1203 op->o_tmpfree( vrf->vrf_sub_initial.bv_val, op->o_tmpmemctx );
1206 if ( vrf->vrf_sub_final.bv_val != NULL ) {
1207 op->o_tmpfree( vrf->vrf_sub_final.bv_val, op->o_tmpmemctx );
1243 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 128, op->o_tmpmemctx );
1245 snprintf( fstr->bv_val, fstr->bv_len + 1, "()");
1253 fstr->bv_val = op->o_tmprealloc( fstr->bv_val, fstr->bv_len + 1,
1256 snprintf( &fstr->bv_val[len-1], tmp.bv_len + 2,
1257 /*"("*/ "%s)", tmp.bv_val );
1259 op->o_tmpfree( tmp.bv_val, op->o_tmpmemctx );
1284 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 1, op->o_tmpmemctx );
1286 snprintf( fstr->bv_val, fstr->bv_len + 1, "(%s=%s)",
1287 vrf->vrf_av_desc->ad_cname.bv_val,
1288 tmp.bv_val );
1290 ber_memfree_x( tmp.bv_val, op->o_tmpmemctx );
1299 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 1, op->o_tmpmemctx );
1301 snprintf( fstr->bv_val, fstr->bv_len + 1, "(%s>=%s)",
1302 vrf->vrf_av_desc->ad_cname.bv_val,
1303 tmp.bv_val );
1305 ber_memfree_x( tmp.bv_val, op->o_tmpmemctx );
1314 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 1, op->o_tmpmemctx );
1316 snprintf( fstr->bv_val, fstr->bv_len + 1, "(%s<=%s)",
1317 vrf->vrf_av_desc->ad_cname.bv_val,
1318 tmp.bv_val );
1320 ber_memfree_x( tmp.bv_val, op->o_tmpmemctx );
1329 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 1, op->o_tmpmemctx );
1331 snprintf( fstr->bv_val, fstr->bv_len + 1, "(%s~=%s)",
1332 vrf->vrf_av_desc->ad_cname.bv_val,
1333 tmp.bv_val );
1334 ber_memfree_x( tmp.bv_val, op->o_tmpmemctx );
1341 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 128, op->o_tmpmemctx );
1343 snprintf( fstr->bv_val, fstr->bv_len + 1, "(%s=*)",
1344 vrf->vrf_sub_desc->ad_cname.bv_val );
1346 if ( vrf->vrf_sub_initial.bv_val != NULL ) {
1352 fstr->bv_val = op->o_tmprealloc( fstr->bv_val, fstr->bv_len + 1,
1355 snprintf( &fstr->bv_val[len-2], tmp.bv_len+3,
1357 tmp.bv_val );
1359 ber_memfree_x( tmp.bv_val, op->o_tmpmemctx );
1364 for ( i = 0; vrf->vrf_sub_any[i].bv_val != NULL; i++ ) {
1370 fstr->bv_val = op->o_tmprealloc( fstr->bv_val,
1373 snprintf( &fstr->bv_val[len-1], tmp.bv_len+3,
1375 tmp.bv_val );
1376 ber_memfree_x( tmp.bv_val, op->o_tmpmemctx );
1380 if ( vrf->vrf_sub_final.bv_val != NULL ) {
1386 fstr->bv_val = op->o_tmprealloc( fstr->bv_val, fstr->bv_len + 1,
1389 snprintf( &fstr->bv_val[len-1], tmp.bv_len+3,
1391 tmp.bv_val );
1393 ber_memfree_x( tmp.bv_val, op->o_tmpmemctx );
1402 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 1, op->o_tmpmemctx );
1404 snprintf( fstr->bv_val, fstr->bv_len + 1, "(%s=*)",
1405 vrf->vrf_desc->ad_cname.bv_val );
1416 ad.bv_val = "";
1425 fstr->bv_val = op->o_tmpalloc( fstr->bv_len + 1, op->o_tmpmemctx );
1427 snprintf( fstr->bv_val, fstr->bv_len + 1, "(%s%s%s%s:=%s)",
1428 ad.bv_val,
1431 vrf->vrf_mr_rule_text.bv_len ? vrf->vrf_mr_rule_text.bv_val : "",
1432 tmp.bv_val );
1434 ber_memfree_x( tmp.bv_val, op->o_tmpmemctx );