Searched refs:bv (Results 1 - 25 of 31) sorted by relevance

12

/illumos-gate/usr/src/lib/libkmf/ber_der/common/
H A Ddecode.c319 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 Dio.c342 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 Dencode.c604 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 Dclasn1.c607 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/common/
H A Dcompare.c53 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 ));
H A Dcache.c70 struct berval bv; local
153 bv.bv_val = buf;
154 bv.bv_len = strlen( buf );
155 bvp[0] = &bv;
H A Dsbind.c101 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,
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ber/
H A Ddecode.c300 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 Dencode.c566 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/lib/fm/libdiagcode/common/
H A Ddiagcode.c95 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/cmd/idmap/idmapd/
H A Ddirectory_provider_ad.c64 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...]
H A Dadutils.c340 #define BVAL_CASEEQ(bv, str) \
341 (((*(bv))->bv_len == (sizeof (str) - 1)) && \
342 strncasecmp((*(bv))->bv_val, str, (*(bv))->bv_len) == 0)
/illumos-gate/usr/src/cmd/ldap/common/
H A Detest.c135 if ( (bv = va_arg( ap, struct berval ** )) == NULL )
137 for ( i = 0; bv[i] != NULL; i++ ) {
138 if ( (rc = ber_put_ostring( ber, bv[i]->bv_val,
139 bv[i]->bv_len, (char)ber->ber_tag )) == -1 )
H A Dldaptest.c98 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 Dldapmodify.c270 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,
/illumos-gate/usr/src/head/
H A Dlber.h157 struct berval **bv);
169 LDAP_API(void) LDAP_CALL ber_bvfree(struct berval *bv);
170 LDAP_API(void) LDAP_CALL ber_bvecfree(struct berval **bv);
171 struct berval *LDAP_CALL ber_bvdup(const struct berval *bv);
174 LDAP_API(BerElement *) LDAP_CALL ber_init(const struct berval *bv);
/illumos-gate/usr/src/cmd/audit_warn/
H A Daudit_warn.sh47 /usr/lib/sendmail -bv $ADDRESS > /dev/null
/illumos-gate/usr/src/lib/krb5/plugins/kdb/ldap/libkdb_ldap/
H A Dkdb_ldap_conn.c126 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/libkmf/ber_der/inc/
H A Dber_der.h92 BerElement *kmfder_init(const struct berval *bv);
93 BerElement *kmfber_init(const struct berval *bv);
/illumos-gate/usr/src/cmd/csh/
H A Dsh.misc.c121 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/lib/libnisdb/
H A Dldap_print.c429 struct berval **bv = m->mod_bvalues; local
431 if (bv != 0) {
432 while (*bv != 0) {
434 (*bv)->bv_len);
435 bv++;
H A Dldap_val.c350 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/psm/stand/boot/common/
H A Dreadfile.c614 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/cmd/troff/nroff.d/terms.d/
H A Dab.X118 da 1 |\bv
148 bv 1 |
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/ftp/
H A Dglob.c103 static char **blkcpy(char **oav, char **bv);
690 blkcpy(char **oav, char **bv) argument
694 while (*av++ = *bv++)

Completed in 158 milliseconds

12