Home
last modified time | relevance | path

Searched refs:LONG_BITS (Results 1 – 25 of 125) sorted by relevance

12345

/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/Linux/libevdev/
H A Dlibevdev-util.h29 #define LONG_BITS (sizeof(long) * 8) macro
30 #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS)
56 return !!(array[bit / LONG_BITS] & (1LL << (bit % LONG_BITS))); in bit_is_set()
62 array[bit / LONG_BITS] |= (1LL << (bit % LONG_BITS)); in set_bit()
68 array[bit / LONG_BITS] &= ~(1LL << (bit % LONG_BITS)); in clear_bit()
/dports/devel/libevdev/libevdev-1.5.9/libevdev/
H A Dlibevdev-util.h30 #define LONG_BITS (sizeof(long) * 8) macro
31 #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS)
57 return !!(array[bit / LONG_BITS] & (1LL << (bit % LONG_BITS))); in bit_is_set()
63 array[bit / LONG_BITS] |= (1LL << (bit % LONG_BITS)); in set_bit()
69 array[bit / LONG_BITS] &= ~(1LL << (bit % LONG_BITS)); in clear_bit()
/dports/math/pspp/pspp-1.4.1/src/libpspp/
H A Dsparse-array.c54 #define LONG_BITS (sizeof (unsigned long int) * CHAR_BIT) macro
55 #define LONG_MASK ((unsigned long int) LONG_BITS - 1)
423 return (leaf->in_use[key / LONG_BITS] & (1ul << (key % LONG_BITS))) != 0; in is_in_use()
442 leaf->in_use[key / LONG_BITS] |= 1ul << (key % LONG_BITS); in set_in_use()
450 leaf->in_use[key / LONG_BITS] &= ~(1ul << (key % LONG_BITS)); in unset_in_use()
495 int ofs = idx % LONG_BITS; in scan_in_use_forward()
523 return LONG_BITS - count_one_bits_l (x); in count_leading_zeros()
536 int ofs = idx % LONG_BITS; in scan_in_use_reverse()
539 in_use = leaf->in_use[idx / LONG_BITS] << (LONG_BITS - 1 - ofs); in scan_in_use_reverse()
542 if (idx < LONG_BITS) in scan_in_use_reverse()
[all …]
/dports/graphics/netpbm/netpbm-10.91.01/converter/other/cameratopam/
H A Dutil.c11 #ifndef LONG_BITS
12 #define LONG_BITS (8 * sizeof(long)) macro
86 ret = bitbuf << (LONG_BITS - vbits) >> (LONG_BITS - nbits); in getbits()
89 while (vbits < LONG_BITS - 7) { in getbits()
/dports/games/NBlood/NBlood-a1689a4/platform/Windows/src/compat-to-msvc/
H A Ddll_math.c97 #define LONG_BITS (sizeof(long) * CHAR_BIT) macro
141 if (shift >= LONG_BITS) {
143 aa.ul[L] << (shift - LONG_BITS);
147 (aa.ul[L] >> (LONG_BITS - shift));
164 if (shift >= LONG_BITS) {
174 s = (aa.sl[H] >> (LONG_BITS - 1)) >> 1;
176 aa.sl[H] >> (shift - LONG_BITS);
180 (aa.ul[H] << (LONG_BITS - shift));
237 if (shift >= LONG_BITS) {
239 aa.ul[H] >> (shift - LONG_BITS);
[all …]
/dports/lang/gcc8/gcc-8.5.0/gcc/testsuite/gcc.dg/
H A Dfold-notrotate-1.c38 #define LONG_BITS (sizeof (long) * __CHAR_BIT__) macro
39 #define ROLL(x, y) ((x) << (y) | (x) >> (LONG_BITS - (y)))
40 #define RORL(x, y) ((x) >> (y) | (x) << (LONG_BITS - (y)))
/dports/lang/gcc9/gcc-9.4.0/gcc/testsuite/gcc.dg/
H A Dfold-notrotate-1.c38 #define LONG_BITS (sizeof (long) * __CHAR_BIT__) macro
39 #define ROLL(x, y) ((x) << (y) | (x) >> (LONG_BITS - (y)))
40 #define RORL(x, y) ((x) >> (y) | (x) << (LONG_BITS - (y)))
/dports/lang/gcc10/gcc-10.3.0/gcc/testsuite/gcc.dg/
H A Dfold-notrotate-1.c38 #define LONG_BITS (sizeof (long) * __CHAR_BIT__) macro
39 #define ROLL(x, y) ((x) << (y) | (x) >> (LONG_BITS - (y)))
40 #define RORL(x, y) ((x) >> (y) | (x) << (LONG_BITS - (y)))
/dports/devel/riscv64-gcc/gcc-8.3.0/gcc/testsuite/gcc.dg/
H A Dfold-notrotate-1.c38 #define LONG_BITS (sizeof (long) * __CHAR_BIT__) macro
39 #define ROLL(x, y) ((x) << (y) | (x) >> (LONG_BITS - (y)))
40 #define RORL(x, y) ((x) >> (y) | (x) << (LONG_BITS - (y)))
/dports/devel/avr-gcc/gcc-10.2.0/gcc/testsuite/gcc.dg/
H A Dfold-notrotate-1.c38 #define LONG_BITS (sizeof (long) * __CHAR_BIT__) macro
39 #define ROLL(x, y) ((x) << (y) | (x) >> (LONG_BITS - (y)))
40 #define RORL(x, y) ((x) >> (y) | (x) << (LONG_BITS - (y)))
/dports/lang/gcc11/gcc-11.2.0/gcc/testsuite/gcc.dg/
H A Dfold-notrotate-1.c38 #define LONG_BITS (sizeof (long) * __CHAR_BIT__) macro
39 #define ROLL(x, y) ((x) << (y) | (x) >> (LONG_BITS - (y)))
40 #define RORL(x, y) ((x) >> (y) | (x) << (LONG_BITS - (y)))
/dports/devel/arm-none-eabi-gcc/gcc-8.4.0/gcc/testsuite/gcc.dg/
H A Dfold-notrotate-1.c38 #define LONG_BITS (sizeof (long) * __CHAR_BIT__) macro
39 #define ROLL(x, y) ((x) << (y) | (x) >> (LONG_BITS - (y)))
40 #define RORL(x, y) ((x) >> (y) | (x) << (LONG_BITS - (y)))
/dports/devel/riscv64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.dg/
H A Dfold-notrotate-1.c38 #define LONG_BITS (sizeof (long) * __CHAR_BIT__) macro
39 #define ROLL(x, y) ((x) << (y) | (x) >> (LONG_BITS - (y)))
40 #define RORL(x, y) ((x) >> (y) | (x) << (LONG_BITS - (y)))
/dports/lang/gcc9-aux/gcc-9.1.0/gcc/testsuite/gcc.dg/
H A Dfold-notrotate-1.c38 #define LONG_BITS (sizeof (long) * __CHAR_BIT__) macro
39 #define ROLL(x, y) ((x) << (y) | (x) >> (LONG_BITS - (y)))
40 #define RORL(x, y) ((x) >> (y) | (x) << (LONG_BITS - (y)))
/dports/devel/aarch64-none-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.dg/
H A Dfold-notrotate-1.c38 #define LONG_BITS (sizeof (long) * __CHAR_BIT__) macro
39 #define ROLL(x, y) ((x) << (y) | (x) >> (LONG_BITS - (y)))
40 #define RORL(x, y) ((x) >> (y) | (x) << (LONG_BITS - (y)))
/dports/lang/gcc9-devel/gcc-9-20211007/gcc/testsuite/gcc.dg/
H A Dfold-notrotate-1.c38 #define LONG_BITS (sizeof (long) * __CHAR_BIT__) macro
39 #define ROLL(x, y) ((x) << (y) | (x) >> (LONG_BITS - (y)))
40 #define RORL(x, y) ((x) >> (y) | (x) << (LONG_BITS - (y)))
/dports/devel/riscv32-unknown-elf-gcc/gcc-8.4.0/gcc/testsuite/gcc.dg/
H A Dfold-notrotate-1.c38 #define LONG_BITS (sizeof (long) * __CHAR_BIT__) macro
39 #define ROLL(x, y) ((x) << (y) | (x) >> (LONG_BITS - (y)))
40 #define RORL(x, y) ((x) >> (y) | (x) << (LONG_BITS - (y)))
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/testsuite/gcc.dg/
H A Dfold-notrotate-1.c38 #define LONG_BITS (sizeof (long) * __CHAR_BIT__) macro
39 #define ROLL(x, y) ((x) << (y) | (x) >> (LONG_BITS - (y)))
40 #define RORL(x, y) ((x) >> (y) | (x) << (LONG_BITS - (y)))
/dports/misc/cxx_atomics_pic/gcc-11.2.0/gcc/testsuite/gcc.dg/
H A Dfold-notrotate-1.c38 #define LONG_BITS (sizeof (long) * __CHAR_BIT__) macro
39 #define ROLL(x, y) ((x) << (y) | (x) >> (LONG_BITS - (y)))
40 #define RORL(x, y) ((x) >> (y) | (x) << (LONG_BITS - (y)))
/dports/lang/gcc10-devel/gcc-10-20211008/gcc/testsuite/gcc.dg/
H A Dfold-notrotate-1.c38 #define LONG_BITS (sizeof (long) * __CHAR_BIT__) macro
39 #define ROLL(x, y) ((x) << (y) | (x) >> (LONG_BITS - (y)))
40 #define RORL(x, y) ((x) >> (y) | (x) << (LONG_BITS - (y)))
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/testsuite/gcc.dg/
H A Dfold-notrotate-1.c38 #define LONG_BITS (sizeof (long) * __CHAR_BIT__) macro
39 #define ROLL(x, y) ((x) << (y) | (x) >> (LONG_BITS - (y)))
40 #define RORL(x, y) ((x) >> (y) | (x) << (LONG_BITS - (y)))
/dports/x11/simplestroke/simplestroke-1.3.1/
H A Dtracker_evdev.c63 #define LONG_BITS (sizeof(long) * 8) macro
64 #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS)
69 return !!(array[bit / LONG_BITS] & (1LL << (bit % LONG_BITS))); in bit_is_set()
/dports/x11/libinput/libinput-1.12.6/src/
H A Dlibinput-util.h119 #define LONG_BITS (sizeof(long) * 8) macro
120 #define NLONGS(x) (((x) + LONG_BITS - 1) / LONG_BITS)
212 return !!(array[bit / LONG_BITS] & (1ULL << (bit % LONG_BITS))); in long_bit_is_set()
218 array[bit / LONG_BITS] |= (1ULL << (bit % LONG_BITS)); in long_set_bit()
224 array[bit / LONG_BITS] &= ~(1ULL << (bit % LONG_BITS)); in long_clear_bit()
/dports/databases/qt5-sqldrivers-sqlite2/kde-qtbase-5.15.2p263/src/platformsupport/devicediscovery/
H A Dqdevicediscovery_static.cpp76 #define LONG_BITS (sizeof(long) * 8 ) macro
77 #define LONG_FIELD_SIZE(bits) ((bits / LONG_BITS) + 1)
81 return (field[bit / LONG_BITS] >> bit % LONG_BITS) & 1; in testBit()
/dports/databases/qt5-sqldrivers-tds/kde-qtbase-5.15.2p263/src/platformsupport/devicediscovery/
H A Dqdevicediscovery_static.cpp76 #define LONG_BITS (sizeof(long) * 8 ) macro
77 #define LONG_FIELD_SIZE(bits) ((bits / LONG_BITS) + 1)
81 return (field[bit / LONG_BITS] >> bit % LONG_BITS) & 1; in testBit()

12345