/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
H A D | cache.c | 70 struct berval bv; local 153 bv.bv_val = buf; 154 bv.bv_len = strlen( buf ); 155 bvp[0] = &bv;
|
H A D | sbind.c | 101 struct berval bv; local 103 bv.bv_val = (char *)passwd; 104 bv.bv_len = strlen( passwd ); 107 rc = (ld->ld_cache_bind)( ld, msgid, LDAP_REQ_BIND, dn, &bv,
|
H A D | compare.c | 53 struct berval bv; local 57 bv.bv_val = (char *)value; 58 bv.bv_len = ( value == NULL ) ? 0 : strlen( value ); 60 if ( ldap_compare_ext( ld, dn, attr, &bv, NULL, NULL, &msgid ) 153 struct berval bv; local 155 bv.bv_val = (char *)value; 156 bv.bv_len = ( value == NULL ) ? 0 : strlen( value ); 158 return( ldap_compare_ext_s( ld, dn, attr, &bv, NULL, NULL ));
|
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/ |
H A D | kdb_ldap_conn.c | 126 struct berval bv={0, NULL}, *servercreds=NULL; local 134 &bv, 150 bv.bv_val = ldap_context->bind_pwd; 151 bv.bv_len = strlen(ldap_context->bind_pwd); 154 LDAP_SASL_SIMPLE, &bv, NULL,
|
/illumos-gate/usr/src/lib/libnisdb/ |
H A D | ldap_print.c | 429 struct berval **bv = m->mod_bvalues; local 431 if (bv != 0) { 432 while (*bv != 0) { 434 (*bv)->bv_len); 435 bv++;
|
H A D | ldap_val.c | 350 struct berval *bv = 0; local 398 if (ber_flatten(ber, &bv) != 0 || bv == 0) { 407 val->val[i].length = bv->bv_len; 408 val->val[i].value = bv->bv_val; 434 struct berval bv; local 440 bv.bv_val = val->val[i].value; 441 bv.bv_len = val->val[i].length; 442 ber = ber_init(&bv); 469 struct berval *bv local [all...] |
/illumos-gate/usr/src/lib/libkmf/ber_der/common/ |
H A D | decode.c | 319 ber_get_bigint(BerElement *ber, struct berval **bv) argument 324 if ((*bv = (struct berval *)malloc(sizeof (struct berval))) 328 (*bv)->bv_len = 0; 329 (*bv)->bv_val = NULL; 335 if (((*bv)->bv_val = (char *)malloc((size_t)len + 1)) 343 if (kmfber_read(ber, (*bv)->bv_val, len) != (ber_slen_t)len) 346 (*bv)->bv_len = len; 350 char *p = (*bv)->bv_val; 351 while ((*p == 0x00) && ((*bv)->bv_len > 0) && (p[1] & 0x80)) { 353 (*bv) 367 kmfber_get_stringal(BerElement *ber, struct berval **bv) argument 481 kmfber_bvfree(struct berval *bv) argument 492 kmfber_bvecfree(struct berval **bv) argument 511 struct berval ***bv, **bvp, *bval; local 774 kmfber_bvdup(const struct berval *bv) argument [all...] |
H A D | encode.c | 604 struct berval **bv, *oid; local 692 if ((bv = va_arg(ap, struct berval **)) == NULL) 694 for (i = 0; bv[i] != NULL; i++) { 695 if ((rc = kmfber_put_ostring(ber, bv[i]->bv_val, 696 bv[i]->bv_len, ber->ber_tag)) == -1)
|
H A D | io.c | 342 kmfder_init(const struct berval *bv) argument 348 /* copy data from the bv argument into BerElement */ 350 if ((kmfber_write(ber, bv->bv_val, bv->bv_len, 0)) != 351 (ber_slen_t)bv->bv_len) { 364 * in the bv argument or a null pointer on error 370 kmfber_init(const struct berval *bv) argument 376 /* copy data from the bv argument into BerElement */ 378 if ((kmfber_write(ber, bv->bv_val, bv [all...] |
H A D | clasn1.c | 607 BerValue bv; local 615 bv.bv_val = (char *)EncodedSPKI->Data; 616 bv.bv_len = EncodedSPKI->Length; 618 if ((asn1 = kmfder_init(&bv)) == NULL) 1533 BerValue bv; local 1535 bv.bv_val = (char *)Data->Data; 1536 bv.bv_len = Data->Length; 1538 asn1 = kmfder_init(&bv); 1561 BerValue bv; local 1563 bv 1586 BerValue *bv = NULL; local [all...] |
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ber/ |
H A D | decode.c | 300 ber_get_stringal( BerElement *ber, struct berval **bv ) 305 if ( (*bv = (struct berval *)NSLBERI_MALLOC( sizeof(struct berval) )) 314 if ( ((*bv)->bv_val = (char *)NSLBERI_MALLOC( (size_t)len + 1 )) 322 if ( ber_read( ber, (*bv)->bv_val, len ) != (ber_slen_t) len ) 324 ((*bv)->bv_val)[len] = '\0'; 325 (*bv)->bv_len = len; 331 if ( (*(ber->ber_decode_translate_proc))( &((*bv)->bv_val), 333 NSLBERI_FREE( (*bv)->bv_val ); 336 (*bv)->bv_len = len - 1; 437 struct berval ***bv, **bv local [all...] |
H A D | encode.c | 566 struct berval *bval, **bv; local 645 if ( (bv = va_arg( ap, struct berval ** )) == NULL ) 647 for ( i = 0; bv[i] != NULL; i++ ) { 648 if ( (rc = ber_put_ostring( ber, bv[i]->bv_val, 649 bv[i]->bv_len, ber->ber_tag )) == -1 )
|
/illumos-gate/usr/src/cmd/idmap/idmapd/ |
H A D | directory_provider_ad.c | 64 struct berval **bv); 73 static void dump_bv_list(const char *attr, struct berval **bv); 418 struct berval **bv; local 422 bv = ldap_get_values_len(ld, msg, a); 424 dump_bv_list(attrs[i], bv); 426 if (bv != NULL) { 427 de = bv_list_dav(val, bv); 428 ldap_value_free_len(bv); 432 bv = ldap_get_values_len(ld, msg, "sAMAccountName"); 433 if (bv ! 478 bv_list_dav(directory_values_rpc *lvals, struct berval **bv) argument 512 dump_bv_list(const char *attr, struct berval **bv) argument [all...] |
/illumos-gate/usr/src/cmd/csh/ |
H A D | sh.misc.c | 121 blkcpy(tchar **oav, tchar **bv) argument 125 while (*av++ = *bv++) 406 blkcpy_(char **oav, char **bv) argument 410 while (*av++ = *bv++)
|
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/ |
H A D | glob.c | 103 static char **blkcpy(char **oav, char **bv); 690 blkcpy(char **oav, char **bv) argument 694 while (*av++ = *bv++)
|
/illumos-gate/usr/src/cmd/ldap/common/ |
H A D | ldaptest.c | 98 file_read( char *path, struct berval *bv ) 115 bv->bv_len = ftell( fp ); 117 if (( bv->bv_val = (char *)malloc( bv->bv_len )) == NULL ) { 129 rlen = fread( bv->bv_val, 1, bv->bv_len, fp ); 133 if ( rlen != bv->bv_len ) { 135 free( bv->bv_val ); 139 return( bv->bv_len ); 275 struct berval bv, cre local [all...] |
H A D | ldapmodify.c | 270 struct berval bv, *retdata; local 273 bv.bv_val = bulkimport_suffix; 274 bv.bv_len = strlen(bulkimport_suffix); 276 BULKIMPORT_START_OID, &bv, NULL, 361 struct berval bv, *retdata; local 364 bv.bv_val = ""; 365 bv.bv_len = 0; 367 BULKIMPORT_STOP_OID, &bv, NULL,
|
H A D | common.c | 1444 struct berval bv; local 1446 bv.bv_val = (char *)passwd; /* XXXmcs: had to cast away const */ 1447 bv.bv_len = ( passwd == NULL ? 0 : strlen( passwd )); 1448 return( ldaptool_sasl_bind_s( ld, dn, LDAP_SASL_SIMPLE, &bv, serverctrls,
|
/illumos-gate/usr/src/psm/stand/boot/common/ |
H A D | readfile.c | 614 Elf32_Boot *bv = bootv; local 627 EBV(bv, EB_AUXV, 0); /* fill in later */ 628 EBV(bv, EB_PAGESIZE, pagesize); 629 EBV(bv, EB_DYNAMIC, dynamic); 630 EBV(bv, EB_NULL, 0); 649 vsize = (caddr_t)bv - (caddr_t)bootv; 1004 Elf64_Boot *bv = bootv; local 1018 EBV64(bv, EB_AUXV, 0); /* fill in later */ 1019 EBV64(bv, EB_PAGESIZE, pagesize); 1020 EBV64(bv, EB_DYNAMI [all...] |
/illumos-gate/usr/src/lib/fm/libdiagcode/common/ |
H A D | diagcode.c | 95 static const struct info *dictval2info(const bitv *bv); 110 static void bitv_free(bitv *bv); 111 static void bitv_shift(bitv *bv, unsigned bits); 112 static void bitv_setlo(bitv *bv, unsigned bits, unsigned val); 113 static void bitv_shiftin(bitv *bv, unsigned bits, unsigned val); 114 static void bitv_shiftinv(bitv *bv, unsigned bits, const bitv *inbv); 115 static int bitv_bits(const bitv *bv); 116 static unsigned bitv_chunk(const bitv *bv, unsigned limbit, unsigned lobit); 117 static int bitv_mul(bitv *bv, unsigned long long val); 118 static int bitv_add(bitv *bv, unsigne 589 dictval2info(const bitv *bv) argument 1113 struct bitv *bv = malloc(sizeof (*bv)); local 1124 bitv_free(bitv *bv) argument 1131 bitv_shift(bitv *bv, unsigned bits) argument 1153 bitv_setlo(bitv *bv, unsigned bits, unsigned val) argument 1185 bitv_shiftin(bitv *bv, unsigned bits, unsigned val) argument 1193 bitv_shiftinv(bitv *bv, unsigned bits, const bitv *inbv) argument 1208 bitv_bits(const bitv *bv) argument 1229 bitv_chunk(const bitv *bv, unsigned limbit, unsigned lobit) argument 1256 bitv_mul(bitv *bv, unsigned long long val) argument 1308 bitv_add(bitv *bv, unsigned long long val) argument 1339 bitv_sub(bitv *bv, unsigned long long val) argument 1372 bitv_ge(const bitv *bv, unsigned long long val) argument 1400 bitv *bv = bitv_alloc(); local [all...] |
/illumos-gate/usr/src/uts/common/io/bpf/ |
H A D | bpf.c | 1196 struct bpf_version bv; local 1198 bv.bv_major = BPF_MAJOR_VERSION; 1199 bv.bv_minor = BPF_MINOR_VERSION; 1200 if (copyout(&bv, (void *)addr, sizeof (bv)) != 0)
|
/illumos-gate/usr/src/cmd/mdb/common/modules/sdbc/ |
H A D | sdbc.c | 2716 _sd_bufvec_t *bv, *endvec; local 2721 bv = bh.bh_bufvec; 2722 endvec = bv + _SD_MAX_BLKS; 2724 while (bv->bufaddr) { 2725 mdb_printf("%p %8T%d\n", bv->bufaddr, bv->buflen); 2726 ++bv; 2727 if (bv > endvec) {
|
/illumos-gate/usr/src/lib/libsun_ima/common/ |
H A D | ima.c | 698 IMA_BOOL_VALUE bv; local 700 bv.currentValue = initialR2T; 701 return (setISCSINodeParameter(BOOL_PARAM, &Oid, &bv, 720 IMA_BOOL_VALUE bv; local 722 bv.currentValue = immediateData; 723 return (setISCSINodeParameter(BOOL_PARAM, &Oid, &bv, 741 IMA_BOOL_VALUE bv; local 743 bv.currentValue = dataPduInOrder; 744 return (setISCSINodeParameter(BOOL_PARAM, &Oid, &bv, 762 IMA_BOOL_VALUE bv; local [all...] |