Searched refs:bvp (Results 1 - 11 of 11) sorted by relevance

/osnet-11/usr/src/cmd/ldap/common/
H A Dfileurl.c48 static int berval_from_file( const char *path, struct berval *bvp,
215 * Populate *bvp from "value" of length "vlen."
225 * If successful, LDAPTOOL_FILEURL_SUCCESS is returned and bvp->bv_len
226 * and bvp->bv_val are set (the latter is set to malloc'd memory).
231 struct berval *bvp, int recognize_url_syntax, int always_try_file,
296 rc = berval_from_file( path, bvp, reporterrs );
308 rc = berval_from_file( value, bvp, reporterrs );
310 bvp->bv_len = vlen;
311 if (( bvp->bv_val = (char *)malloc( vlen + 1 )) == NULL ) {
315 SAFEMEMCPY( bvp
230 ldaptool_berval_from_ldif_value( const char *value, int vlen, struct berval *bvp, int recognize_url_syntax, int always_try_file, int reporterrs ) argument
359 berval_from_file( const char *path, struct berval *bvp, int reporterrs ) argument
[all...]
H A Dfileurl.h51 * Populate *bvp from "value" of length "vlen."
61 * If successful, LDAPTOOL_FILEURL_SUCCESS is returned and bvp->bv_len
62 * and bvp->bv_val are set (the latter is set to malloc'd memory).
66 struct berval *bvp, int recognize_url_syntax, int always_try_file,
H A Dldapmodify.c910 struct berval *bvp; local
959 if (( bvp = (struct berval *)malloc( sizeof( struct berval )))
964 pmods[ i ]->mod_bvalues[ j ] = bvp;
971 rc = ldaptool_berval_from_ldif_value( value, vlen, bvp,
989 struct berval *bvp; local
1005 bvp = pmods[ i ]->mod_bvalues[ j ];
1008 notascii = !ldaptool_berval_is_ascii( bvp );
1011 printf( gettext("\tNOT ASCII (%ld bytes)\n"), bvp->bv_len );
1013 printf( "\t%s\n", bvp->bv_val );
H A Dldaptool.h180 int ldaptool_berval_is_ascii( const struct berval *bvp );
H A Dcommon.c1983 ldaptool_berval_is_ascii( const struct berval *bvp )
1988 for ( j = 0; j < bvp->bv_len; ++j ) {
1989 if ( !isascii( bvp->bv_val[ j ] )) {
/osnet-11/usr/src/lib/libldap4/common/
H A Dcontrols.c247 struct berval *bvp; local
250 bvp = NULL;
253 rc = ber_flatten(ber, &bvp);
265 if (bvp != NULL) {
266 ber_bvfree(bvp);
276 if (bvp != NULL) {
277 ber_bvfree(bvp);
282 if (bvp == NULL) {
286 (*ctrlp)->ldctl_value = *bvp; /* struct copy */
287 free(bvp); /* fre
[all...]
/osnet-11/usr/src/lib/libldap5/sources/ldap/common/
H A Dcache.c71 struct berval *bvp[2]; local
155 bvp[0] = &bv;
156 bvp[1] = NULL;
157 mods[i]->mod_bvalues = bvp;
H A Dcontrol.c449 struct berval *bvp; local
452 bvp = NULL;
455 rc = ber_flatten( ber, &bvp );
467 if ( bvp != NULL ) {
468 ber_bvfree( bvp );
477 if ( bvp != NULL ) {
478 ber_bvfree( bvp );
483 if ( bvp == NULL ) {
487 (*ctrlp)->ldctl_value = *bvp; /* struct copy */
488 NSLDAPI_FREE( bvp ); /* fre
[all...]
/osnet-11/usr/src/lib/libkmf/ber_der/common/
H A Ddecode.c511 struct berval ***bv, **bvp, *bval; local
566 bvp = va_arg(ap, struct berval **);
567 rc = ber_get_bigint(ber, bvp);
570 bvp = va_arg(ap, struct berval **);
571 rc = kmfber_get_stringal(ber, bvp);
717 bvp = va_arg(ap, struct berval **);
718 kmfber_bvfree(*bvp);
719 bvp = NULL;
/osnet-11/usr/src/lib/libldap5/sources/ldap/ber/
H A Ddecode.c437 struct berval ***bv, **bvp, *bval; local
495 bvp = va_arg( ap, struct berval ** );
496 rc = ber_get_stringal( ber, bvp );
640 bvp = va_arg( ap, struct berval ** );
641 ber_bvfree(*bvp);
642 bvp = NULL;
/osnet-11/usr/src/lib/libldap4/ber/
H A Ddecode.c406 struct berval ***bv, **bvp, *bval; local
466 bvp = va_arg( ap, struct berval ** );
467 rc = ber_get_stringal( ber, bvp );

Completed in 59 milliseconds