Home
last modified time | relevance | path

Searched refs:LONG_BIT (Results 1 – 24 of 24) sorted by relevance

/freebsd/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]; in strcspn()
52 #if LONG_BIT == 64 /* always better to unroll on 64-bit architectures */ in strcspn()
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]; in strspn()
52 #if LONG_BIT == 64 /* always better to unroll on 64-bit architectures */ in strspn()
H A Dmemcchr.c44 #if LONG_BIT != 32 && LONG_BIT != 64
68 #if LONG_BIT >= 64 in memcchr()
94 #if LONG_BIT >= 64 in memcchr()
H A Dstrlen.c51 #if LONG_BIT == 32
54 #elif LONG_BIT == 64
110 #if (LONG_BIT >= 64) in size_t()
/freebsd/lib/libc/string/
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]; in strcspn()
51 #if LONG_BIT == 64 /* always better to unroll on 64-bit architectures */ in strcspn()
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]; in strspn()
51 #if LONG_BIT == 64 /* always better to unroll on 64-bit architectures */ in strspn()
H A Dstrlen.c51 #if LONG_BIT == 32
54 #elif LONG_BIT == 64
110 #if (LONG_BIT >= 64) in strlen()
/freebsd/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/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; in xen_intr_handle_upcall()
397 l1i = LONG_BIT - 1; in xen_intr_handle_upcall()
398 l2i = LONG_BIT - 1; in xen_intr_handle_upcall()
406 l2i = (l2i + 1) % LONG_BIT; in xen_intr_handle_upcall()
411 l2i = LONG_BIT - 1; in xen_intr_handle_upcall()
417 port = (l1i * LONG_BIT) + l2i; in xen_intr_handle_upcall()
448 } while (l2i != LONG_BIT - 1); in xen_intr_init()
/freebsd/sbin/fsck_msdosfs/
H A Dfat.c90 cl_t i = cl / LONG_BIT; in bitmap_clear()
91 unsigned long clearmask = ~(1UL << (cl % LONG_BIT)); in bitmap_clear()
101 cl_t i = cl / LONG_BIT; in bitmap_get()
102 unsigned long usedbit = 1UL << (cl % LONG_BIT); in bitmap_get()
110 cl_t i = cl / LONG_BIT; in bitmap_none_in_range()
124 size_t bitmap_size = roundup2(bits, LONG_BIT) / (LONG_BIT / 8); in bitmap_ctor()
1269 if (head % LONG_BIT == 0 && in checklost()
1271 head += LONG_BIT; in checklost()
/freebsd/usr.bin/getconf/
H A Dlimits.gperf78 LONG_BIT, LONG_BIT keyword
/freebsd/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/sys/dev/sound/pcm/
H A Dpcm.h48 #if LONG_BIT >= 64
86 #if LONG_BIT >= 64
/freebsd/sys/dev/hyperv/netvsc/
H A Dhn_nvs.c304 if (sc->hn_chim_cnt % LONG_BIT != 0) { in hn_nvs_conn_chim()
306 sc->hn_chim_cnt % LONG_BIT); in hn_nvs_conn_chim()
309 sc->hn_chim_bmap_cnt = sc->hn_chim_cnt / LONG_BIT; in hn_nvs_conn_chim()
H A Dif_hn.c711 KASSERT(i * LONG_BIT + idx < sc->hn_chim_cnt, in hn_chim_alloc()
717 ret = i * LONG_BIT + idx; in hn_chim_alloc()
729 idx = chim_idx / LONG_BIT; in hn_chim_free()
733 mask = 1UL << (chim_idx % LONG_BIT); in hn_chim_free()
/freebsd/contrib/bc/
H A Dconfigure268 printf ' LONG_BIT The number of bits in a C `long` type. This is mostly for the\n'
273 printf ' it to `32`. Default is the default of `LONG_BIT` for the target\n'
275 printf ' the specified value of `LONG_BIT` is greater than the default\n'
276 printf ' value of `LONG_BIT` for the target platform.\n'
1149 if [ -z "${LONG_BIT+set}" ]; then
1151 elif [ "$LONG_BIT" -lt 32 ]; then
1152 usage "LONG_BIT is less than 32"
1154 LONG_BIT_DEFINE="-DBC_LONG_BIT=$LONG_BIT"
1976 printf 'LONG_BIT=%s\n' "$LONG_BIT"
[all...]
H A Dconfigure.sh1151 elif [ "$LONG_BIT" -lt 32 ]; then
1154 LONG_BIT_DEFINE="-DBC_LONG_BIT=$LONG_BIT"
1976 printf 'LONG_BIT=%s\n' "$LONG_BIT"
/freebsd/contrib/bc/manuals/
H A Dbuild.md136 `EXECPREFIX`, `LONG_BIT`, `GEN_HOST`, and `GEN_EMU` environment variables in
303 #### `LONG_BIT`
314 Defaults to the default value of `LONG_BIT` for the target platform. For
318 `LONG_BIT` for the target platform.
/freebsd/sys/dev/sfxge/
H A Dsfxge_rx.c140 #if LONG_BIT == 64 in ipv6_addr_cmp()
/freebsd/sys/dev/hwpmc/
H A Dhwpmc_mod.c400 #if LONG_BIT == 64
402 #elif LONG_BIT == 32
/freebsd/sys/contrib/openzfs/tests/zfs-tests/include/
H A Dlibtest.shlib161 [ $(getconf LONG_BIT) = "32" ]
/freebsd/contrib/ncurses/
H A Dconfigure29467 case x`getconf LONG_BIT` in
H A Daclocal.m44508 case x`getconf LONG_BIT` in