Searched refs:LONG_BIT (Results 1 - 20 of 20) sorted by relevance

/freebsd-current/sys/libkern/
H A Dstrcspn.c34 #define IDX(c) ((u_char)(c) / LONG_BIT)
35 #define BIT(c) ((u_long)1 << ((u_char)(c) % LONG_BIT))
46 u_long tbl[(UCHAR_MAX + 1) / LONG_BIT];
52 #if LONG_BIT == 64 /* always better to unroll on 64-bit architectures */
H A Dmemcchr.c44 #if LONG_BIT != 32 && LONG_BIT != 64
68 #if LONG_BIT >= 64
94 #if LONG_BIT >= 64
H A Dstrspn.c34 #define IDX(c) ((u_char)(c) / LONG_BIT)
35 #define BIT(c) ((u_long)1 << ((u_char)(c) % LONG_BIT))
46 u_long tbl[(UCHAR_MAX + 1) / LONG_BIT];
52 #if LONG_BIT == 64 /* always better to unroll on 64-bit architectures */
H A Dstrlen.c51 #if LONG_BIT == 32
54 #elif LONG_BIT == 64
110 #if (LONG_BIT >= 64)
/freebsd-current/lib/libc/string/
H A Dstrspn.c33 #define IDX(c) ((u_char)(c) / LONG_BIT)
34 #define BIT(c) ((u_long)1 << ((u_char)(c) % LONG_BIT))
45 u_long tbl[(UCHAR_MAX + 1) / LONG_BIT];
51 #if LONG_BIT == 64 /* always better to unroll on 64-bit architectures */
H A Dstrcspn.c33 #define IDX(c) ((u_char)(c) / LONG_BIT)
34 #define BIT(c) ((u_long)1 << ((u_char)(c) % LONG_BIT))
45 u_long tbl[(UCHAR_MAX + 1) / LONG_BIT];
51 #if LONG_BIT == 64 /* always better to unroll on 64-bit architectures */
H A Dstrlen.c51 #if LONG_BIT == 32
54 #elif LONG_BIT == 64
110 #if (LONG_BIT >= 64)
/freebsd-current/sys/sys/
H A Dlimits.h92 #define LONG_BIT __LONG_BIT macro
H A Dstats.h201 #if BYTE_ORDER == BIG_ENDIAN && LONG_BIT == 32
208 #if BYTE_ORDER == LITTLE_ENDIAN && LONG_BIT == 32
/freebsd-current/contrib/bc/include/
H A Dbcl.h64 // For some reason, LONG_BIT is not defined in some versions of gcc.
66 #ifndef LONG_BIT
67 #define LONG_BIT (32) macro
68 #endif // LONG_BIT
71 #define BC_LONG_BIT LONG_BIT
74 #if BC_LONG_BIT > LONG_BIT
75 #error BC_LONG_BIT cannot be greater than LONG_BIT
76 #endif // BC_LONG_BIT > LONG_BIT
/freebsd-current/sbin/fsck_msdosfs/
H A Dfat.c90 cl_t i = cl / LONG_BIT;
91 unsigned long clearmask = ~(1UL << (cl % LONG_BIT));
101 cl_t i = cl / LONG_BIT;
102 unsigned long usedbit = 1UL << (cl % LONG_BIT);
110 cl_t i = cl / LONG_BIT;
124 size_t bitmap_size = roundup2(bits, LONG_BIT) / (LONG_BIT / 8);
1269 if (head % LONG_BIT == 0 &&
1271 head += LONG_BIT;
/freebsd-current/sys/dev/xen/bus/
H A Dxen_intr.c95 .last_processed_l1i = LONG_BIT - 1,
96 .last_processed_l2i = LONG_BIT - 1
389 l1i = (l1i + 1) % LONG_BIT;
397 l1i = LONG_BIT - 1;
398 l2i = LONG_BIT - 1;
406 l2i = (l2i + 1) % LONG_BIT;
411 l2i = LONG_BIT - 1;
417 port = (l1i * LONG_BIT) + l2i;
448 } while (l2i != LONG_BIT - 1);
/freebsd-current/sys/dev/hyperv/netvsc/
H A Dhn_nvs.c304 if (sc->hn_chim_cnt % LONG_BIT != 0) {
306 sc->hn_chim_cnt % LONG_BIT);
309 sc->hn_chim_bmap_cnt = sc->hn_chim_cnt / LONG_BIT;
H A Dif_hn.c711 KASSERT(i * LONG_BIT + idx < sc->hn_chim_cnt,
717 ret = i * LONG_BIT + idx;
729 idx = chim_idx / LONG_BIT;
733 mask = 1UL << (chim_idx % LONG_BIT);
/freebsd-current/sys/dev/sound/pcm/
H A Dpcm.h47 #if LONG_BIT >= 64
85 #if LONG_BIT >= 64
/freebsd-current/contrib/bc/
H A Dconfigure.sh266 printf ' LONG_BIT The number of bits in a C `long` type. This is mostly for the\n'
271 printf ' it to `32`. Default is the default of `LONG_BIT` for the target\n'
273 printf ' the specified value of `LONG_BIT` is greater than the default\n'
274 printf ' value of `LONG_BIT` for the target platform.\n'
1138 if [ -z "${LONG_BIT+set}" ]; then
1140 elif [ "$LONG_BIT" -lt 32 ]; then
1141 usage "LONG_BIT is less than 32"
1143 LONG_BIT_DEFINE="-DBC_LONG_BIT=$LONG_BIT"
1913 printf 'LONG_BIT=%s\n' "$LONG_BIT"
[all...]
H A Dconfigure266 printf ' LONG_BIT The number of bits in a C `long` type. This is mostly for the\n'
271 printf ' it to `32`. Default is the default of `LONG_BIT` for the target\n'
273 printf ' the specified value of `LONG_BIT` is greater than the default\n'
274 printf ' value of `LONG_BIT` for the target platform.\n'
1138 if [ -z "${LONG_BIT+set}" ]; then
1140 elif [ "$LONG_BIT" -lt 32 ]; then
1141 usage "LONG_BIT is less than 32"
1143 LONG_BIT_DEFINE="-DBC_LONG_BIT=$LONG_BIT"
1913 printf 'LONG_BIT=%s\n' "$LONG_BIT"
[all...]
/freebsd-current/sys/dev/sfxge/
H A Dsfxge_rx.c140 #if LONG_BIT == 64
/freebsd-current/sys/dev/hwpmc/
H A Dhwpmc_mod.c398 * round((2^LONG_BIT) * ((sqrt(5)-1)/2)).
400 #if LONG_BIT == 64
402 #elif LONG_BIT == 32
/freebsd-current/contrib/ncurses/
H A Dconfigure29467 case x`getconf LONG_BIT` in

Completed in 406 milliseconds