Home
last modified time | relevance | path

Searched defs:bit (Results 1 – 25 of 487) sorted by relevance

12345678910>>...20

/third_party/libinput/src/
Dutil-bits.h34 #define bit(x_) (1UL << (x_)) macro
45 bit_is_set(const unsigned char *array, int bit) in bit_is_set()
51 set_bit(unsigned char *array, int bit) in set_bit()
57 clear_bit(unsigned char *array, int bit) in clear_bit()
63 long_bit_is_set(const unsigned long *array, int bit) in long_bit_is_set()
69 long_set_bit(unsigned long *array, int bit) in long_set_bit()
75 long_clear_bit(unsigned long *array, int bit) in long_clear_bit()
81 long_set_bit_state(unsigned long *array, int bit, int state) in long_set_bit_state()
/third_party/skia/third_party/externals/angle2/src/common/
Dbitset_utils_unittest.cpp200 for (size_t bit : mStateBits) in TYPED_TEST() local
224 for (size_t bit : mStateBits) in TYPED_TEST() local
239 for (size_t bit : mStateBits) in TYPED_TEST() local
266 for (size_t bit : maskedBits) in TYPED_TEST() local
410 for (auto bit : mBits) in TYPED_TEST() local
487 for (auto bit : testBitSet) in TYPED_TEST() local
493 for (auto bit : testBitSet) in TYPED_TEST() local
501 for (auto bit : testBitSet) in TYPED_TEST() local
519 for (std::size_t bit : bits1) in TYPED_TEST() local
523 for (std::size_t bit : bits2) in TYPED_TEST() local
[all …]
/third_party/ntfs-3g/include/ntfs-3g/
Dsupport.h66 #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
Dbitmap.h54 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()
/third_party/skia/third_party/externals/dawn/src/tests/unittests/
DBitSetIteratorTests.cpp40 for (unsigned long bit : IterateBitSet(mStateBits)) { in TEST_F() local
54 for (unsigned long bit : IterateBitSet(mStateBits)) { in TEST_F() local
77 for (unsigned long bit : IterateBitSet(mStateBits & otherBits)) { in TEST_F() local
108 for (TestEnum bit : IterateBitSet(mStateBits)) { in TEST_F() local
122 for (TestEnum bit : IterateBitSet(mStateBits)) { in TEST_F() local
145 for (TestEnum bit : IterateBitSet(mStateBits & otherBits)) { in TEST_F() local
174 for (IntegerT bit : IterateBitSet(mStateBits)) { in TEST_F() local
188 for (IntegerT bit : IterateBitSet(mStateBits)) { in TEST_F() local
211 for (IntegerT bit : IterateBitSet(mStateBits & otherBits)) { in TEST_F() local
/third_party/lzma/Java/SevenZip/Compression/RangeCoder/
DBitTreeEncoder.java26 int bit = (symbol >>> bitIndex) & 1; in Encode() local
37 int bit = symbol & 1; in ReverseEncode() local
51 int bit = (symbol >>> bitIndex) & 1; in GetPrice() local
64 int bit = symbol & 1; in ReverseGetPrice() local
79 int bit = symbol & 1; in ReverseGetPrice() local
93 int bit = symbol & 1; in ReverseEncode() local
/third_party/openhitls/tls/record/src/
Drec_anti_replay.c35 uint64_t bit = w->top - seq; in RecAntiReplayCheck() local
53 uint64_t bit = w->top - seq; in RecAntiReplayUpdate() local
59 uint64_t bit = seq - w->top; in RecAntiReplayUpdate() local
/third_party/grpc/src/core/util/
Dunique_ptr_with_bitset.h61 void SetBit(size_t bit) { in SetBit()
65 void ClearBit(size_t bit) { in ClearBit()
69 bool TestBit(size_t bit) const { in TestBit()
/third_party/ntfs-3g/libntfs-3g/
Dbitmap.c56 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
/third_party/libevdev/libevdev/
Dlibevdev-util.h43 bit_is_set(const unsigned long *array, int bit) in bit_is_set()
49 set_bit(unsigned long *array, int bit) in set_bit()
55 clear_bit(unsigned long *array, int bit) in clear_bit()
61 set_bit_state(unsigned long *array, int bit, int state) in set_bit_state()
/third_party/mesa3d/src/util/
Dbitscan.c37 int bit = 0; in ffs() local
68 int bit; in ffsll() local
/third_party/mesa3d/src/gallium/auxiliary/util/
Du_bitmask.c169 unsigned bit; in util_bitmask_add() local
208 unsigned bit; in util_bitmask_set() local
234 unsigned bit; in util_bitmask_clear() local
257 const unsigned bit = index % UTIL_BITMASK_BITS_PER_WORD; in util_bitmask_get() local
284 unsigned bit = index % UTIL_BITMASK_BITS_PER_WORD; in util_bitmask_get_next_index() local
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/utils/
Dbitfield.c40 void bitfield_set(struct bitfield *bf, size_t bit) in bitfield_set()
48 void bitfield_clear(struct bitfield *bf, size_t bit) in bitfield_clear()
56 int bitfield_is_set(struct bitfield *bf, size_t bit) in bitfield_is_set()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/utils/
Dbitfield.c40 void bitfield_set(struct bitfield *bf, size_t bit) in bitfield_set()
48 void bitfield_clear(struct bitfield *bf, size_t bit) in bitfield_clear()
56 int bitfield_is_set(struct bitfield *bf, size_t bit) in bitfield_is_set()
/third_party/selinux/libsepol/include/sepol/policydb/
Debitmap.h60 static inline unsigned int ebitmap_next(ebitmap_node_t ** n, unsigned int bit) in ebitmap_next()
70 static inline int ebitmap_node_get_bit(const ebitmap_node_t * n, unsigned int bit) in ebitmap_node_get_bit()
77 #define ebitmap_for_each_bit(e, n, bit) \ argument
80 #define ebitmap_for_each_positive_bit(e, n, bit) \ argument
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DPerStage.h74 uint32_t bit = static_cast<uint32_t>(stageBit); variable
79 uint32_t bit = static_cast<uint32_t>(stageBit); variable
/third_party/mindspore/mindspore-src/source/mindspore/lite/src/litert/
Dweight_decoder.cc219 bool bit = bit_vec[index++]; in SparseDecompress() local
225 bool bit = bit_vec[index++]; in SparseDecompress() local
231 bool bit = bit_vec[index++]; in SparseDecompress() local
242 bool bit = bit_vec[index++]; in SparseDecompress() local
255 bool bit = bit_vec[index++]; in SparseDecompress() local
266 bool bit = bit_vec[index++]; in SparseDecompress() local
326 bool bit = bit_vec[index++]; in IndexingDecompress() local
337 bool bit = bit_vec[index++]; in IndexingDecompress() local
350 bool bit = bit_vec[index++]; in IndexingDecompress() local
/third_party/grpc/third_party/upb/upb/mini_table/internal/
Denum.h31 const uint64_t bit = 1ULL << val; in upb_MiniTableEnum_CheckValue() local
36 const uint32_t bit = 1ULL << (val % 32); in upb_MiniTableEnum_CheckValue() local
/third_party/protobuf/upb/mini_table/internal/
Denum.h31 const uint64_t bit = 1ULL << val; in upb_MiniTableEnum_CheckValue() local
36 const uint32_t bit = 1ULL << (val % 32); in upb_MiniTableEnum_CheckValue() local
/third_party/rust/rust/tests/ui/const-generics/issues/
Dissue-86820.rs12 fn bit<const I: u8>(self) -> bool; in bit() method
16 fn bit<const I: usize>(self) -> bool { in bit() method
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/tools/conversion/eot/
DBitIOWriter.java35 public void writeBit(int bit) { in writeBit()
45 public void writeBit(boolean bit) { in writeBit()
/third_party/ffmpeg/libavcodec/tests/
Dcabac.c62 static void put_cabac(CABACTestContext *c, uint8_t * const state, int bit) in put_cabac()
81 static void put_cabac_bypass(CABACTestContext *c, int bit) in put_cabac_bypass()
104 static int put_cabac_terminate(CABACTestContext *c, int bit) in put_cabac_terminate()
/third_party/ffmpeg/libavfilter/
Dcolorspacedsp.c104 #define init_yuv2rgb_fn(bit) \ in ff_colorspacedsp_init() argument
113 #define init_rgb2yuv_fn(bit) \ in ff_colorspacedsp_init() argument
122 #define init_rgb2yuv_fsb_fn(bit) \ in ff_colorspacedsp_init() argument
/third_party/iptables/extensions/
Dlibebt_ip.c267 const struct ebt_ip_info *info, int bit) in brip_xlate_icmp()
295 const struct ebt_ip_info *info, int bit) in brip_xlate_igmp()
311 const struct ebt_ip_info *info, int bit, in brip_xlate_th()
350 const struct ebt_ip_info *info, int bit) in brip_xlate_nh()
/third_party/bzip2/
Dunzcrash.c64 void flip_bit ( int bit ) in flip_bit()
78 int bit; in main() local

12345678910>>...20