Home
last modified time | relevance | path

Searched refs:bitoff (Results 1 – 20 of 20) sorted by relevance

/netbsd-src/crypto/external/bsd/openssl/dist/crypto/whrlpool/
H A Dwp_dgst.c95 unsigned int bitoff = c->bitoff, in WHIRLPOOL_BitUpdate() local
96 bitrem = bitoff % 8, inpgap = (8 - (unsigned int)bits % 8) & 7; in WHIRLPOOL_BitUpdate()
116 if (bitoff == 0 && (n = bits / WHIRLPOOL_BBLOCK)) { in WHIRLPOOL_BitUpdate()
121 unsigned int byteoff = bitoff / 8; in WHIRLPOOL_BitUpdate()
123 bitrem = WHIRLPOOL_BBLOCK - bitoff; /* re-use bitrem */ in WHIRLPOOL_BitUpdate()
130 bitoff = 0; in WHIRLPOOL_BitUpdate()
133 bitoff += (unsigned int)bits; in WHIRLPOOL_BitUpdate()
136 c->bitoff = bitoff; in WHIRLPOOL_BitUpdate()
155 unsigned int byteoff = bitoff / 8; in WHIRLPOOL_BitUpdate()
162 bitoff += inpgap; in WHIRLPOOL_BitUpdate()
[all …]
/netbsd-src/crypto/external/bsd/openssl.old/dist/crypto/whrlpool/
H A Dwp_dgst.c89 unsigned int bitoff = c->bitoff, in WHIRLPOOL_BitUpdate() local
90 bitrem = bitoff % 8, inpgap = (8 - (unsigned int)bits % 8) & 7; in WHIRLPOOL_BitUpdate()
110 if (bitoff == 0 && (n = bits / WHIRLPOOL_BBLOCK)) { in WHIRLPOOL_BitUpdate()
115 unsigned int byteoff = bitoff / 8; in WHIRLPOOL_BitUpdate()
117 bitrem = WHIRLPOOL_BBLOCK - bitoff; /* re-use bitrem */ in WHIRLPOOL_BitUpdate()
124 bitoff = 0; in WHIRLPOOL_BitUpdate()
127 bitoff += (unsigned int)bits; in WHIRLPOOL_BitUpdate()
130 c->bitoff = bitoff; in WHIRLPOOL_BitUpdate()
149 unsigned int byteoff = bitoff / 8; in WHIRLPOOL_BitUpdate()
156 bitoff += inpgap; in WHIRLPOOL_BitUpdate()
[all …]
/netbsd-src/sys/dev/mvme/
H A Dvme_two_isr.c252 int bitoff; in vmetwo_intr_establish() local
277 bitoff = vec - VME2_VECTOR_BASE; in vmetwo_intr_establish()
285 bitoff = lvl - 1; in vmetwo_intr_establish()
305 iloffset = VME2_ILOFFSET_FROM_VECTOR(bitoff) + in vmetwo_intr_establish()
307 ilshift = VME2_ILSHIFT_FROM_VECTOR(bitoff); in vmetwo_intr_establish()
317 VME2_LOCAL_INTERRUPT(bitoff)); in vmetwo_intr_establish()
321 reg |= VME2_LOCAL_INTERRUPT(bitoff); in vmetwo_intr_establish()
328 iloffset = VME2_ILOFFSET_FROM_VECTOR(bitoff) + in vmetwo_intr_establish()
330 ilshift = VME2_ILSHIFT_FROM_VECTOR(bitoff); in vmetwo_intr_establish()
349 int bitoff; in vmetwo_intr_disestablish() local
[all …]
/netbsd-src/common/lib/libc/gen/
H A Dptree.c143 const pt_node_t *ptn, pt_bitoff_t bitoff, pt_bitlen_t bitlen) in ptree_matchkey() argument
146 bitoff, bitlen, pt->pt_context); in ptree_matchkey()
612 pt_bitoff_t bitoff = mask_len; in ptree_insert_mask_node() local
621 if (!ptree_matchnode(pt, target, NULL, UINT_MAX, &bitoff, &slot)) in ptree_insert_mask_node()
638 pt_bitoff_t bitoff; in ptree_find_filtered_node() local
644 bitoff = 0; in ptree_find_filtered_node()
659 if (bitoff < branch_bitoff) { in ptree_find_filtered_node()
660 if (!ptree_matchkey(pt, key, ptn, bitoff, branch_bitoff - bitoff)) { in ptree_find_filtered_node()
667 bitoff = branch_bitoff; in ptree_find_filtered_node()
680 bitoff += PTN_BRANCH_BITLEN(parent); in ptree_find_filtered_node()
[all …]
/netbsd-src/sys/arch/hpcmips/vr/
H A Dvr4181giu.c269 int bitoff; in vr4181giu_intr_establish() local
345 bitoff = (port & 0x7) << 1; in vr4181giu_intr_establish()
348 r &= ~(0x3 << bitoff); in vr4181giu_intr_establish()
349 r |= (VR4181GIU_MODE_IN | VR4181GIU_MODE_GPIO) << bitoff; in vr4181giu_intr_establish()
356 r &= ~(0x3 << bitoff); in vr4181giu_intr_establish()
357 r |= raw_intr_type << bitoff; in vr4181giu_intr_establish()
/netbsd-src/sys/sys/
H A Dptree.h130 #define PTN_SET_BRANCH_BITOFF(ptn,bitoff) \ argument
131 PTN__INSERT((ptn)->ptn_branchdata, PTN_BRANCH_BITOFF, bitoff)
/netbsd-src/crypto/external/bsd/openssl.old/dist/include/openssl/
H A Dwhrlpool.h33 unsigned int bitoff; member
/netbsd-src/crypto/external/bsd/openssl/dist/include/openssl/
H A Dwhrlpool.h42 unsigned int bitoff; member
/netbsd-src/external/gpl3/binutils.old/dist/opcodes/
H A Dns32k-dis.c809 int bitoff = d[1] == 'f' ? 10 : 5; in print_insn_ns32k() local
810 int addr_mode = bit_extract (buffer, ioffset - bitoff, 5); in print_insn_ns32k()
/netbsd-src/external/gpl3/binutils/dist/opcodes/
H A Dns32k-dis.c810 int bitoff = d[1] == 'f' ? 10 : 5; in print_insn_ns32k() local
811 int addr_mode = bit_extract (buffer, ioffset - bitoff, 5); in print_insn_ns32k()
/netbsd-src/external/cddl/osnet/dist/tools/ctf/cvt/
H A Ddwarf.c971 Dwarf_Unsigned sz, bitsz, bitoff; in die_sou_create() local
1044 if (die_unsigned(dw, mem, DW_AT_bit_offset, &bitoff, 0)) { in die_sou_create()
1046 ml->ml_offset += bitoff; in die_sou_create()
1063 ml->ml_offset += bysz * NBBY - bitoff - in die_sou_create()
1067 bitoff - ml->ml_size; in die_sou_create()
/netbsd-src/sys/dev/nvmm/x86/
H A Dnvmm_x86_vmx.c2427 uint8_t bitoff; in vmx_vcpu_msr_allow() local
2439 bitoff = (msr & 0x7); in vmx_vcpu_msr_allow()
2442 bitmap[byte] &= ~__BIT(bitoff); in vmx_vcpu_msr_allow()
2445 bitmap[2048 + byte] &= ~__BIT(bitoff); in vmx_vcpu_msr_allow()
3223 #define CTLS_ONE_ALLOWED(msrval, bitoff) \ argument
3224 ((msrval & __BIT(32 + bitoff)) != 0)
3225 #define CTLS_ZERO_ALLOWED(msrval, bitoff) \ argument
3226 ((msrval & __BIT(bitoff)) == 0)
H A Dnvmm_x86_svm.c1731 uint8_t bitoff; in svm_vcpu_msr_allow() local
1746 bitoff = (msr & 0x3) << 1; in svm_vcpu_msr_allow()
1749 bitmap[byte] &= ~(SVM_MSRBM_READ << bitoff); in svm_vcpu_msr_allow()
1752 bitmap[byte] &= ~(SVM_MSRBM_WRITE << bitoff); in svm_vcpu_msr_allow()
/netbsd-src/external/gpl3/gcc/dist/gcc/
H A Dgimple-fold.cc8282 HOST_WIDE_INT bitoff; in fold_const_aggregate_ref_1() local
8285 if (bitoffset.is_constant (&bitoff) in fold_const_aggregate_ref_1()
8286 && bitoff >= 0 in fold_const_aggregate_ref_1()
8287 && bitoff <= diff) in fold_const_aggregate_ref_1()
8289 offset -= bitoff; in fold_const_aggregate_ref_1()
8299 bitoff)); in fold_const_aggregate_ref_1()
8303 diff - bitoff)); in fold_const_aggregate_ref_1()
H A Dcalls.cc2198 unsigned int bitoff = (nregs - 1) * BITS_PER_WORD; in load_register_parameters() local
2199 unsigned int bitsize = const_size * BITS_PER_UNIT - bitoff; in load_register_parameters()
2200 rtx x = extract_bit_field (mem, bitsize, bitoff, 1, dest, in load_register_parameters()
H A Dfold-const.cc8461 HOST_WIDE_INT bitoff = (pos - rpos) * BITS_PER_UNIT + bpos; in native_encode_initializer() local
8463 w = wi::lshift (w, bitoff); in native_encode_initializer()
8465 w = wi::lshift (w, diff - bitoff); in native_encode_initializer()
8949 HOST_WIDE_INT bitoff = 0, pos = 0, sz = 0; in native_interpret_aggregate() local
8968 if (!bitoffset.is_constant (&bitoff) in native_interpret_aggregate()
8969 || bitoff < 0 in native_interpret_aggregate()
8970 || bitoff > diff) in native_interpret_aggregate()
9000 bitoff = (HOST_WIDE_INT) (pos - rpos) * BITS_PER_UNIT + bpos; in native_interpret_aggregate()
9047 wi::lrshift (wi::to_wide (v), bitoff)); in native_interpret_aggregate()
9051 diff - bitoff)); in native_interpret_aggregate()
H A DChangeLog-201612690 * config/s390/s390.md (bitoff, bitoff_plus): Neq mode attributes.
/netbsd-src/external/gpl3/gcc.old/dist/gcc/
H A Dcalls.c3192 unsigned int bitoff = (nregs - 1) * BITS_PER_WORD; in load_register_parameters() local
3193 unsigned int bitsize = const_size * BITS_PER_UNIT - bitoff; in load_register_parameters()
3194 rtx x = extract_bit_field (mem, bitsize, bitoff, 1, dest, in load_register_parameters()
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/s390/
H A Ds390.md849 (define_mode_attr bitoff [(DI "0") (SI "32") (HI "48") (QI "56")])
4190 "<risbg_n>\t%0,%3,<bitoff>,64-%4-1,%4"
4388 return "r<noxa>sbg\t%0,%1,<bitoff>,%3,%2";
/netbsd-src/external/gpl3/gcc/dist/gcc/config/s390/
H A Ds390.md875 (define_mode_attr bitoff [(DI "0") (SI "32") (HI "48") (QI "56")])
4297 "<risbg_n>\t%0,%3,<bitoff>,64-%4-1,%4"
4495 return "r<noxa>sbg\t%0,%1,<bitoff>,%3,%2";