/dports/emulators/mesen/Mesen-0.9.8-4-g4c701ad6/Linux/libevdev/ |
H A D | libevdev-util.h | 29 #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 D | libevdev-util.h | 30 #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 D | sparse-array.c | 54 #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 D | util.c | 11 #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 D | dll_math.c | 97 #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 D | fold-notrotate-1.c | 38 #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 D | fold-notrotate-1.c | 38 #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 D | fold-notrotate-1.c | 38 #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 D | fold-notrotate-1.c | 38 #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 D | fold-notrotate-1.c | 38 #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 D | fold-notrotate-1.c | 38 #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 D | fold-notrotate-1.c | 38 #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 D | fold-notrotate-1.c | 38 #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 D | fold-notrotate-1.c | 38 #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 D | fold-notrotate-1.c | 38 #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 D | fold-notrotate-1.c | 38 #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 D | fold-notrotate-1.c | 38 #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 D | fold-notrotate-1.c | 38 #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 D | fold-notrotate-1.c | 38 #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 D | fold-notrotate-1.c | 38 #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 D | fold-notrotate-1.c | 38 #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 D | tracker_evdev.c | 63 #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 D | libinput-util.h | 119 #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 D | qdevicediscovery_static.cpp | 76 #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 D | qdevicediscovery_static.cpp | 76 #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()
|