Home
last modified time | relevance | path

Searched refs:bit_mask (Results 1 – 19 of 19) sorted by relevance

/external/autotest/client/common_lib/
Dsmogcheck_pca9555.py120 bit_mask = 0
124 bit_mask = bit_value
126 bit_mask |= 0x20
128 bit_mask |= 0x10
130 return bit_mask
194 bit_mask = self._computeLEDmask(bit_value, failure, warning)
195 write_byte = reset_low6 ^ bit_mask
198 byte_read, reset_low6, bit_mask, write_byte)
/external/e2fsprogs/ext2ed/
Dinodebitmap_com.c137 unsigned char bit_mask=1; in allocate_inode() local
142 bit_mask*=2; in allocate_inode()
143 type_data.u.buffer [byte_offset] |= bit_mask; in allocate_inode()
149 unsigned char bit_mask=1; in deallocate_inode() local
154 bit_mask*=2; in deallocate_inode()
155 bit_mask^=0xff; in deallocate_inode()
157 type_data.u.buffer [byte_offset] &= bit_mask; in deallocate_inode()
Dblockbitmap_com.c177 unsigned char bit_mask=1; in allocate_block() local
183 bit_mask*=2; /* Generate the or mask - 1 at the right place */ in allocate_block()
184 type_data.u.buffer [byte_offset] |= bit_mask; /* And apply it */ in allocate_block()
192 unsigned char bit_mask=1; in deallocate_block() local
197 bit_mask*=2; in deallocate_block()
198 bit_mask^=0xff; in deallocate_block()
200 type_data.u.buffer [byte_offset] &= bit_mask; in deallocate_block()
/external/tensorflow/tensorflow/compiler/xla/client/lib/
Dquantize.h118 uint32 bit_mask = 0x00000000;
120 bit_mask <<= kBitsOfByte;
121 bit_mask |= 0x000000ff;
135 And(shifted_input, xla::ConstantR0<uint32>(builder, bit_mask));
/external/python/cpython2/Demo/classes/
Dbitvec.py61 bit_mask = 1L
66 value = value | bit_mask
67 bit_mask = bit_mask << 1
/external/v8/src/heap/
Dslot-set.h97 uint32_t bit_mask = 1u << bit_index; in Remove() local
98 if (cell & bit_mask) { in Remove()
99 ClearCellBits(&bucket[cell_index], bit_mask); in Remove()
204 uint32_t bit_mask = 1u << bit_offset; in Iterate() local
209 mask |= bit_mask; in Iterate()
211 cell ^= bit_mask; in Iterate()
/external/tensorflow/tensorflow/core/kernels/
Dlookup_table_op.cc408 const int64 bit_mask = num_buckets_ - 1; in Find() local
422 int64 bucket_index = key_hash & bit_mask; in Find()
442 (bucket_index + num_probes) & bit_mask; // quadratic probing in Find()
584 const int64 bit_mask = num_buckets_ - 1; in DoInsert() local
603 int64 bucket_index = key_hash & bit_mask; in DoInsert()
629 (bucket_index + num_probes) & bit_mask; // quadratic probing in DoInsert()
653 const int64 bit_mask = num_buckets_ - 1; in DoRemove() local
666 int64 bucket_index = key_hash & bit_mask; in DoRemove()
682 (bucket_index + num_probes) & bit_mask; // quadratic probing in DoRemove()
/external/swiftshader/third_party/llvm-7.0/llvm/test/DebugInfo/X86/
Ddbg-value-transfer-order.ll9 ; unsigned bit_mask = 1U << bit_offset;
11 ; cell ^= bit_mask + page_start_[slot];
128 !41 = !DILocalVariable(name: "bit_mask", scope: !40, file: !1, line: 8, type: !11)
/external/v8/src/compiler/
Dcommon-operator.h259 InputIterator(BitMaskType bit_mask, Node* parent);
294 explicit SparseInputMask(BitMaskType bit_mask) : bit_mask_(bit_mask) {} in SparseInputMask() argument
Dint64-lowering.cc727 Node* bit_mask = in LowerNode() local
763 graph()->NewNode(machine()->Word32And(), rotate_low, bit_mask), in LowerNode()
768 graph()->NewNode(machine()->Word32And(), rotate_high, bit_mask), in LowerNode()
Dcommon-operator.cc252 SparseInputMask::BitMaskType bit_mask, Node* parent) in InputIterator() argument
253 : bit_mask_(bit_mask), parent_(parent), real_index_(0) { in InputIterator()
Dsimd-scalar-lowering.cc1498 const int bit_mask = (1 << bit_size) - 1; in SmallerIntToInt32() local
1506 mcgraph_->Int32Constant(bit_mask)); in SmallerIntToInt32()
/external/libhevc/decoder/
Dihevcd_process_slice.c118 WORD32 bit_mask = (1 << bit_pos); in ihevcd_proc_map_check() local
145 status = *pu1_buf & bit_mask; in ihevcd_proc_map_check()
160 status = *pu1_buf & bit_mask; in ihevcd_proc_map_check()
169 status = *pu1_buf & bit_mask; in ihevcd_proc_map_check()
201 WORD32 bit_mask = (1 << bit_pos); in ihevcd_proc_map_update() local
214 *pu1_buf = *pu1_buf | bit_mask; in ihevcd_proc_map_update()
/external/u-boot/arch/arm/cpu/armv7/bcm281xx/
Dclk-core.c57 u32 bit_mask = 1 << bit; in wait_bit() local
64 bit_val = (val & bit_mask) ? 1 : 0; in wait_bit()
/external/u-boot/arch/arm/cpu/armv7/bcm235xx/
Dclk-core.c57 u32 bit_mask = 1 << bit; in wait_bit() local
64 bit_val = (val & bit_mask) ? 1 : 0; in wait_bit()
/external/webp/src/dsp/
Dlossless.c346 const uint32_t bit_mask = (1 << bits_per_pixel) - 1; \
356 *dst++ = GET_VALUE(color_map[packed_pixels & bit_mask]); \
/external/u-boot/drivers/usb/musb/
Dmusb_hcd.c115 static int wait_until_ep0_ready(struct usb_device *dev, u32 bit_mask) in wait_until_ep0_ready() argument
131 switch (bit_mask) { in wait_until_ep0_ready()
/external/clang/test/Analysis/
Dmisc-ps.m1295 static void test(unsigned int bit_mask)
1301 switch ((0x01 << bit_index) & bit_mask) {
/external/mesa3d/src/intel/compiler/
Dbrw_fs.cpp891 bit_mask(unsigned n) in bit_mask() function
893 return (n >= CHAR_BIT * sizeof(bit_mask(n)) ? ~0u : (1u << n) - 1); in bit_mask()
902 return bit_mask(end) & ~bit_mask(start); in flag_mask()