Searched defs:bit_index (Results 1 - 16 of 16) sorted by relevance

/external/chromium_org/components/rappor/
H A Dbloom_filter.cc34 uint32_t bit_index = index % 8; local
35 bytes_[byte_index] |= 1 << bit_index;
/external/tinyalsa/
H A Dtinypcminfo.c92 /* Returns a human readable name for the format associated with bit_index,
93 * NULL if bit_index is not known.
95 inline const char *pcm_get_format_name(unsigned bit_index) argument
97 return bit_index < ARRAY_SIZE(format_lookup) ? format_lookup[bit_index] : NULL;
/external/lldb/examples/summaries/cocoa/
H A DCFBitVector.py20 def bit_index(abs_pos): function
97 bit = get_bit(cur_byte_val,bit_index(i))
/external/lldb/source/DataFormatters/
H A DLibCxx.cpp58 size_t bit_index = (idx & 7); // efficient idx % 8 for bit index local
69 switch (bit_index)
H A DLibStdcpp.cpp57 size_t bit_index = (idx & 7); // efficient idx % 8 for bit index local
68 switch (bit_index)
/external/chromium_org/net/disk_cache/blockfile/
H A Dbitmap.cc219 const int bit_index = *index; local
220 if (bit_index >= limit || limit <= 0)
224 int word_index = bit_index >> kLogIntBits;
230 if (Get(bit_index) == value)
233 const int first_bit_offset = bit_index & (kIntBits - 1);
/external/chromium_org/v8/src/
H A Dsafepoint-table.cc34 int bit_index = reg_index & (kBitsPerByte - 1); local
35 return (bits_[byte_index] & (1 << bit_index)) != 0;
184 int bit_index = index & (kBitsPerByte - 1); local
185 bits[byte_index] |= (1 << bit_index);
193 int bit_index = index & (kBitsPerByte - 1); local
194 bits[byte_index] |= (1U << bit_index);
H A Dframes.cc670 int bit_index = index & (kBitsPerByte - 1); local
671 if ((safepoint_bits[byte_index] & (1U << bit_index)) != 0) {
/external/chromium_org/third_party/libsrtp/srtp/crypto/math/
H A Ddatatypes.c328 const int bit_index = shift & 31; local
337 if (bit_index == 0) {
349 b = x->v32[from] << bit_index;
351 b |= x->v32[from-1] >> (32-bit_index);
367 const int bit_index = shift & 31; local
374 if (bit_index == 0) {
379 x->v32[i] = (x->v32[i+base_index] >> bit_index) ^
380 (x->v32[i+base_index+1] << (32 - bit_index));
381 x->v32[4 - base_index-1] = x->v32[4-1] >> bit_index;
395 bitvector_get_bit(const bitvector_t *v, int bit_index) argument
401 bitvector_set_bit(bitvector_t *v, int bit_index) argument
407 bitvector_clear_bit(bitvector_t *v, int bit_index) argument
484 const int bit_index = shift & 31; local
[all...]
H A Dmath.c653 const int bit_index = index & 31; local
662 if (bit_index == 0) {
674 b = x->v32[from] << bit_index;
676 b |= x->v32[from-1] >> (32-bit_index);
692 const int bit_index = index & 31; local
699 if (bit_index == 0) {
704 x->v32[i] = (x->v32[i+base_index] << bit_index) ^
705 (x->v32[i+base_index+1] >> (32 - bit_index));
706 x->v32[4 - base_index-1] = x->v32[4-1] << bit_index;
/external/protobuf/src/google/protobuf/compiler/javanano/
H A Djavanano_helpers.cc510 string GetBitFieldNameForBit(int bit_index) { argument
511 return GetBitFieldName(bit_index / 32);
514 string GenerateGetBit(int bit_index) { argument
515 string var_name = GetBitFieldNameForBit(bit_index);
516 int bit_in_var_index = bit_index % 32;
523 string GenerateSetBit(int bit_index) { argument
524 string var_name = GetBitFieldNameForBit(bit_index);
525 int bit_in_var_index = bit_index % 32;
532 string GenerateClearBit(int bit_index) { argument
533 string var_name = GetBitFieldNameForBit(bit_index);
541 GenerateDifferentBit(int bit_index) argument
[all...]
/external/srtp/crypto/math/
H A Ddatatypes.c328 const int bit_index = index & 31; local
337 if (bit_index == 0) {
349 b = x->v32[from] << bit_index;
351 b |= x->v32[from-1] >> (32-bit_index);
367 const int bit_index = index & 31; local
374 if (bit_index == 0) {
379 x->v32[i] = (x->v32[i+base_index] >> bit_index) ^
380 (x->v32[i+base_index+1] << (32 - bit_index));
381 x->v32[4 - base_index-1] = x->v32[4-1] >> bit_index;
395 bitvector_get_bit(const bitvector_t *v, int bit_index) argument
401 bitvector_set_bit(bitvector_t *v, int bit_index) argument
407 bitvector_clear_bit(bitvector_t *v, int bit_index) argument
484 const int bit_index = index & 31; local
[all...]
H A Dmath.c653 const int bit_index = index & 31; local
662 if (bit_index == 0) {
674 b = x->v32[from] << bit_index;
676 b |= x->v32[from-1] >> (32-bit_index);
692 const int bit_index = index & 31; local
699 if (bit_index == 0) {
704 x->v32[i] = (x->v32[i+base_index] << bit_index) ^
705 (x->v32[i+base_index+1] >> (32 - bit_index));
706 x->v32[4 - base_index-1] = x->v32[4-1] << bit_index;
/external/chromium_org/v8/src/ia32/
H A Dmacro-assembler-ia32.cc1898 int bit_index) {
1899 bit_index += kSmiTagSize + kSmiShiftSize;
1901 int byte_index = bit_index / kBitsPerByte;
1902 int byte_bit_index = bit_index & (kBitsPerByte - 1);
1896 BooleanBitTest(Register object, int field_offset, int bit_index) argument
/external/chromium_org/v8/src/x87/
H A Dmacro-assembler-x87.cc1861 int bit_index) {
1862 bit_index += kSmiTagSize + kSmiShiftSize;
1864 int byte_index = bit_index / kBitsPerByte;
1865 int byte_bit_index = bit_index & (kBitsPerByte - 1);
1859 BooleanBitTest(Register object, int field_offset, int bit_index) argument
/external/libpng/contrib/libtests/
H A Dpngvalid.c428 png_uint_32 bit_index, result; local
432 bit_index = x;
437 bit_index *= 3;
440 bit_index += x; /* Alpha channel */
444 bit_index += sample_index * bit_depth;
448 row += bit_index >> 3;
458 bit_index &= 7;
459 return (result >> (8-bit_index-bit_depth)) & ((1U<<bit_depth)-1);

Completed in 4734 milliseconds