Home
last modified time | relevance | path

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

/external/srtp/crypto/math/
Ddatatypes.c328 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 …]
Dmath.c653 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/
Ddatatypes.h447 #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/srtp/googlepatches/
Dvidyo-3-srtp-ws.patch31 -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/
Dsafepoint-table.cc56 int bit_index = reg_index & (kBitsPerByte - 1); in HasRegisterAt() local
57 return (bits_[byte_index] & (1 << bit_index)) != 0; in HasRegisterAt()
212 int bit_index = index & (kBitsPerByte - 1); in Emit() local
213 bits[byte_index] |= (1 << bit_index); in Emit()
221 int bit_index = index & (kBitsPerByte - 1); in Emit() local
222 bits[byte_index] |= (1U << bit_index); in Emit()
Dframes.cc664 int bit_index = index & (kBitsPerByte - 1); in Iterate() local
665 if ((safepoint_bits[byte_index] & (1U << bit_index)) != 0) { in Iterate()
/external/chromium/net/disk_cache/
Dbitmap.cc219 const int bit_index = *index; in FindNextBit() local
220 if (bit_index >= limit || limit <= 0) in FindNextBit()
224 int word_index = bit_index >> kLogIntBits; in FindNextBit()
230 if (Get(bit_index) == value) in FindNextBit()
233 const int first_bit_offset = bit_index & (kIntBits - 1); in FindNextBit()
/external/clang/test/Analysis/
Dmisc-ps.m1310 unsigned int bit_index;
1311 for (bit_index = 0;
1312 bit_index < 24;
1313 bit_index++) {
1314 switch ((0x01 << bit_index) & bit_mask) {
/external/v8/src/ia32/
Dmacro-assembler-ia32.cc1555 int bit_index) { in BooleanBitTest() argument
1556 bit_index += kSmiTagSize + kSmiShiftSize; in BooleanBitTest()
1558 int byte_index = bit_index / kBitsPerByte; in BooleanBitTest()
1559 int byte_bit_index = bit_index & (kBitsPerByte - 1); in BooleanBitTest()
Dmacro-assembler-ia32.h638 void BooleanBitTest(Register object, int field_offset, int bit_index);
/external/v8/src/x64/
Dmacro-assembler-x64.h776 void TestBit(const Operand& dst, int bit_index);