Home
last modified time | relevance | path

Searched refs:sm_values (Results 1 – 19 of 19) sorted by relevance

/netbsd-src/external/bsd/openldap/dist/servers/slapd/
H A Dmods.c66 if ( !BER_BVISNULL( &mod->sm_values[mod->sm_numvals] )) { in modify_add_values()
68 for ( i = 0; !BER_BVISNULL( &mod->sm_values[i] ); i++ ); in modify_add_values()
93 pmod.sm_values = (BerVarray)ch_malloc( in modify_add_values()
119 cvals = mod->sm_values; in modify_add_values()
142 pmod.sm_values[p++] = mod->sm_values[i]; in modify_add_values()
149 ch_free( pmod.sm_values ); in modify_add_values()
154 BER_BVZERO( &pmod.sm_values[p] ); in modify_add_values()
164 pmod.sm_values, pmod.sm_nvalues ); in modify_add_values()
166 rc = attr_merge( e, mod->sm_desc, pmod.sm_values, pmod.sm_nvalues ); in modify_add_values()
170 ch_free( pmod.sm_values ); in modify_add_values()
[all …]
H A Dslapmodify.c360 mods.sm_values = ch_calloc( sizeof( struct berval ), i + 1 ); in slapmodify()
380 &bv, &mods.sm_values[i], NULL ); in slapmodify()
393 ber_bvarray_free( mods.sm_values ); in slapmodify()
399 ber_dupbv( &mods.sm_values[i], &bv ); in slapmodify()
407 &mods.sm_values[i], &mods.sm_nvalues[i], in slapmodify()
414 ber_bvarray_free( mods.sm_values ); in slapmodify()
450 ber_bvarray_free( mods.sm_values ); in slapmodify()
H A Dslap.h1228 BerVarray sm_values; member
1247 #define sml_values sml_mod.sm_values
/netbsd-src/external/bsd/openldap/dist/servers/slapd/back-monitor/
H A Dlog.c138 mod->sm_values, mod->sm_nvalues ); in monitor_subsys_log_modify()
238 for ( i = 0; !BER_BVISNULL( &mod->sm_values[ i ] ); i++ ) { in check_constraints()
242 if ( str2loglevel( mod->sm_values[ i ].bv_val, &l ) ) { in check_constraints()
250 assert( bv.bv_len == mod->sm_values[ i ].bv_len ); in check_constraints()
252 AC_MEMCPY( mod->sm_values[ i ].bv_val, in check_constraints()
268 assert( mod->sm_values != NULL ); in add_values()
283 for ( i = 0; !BER_BVISNULL( &mod->sm_values[ i ] ); i++ ) { in add_values()
291 &mod->sm_values[ i ], &asserted, &text, in add_values()
314 rc = attr_merge_normalize( e, mod->sm_desc, mod->sm_values, in add_values()
331 if ( mod->sm_values == NULL ) { in delete_values()
[all …]
H A Ddatabase.c704 if ( mod->sm_values ) { in monitor_subsys_database_modify()
705 if ( !BER_BVISNULL( &mod->sm_values[ 1 ] ) ) { in monitor_subsys_database_modify()
711 if ( bvmatch( &slap_true_bv, mod->sm_values )) { in monitor_subsys_database_modify()
714 } else if ( bvmatch( &slap_false_bv, mod->sm_values )) { in monitor_subsys_database_modify()
777 if ( mod->sm_values == NULL ) { in monitor_subsys_database_modify()
783 rc = value_mask( mod->sm_values, ~rp_cur, &mask ); in monitor_subsys_database_modify()
801 rc = value_mask( mod->sm_values, rp_cur, &mask ); in monitor_subsys_database_modify()
824 rc = attr_merge( e, mod->sm_desc, mod->sm_values, in monitor_subsys_database_modify()
H A Dinit.c1534 mod.sm_values = a->a_vals; in monitor_back_unregister_entry_attrs()
/netbsd-src/external/bsd/openldap/dist/servers/slapd/back-perl/
H A Dmodify.c65 mods->sm_values != NULL && mods->sm_values[i].bv_val != NULL; in perl_back_modify()
68 XPUSHs(sv_2mortal(newSVpv( mods->sm_values[i].bv_val, mods->sm_values[i].bv_len ))); in perl_back_modify()
/netbsd-src/external/bsd/openldap/dist/servers/slapd/back-sock/
H A Dmodify.c99 if( mod->sm_values != NULL ) { in sock_back_modify()
100 for ( i = 0; mod->sm_values[i].bv_val != NULL; i++ ) { in sock_back_modify()
103 mod->sm_values[i].bv_val, in sock_back_modify()
104 mod->sm_values[i].bv_len, LDIF_LINE_WIDTH_MAX ); in sock_back_modify()
/netbsd-src/external/bsd/openldap/dist/servers/slapd/back-ndb/
H A Dmodify.cpp61 if ( mod->sm_values == NULL ) { in ndb_modify_delete()
78 if ( !BER_BVISNULL( &mod->sm_values[mod->sm_numvals] )) { in ndb_modify_delete()
79 for ( i = 0; !BER_BVISNULL( &mod->sm_values[i] ); i++ ); in ndb_modify_delete()
119 cvals = mod->sm_values; in ndb_modify_delete()
123 for ( i = 0; !BER_BVISNULL( &mod->sm_values[i] ); i++ ) { in ndb_modify_delete()
/netbsd-src/external/bsd/openldap/dist/servers/slapd/back-sql/
H A Dadd.c287 BerVarray sm_values; in backsql_modify_internal() local
299 sm_values = ml->sml_mod.sm_values; in backsql_modify_internal()
309 if ( backsql_attr_skip( ad, sm_values ) ) { in backsql_modify_internal()
419 assert( sm_values != NULL ); in backsql_modify_internal()
421 for ( i = 0, at_val = sm_values; in backsql_modify_internal()
565 if ( sm_values == NULL ) { in backsql_modify_internal()
579 for ( i = 0, at_val = sm_values; in backsql_modify_internal()
/netbsd-src/external/bsd/openldap/dist/servers/slapd/back-mdb/
H A Dmonitor.c288 mod.sm_values = values; in mdb_monitor_free()
298 mod.sm_values = NULL; in mdb_monitor_free()
H A Dmodify.c125 &mod->sm_values[0], &scbva[0], text ); in mdb_modify_internal()
/netbsd-src/external/bsd/openldap/dist/servers/slapd/slapi/
H A Dslapi_utils.c564 mod.sm_values = (BerVarray)ch_malloc( sizeof(struct berval) ); in slapi_entry_add_values()
565 mod.sm_values->bv_val = NULL; in slapi_entry_add_values()
569 rc = bvptr2obj( vals, &mod.sm_values, &mod.sm_numvals ); in slapi_entry_add_values()
578 slapi_ch_free( (void **)&mod.sm_values ); in slapi_entry_add_values()
633 rc = bvptr2obj( vals, &mod.sm_values, &mod.sm_numvals ); in slapi_entry_delete_values()
641 slapi_ch_free( (void **)&mod.sm_values ); in slapi_entry_delete_values()
/netbsd-src/external/bsd/openldap/dist/servers/slapd/back-wt/
H A Dmodify.c114 &mod->sm_values[0], &scbva[0], text ); in wt_modify_internal()
/netbsd-src/external/bsd/openldap/dist/servers/slapd/overlays/
H A Ddynlist.c200 mod.sm_values = vals; in dynlist_sc_update()
311 mod.sm_values = vals; in dynlist_sc_update()
464 dm->dm_mod.sm_values = b->a_vals; in dynlist_nested_member()
476 dm->dm_mod.sm_values = dm->dm_bv; in dynlist_nested_member()
H A Dpcache.c5501 mod.sm_values = values; in pcache_monitor_free()
5511 mod.sm_values = NULL; in pcache_monitor_free()
5519 mod.sm_values = NULL; in pcache_monitor_free()
5527 mod.sm_values = NULL; in pcache_monitor_free()
H A Drwm.c1454 mod.sm_values = (*tap)->a_vals; in rwm_attrs()
/netbsd-src/external/bsd/openldap/dist/contrib/slapd-modules/autogroup/
H A Dautogroup.c405 mod.sm_values = vals; in autogroup_member_search_cb()
890 mod.sm_values = NULL; in autogroup_add_entry()
/netbsd-src/external/bsd/openldap/dist/servers/slapd/back-meta/
H A Dsearch.c2352 mod.sm_values = (*tap)->a_vals; in meta_send_entry()