Home
last modified time | relevance | path

Searched refs:bit_index (Results 1 – 14 of 14) sorted by relevance

/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_helpers.cc528 string GetBitFieldNameForBit(int bit_index) { in GetBitFieldNameForBit() argument
529 return GetBitFieldName(bit_index / 32); in GetBitFieldNameForBit()
532 string GenerateGetBit(int bit_index) { in GenerateGetBit() argument
533 string var_name = GetBitFieldNameForBit(bit_index); in GenerateGetBit()
534 int bit_in_var_index = bit_index % 32; in GenerateGetBit()
541 string GenerateSetBit(int bit_index) { in GenerateSetBit() argument
542 string var_name = GetBitFieldNameForBit(bit_index); in GenerateSetBit()
543 int bit_in_var_index = bit_index % 32; in GenerateSetBit()
550 string GenerateClearBit(int bit_index) { in GenerateClearBit() argument
551 string var_name = GetBitFieldNameForBit(bit_index); in GenerateClearBit()
[all …]
Djavanano_helpers.h157 string GetBitFieldNameForBit(int bit_index);
162 string GenerateGetBit(int bit_index);
167 string GenerateSetBit(int bit_index);
172 string GenerateClearBit(int bit_index);
178 string GenerateDifferentBit(int bit_index);
/external/v8/src/heap/
Dslot-set.h60 int bucket_index, cell_index, bit_index; in Insert() local
61 SlotToIndices(slot_offset, &bucket_index, &cell_index, &bit_index); in Insert()
74 uint32_t mask = 1u << bit_index; in Insert()
83 int bucket_index, cell_index, bit_index; in Contains() local
84 SlotToIndices(slot_offset, &bucket_index, &cell_index, &bit_index); in Contains()
87 return (LoadCell(&bucket[cell_index]) & (1u << bit_index)) != 0; in Contains()
92 int bucket_index, cell_index, bit_index; in Remove() local
93 SlotToIndices(slot_offset, &bucket_index, &cell_index, &bit_index); in Remove()
97 uint32_t bit_mask = 1u << bit_index; in Remove()
172 int bucket_index, cell_index, bit_index; in Lookup() local
[all …]
/external/v8/src/
Dsafepoint-table.cc33 int bit_index = reg_index & (kBitsPerByte - 1); in HasRegisterAt() local
34 return (bits_[byte_index] & (1 << bit_index)) != 0; in HasRegisterAt()
214 int bit_index = index & (kBitsPerByte - 1); in Emit() local
215 bits[byte_index] |= (1 << bit_index); in Emit()
223 int bit_index = index & (kBitsPerByte - 1); in Emit() local
224 bits[byte_index] |= (1U << bit_index); in Emit()
Dframes.cc949 int bit_index = index & (kBitsPerByte - 1); in IterateCompiledFrame() local
950 if ((safepoint_bits[byte_index] & (1U << bit_index)) != 0) { in IterateCompiledFrame()
/external/tinyalsa/
Dtinypcminfo.c95 static inline const char *pcm_get_format_name(unsigned bit_index) in pcm_get_format_name() argument
97 return bit_index < ARRAY_SIZE(format_lookup) ? format_lookup[bit_index] : NULL; in pcm_get_format_name()
/external/blktrace/iowatcher/
Dplot.c197 int bit_index; in set_gdd_bit() local
214 bit_index = row_int * gdd->cols + col_int; in set_gdd_bit()
215 arr_index = bit_index / 8; in set_gdd_bit()
216 bit_mod = bit_index % 8; in set_gdd_bit()
987 int bit_index; in svg_io_graph_movie() local
998 bit_index = row * gdd->cols + col; in svg_io_graph_movie()
999 arr_index = bit_index / 8; in svg_io_graph_movie()
1000 bit_mod = bit_index % 8; in svg_io_graph_movie()
1026 int bit_index; in svg_io_graph() local
1031 bit_index = row * gdd->cols + col; in svg_io_graph()
[all …]
/external/compiler-rt/lib/tsan/rtl/
Dtsan_interceptors_mac.cc126 char bit_index = n & 7; \
137 0x80u >> bit_index)
139 ~(0x80u >> bit_index))
/external/u-boot/drivers/clk/
Dclk_stm32f.c603 u32 bit_index = clk->id % 32; in stm32_clk_enable() local
606 __func__, clk->id, offset, bit_index); in stm32_clk_enable()
607 setbits_le32(&regs->ahb1enr + offset, BIT(bit_index)); in stm32_clk_enable()
/external/mesa3d/src/gallium/drivers/radeon/
Dradeon_vcn_enc_1_2.c485 unsigned int bit_index = 0; in radeon_enc_slice_header() local
499 bit_index ++; in radeon_enc_slice_header()
562 bit_index ++; in radeon_enc_slice_header()
579 bit_index ++; in radeon_enc_slice_header()
587 for (int i = bit_index; i < RENCODE_SLICE_HEADER_TEMPLATE_MAX_TEMPLATE_SIZE_IN_DWORDS; i++) in radeon_enc_slice_header()
/external/mesa3d/src/mesa/main/
Dtexcompress_bptc.c325 int bit_index = offset % 8; in extract_bits() local
326 int n_bits_in_byte = MIN2(n_bits, 8 - bit_index); in extract_bits()
331 result |= ((block[byte_index] >> bit_index) & in extract_bits()
341 bit_index = 0; in extract_bits()
/external/clang/test/Analysis/
Dmisc-ps.m1297 unsigned int bit_index;
1298 for (bit_index = 0;
1299 bit_index < 24;
1300 bit_index++) {
1301 switch ((0x01 << bit_index) & bit_mask) {
/external/epid-sdk/epid/common/math/src/
Dpairing.c105 static int Bit(Ipp32u const* num, Ipp32u bit_index);
1533 static int Bit(Ipp32u const* num, Ipp32u bit_index) { in Bit() argument
1534 return 0 != (num[bit_index >> 5] & (1 << (bit_index & 0x1F))); in Bit()
/external/libpng/contrib/libtests/
Dpngvalid.c522 png_uint_32 bit_index, result; in sample() local
526 bit_index = x; in sample()
531 bit_index *= 3; in sample()
534 bit_index += x; /* Alpha channel */ in sample()
538 bit_index += sample_index * bit_depth; in sample()
542 row += bit_index >> 3; in sample()
560 bit_index &= 7; in sample()
563 bit_index = 8-bit_index-bit_depth; in sample()
565 return (result >> bit_index) & ((1U<<bit_depth)-1); in sample()