Home
last modified time | relevance | path

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

12

/titanic_41/usr/src/lib/libkmf/ber_der/common/
H A Ddecode.c319 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 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
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()
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
1563 bv.bv_val = (char *)encodedname->Data; in DerDecodeName()
[all …]
/titanic_41/usr/src/lib/libldap5/sources/ldap/ber/
H A Ddecode.c300 ber_get_stringal( BerElement *ber, struct berval **bv ) in ber_get_stringal() argument
305 if ( (*bv = (struct berval *)NSLBERI_MALLOC( sizeof(struct berval) )) in ber_get_stringal()
314 if ( ((*bv)->bv_val = (char *)NSLBERI_MALLOC( (size_t)len + 1 )) in ber_get_stringal()
322 if ( ber_read( ber, (*bv)->bv_val, len ) != (ber_slen_t) len ) in ber_get_stringal()
324 ((*bv)->bv_val)[len] = '\0'; in ber_get_stringal()
325 (*bv)->bv_len = len; in ber_get_stringal()
331 if ( (*(ber->ber_decode_translate_proc))( &((*bv)->bv_val), in ber_get_stringal()
333 NSLBERI_FREE( (*bv)->bv_val ); in ber_get_stringal()
336 (*bv)->bv_len = len - 1; in ber_get_stringal()
437 struct berval ***bv, **bvp, *bval; in ber_scanf() local
[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()
/titanic_41/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, unsigned long long val);
[all …]
/titanic_41/usr/src/cmd/idmap/idmapd/
H A Ddirectory_provider_ad.c63 struct berval **bv);
72 static void dump_bv_list(const char *attr, struct berval **bv);
416 struct berval **bv; in directory_provider_ad_cb1() local
420 bv = ldap_get_values_len(ld, msg, a); in directory_provider_ad_cb1()
422 dump_bv_list(attrs[i], bv); in directory_provider_ad_cb1()
424 if (bv != NULL) { in directory_provider_ad_cb1()
425 de = bv_list_dav(val, bv); in directory_provider_ad_cb1()
426 ldap_value_free_len(bv); in directory_provider_ad_cb1()
430 bv = ldap_get_values_len(ld, msg, "sAMAccountName"); in directory_provider_ad_cb1()
431 if (bv != NULL) { in directory_provider_ad_cb1()
[all …]
/titanic_41/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()
/titanic_41/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
/titanic_41/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.c98 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 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()
/titanic_41/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);
/titanic_41/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 |
/titanic_41/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,
/titanic_41/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_()
/titanic_41/usr/src/psm/stand/boot/common/
H A Dreadfile.c614 Elf32_Boot *bv = bootv; in read_elf32() local
627 EBV(bv, EB_AUXV, 0); /* fill in later */ in read_elf32()
628 EBV(bv, EB_PAGESIZE, pagesize); in read_elf32()
629 EBV(bv, EB_DYNAMIC, dynamic); in read_elf32()
630 EBV(bv, EB_NULL, 0); in read_elf32()
649 vsize = (caddr_t)bv - (caddr_t)bootv; in read_elf32()
1004 Elf64_Boot *bv = bootv; in read_elf64() local
1018 EBV64(bv, EB_AUXV, 0); /* fill in later */ in read_elf64()
1019 EBV64(bv, EB_PAGESIZE, pagesize); in read_elf64()
1020 EBV64(bv, EB_DYNAMIC, dynamic); in read_elf64()
[all …]
/titanic_41/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()
/titanic_41/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