/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/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/v8/src/ |
D | safepoint-table.cc | 32 int bit_index = reg_index & (kBitsPerByte - 1); in HasRegisterAt() local 33 return (bits_[byte_index] & (1 << bit_index)) != 0; in HasRegisterAt() 183 int bit_index = index & (kBitsPerByte - 1); in Emit() local 184 bits[byte_index] |= (1 << bit_index); in Emit() 192 int bit_index = index & (kBitsPerByte - 1); in Emit() local 193 bits[byte_index] |= (1U << bit_index); in Emit()
|
D | frames.cc | 696 int bit_index = index & (kBitsPerByte - 1); in IterateCompiledFrame() local 697 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/opencv3/modules/flann/include/opencv2/flann/ |
D | lsh_table.h | 395 size_t bit_index = 1; in getKey() local 405 subsignature += (feature_block & lowest_bit) ? bit_index : 0; in getKey() 409 bit_index <<= 1; in getKey()
|
/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 | 1749 int bit_index) { in BooleanBitTest() argument 1750 bit_index += kSmiTagSize + kSmiShiftSize; in BooleanBitTest() 1752 int byte_index = bit_index / kBitsPerByte; in BooleanBitTest() 1753 int byte_bit_index = bit_index & (kBitsPerByte - 1); in BooleanBitTest()
|
D | macro-assembler-x87.h | 625 void BooleanBitTest(Register object, int field_offset, int bit_index);
|
/external/v8/src/ia32/ |
D | macro-assembler-ia32.cc | 1783 int bit_index) { in BooleanBitTest() argument 1784 bit_index += kSmiTagSize + kSmiShiftSize; in BooleanBitTest() 1786 int byte_index = bit_index / kBitsPerByte; in BooleanBitTest() 1787 int byte_bit_index = bit_index & (kBitsPerByte - 1); in BooleanBitTest()
|
D | macro-assembler-ia32.h | 636 void BooleanBitTest(Register object, int field_offset, int bit_index);
|
/external/libpng/contrib/libtests/ |
D | pngvalid.c | 525 png_uint_32 bit_index, result; in sample() local 529 bit_index = x; in sample() 534 bit_index *= 3; in sample() 537 bit_index += x; /* Alpha channel */ in sample() 541 bit_index += sample_index * bit_depth; in sample() 545 row += bit_index >> 3; in sample() 563 bit_index &= 7; in sample() 566 bit_index = 8-bit_index-bit_depth; in sample() 568 return (result >> bit_index) & ((1U<<bit_depth)-1); in sample()
|
/external/v8/src/x64/ |
D | macro-assembler-x64.h | 838 int bit_index);
|