Home
last modified time | relevance | path

Searched refs:mod_bvalues (Results 1 – 11 of 11) sorted by relevance

/illumos-gate/usr/src/cmd/ldap/common/
H A Dldapmodify.c947 if ( pmods[ i ]->mod_bvalues != NULL ) {
948 for ( ; pmods[ i ]->mod_bvalues[ j ] != NULL; ++j ) {
952 if (( pmods[ i ]->mod_bvalues = (struct berval **)
953 LDAPTOOL_SAFEREALLOC( pmods[ i ]->mod_bvalues,
958 pmods[ i ]->mod_bvalues[ j + 1 ] = NULL;
964 pmods[ i ]->mod_bvalues[ j ] = bvp;
1003 if ( pmods[ i ]->mod_bvalues != NULL ) {
1004 for ( j = 0; pmods[ i ]->mod_bvalues[ j ] != NULL; ++j ) {
1005 bvp = pmods[ i ]->mod_bvalues[ j ];
1189 if ( pmods[ i ]->mod_bvalues != NULL ) {
[all …]
H A Dldaptest.c195 tmp.mod_bvalues = bvals; in get_modlist()
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dfree.c98 if ( mods[i]->mod_bvalues != NULL ) { in ldap_mods_free()
99 ber_bvecfree( mods[i]->mod_bvalues ); in ldap_mods_free()
H A Dcache.c114 mods[i]->mod_bvalues = ldap_get_values_len( ld, m, a ); in nsldapi_add_result_to_cache()
155 mods[i]->mod_bvalues = bvp; in nsldapi_add_result_to_cache()
H A Dadd.c153 attrs[i]->mod_bvalues ); in ldap_add_ext()
H A Dmodify.c152 mods[i]->mod_type, mods[i]->mod_bvalues ); in ldap_modify_ext()
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_op.c1833 struct berval **b = m->mod_bvalues; in freeLdapModEntry()
1841 free(m->mod_bvalues); in freeLdapModEntry()
1965 mods[nm]->mod_bvalues = am(myself, in search2LdapMod()
1967 sizeof (mods[nm]->mod_bvalues[0])); in search2LdapMod()
1968 if (mods[nm]->mod_bvalues == 0) { in search2LdapMod()
1973 mods[nm]->mod_bvalues[j] = am(myself, in search2LdapMod()
1974 sizeof (*mods[nm]->mod_bvalues[j])); in search2LdapMod()
1975 if (mods[nm]->mod_bvalues[j] == 0) { in search2LdapMod()
1985 mods[nm]->mod_bvalues[j]->bv_len = in search2LdapMod()
1987 memcpy(mods[nm]->mod_bvalues[j]->bv_val, in search2LdapMod()
[all …]
H A Dldap_print.c427 struct berval **bv = m->mod_bvalues; in printLdapMod()
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dldap_misc.c1515 (*mods)[i]->mod_bvalues = malloc (sizeof(struct berval *) * (j+1));
1516 if ((*mods)[i]->mod_bvalues == NULL)
1520 (*mods)[i]->mod_bvalues[j] = calloc(1, sizeof(struct berval));
1521 if ((*mods)[i]->mod_bvalues[j] == NULL)
1524 (*mods)[i]->mod_bvalues[j]->bv_len = ber_values[j]->bv_len;
1525 (*mods)[i]->mod_bvalues[j]->bv_val = malloc((*mods)[i]->mod_bvalues[j]->bv_len);
1526 if ((*mods)[i]->mod_bvalues[j]->bv_val == NULL)
1529 memcpy((*mods)[i]->mod_bvalues[j]->bv_val, ber_values[j]->bv_val,
1532 (*mods)[i]->mod_bvalues[j] = NULL;
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_writes.c205 mod->mod_bvalues = bmodval; in init_bval_mod()
229 if (mods[i]->mod_bvalues == NULL) in freeModList()
237 if (mods[i]->mod_bvalues[0]) in freeModList()
238 free(mods[i]->mod_bvalues[0]); in freeModList()
257 free(mods[i]->mod_bvalues); in freeModList()
/illumos-gate/usr/src/head/
H A Dldap.h156 #define mod_bvalues mod_vals.modv_bvals macro