/freebsd-current/contrib/xz/src/liblzma/rangecoder/ |
H A D | price.h | 29 rc_bit_price(const probability prob, const uint32_t bit) argument 31 return lzma_rc_prices[(prob ^ ((UINT32_C(0) - bit) 59 const uint32_t bit = symbol & 1; local 61 price += rc_bit_price(probs[symbol], bit); 76 const uint32_t bit = symbol & 1; local 78 price += rc_bit_price(probs[model_index], bit); 79 model_index = (model_index << 1) + bit;
|
/freebsd-current/lib/libvgl/ |
H A D | text.c | 77 int b, Bpc, Bpl, lin, bit, topbit; local 83 for(bit = 0; bit < VGLTextFont->Width; bit++) { 84 b = bit + (-VGLTextFont->Width & 7); 88 VGLSetXY(Object, (x+topbit-bit), (y+lin), fgcol); 91 VGLSetXY(Object, (x+lin), (y-topbit+bit), fgcol); 94 VGLSetXY(Object, (x-topbit+bit), (y-lin), fgcol); 97 VGLSetXY(Object, (x-lin), (y+topbit-bit), fgcol); 100 VGLSetXY(Object, (x+lin+topbit-bit), ( [all...] |
/freebsd-current/contrib/llvm-project/lldb/include/lldb/Utility/ |
H A D | Flags.h | 24 /// The value type for flags is a 32 bit unsigned integer type. 27 /// Construct with initial flag bit values. 92 /// Test a single flag bit. 95 /// \b true if \a bit is set, \b false otherwise. 96 bool Test(ValueType bit) const { return (m_flags & bit) != 0; } 107 /// Test a single flag bit to see if it is clear (zero). 110 /// \b true if \a bit is 0, \b false otherwise. 111 bool IsClear(ValueType bit) const { return (m_flags & bit) [all...] |
/freebsd-current/contrib/openbsm/bin/auditreduce/ |
H A D | auditreduce.h | 70 #define SETOPT(optmask, bit) (optmask |= bit) 71 #define ISOPTSET(optmask, bit) (optmask & bit)
|
/freebsd-current/usr.bin/dtc/ |
H A D | util.hh | 100 for (int bit=(sizeof(T) - 1)*8 ; bit>=0 ; bit-= 8) 102 v.push_back((val >> bit) & 0xff);
|
/freebsd-current/sys/powerpc/fpu/ |
H A D | fpu_mul.c | 59 * Each step consists of shifting the accumulator right one bit 60 * (maintaining any guard bits) and, if the next bit in y is set, 62 * we advance one bit leftward in y. Algorithmically: 65 * for (bit = 0; bit < FP_NMANT; bit++) { 67 * if (Y & (1 << bit)) 74 * shifted right, but at most one bit. 90 * - bit FP_NMANT-1 is set, and FP_1*2 fits in a word. 94 * run 32 times without adding X to A. We can do a 32-bit shif 103 u_int a3, a2, a1, a0, x3, x2, x1, x0, bit, m; local [all...] |
/freebsd-current/contrib/dialog/samples/ |
H A D | menubox-8bit | 2 # $Id: menubox-8bit,v 1.8 2020/11/26 00:03:58 tom Exp $ 8 . ./testdata-8bit
|
H A D | msgbox4-8bit | 2 # $Id: msgbox4-8bit,v 1.8 2020/11/26 00:26:09 tom Exp $ 6 . ./testdata-8bit
|
H A D | checklist-8bit | 2 # $Id: checklist-8bit,v 1.10 2020/11/26 00:03:58 tom Exp $ 8 . ./testdata-8bit
|
/freebsd-current/sys/dev/axgbe/ |
H A D | xgbe_osdep.h | 59 #define for_each_set_bit(bit, addr, size) \ 60 for ((bit) = find_first_bit((addr), (size)); \ 61 (bit) < (size); \ 62 (bit) = find_next_bit((addr), (size), (bit) + 1)) 256 int bit; local 263 bit = BITS_PER_LONG * pos; 268 return (bit + __ffsl(mask)); 269 if (size - bit <= BITS_PER_LONG) 271 bit 294 int bit; local [all...] |
/freebsd-current/sys/fs/ext2fs/ |
H A D | ext2_subr.c | 105 int bit, i; local 111 bit = 1; 115 if ((bbp[loc] & bit) == 0) 124 bit <<= 1; 127 bit = 1; 147 bit = 1 << (start % NBBY); 149 if ((bbp[loc] & bit) != 0) 152 bit <<= 1; 155 bit = 1; 166 bit [all...] |
/freebsd-current/contrib/bsnmp/tests/ |
H A D | constbuf.h | 82 handle_hex(A c, Constbuf_mode &mode, std::size_t &bit, U &n) argument 85 n[bit / 8] |= ((c - '0') << 4) >> (bit % 8); 86 bit += 4; 90 n[bit / 8] |= ((c - 'a' + 10) << 4) >> (bit % 8); 91 bit += 4; 95 n[bit / 8] |= ((c - 'A' + 10) << 4) >> (bit % 8); 96 bit 177 handle_bin(A c, Constbuf_mode &mode, std::size_t &bit, std::size_t &addr, U &n) argument [all...] |
/freebsd-current/contrib/ntp/libntp/ |
H A D | atolfp.c | 96 register u_long bit; local 102 bit = 0x80000000; 103 while (bit != 0) { 106 tmp |= bit; 109 bit >>= 1;
|
/freebsd-current/contrib/libcbor/src/cbor/internal/ |
H A D | memory_utils.c | 14 /** Highest on bit position */ 16 size_t bit = 0; local 18 bit++; 22 return bit;
|
/freebsd-current/sys/contrib/dev/mediatek/mt76/ |
H A D | util.h | 57 mt76_wcid_mask_set(u32 *mask, u16 bit) argument 60 mask[bit / 32] |= BIT(bit % 32); 64 mt76_wcid_mask_clear(u32 *mask, u16 bit) argument 67 mask[bit / 32] &= ~BIT(bit % 32);
|
/freebsd-current/tools/tools/mwl/mwldebug/ |
H A D | mwldebug.c | 71 u_int bit; member in struct:__anon6365 101 return flags[i].bit; 112 if (flags[i].bit == flag) 162 u_int bit; local 174 bit = getflag(cp, tp-cp); 176 ndebug &= ~bit; 178 ndebug |= bit; 180 if (bit == 0) { 183 bit = strtoul(cp, NULL, 0); 188 ndebug = bit; [all...] |
/freebsd-current/tools/tools/ath/athdebug/ |
H A D | athdebug.c | 82 uint64_t bit; member in struct:__anon6349 117 return flags[i].bit; 128 if (flags[i].bit == flag) 186 u_int bit; local 198 bit = getflag(cp, tp-cp); 200 ndebug &= ~bit; 202 ndebug |= bit; 204 if (bit == 0) { 206 bit = strtoul(cp, NULL, 0); 211 ndebug = bit; [all...] |
/freebsd-current/contrib/arm-optimized-routines/math/test/rtest/ |
H A D | types.h | 22 #error Could not find an unsigned 32-bit integer type
|
/freebsd-current/sys/netpfil/ipfw/test/ |
H A D | test_dn_sched.c | 87 int bit; local 91 for (bit = 1; mask != 1; bit++) 93 return (bit);
|
/freebsd-current/sys/i386/i386/ |
H A D | geode.c | 100 int bit; local 102 bit = *(int *)ptr; 103 if (bit < 0) { 104 bit = -bit; 110 u |= 1 << bit; 112 u &= ~(1 << bit); 119 int bit; local 122 bit = *(int *)ptr; 123 if (bit < [all...] |
/freebsd-current/sys/contrib/zstd/lib/common/ |
H A D | cpu.h | 110 #define X(name, r, bit) \ 112 return ((cpuid.r) & (1U << bit)) != 0; \ 116 #define C(name, bit) X(name, f1c, bit) 147 #define D(name, bit) X(name, f1d, bit) 180 #define B(name, bit) X(name, f7b, bit) 206 #define C(name, bit) X(name, f7c, bit) [all...] |
/freebsd-current/contrib/xz/src/common/ |
H A D | sysdefs.h | 27 // available with MinGW-w64 (both 32-bit and 64-bit). Modern MinGW-w64 adds 57 // We assume that int is 32-bit and that long is either 32-bit or 64-bit. 63 # error UINT32_C is not defined and unsigned int is not 32-bit. 120 // The code currently assumes that size_t is either 32-bit or 64-bit. 127 # error size_t is not 32-bit or 64-bit [all...] |
/freebsd-current/crypto/openssl/crypto/bn/ |
H A D | bn_intern.c | 27 int bit, next_bit, mask; local 46 bit = 1 << w; /* at most 128 */ 47 next_bit = bit << 1; /* at most 256 */ 81 if (window_val & bit) { 100 if (digit <= -bit || digit >= bit || !(digit & 1)) { 112 && window_val != bit) { 121 window_val += bit * BN_is_bit_set(scalar, j + w);
|
/freebsd-current/contrib/llvm-project/compiler-rt/lib/builtins/ |
H A D | int_to_fp_impl.inc | 36 // 1 = msb 1 bit 37 // P = bit dstMantDig-1 bits to the right of 1 38 // Q = bit dstMantDig bits to the right of 1 50 ++a; // round - this step may add a significant bit
|
/freebsd-current/cddl/contrib/opensolaris/lib/libdtrace/common/ |
H A D | dt_regset.c | 110 ulong_t bit, bx; local 113 for (bit = 1, bx = 0; bx <= maxb; bx++, bit <<= 1) { 114 if ((word & bit) == 0) {
|