| /illumos-gate/usr/src/lib/libkmf/ber_der/common/ |
| H A D | decode.c | 319 ber_get_bigint(BerElement *ber, struct berval **bv) in ber_get_bigint() argument 324 if ((*bv = (struct berval *)malloc(sizeof (struct berval))) in ber_get_bigint() 328 (*bv)->bv_len = 0; in ber_get_bigint() 329 (*bv)->bv_val = NULL; in ber_get_bigint() 335 if (((*bv)->bv_val = (char *)malloc((size_t)len + 1)) in ber_get_bigint() 343 if (kmfber_read(ber, (*bv)->bv_val, len) != (ber_slen_t)len) in ber_get_bigint() 346 (*bv)->bv_len = len; in ber_get_bigint() 350 char *p = (*bv)->bv_val; in ber_get_bigint() 351 while ((*p == 0x00) && ((*bv)->bv_len > 0) && (p[1] & 0x80)) { in ber_get_bigint() 353 (*bv)->bv_len--; in ber_get_bigint() [all …]
|
| H A D | io.c | 342 kmfder_init(const struct berval *bv) in kmfder_init() argument 350 if ((kmfber_write(ber, bv->bv_val, bv->bv_len, 0)) != in kmfder_init() 351 (ber_slen_t)bv->bv_len) { in kmfder_init() 370 kmfber_init(const struct berval *bv) in kmfber_init() argument 378 if ((kmfber_write(ber, bv->bv_val, bv->bv_len, 0)) != in kmfber_init() 379 (ber_slen_t)bv->bv_len) { in kmfber_init()
|
| H A D | encode.c | 604 struct berval **bv, *oid; in kmfber_printf() local 692 if ((bv = va_arg(ap, struct berval **)) == NULL) in kmfber_printf() 694 for (i = 0; bv[i] != NULL; i++) { in kmfber_printf() 695 if ((rc = kmfber_put_ostring(ber, bv[i]->bv_val, in kmfber_printf() 696 bv[i]->bv_len, ber->ber_tag)) == -1) in kmfber_printf()
|
| H A D | clasn1.c | 607 BerValue bv; in DerDecodeSPKI() local 615 bv.bv_val = (char *)EncodedSPKI->Data; in DerDecodeSPKI() 616 bv.bv_len = EncodedSPKI->Length; in DerDecodeSPKI() 618 if ((asn1 = kmfder_init(&bv)) == NULL) in DerDecodeSPKI() 1532 BerValue bv; in DerDecodeExtension() local 1534 bv.bv_val = (char *)Data->Data; in DerDecodeExtension() 1535 bv.bv_len = Data->Length; in DerDecodeExtension() 1537 asn1 = kmfder_init(&bv); in DerDecodeExtension() 1559 BerValue bv; in DerDecodeName() local 1561 bv.bv_val = (char *)encodedname->Data; in DerDecodeName() [all …]
|
| /illumos-gate/usr/src/lib/fm/libdiagcode/common/ |
| H A D | diagcode.c | 93 static const struct info *dictval2info(const bitv *bv); 108 static void bitv_free(bitv *bv); 109 static void bitv_shift(bitv *bv, unsigned bits); 110 static void bitv_setlo(bitv *bv, unsigned bits, unsigned val); 111 static void bitv_shiftin(bitv *bv, unsigned bits, unsigned val); 112 static void bitv_shiftinv(bitv *bv, unsigned bits, const bitv *inbv); 113 static int bitv_bits(const bitv *bv); 114 static unsigned bitv_chunk(const bitv *bv, unsigned limbit, unsigned lobit); 115 static int bitv_mul(bitv *bv, unsigned long long val); 116 static int bitv_add(bitv *bv, unsigned long long val); [all …]
|
| /illumos-gate/usr/src/lib/libldap5/sources/ldap/ber/ |
| H A D | decode.c | 296 ber_get_stringal( BerElement *ber, struct berval **bv ) in ber_get_stringal() argument 301 if ( (*bv = (struct berval *)NSLBERI_MALLOC( sizeof(struct berval) )) in ber_get_stringal() 310 if ( ((*bv)->bv_val = (char *)NSLBERI_MALLOC( (size_t)len + 1 )) in ber_get_stringal() 318 if ( ber_read( ber, (*bv)->bv_val, len ) != (ber_slen_t) len ) in ber_get_stringal() 320 ((*bv)->bv_val)[len] = '\0'; in ber_get_stringal() 321 (*bv)->bv_len = len; in ber_get_stringal() 327 if ( (*(ber->ber_decode_translate_proc))( &((*bv)->bv_val), in ber_get_stringal() 329 NSLBERI_FREE( (*bv)->bv_val ); in ber_get_stringal() 332 (*bv)->bv_len = len - 1; in ber_get_stringal() 433 struct berval ***bv, **bvp, *bval; in ber_scanf() local [all …]
|
| H A D | encode.c | 566 struct berval *bval, **bv; in ber_printf() local 645 if ( (bv = va_arg( ap, struct berval ** )) == NULL ) in ber_printf() 647 for ( i = 0; bv[i] != NULL; i++ ) { in ber_printf() 648 if ( (rc = ber_put_ostring( ber, bv[i]->bv_val, in ber_printf() 649 bv[i]->bv_len, ber->ber_tag )) == -1 ) in ber_printf()
|
| /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; in directory_provider_ad_cb1() local 422 bv = ldap_get_values_len(ld, msg, a); in directory_provider_ad_cb1() 424 dump_bv_list(attrs[i], bv); in directory_provider_ad_cb1() 426 if (bv != NULL) { in directory_provider_ad_cb1() 427 de = bv_list_dav(val, bv); in directory_provider_ad_cb1() 428 ldap_value_free_len(bv); in directory_provider_ad_cb1() 432 bv = ldap_get_values_len(ld, msg, "sAMAccountName"); in directory_provider_ad_cb1() 433 if (bv != NULL) { in directory_provider_ad_cb1() [all …]
|
| /illumos-gate/usr/src/lib/libldap5/sources/ldap/common/ |
| H A D | compare.c | 51 struct berval bv; in ldap_compare() local 55 bv.bv_val = (char *)value; in ldap_compare() 56 bv.bv_len = ( value == NULL ) ? 0 : strlen( value ); in ldap_compare() 58 if ( ldap_compare_ext( ld, dn, attr, &bv, NULL, NULL, &msgid ) in ldap_compare() 151 struct berval bv; in ldap_compare_s() local 153 bv.bv_val = (char *)value; in ldap_compare_s() 154 bv.bv_len = ( value == NULL ) ? 0 : strlen( value ); in ldap_compare_s() 156 return( ldap_compare_ext_s( ld, dn, attr, &bv, NULL, NULL )); in ldap_compare_s()
|
| H A D | cache.c | 68 struct berval bv; in nsldapi_add_result_to_cache() local 151 bv.bv_val = buf; in nsldapi_add_result_to_cache() 152 bv.bv_len = strlen( buf ); in nsldapi_add_result_to_cache() 153 bvp[0] = &bv; in nsldapi_add_result_to_cache()
|
| H A D | sbind.c | 99 struct berval bv; in simple_bind_nolock() local 101 bv.bv_val = (char *)passwd; in simple_bind_nolock() 102 bv.bv_len = strlen( passwd ); in simple_bind_nolock() 105 rc = (ld->ld_cache_bind)( ld, msgid, LDAP_REQ_BIND, dn, &bv, in simple_bind_nolock()
|
| /illumos-gate/usr/src/cmd/lp/filter/postscript/font/devpost/charlib/ |
| H A D | BRACKETS_NOTE | 31 Adobe's Symbol font. eqn extends all the pieces with the \(bv character, while 39 problem. Each builds the troff character by using the \(bv character from the 41 of the \(bv. Using \(bv for the vertical part guarantees things will stack 42 properly, but getting to the precise top or bottom of the \(bv (down to the 44 fact you would think that determining the bounding box of \(bv would be enough 47 the pieces from the \(bv bounding box. Think roundoff errors introduced by the 51 of the \(bv character, and using the corners of that box to locate the top and 52 bottom of the bv for the horizontal extender solved the problems I originally 55 a tight bounding box around the \(bv character independent of the rotation of
|
| /illumos-gate/usr/src/cmd/ldap/common/ |
| H A D | etest.c | 135 if ( (bv = va_arg( ap, struct berval ** )) == NULL ) in main() 137 for ( i = 0; bv[i] != NULL; i++ ) { in main() 138 if ( (rc = ber_put_ostring( ber, bv[i]->bv_val, in main() 139 bv[i]->bv_len, (char)ber->ber_tag )) == -1 ) in main()
|
| H A D | ldaptest.c | 98 file_read( char *path, struct berval *bv ) in file_read() argument 115 bv->bv_len = ftell( fp ); in file_read() 117 if (( bv->bv_val = (char *)malloc( bv->bv_len )) == NULL ) { in file_read() 129 rlen = fread( bv->bv_val, 1, bv->bv_len, fp ); in file_read() 133 if ( rlen != bv->bv_len ) { in file_read() 135 free( bv->bv_val ); in file_read() 139 return( bv->bv_len ); in file_read() 275 struct berval bv, cred, *srvcrds = NULL; in main() local 535 bv.bv_val = value; in main() 536 bv.bv_len = strlen(value); in main() [all …]
|
| H A D | ldapmodify.c | 270 struct berval bv, *retdata; in process() local 273 bv.bv_val = bulkimport_suffix; in process() 274 bv.bv_len = strlen(bulkimport_suffix); in process() 276 BULKIMPORT_START_OID, &bv, NULL, in process() 361 struct berval bv, *retdata; in process() local 364 bv.bv_val = ""; in process() 365 bv.bv_len = 0; in process() 367 BULKIMPORT_STOP_OID, &bv, NULL, in process()
|
| /illumos-gate/usr/src/head/ |
| H A D | lber.h | 155 struct berval **bv); 167 LDAP_API(void) LDAP_CALL ber_bvfree(struct berval *bv); 168 LDAP_API(void) LDAP_CALL ber_bvecfree(struct berval **bv); 169 struct berval *LDAP_CALL ber_bvdup(const struct berval *bv); 172 LDAP_API(BerElement *) LDAP_CALL ber_init(const struct berval *bv);
|
| /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/cmd/troff/nroff.d/terms.d/ |
| H A D | b.lp | 43 *n 1 ,\bv 91 da 1 |\bv 121 bv 1 |
|
| H A D | ab.tn300 | 70 *n 1 ,\bv 118 da 1 |\bv 148 bv 1 |
|
| H A D | b.300 | 91 da 1 |\bv 121 bv 1 |
|
| /illumos-gate/usr/src/psm/stand/boot/common/ |
| H A D | readfile.c | 516 Elf32_Boot *bv = bootv; in read_elf32() local 529 EBV(bv, EB_AUXV, 0); /* fill in later */ in read_elf32() 530 EBV(bv, EB_PAGESIZE, pagesize); in read_elf32() 531 EBV(bv, EB_DYNAMIC, dynamic); in read_elf32() 532 EBV(bv, EB_NULL, 0); in read_elf32() 551 vsize = (caddr_t)bv - (caddr_t)bootv; in read_elf32() 900 Elf64_Boot *bv = bootv; in read_elf64() local 914 EBV64(bv, EB_AUXV, 0); /* fill in later */ in read_elf64() 915 EBV64(bv, EB_PAGESIZE, pagesize); in read_elf64() 916 EBV64(bv, EB_DYNAMIC, dynamic); in read_elf64() [all …]
|
| /illumos-gate/usr/src/cmd/csh/ |
| H A D | sh.misc.c | 119 blkcpy(tchar **oav, tchar **bv) in blkcpy() argument 123 while (*av++ = *bv++) in blkcpy() 404 blkcpy_(char **oav, char **bv) in blkcpy_() argument 408 while (*av++ = *bv++) in blkcpy_()
|
| /illumos-gate/usr/src/lib/libnisdb/ |
| H A D | ldap_print.c | 427 struct berval **bv = m->mod_bvalues; in printLdapMod() local 429 if (bv != 0) { in printLdapMod() 430 while (*bv != 0) { in printLdapMod() 432 (*bv)->bv_len); in printLdapMod() 433 bv++; in printLdapMod()
|
| H A D | ldap_val.c | 350 struct berval *bv = 0; in berEncode() local 398 if (ber_flatten(ber, &bv) != 0 || bv == 0) { in berEncode() 407 val->val[i].length = bv->bv_len; in berEncode() 408 val->val[i].value = bv->bv_val; in berEncode() 434 struct berval bv; in berDecode() local 440 bv.bv_val = val->val[i].value; in berDecode() 441 bv.bv_len = val->val[i].length; in berDecode() 442 ber = ber_init(&bv); in berDecode() 469 struct berval *bv = am(myself, sizeof (*bv)); in berDecode() local 471 if (bv != 0) { in berDecode() [all …]
|
| /illumos-gate/usr/src/lib/libkmf/ber_der/inc/ |
| H A D | ber_der.h | 92 BerElement *kmfder_init(const struct berval *bv); 93 BerElement *kmfber_init(const struct berval *bv);
|