Home
last modified time | relevance | path

Searched refs:bitnum (Results 1 – 15 of 15) sorted by relevance

/freebsd/crypto/openssl/crypto/asn1/
H A Dt_bitst.c22 if (ASN1_BIT_STRING_get_bit(bs, bnam->bitnum)) { in ASN1_BIT_STRING_name_print()
36 int bitnum; in ASN1_BIT_STRING_set_asc() local
37 bitnum = ASN1_BIT_STRING_num_asc(name, tbl); in ASN1_BIT_STRING_set_asc()
38 if (bitnum < 0) in ASN1_BIT_STRING_set_asc()
41 if (!ASN1_BIT_STRING_set_bit(bs, bitnum, value)) in ASN1_BIT_STRING_set_asc()
53 return bnam->bitnum; in ASN1_BIT_STRING_num_asc()
H A Dasn1_gen.c749 long bitnum; in bitstr_cb() local
753 bitnum = strtoul(elem, &eptr, 10); in bitstr_cb()
756 if (bitnum < 0) { in bitstr_cb()
760 if (!ASN1_BIT_STRING_set_bit(bitstr, bitnum, 1)) { in bitstr_cb()
/freebsd/crypto/krb5/src/lib/crypto/crypto_tests/
H A Dcamellia-test.c65 static void set_bit(char *ptr, int bitnum) in set_bit() argument
68 bytenum = bitnum / 8; in set_bit()
69 bitnum %= 8; in set_bit()
71 ptr[bytenum] = 1 << (7 - bitnum); in set_bit()
H A Daes-test.c67 static void set_bit(char *ptr, int bitnum) in set_bit() argument
70 bytenum = bitnum / 8; in set_bit()
71 bitnum %= 8; in set_bit()
73 ptr[bytenum] = 1 << (7 - bitnum); in set_bit()
/freebsd/crypto/openssl/crypto/x509/
H A Dv3_bitst.c50 if (ASN1_BIT_STRING_get_bit(bits, bnam->bitnum)) in STACK_OF()
73 if (!ASN1_BIT_STRING_set_bit(bs, bnam->bitnum, 1)) { in v2i_ASN1_BIT_STRING()
H A Dv3_enum.c49 if (strval == enam->bitnum) in i2s_ASN1_ENUMERATED_TABLE()
H A Dv3_crld.c171 if (!ASN1_BIT_STRING_set_bit(*preas, pbn->bitnum, 1)) in set_reasons()
193 if (ASN1_BIT_STRING_get_bit(rflags, pbn->bitnum)) { in print_reasons()
/freebsd/crypto/openssl/include/internal/
H A Dprovider.h104 int ossl_provider_set_operation_bit(OSSL_PROVIDER *provider, size_t bitnum);
105 int ossl_provider_test_operation_bit(OSSL_PROVIDER *provider, size_t bitnum,
/freebsd/crypto/openssl/crypto/
H A Dprovider_core.c2027 int ossl_provider_set_operation_bit(OSSL_PROVIDER *provider, size_t bitnum) in ossl_provider_set_operation_bit() argument
2029 size_t byte = bitnum / 8; in ossl_provider_set_operation_bit()
2030 unsigned char bit = (1 << (bitnum % 8)) & 0xFF; in ossl_provider_set_operation_bit()
2052 int ossl_provider_test_operation_bit(OSSL_PROVIDER *provider, size_t bitnum, in ossl_provider_test_operation_bit() argument
2055 size_t byte = bitnum / 8; in ossl_provider_test_operation_bit()
2056 unsigned char bit = (1 << (bitnum % 8)) & 0xFF; in ossl_provider_test_operation_bit()
/freebsd/sys/dev/ath/ath_hal/
H A Dah_regdomain.c253 int byteOffset, bitnum; in IS_BIT_SET() local
257 bitnum = bit - byteOffset*64; in IS_BIT_SET()
258 val = ((uint64_t) 1) << bitnum; in IS_BIT_SET()
/freebsd/crypto/openssl/doc/internal/man3/
H A Dossl_provider_new.pod93 int ossl_provider_set_operation_bit(OSSL_PROVIDER *provider, size_t bitnum);
94 int ossl_provider_test_operation_bit(OSSL_PROVIDER *provider, size_t bitnum,
302 ossl_provider_set_operation_bit() registers a 1 for operation I<bitnum>
305 ossl_provider_test_operation_bit() checks if the bit operation I<bitnum>
/freebsd/sys/dev/usb/net/
H A Dif_muge.c1855 uint32_t bitnum; in muge_hash_maddr() local
1861 bitnum = muge_hash(LLADDR(sdl)); in muge_hash_maddr()
1862 sc->sc_mchash_table[bitnum / 32] |= (1 << (bitnum % 32)); in muge_hash_maddr()
/freebsd/crypto/openssl/include/openssl/
H A Dasn1.h592 int bitnum; member
H A Dasn1.h.in521 int bitnum; member
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DSIInstrInfo.td801 class bitextract_imm<int bitnum> : SDNodeXForm<imm, [{
803 unsigned Bit = (Imm >> }] # bitnum # [{ ) & 1;