Home
last modified time | relevance | path

Searched refs:bv (Results 1 – 25 of 39) 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/libldap5/sources/ldap/ber/
H A Ddecode.c324 ((*bv)->bv_val)[len] = '\0'; in ber_get_stringal()
325 (*bv)->bv_len = len; in ber_get_stringal()
336 (*bv)->bv_len = len - 1; in ber_get_stringal()
548 *bv = NULL; in ber_scanf()
554 if ( *bv == NULL ) { in ber_scanf()
559 *bv, in ber_scanf()
570 (*bv)[j] = NULL; in ber_scanf()
697 if ( bv != NULL ) { in ber_bvfree()
711 if ( bv != NULL ) { in ber_bvecfree()
713 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/lib/fm/libdiagcode/common/
H A Ddiagcode.c1113 struct bitv *bv = malloc(sizeof (*bv)); in bitv_alloc() local
1115 if (bv) in bitv_alloc()
1117 bv->v[i] = 0; in bitv_alloc()
1119 return (bv); in bitv_alloc()
1124 bitv_free(bitv *bv) in bitv_free() argument
1126 free(bv); in bitv_free()
1143 bv->v[i] |= bv->v[i - 1] >> (8 - iterbits); in bitv_shift()
1213 if (bv->v[i]) { in bitv_bits()
1402 if (bv == NULL) { in bitv_strparse()
1437 bitv_free(bv); in bitv_strparse()
[all …]
/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.c53 struct berval bv; in ldap_compare() local
57 bv.bv_val = (char *)value; in ldap_compare()
58 bv.bv_len = ( value == NULL ) ? 0 : strlen( value ); in ldap_compare()
60 if ( ldap_compare_ext( ld, dn, attr, &bv, NULL, NULL, &msgid ) in ldap_compare()
153 struct berval bv; in ldap_compare_s() local
155 bv.bv_val = (char *)value; in ldap_compare_s()
156 bv.bv_len = ( value == NULL ) ? 0 : strlen( value ); in ldap_compare_s()
158 return( ldap_compare_ext_s( ld, dn, attr, &bv, NULL, NULL )); in ldap_compare_s()
H A Dcache.c70 struct berval bv; in nsldapi_add_result_to_cache() local
153 bv.bv_val = buf; in nsldapi_add_result_to_cache()
154 bv.bv_len = strlen( buf ); in nsldapi_add_result_to_cache()
155 bvp[0] = &bv; in nsldapi_add_result_to_cache()
H A Dsbind.c101 struct berval bv; in simple_bind_nolock() local
103 bv.bv_val = (char *)passwd; in simple_bind_nolock()
104 bv.bv_len = strlen( passwd ); in simple_bind_nolock()
107 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.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/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.c121 blkcpy(tchar **oav, tchar **bv) in blkcpy() argument
125 while (*av++ = *bv++) in blkcpy()
406 blkcpy_(char **oav, char **bv) in blkcpy_() argument
410 while (*av++ = *bv++) in blkcpy_()
/illumos-gate/usr/src/lib/libnisdb/
H A Dldap_print.c429 struct berval **bv = m->mod_bvalues; in printLdapMod() local
431 if (bv != 0) { in printLdapMod()
432 while (*bv != 0) { in printLdapMod()
434 (*bv)->bv_len); in printLdapMod()
435 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