Home
last modified time | relevance | path

Searched refs:bv (Results 1 – 25 of 40) sorted by relevance

12

/illumos-gate/usr/src/lib/libkmf/ber_der/common/
H A Ddecode.c328 (*bv)->bv_len = 0; in ber_get_bigint()
353 (*bv)->bv_len--; in ber_get_bigint()
359 if ((p > (*bv)->bv_val) && ((*bv)->bv_len > 0)) in ber_get_bigint()
360 (void) bcopy(p, (*bv)->bv_val, (*bv)->bv_len); in ber_get_bigint()
483 if (bv != NULL) { in kmfber_bvfree()
487 free((char *)bv); in kmfber_bvfree()
496 if (bv != NULL) { in kmfber_bvecfree()
628 *bv = NULL; in kmfber_scanf()
639 *bv = (struct berval **)realloc(*bv, in kmfber_scanf()
749 *bv = NULL; in kmfber_scanf()
[all …]
H A Dio.c342 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 Dencode.c604 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 Dclasn1.c607 BerValue bv; in DerDecodeSPKI() local
616 bv.bv_len = EncodedSPKI->Length; in DerDecodeSPKI()
1533 BerValue bv; in DerDecodeExtension() local
1535 bv.bv_val = (char *)Data->Data; in DerDecodeExtension()
1536 bv.bv_len = Data->Length; in DerDecodeExtension()
1538 asn1 = kmfder_init(&bv); in DerDecodeExtension()
1561 BerValue bv; in DerDecodeName() local
1566 asn1 = kmfder_init(&bv); in DerDecodeName()
1586 BerValue *bv = NULL; in DerEncodeName() local
1604 if (bv) in DerEncodeName()
[all …]
/illumos-gate/usr/src/lib/fm/libdiagcode/common/
H A Ddiagcode.c1111 struct bitv *bv = malloc(sizeof (*bv)); in bitv_alloc() local
1113 if (bv) in bitv_alloc()
1115 bv->v[i] = 0; in bitv_alloc()
1117 return (bv); in bitv_alloc()
1122 bitv_free(bitv *bv) in bitv_free() argument
1124 free(bv); in bitv_free()
1141 bv->v[i] |= bv->v[i - 1] >> (8 - iterbits); in bitv_shift()
1211 if (bv->v[i]) { in bitv_bits()
1400 if (bv == NULL) { in bitv_strparse()
1435 bitv_free(bv); in bitv_strparse()
[all …]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/ber/
H A Ddecode.c320 ((*bv)->bv_val)[len] = '\0'; in ber_get_stringal()
321 (*bv)->bv_len = len; in ber_get_stringal()
332 (*bv)->bv_len = len - 1; in ber_get_stringal()
544 *bv = NULL; in ber_scanf()
550 if ( *bv == NULL ) { in ber_scanf()
555 *bv, in ber_scanf()
566 (*bv)[j] = NULL; in ber_scanf()
693 if ( bv != NULL ) { in ber_bvfree()
707 if ( bv != NULL ) { in ber_bvecfree()
709 ber_bvfree( bv[i] ); in ber_bvecfree()
[all …]
H A Dencode.c566 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 Ddirectory_provider_ad.c64 struct berval **bv);
418 struct berval **bv; in directory_provider_ad_cb1() local
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()
433 if (bv != NULL) { in directory_provider_ad_cb1()
438 bv[0]->bv_len, bv[0]->bv_val, in directory_provider_ad_cb1()
496 uu_memdup(bv[i]->bv_val, bv[i]->bv_len); in bv_list_dav()
516 if (bv == NULL) { in dump_bv_list()
[all …]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
H A Dcompare.c51 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 Dcache.c68 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 Dsbind.c99 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 DBRACKETS_NOTE31 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 Detest.c135 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 Dldaptest.c115 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()
535 bv.bv_val = value; in main()
536 bv.bv_len = strlen(value); in main()
951 bv.bv_val = strdup(line); in main()
952 bv.bv_len = strlen(line); in main()
[all …]
H A Dldapmodify.c270 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 Dlber.h155 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/cmd/troff/nroff.d/terms.d/
H A Db.lp43 *n 1 ,\bv
91 da 1 |\bv
121 bv 1 |
H A Dab.tn30070 *n 1 ,\bv
118 da 1 |\bv
148 bv 1 |
H A Db.30091 da 1 |\bv
121 bv 1 |
H A Dab.37118 da 1 |\bv
148 bv 1 |
/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/psm/stand/boot/common/
H A Dreadfile.c516 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
915 EBV64(bv, EB_PAGESIZE, pagesize); in read_elf64()
916 EBV64(bv, EB_DYNAMIC, dynamic); in read_elf64()
917 EBV64(bv, EB_NULL, 0); in read_elf64()
[all …]
/illumos-gate/usr/src/cmd/csh/
H A Dsh.misc.c119 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 Dldap_print.c427 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()
/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);

12