Home
last modified time | relevance | path

Searched refs:bit_mask (Results 1 – 25 of 25) 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/
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()
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()
/external/cpuinfo/src/x86/linux/
Dinit.c14 static inline uint32_t bit_mask(uint32_t bits) { in bit_mask() function
63 ~(bit_mask(processor->topology.thread_bits_length) << processor->topology.thread_bits_offset); in cpuinfo_x86_count_objects()
65 …core_apic_mask & ~(bit_mask(processor->topology.core_bits_length) << processor->topology.core_bits… in cpuinfo_x86_count_objects()
66 const uint32_t llc_apic_mask = ~bit_mask(llc_apic_bits); in cpuinfo_x86_count_objects()
98 const uint32_t l1i_id = apic_id & ~bit_mask(processor->cache.l1i.apic_bits); in cpuinfo_x86_count_objects()
105 const uint32_t l1d_id = apic_id & ~bit_mask(processor->cache.l1d.apic_bits); in cpuinfo_x86_count_objects()
112 const uint32_t l2_id = apic_id & ~bit_mask(processor->cache.l2.apic_bits); in cpuinfo_x86_count_objects()
119 const uint32_t l3_id = apic_id & ~bit_mask(processor->cache.l3.apic_bits); in cpuinfo_x86_count_objects()
126 const uint32_t l4_id = apic_id & ~bit_mask(processor->cache.l4.apic_bits); in cpuinfo_x86_count_objects()
343 …~(bit_mask(x86_processor.topology.thread_bits_length) << x86_processor.topology.thread_bits_offset… in cpuinfo_x86_linux_init()
[all …]
/external/cpuinfo/src/x86/windows/
Dinit.c13 static inline uint32_t bit_mask(uint32_t bits) { in bit_mask() function
49 const uint32_t l1i_id = apic_id & ~bit_mask(x86_processor->cache.l1i.apic_bits); in cpuinfo_x86_count_caches()
56 const uint32_t l1d_id = apic_id & ~bit_mask(x86_processor->cache.l1d.apic_bits); in cpuinfo_x86_count_caches()
63 const uint32_t l2_id = apic_id & ~bit_mask(x86_processor->cache.l2.apic_bits); in cpuinfo_x86_count_caches()
70 const uint32_t l3_id = apic_id & ~bit_mask(x86_processor->cache.l3.apic_bits); in cpuinfo_x86_count_caches()
77 const uint32_t l4_id = apic_id & ~bit_mask(x86_processor->cache.l4.apic_bits); in cpuinfo_x86_count_caches()
111 const uint32_t thread_bits_mask = bit_mask(x86_processor.topology.thread_bits_length); in cpuinfo_x86_windows_init()
112 const uint32_t core_bits_mask = bit_mask(x86_processor.topology.core_bits_length); in cpuinfo_x86_windows_init()
424 const uint32_t l1i_id = apic_id & ~bit_mask(x86_processor.cache.l1i.apic_bits); in cpuinfo_x86_windows_init()
449 const uint32_t l1d_id = apic_id & ~bit_mask(x86_processor.cache.l1d.apic_bits); in cpuinfo_x86_windows_init()
[all …]
/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.h244 uint32_t bit_mask = 1u << bit_index; in Remove() local
245 if (cell & bit_mask) { in Remove()
246 bucket->ClearCellBits(cell_index, bit_mask); in Remove()
486 uint32_t bit_mask = 1u << bit_offset; in Iterate() local
491 mask |= bit_mask; in Iterate()
493 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()
Dnon_max_suppression_op.cu.cc123 __device__ EIGEN_STRONG_INLINE bool CheckBit(T* bit_mask, int bit) { in CheckBit() argument
127 return (bit_mask[bin] >> (bit & kRemainderMask)) & 1; in CheckBit()
/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/cpuinfo/src/x86/mach/
Dinit.c16 static inline uint32_t bit_mask(uint32_t bits) { in bit_mask() function
105 const uint32_t thread_bits_mask = bit_mask(x86_processor.topology.thread_bits_length); in cpuinfo_x86_mach_init()
106 const uint32_t core_bits_mask = bit_mask(x86_processor.topology.core_bits_length); in cpuinfo_x86_mach_init()
/external/v8/src/compiler/
Dcommon-operator.h265 InputIterator(BitMaskType bit_mask, Node* parent);
305 explicit SparseInputMask(BitMaskType bit_mask) : bit_mask_(bit_mask) {} in SparseInputMask() argument
Dsimd-scalar-lowering.cc2255 const int bit_mask = num_lanes == 16 ? kMask8 : kMask16; in LowerNode() local
2258 mcgraph_->Int32Constant(bit_mask)); in LowerNode()
2261 mcgraph_->Int32Constant(bit_mask)); in LowerNode()
2424 const int bit_mask = (1 << bit_size) - 1; in SmallerIntToInt32() local
2432 mcgraph_->Int32Constant(bit_mask)); in SmallerIntToInt32()
Dint64-lowering.cc745 Node* bit_mask = in LowerNode() local
780 auto* mask1 = bit_mask; in LowerNode()
Dcommon-operator.cc265 SparseInputMask::BitMaskType bit_mask, Node* parent) in InputIterator() argument
266 : bit_mask_(bit_mask), parent_(parent), real_index_(0) { in InputIterator()
/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/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/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/webp/src/dsp/
Dlossless.c351 const uint32_t bit_mask = (1 << bits_per_pixel) - 1; \
361 *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/compiler/nir/
Dnir_serialize.c1241 unsigned bit_mask = u_bit_consecutive(0, bit_size); in read_intrinsic() local
1245 bit_mask; in read_intrinsic()
/external/mesa3d/src/intel/compiler/
Dbrw_fs.cpp1074 bit_mask(unsigned n) in bit_mask() function
1076 return (n >= CHAR_BIT * sizeof(bit_mask(n)) ? ~0u : (1u << n) - 1); in bit_mask()
1085 return bit_mask(end) & ~bit_mask(start); in flag_mask()
/external/cpuinfo/test/dmesg/
Dgalaxy-s7-us.log1491 [ 1.490842] [2: kworker/2:0: 17] qusb_phy_get_tune2_param(): bit_mask:15 efuse based tune2…