Home
last modified time | relevance | path

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

12345678910>>...19

/third_party/libinput/src/
Dutil-bits.h34 #define bit(x_) (1UL << (x_)) macro
46 bit_is_set(const unsigned char *array, int bit) in bit_is_set()
52 set_bit(unsigned char *array, int bit) in set_bit()
58 clear_bit(unsigned char *array, int bit) in clear_bit()
64 long_bit_is_set(const unsigned long *array, int bit) in long_bit_is_set()
70 long_set_bit(unsigned long *array, int bit) in long_set_bit()
76 long_clear_bit(unsigned long *array, int bit) in long_clear_bit()
82 long_set_bit_state(unsigned long *array, int bit, int state) in long_set_bit_state()
/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/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/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/ltp/tools/sparse/sparse-src/
Dbitmap.h13 unsigned long bit = nr & (BITS_IN_LONG-1); in test_bit() local
20 unsigned long bit = nr & (BITS_IN_LONG-1); in set_bit() local
27 unsigned long bit = nr & (BITS_IN_LONG-1); in clear_bit() local
34 unsigned long bit = nr & (BITS_IN_LONG-1); in test_and_set_bit() local
44 unsigned long bit = nr & (BITS_IN_LONG-1); in test_and_clear_bit() local
/third_party/boost/boost/preprocessor/control/
Diif.hpp18 # define BOOST_PP_IIF(bit, t, f) BOOST_PP_IIF_I(bit, t, f) argument
20 # define BOOST_PP_IIF(bit, t, f) BOOST_PP_IIF_OO((bit, t, f)) argument
25 # define BOOST_PP_IIF_I(bit, t, f) BOOST_PP_IIF_ ## bit(t, f) argument
27 # define BOOST_PP_IIF_I(bit, t, f) BOOST_PP_IIF_II(BOOST_PP_IIF_ ## bit(t, f)) argument
Dexpr_iif.hpp20 # define BOOST_PP_EXPR_IIF(bit, expr) BOOST_PP_EXPR_IIF_I(bit, expr) argument
22 # define BOOST_PP_EXPR_IIF(bit, expr) BOOST_PP_EXPR_IIF_OO((bit, expr)) argument
26 # define BOOST_PP_EXPR_IIF_I(bit, expr) BOOST_PP_EXPR_IIF_ ## bit(expr) argument
/third_party/mindspore/mindspore/lite/src/
Dweight_decoder.cc48 bool bit = bit_vec[index++]; in IndexingDecompress() local
59 bool bit = bit_vec[index++]; in IndexingDecompress() local
72 bool bit = bit_vec[index++]; in IndexingDecompress() local
113 bool bit = bit_vec[index++]; in SparseDecompress() local
119 bool bit = bit_vec[index++]; in SparseDecompress() local
125 bool bit = bit_vec[index++]; in SparseDecompress() local
136 bool bit = bit_vec[index++]; in SparseDecompress() local
149 bool bit = bit_vec[index++]; in SparseDecompress() local
160 bool bit = bit_vec[index++]; in SparseDecompress() local
/third_party/flutter/skia/third_party/externals/sdl/src/video/
DSDL_blit_0.c48 Uint8 byte = 0, bit; in BlitBto1() local
65 Uint8 byte = 0, bit; in BlitBto1() local
103 Uint8 byte = 0, bit; in BlitBto2() local
139 Uint8 byte = 0, bit; in BlitBto3() local
179 Uint8 byte = 0, bit; in BlitBto4() local
214 Uint8 byte = 0, bit; in BlitBto1Key() local
231 Uint8 byte = 0, bit; in BlitBto1Key() local
267 Uint8 byte = 0, bit; in BlitBto2Key() local
301 Uint8 byte = 0, bit; in BlitBto3Key() local
336 Uint8 byte = 0, bit; in BlitBto4Key() local
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/
DBitSetIteratorTests.cpp39 for (unsigned long bit : IterateBitSet(mStateBits)) { in TEST_F() local
53 for (unsigned long bit : IterateBitSet(mStateBits)) { in TEST_F() local
76 for (unsigned long bit : IterateBitSet(mStateBits & otherBits)) { in TEST_F() local
/third_party/mesa3d/src/util/
Dbitscan.c37 int bit = 0; in ffs() local
68 int bit; in ffsll() local
/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.h60 bit_is_set(const unsigned long *array, int bit) in bit_is_set()
66 set_bit(unsigned long *array, int bit) in set_bit()
72 clear_bit(unsigned long *array, int bit) in clear_bit()
78 set_bit_state(unsigned long *array, int bit, int state) in set_bit_state()
/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_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/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/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/boost/libs/safe_numerics/example/
Dexample92.cpp89 struct bit { struct
91 constexpr explicit bit(T & rhs) : in bit() argument
94 constexpr bit & operator=(int b){ in operator =() argument
108 bit<uint8, 7> RD16{T1CON}; argument
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/
DPerStage.h68 uint32_t bit = static_cast<uint32_t>(stageBit); variable
73 uint32_t bit = static_cast<uint32_t>(stageBit); variable
/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/flutter/skia/third_party/externals/libjpeg-turbo/
DBUILDING.md413 #### Xcode 4.2 and earlier (LLVM-GCC)
432 #### Xcode 4.3-4.6 (LLVM-GCC)
438 #### Xcode 5 and later (Clang)
466 #### Xcode 4.5-4.6 (LLVM-GCC)
485 #### Xcode 5 and later (Clang)
/third_party/libjpeg-turbo/
DBUILDING.md422 #### Xcode 4.2 and earlier (LLVM-GCC)
441 #### Xcode 4.3-4.6 (LLVM-GCC)
447 #### Xcode 5 and later (Clang)
475 #### Xcode 4.5-4.6 (LLVM-GCC)
494 #### Xcode 5 and later (Clang)
/third_party/flutter/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/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()

12345678910>>...19