/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/ |
H A D | support.h | 66 #define test_bit(bit, var) ((var) & (1 << (bit))) argument 67 #define set_bit(bit, var) (var) |= 1 << (bit) argument 68 #define clear_bit(bit, var) (var) &= ~(1 << (bit)) argument 70 #define test_and_set_bit(bit, var) \ argument 77 #define test_and_clear_bit(bit, var) \ argument
|
H A D | bitmap.c | 56 void ntfs_bit_set(u8 *bitmap, const u64 bit, const u8 new_value) in ntfs_bit_set() 74 char ntfs_bit_get(const u8 *bitmap, const u64 bit) in ntfs_bit_get() 90 char ntfs_bit_get_and_set(u8 *bitmap, const u64 bit, const u8 new_value) in ntfs_bit_get_and_set() 120 int bit, firstbyte, lastbyte, lastbyte_pos, tmp, ret = -1; in ntfs_bitmap_set_bits_in_run() local
|
H A D | bitmap.h | 54 static __inline__ int ntfs_bitmap_set_bit(ntfs_attr *na, s64 bit) in ntfs_bitmap_set_bit() 68 static __inline__ int ntfs_bitmap_clear_bit(ntfs_attr *na, s64 bit) in ntfs_bitmap_clear_bit()
|
H A D | lcnalloc.c | 148 int bit = *buf & (1 << j); in max_empty_bit_range() local 244 u8 *buf, *byte, bit, writeback; in ntfs_cluster_alloc() local
|
H A D | mft.c | 550 s64 pass_end, ll, data_pos, pass_start, ofs, bit; in ntfs_mft_bitmap_find_free_rec() local 1428 s64 ll, bit; in ntfs_mft_rec_alloc() local 1713 s64 ll, bit; in ntfs_mft_record_alloc() local
|
/haiku/src/add-ons/kernel/file_systems/ext2/ |
H A D | BitmapBlock.cpp | 259 uint32 bit = pos & 0x1F; in _FindNext() local 329 int32 bit = pos & 0x1F; in FindPreviousMarked() local 439 for (int32 bit = 31; bit >= 0; --bit) { in FindLargestUnmarkedRange() local 447 for (int32 bit = 0; bit < 32; ++bit) { in FindLargestUnmarkedRange() local 488 for (int32 bit = 31; bit >= 0; --bit) { in FindLargestUnmarkedRange() local 501 for (int32 bit = 0; bit < 32; ++bit) { in FindLargestUnmarkedRange() local
|
/haiku/headers/libs/agg/ |
H A D | agg_bitset_iterator.h | 42 unsigned bit() const in bit() function
|
/haiku/src/add-ons/kernel/drivers/audio/echo/generic/ |
H A D | CChannelMask.cpp | 167 CH_MASK bit; in GetIndexFromMask() local 467 CH_MASK_DSP bit,temp; in SetIndexInMask() local 480 CH_MASK_DSP bit,temp; in ClearIndexInMask() local 498 CH_MASK_DSP temp,bit; in TestIndexInMask() local
|
/haiku/src/add-ons/kernel/drivers/disk/nvme/libnvme/ |
H A D | nvme_common.h | 365 static inline int test_bit(__u8 *bitmap, unsigned int bit) in test_bit() 373 static inline void set_bit(__u8 *bitmap, unsigned int bit) in set_bit() 381 static inline void clear_bit(__u8 *bitmap, unsigned int bit) in clear_bit() 393 unsigned int i, j, bit, count = (nr_bits + 63) >> 6; in find_first_zero_bit() local
|
/haiku/src/add-ons/input_server/devices/virtio/ |
H A D | VirtioInputDevice.cpp | 35 inline static void SetBit(Type &val, int bit) {val |= Type(1) << bit;} in SetBit() 38 inline static void ClearBit(Type &val, int bit) {val &= ~(Type(1) << bit);} in ClearBit() 41 inline static void InvertBit(Type &val, int bit) {val ^= Type(1) << bit;} in InvertBit() 44 inline static void SetBitTo(Type &val, int bit, bool isSet) { in SetBitTo() 48 inline static bool IsBitSet(Type val, int bit) { in IsBitSet()
|
/haiku/src/add-ons/accelerants/common/ |
H A D | i2c.c | 172 send_bit(const i2c_bus *bus, uint8 bit, int timeout) in send_bit() 301 receive_bit(const i2c_bus *bus, bool *bit, int timeout) in receive_bit() 348 bool bit; in receive_byte() local
|
/haiku/src/system/libroot/os/arch/sparc/ |
H A D | fpu_mul.c | 103 u_int a3, a2, a1, a0, x3, x2, x1, x0, bit, m; local
|
H A D | fpu_div.c | 156 u_int q, bit; local
|
H A D | fpu_sqrt.c | 190 u_int bit, q, tt; local
|
/haiku/src/libs/compat/freebsd_network/ |
H A D | fbsd_ether.c | 96 int bit; in ether_crc32_be() local
|
/haiku/src/system/kernel/arch/arm/ |
H A D | soc_omap3.cpp | 32 uint32 bit = irq % 32, bank = irq / 32; in EnableInterrupt() local 40 uint32 bit = irq % 32, bank = irq / 32; in DisableInterrupt() local
|
/haiku/src/bin/network/ping/ |
H A D | ping.c | 113 #define A(bit) rcvd_tbl[(bit)>>3] /* identify byte in array */ argument 114 #define B(bit) (1 << ((bit) & 0x07)) /* identify bit in byte */ argument 115 #define SET(bit) (A(bit) |= B(bit)) argument 116 #define CLR(bit) (A(bit) &= (~B(bit))) argument 117 #define TST(bit) (A(bit) & B(bit)) argument
|
H A D | ping6.c | 158 #define A(bit) rcvd_tbl[(bit)>>3] /* identify byte in array */ argument 159 #define B(bit) (1 << ((bit) & 0x07)) /* identify bit in byte */ argument 160 #define SET(bit) (A(bit) |= B(bit)) argument 161 #define CLR(bit) (A(bit) &= (~B(bit))) argument 162 #define TST(bit) (A(bit) & B(bit)) argument
|
/haiku/src/system/libroot/posix/glibc/wctype/ |
H A D | wctype.h | 77 # define _ISwbit(bit) (1 << (bit)) argument
|
/haiku/src/system/kernel/platform/atari_m68k/ |
H A D | platform.cpp | 211 uint8 bit = 1 << (irq % 8); in EnableIOInterrupt() local 225 uint8 bit = 1 << (irq % 8); in DisableIOInterrupt() local 239 uint8 bit = 1 << (irq % 8); in AcknowledgeIOInterrupt() local
|
/haiku/src/add-ons/kernel/network/protocols/ipv4/ |
H A D | ipv4_address.cpp | 223 int8 bit = 0; in ipv4_first_mask_bit() local 249 int8 bit = 0; in ipv4_check_mask() local
|
/haiku/src/add-ons/accelerants/nvidia/engine/ |
H A D | nv_i2c.c | 311 uint8 cnt, bit, byte = 0; in i2c_readbyte() local 334 bool bit; in i2c_writebyte() local
|
/haiku/src/system/kernel/slab/ |
H A D | HashedObjectCache.cpp | 24 int bit; in RANGE_MARKER_FUNCTION_BEGIN() local
|
/haiku/src/add-ons/kernel/network/protocols/ipv6/ |
H A D | ipv6_address.cpp | 252 for (uint8 bit = 0; bit < 8; bit++) { in ipv6_first_mask_bit() local 282 for (int8 bit = 7; bit >= 0; bit--) { in ipv6_check_mask() local
|
/haiku/src/add-ons/media/media-add-ons/radeon/ |
H A D | CC.cpp | 79 int bit = 0; in DecodeBits() local 217 for (int bit = 0; bit < 7; bit++) { in Decode() local
|