| /freebsd/contrib/unbound/compat/ |
| H A D | sha512.c | 55 uint64_t bitcount[2]; member 268 context->bitcount[0] = context->bitcount[1] = 0; in SHA512_Init() 360 usedspace = (context->bitcount[0] >> 3) % SHA512_BLOCK_LENGTH; in SHA512_Update() 368 ADDINC128(context->bitcount, freespace << 3); in SHA512_Update() 375 ADDINC128(context->bitcount, len << 3); in SHA512_Update() 384 ADDINC128(context->bitcount, SHA512_BLOCK_LENGTH << 3); in SHA512_Update() 391 ADDINC128(context->bitcount, len << 3); in SHA512_Update() 401 usedspace = (context->bitcount[0] >> 3) % SHA512_BLOCK_LENGTH; in SHA512_Last() 404 REVERSE64(context->bitcount[0],context->bitcount[0]); in SHA512_Last() 405 REVERSE64(context->bitcount[1],context->bitcount[1]); in SHA512_Last() [all …]
|
| /freebsd/contrib/ldns/ |
| H A D | sha2.c | 321 context->bitcount = 0; in ldns_sha256_init() 514 usedspace = (context->bitcount >> 3) % LDNS_SHA256_BLOCK_LENGTH; in ldns_sha256_update() 522 context->bitcount += freespace << 3; in ldns_sha256_update() 529 context->bitcount += len << 3; in ldns_sha256_update() 539 context->bitcount += LDNS_SHA256_BLOCK_LENGTH << 3; in ldns_sha256_update() 546 context->bitcount += len << 3; in ldns_sha256_update() 568 usedspace = (context->bitcount >> 3) % LDNS_SHA256_BLOCK_LENGTH; in ldns_sha256_final() 571 REVERSE64(context->bitcount,context->bitcount); in ldns_sha256_final() 599 cast_var.theLongs[ldns_sha256_SHORT_BLOCK_LENGTH / 8] = context->bitcount; in ldns_sha256_final() 641 context->bitcount[0] = context->bitcount[1] = 0; in ldns_sha512_init() [all …]
|
| /freebsd/crypto/openssh/openbsd-compat/ |
| H A D | sha2.c | 321 context->bitcount[0] = 0; 359 context->bitcount[0] = 0; in SHA256Init() 531 usedspace = (context->bitcount[0] >> 3) % SHA256_BLOCK_LENGTH; in SHA256Update() 539 context->bitcount[0] += freespace << 3; in SHA256Update() 546 context->bitcount[0] += (u_int64_t)len << 3; in SHA256Update() 555 context->bitcount[0] += SHA256_BLOCK_LENGTH << 3; in SHA256Update() 562 context->bitcount[0] += len << 3; in SHA256Update() 574 usedspace = (context->bitcount[0] >> 3) % SHA256_BLOCK_LENGTH; in SHA256Pad() 603 context->bitcount[0]); in SHA256Pad() 639 context->bitcount[0] = context->bitcount[1] = 0; in SHA512Init() [all …]
|
| H A D | bsd-sha2.h | 71 u_int64_t bitcount[2]; member
|
| /freebsd/lib/virtual_oss/bt/ |
| H A D | sbc_encode.c | 151 int32_t max_bitneed, bitcount; in calc_bitneed() local 161 bitcount = 0; in calc_bitneed() 197 slicecount = bitcount = 0; in calc_bitneed() 201 bitcount += slicecount; in calc_bitneed() 212 } while (bitcount + slicecount < cfg->bitpool); in calc_bitneed() 215 if (bitcount + slicecount == cfg->bitpool) { in calc_bitneed() 216 bitcount += slicecount; in calc_bitneed() 236 while (bitcount < cfg->bitpool && sb < sbc->bands) { in calc_bitneed() 239 bitcount++; in calc_bitneed() 241 (cfg->bitpool > bitcount + 1)) { in calc_bitneed() [all …]
|
| /freebsd/contrib/opencsd/decoder/source/etmv3/ |
| H A D | trc_pkt_proc_etmv3_impl.cpp | 825 int bitcount = 0; in extractBrAddrPkt() local 837 shift = bitcount; in extractBrAddrPkt() 841 bitcount+=6; in extractBrAddrPkt() 853 bitcount+=6; in extractBrAddrPkt() 858 bitcount+=7; in extractBrAddrPkt() 909 value |= ((uint32_t)(addrbyte & addrMask[isa_idx])) << bitcount; in extractBrAddrPkt() 910 bitcount += addrBits[isa_idx]; in extractBrAddrPkt() 916 bitcount += shift; in extractBrAddrPkt() 918 nBitsOut = bitcount; in extractBrAddrPkt()
|
| /freebsd/contrib/ldns/ldns/ |
| H A D | sha2.h | 77 uint64_t bitcount; member 82 uint64_t bitcount[2]; member
|
| /freebsd/sys/arm/allwinner/ |
| H A D | aw_cir.c | 214 int i, bitcount; in aw_ir_decode_packets() local 262 bitcount = 0; in aw_ir_decode_packets() 292 code |= 1 << bitcount; in aw_ir_decode_packets() 294 bitcount++; in aw_ir_decode_packets() 295 if (bitcount == 32) in aw_ir_decode_packets()
|
| /freebsd/sys/dev/evdev/ |
| H A D | evdev_mt.c | 329 num_touches = bitcount(mt->touches); in evdev_mt_match_frame() 630 nfingers = bitcount(mt->touches); in evdev_mt_send_st_compat()
|
| /freebsd/sys/sys/ |
| H A D | libkern.h | 226 #define bitcount(x) __bitcount((u_int)(x)) macro
|
| /freebsd/sys/compat/linuxkpi/common/include/linux/ |
| H A D | bitops.h | 67 #define hweight8(x) (__builtin_constant_p(x) ? HWEIGHT8(x) : bitcount((uint8_t)(x)))
|
| /freebsd/lib/libunbound/ |
| H A D | config.h | 1644 uint64_t bitcount[2]; member
|
| /freebsd/tools/build/ |
| H A D | Makefile | 201 SYSINCS+= ${SRCTOP}/sys/sys/bitcount.h
|
| /freebsd/sys/dev/atkbdc/ |
| H A D | psm.c | 4589 nfingers = bitcount(mask); 4622 nfingers = bitcount(mask); 4672 nfingers = bitcount(mask);
|
| /freebsd/contrib/unbound/ |
| H A D | config.h.in | 1643 uint64_t bitcount[2]; member
|
| H A D | configure.ac | 2512 uint64_t bitcount[2];
|
| /freebsd/contrib/file/magic/Magdir/ |
| H A D | msdos | 2043 # NumberOfMembers: It SHOULD be 0x0000, but 5 TestBitBltStretchBlt.wmf 13 TestPalette.wmf and in failed samples 4254 bitcount-1.wmf 8224 ofz5942-1.wmf 56832 exttextout-2.wmf
|