/external/srtp/crypto/math/ |
D | datatypes.c | 328 const int bit_index = index & 31; in v128_right_shift() local 337 if (bit_index == 0) { in v128_right_shift() 349 b = x->v32[from] << bit_index; in v128_right_shift() 351 b |= x->v32[from-1] >> (32-bit_index); in v128_right_shift() 367 const int bit_index = index & 31; in v128_left_shift() local 374 if (bit_index == 0) { in v128_left_shift() 379 x->v32[i] = (x->v32[i+base_index] >> bit_index) ^ in v128_left_shift() 380 (x->v32[i+base_index+1] << (32 - bit_index)); in v128_left_shift() 381 x->v32[4 - base_index-1] = x->v32[4-1] >> bit_index; in v128_left_shift() 395 bitvector_get_bit(const bitvector_t *v, int bit_index) in bitvector_get_bit() argument [all …]
|
D | math.c | 653 const int bit_index = index & 31; in v128_right_shift() local 662 if (bit_index == 0) { in v128_right_shift() 674 b = x->v32[from] << bit_index; in v128_right_shift() 676 b |= x->v32[from-1] >> (32-bit_index); in v128_right_shift() 692 const int bit_index = index & 31; in v128_left_shift() local 699 if (bit_index == 0) { in v128_left_shift() 704 x->v32[i] = (x->v32[i+base_index] << bit_index) ^ in v128_left_shift() 705 (x->v32[i+base_index+1] >> (32 - bit_index)); in v128_left_shift() 706 x->v32[4 - base_index-1] = x->v32[4-1] << bit_index; in v128_left_shift()
|
/external/srtp/crypto/include/ |
D | datatypes.h | 447 #define _bitvector_get_bit(v, bit_index) \ argument 449 ((((v)->word[((bit_index) >> 5)]) >> ((bit_index) & 31)) & 1) \ 453 #define _bitvector_set_bit(v, bit_index) \ argument 455 (((v)->word[((bit_index) >> 5)] |= ((uint32_t)1 << ((bit_index) & 31)))) \ 458 #define _bitvector_clear_bit(v, bit_index) \ argument 460 (((v)->word[((bit_index) >> 5)] &= ~((uint32_t)1 << ((bit_index) & 31)))) \ 470 #define bitvector_get_bit(v, bit_index) _bitvector_get_bit(v, bit_index) argument 471 #define bitvector_set_bit(v, bit_index) _bitvector_set_bit(v, bit_index) argument 472 #define bitvector_clear_bit(v, bit_index) _bitvector_clear_bit(v, bit_index) argument 478 bitvector_get_bit(const bitvector_t *v, int bit_index); [all …]
|
/external/openfst/src/extensions/ngram/ |
D | bitmap-index.cc | 72 size_t BitmapIndex::Select1(size_t bit_index) const { in Select1() 73 if (bit_index >= GetOnesCount()) return Bits(); in Select1() 75 uint32 rembits = bit_index + 1; in Select1() 76 const uint32 block = find_primary_block(bit_index + 1); in Select1() 92 size_t BitmapIndex::Select0(size_t bit_index) const { in Select0() 93 if (bit_index >= Bits() - GetOnesCount()) return Bits(); in Select0() 95 uint32 remzeros = bit_index + 1; in Select0() 97 const uint32 block = find_inverted_primary_block(bit_index + 1); in Select0() 175 inline size_t BitmapIndex::find_primary_block(size_t bit_index) const { in find_primary_block() 178 primary_index_.end(), bit_index)); in find_primary_block() [all …]
|
/external/protobuf/src/google/protobuf/compiler/javanano/ |
D | javanano_helpers.cc | 514 string GetBitFieldNameForBit(int bit_index) { in GetBitFieldNameForBit() argument 515 return GetBitFieldName(bit_index / 32); in GetBitFieldNameForBit() 518 string GenerateGetBit(int bit_index) { in GenerateGetBit() argument 519 string var_name = GetBitFieldNameForBit(bit_index); in GenerateGetBit() 520 int bit_in_var_index = bit_index % 32; in GenerateGetBit() 527 string GenerateSetBit(int bit_index) { in GenerateSetBit() argument 528 string var_name = GetBitFieldNameForBit(bit_index); in GenerateSetBit() 529 int bit_in_var_index = bit_index % 32; in GenerateSetBit() 536 string GenerateClearBit(int bit_index) { in GenerateClearBit() argument 537 string var_name = GetBitFieldNameForBit(bit_index); in GenerateClearBit() [all …]
|
D | javanano_helpers.h | 155 string GetBitFieldNameForBit(int bit_index); 160 string GenerateGetBit(int bit_index); 165 string GenerateSetBit(int bit_index); 170 string GenerateClearBit(int bit_index); 176 string GenerateDifferentBit(int bit_index);
|
/external/srtp/googlepatches/ |
D | vidyo-3-srtp-ws.patch | 31 -bitvector_set_bit(bitvector_t *v, int bit_index); 34 -bitvector_get_bit(const bitvector_t *v, int bit_index); 72 +#define _bitvector_get_bit(v, bit_index) \ 74 + ((((v)->word[((bit_index) >> 5)]) >> ((bit_index) & 31)) & 1) \ 78 +#define _bitvector_set_bit(v, bit_index) \ 80 + (((v)->word[((bit_index) >> 5)] |= ((uint32_t)1 << ((bit_index) & 31)))) \ 83 +#define _bitvector_clear_bit(v, bit_index) \ 85 + (((v)->word[((bit_index) >> 5)] &= ~((uint32_t)1 << ((bit_index) & 31)))) \ 95 +#define bitvector_get_bit(v, bit_index) _bitvector_get_bit(v, bit_index) 96 +#define bitvector_set_bit(v, bit_index) _bitvector_set_bit(v, bit_index) [all …]
|
/external/openfst/src/include/fst/extensions/ngram/ |
D | bitmap-index.h | 106 size_t Select1(size_t bit_index) const; 110 size_t Select0(size_t bit_index) const; 142 size_t find_primary_block(size_t bit_index) const; 144 size_t find_inverted_primary_block(size_t bit_index) const;
|
/external/v8/src/ |
D | safepoint-table.cc | 34 int bit_index = reg_index & (kBitsPerByte - 1); in HasRegisterAt() local 35 return (bits_[byte_index] & (1 << bit_index)) != 0; in HasRegisterAt() 184 int bit_index = index & (kBitsPerByte - 1); in Emit() local 185 bits[byte_index] |= (1 << bit_index); in Emit() 193 int bit_index = index & (kBitsPerByte - 1); in Emit() local 194 bits[byte_index] |= (1U << bit_index); in Emit()
|
D | frames.cc | 670 int bit_index = index & (kBitsPerByte - 1); in IterateCompiledFrame() local 671 if ((safepoint_bits[byte_index] & (1U << bit_index)) != 0) { in IterateCompiledFrame()
|
/external/tinyalsa/ |
D | tinypcminfo.c | 95 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/lldb/examples/summaries/cocoa/ |
D | CFBitVector.py | 20 def bit_index(abs_pos): function 97 bit = get_bit(cur_byte_val,bit_index(i))
|
/external/lldb/source/DataFormatters/ |
D | LibStdcpp.cpp | 57 size_t bit_index = (idx & 7); // efficient idx % 8 for bit index in GetChildAtIndex() local 68 switch (bit_index) in GetChildAtIndex()
|
D | LibCxx.cpp | 58 size_t bit_index = (idx & 7); // efficient idx % 8 for bit index in GetChildAtIndex() local 69 switch (bit_index) in GetChildAtIndex()
|
/external/clang/test/Analysis/ |
D | misc-ps.m | 1297 unsigned int bit_index; 1298 for (bit_index = 0; 1299 bit_index < 24; 1300 bit_index++) { 1301 switch ((0x01 << bit_index) & bit_mask) {
|
/external/v8/src/x87/ |
D | macro-assembler-x87.cc | 1861 int bit_index) { in BooleanBitTest() argument 1862 bit_index += kSmiTagSize + kSmiShiftSize; in BooleanBitTest() 1864 int byte_index = bit_index / kBitsPerByte; in BooleanBitTest() 1865 int byte_bit_index = bit_index & (kBitsPerByte - 1); in BooleanBitTest()
|
D | macro-assembler-x87.h | 673 void BooleanBitTest(Register object, int field_offset, int bit_index);
|
/external/libpng/contrib/libtests/ |
D | pngvalid.c | 478 png_uint_32 bit_index, result; in sample() local 482 bit_index = x; in sample() 487 bit_index *= 3; in sample() 490 bit_index += x; /* Alpha channel */ in sample() 494 bit_index += sample_index * bit_depth; in sample() 498 row += bit_index >> 3; in sample() 516 bit_index &= 7; in sample() 519 bit_index = 8-bit_index-bit_depth; in sample() 521 return (result >> bit_index) & ((1U<<bit_depth)-1); in sample()
|
/external/v8/src/ia32/ |
D | macro-assembler-ia32.cc | 1898 int bit_index) { in BooleanBitTest() argument 1899 bit_index += kSmiTagSize + kSmiShiftSize; in BooleanBitTest() 1901 int byte_index = bit_index / kBitsPerByte; in BooleanBitTest() 1902 int byte_bit_index = bit_index & (kBitsPerByte - 1); in BooleanBitTest()
|
D | macro-assembler-ia32.h | 703 void BooleanBitTest(Register object, int field_offset, int bit_index);
|
/external/v8/src/x64/ |
D | macro-assembler-x64.h | 829 int bit_index);
|