Home
last modified time | relevance | path

Searched refs:bv (Results 1 – 25 of 40) sorted by last modified time

12

/illumos-gate/usr/src/lib/libldap5/sources/ldap/ber/
H A Dio.c1273 ber_init( const struct berval *bv ) in ber_init() argument
1281 if ( (ber_write ( ber, bv->bv_val, bv->bv_len, 0 )) in ber_init()
1282 != (ber_slen_t)bv->bv_len ) { in ber_init()
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()
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 …]
/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/cmd/ldap/common/
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()
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()
/illumos-gate/usr/src/uts/intel/os/
H A Dfpu.c2971 uint64_t bv; in fpu_signal_copyin() local
3034 bv = ucx.ucx_bv; in fpu_signal_copyin()
3054 if (!info->xi_always && (info->xi_bits & bv) == 0) in fpu_signal_copyin()
3056 bv &= ~info->xi_bits; in fpu_signal_copyin()
3065 ASSERT0(bv); in fpu_signal_copyin()
/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()
H A Dldap_val.c350 struct berval *bv = 0; in berEncode() local
398 if (ber_flatten(ber, &bv) != 0 || bv == 0) { in berEncode()
434 struct berval bv; in berDecode() local
440 bv.bv_val = val->val[i].value; 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()
473 if (ret != -1 && bv != 0) { in berDecode()
474 v = bv->bv_val; in berDecode()
475 len = bv->bv_len; in berDecode()
[all …]
/illumos-gate/usr/src/lib/libldap5/sources/ldap/common/
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()
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()
/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/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/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/cmd/cmd-inet/usr.bin/ftp/
H A Dglob.c101 static char **blkcpy(char **oav, char **bv);
688 blkcpy(char **oav, char **bv) in blkcpy() argument
692 while (*av++ = *bv++) in blkcpy()
/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/uts/common/io/bpf/
H A Dbpf.c1203 struct bpf_version bv; in bpfioctl() local
1205 bv.bv_major = BPF_MAJOR_VERSION; in bpfioctl()
1206 bv.bv_minor = BPF_MINOR_VERSION; in bpfioctl()
1207 if (copyout(&bv, (void *)addr, sizeof (bv)) != 0) in bpfioctl()
/illumos-gate/usr/src/lib/libsun_ima/common/
H A Dima.c698 IMA_BOOL_VALUE bv; in IMA_SetInitialR2T() local
700 bv.currentValue = initialR2T; in IMA_SetInitialR2T()
701 return (setISCSINodeParameter(BOOL_PARAM, &Oid, &bv, in IMA_SetInitialR2T()
720 IMA_BOOL_VALUE bv; in IMA_SetImmediateData() local
722 bv.currentValue = immediateData; in IMA_SetImmediateData()
723 return (setISCSINodeParameter(BOOL_PARAM, &Oid, &bv, in IMA_SetImmediateData()
741 IMA_BOOL_VALUE bv; in IMA_SetDataPduInOrder() local
743 bv.currentValue = dataPduInOrder; in IMA_SetDataPduInOrder()
744 return (setISCSINodeParameter(BOOL_PARAM, &Oid, &bv, in IMA_SetDataPduInOrder()
762 IMA_BOOL_VALUE bv; in IMA_SetDataSequenceInOrder() local
[all …]
/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/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 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 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 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 …]

12