/external/chromium_org/media/base/ |
bit_reader_unittest.cc | 11 static void SetBit(uint8* buf, size_t size, size_t bit_pos) { 12 size_t byte_pos = bit_pos / 8; 13 bit_pos -= byte_pos * 8; 15 buf[byte_pos] |= (1 << (7 - bit_pos));
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
texcompress_rgtc_tmp.h | 39 const char bit_pos = ((j&3) * 4 + (i&3)) * 3; local 40 const TYPE acodelow = blksrc[2 + bit_pos / 8]; 41 const TYPE acodehigh = (3 + bit_pos / 8) < 8 ? blksrc[3 + bit_pos / 8] : 0; 42 const TYPE code = (acodelow >> (bit_pos & 0x7) | 43 (acodehigh << (8 - (bit_pos & 0x7)))) & 0x7;
|
/external/mesa3d/src/mesa/main/ |
texcompress_rgtc_tmp.h | 39 const char bit_pos = ((j&3) * 4 + (i&3)) * 3; local 40 const TYPE acodelow = blksrc[2 + bit_pos / 8]; 41 const TYPE acodehigh = (3 + bit_pos / 8) < 8 ? blksrc[3 + bit_pos / 8] : 0; 42 const TYPE code = (acodelow >> (bit_pos & 0x7) | 43 (acodehigh << (8 - (bit_pos & 0x7)))) & 0x7;
|
/external/pdfium/core/src/fxcrt/ |
fx_basic_buffer.cpp | 421 FX_DWORD bit_pos = m_BitPos % 8, bit_left = nBits;
local 423 if (bit_pos) {
424 if (8 - bit_pos >= bit_left) {
425 result = (m_pData[byte_pos] & (0xff >> bit_pos)) >> (8 - bit_pos - bit_left);
429 bit_left -= 8 - bit_pos;
430 result = (m_pData[byte_pos++] & ((1 << (8 - bit_pos)) - 1)) << bit_left;
|
/external/libhevc/decoder/ |
ihevcd_process_slice.c | 117 WORD32 bit_pos = proc_type; local 118 WORD32 bit_mask = (1 << bit_pos); 199 WORD32 bit_pos = proc_type; local 200 WORD32 bit_mask = (1 << bit_pos); 1041 WORD32 bit_pos = ((ps_proc->i4_ctb_y << (log2_ctb_size - 3)) - 1) * loop_filter_strd + (ps_proc->i4_ctb_x << (log2_ctb_size - 3)) - 1; local [all...] |
/external/vixl/src/a64/ |
assembler-a64.h | 715 void tbz(const Register& rt, unsigned bit_pos, Label* label); 718 void tbz(const Register& rt, unsigned bit_pos, int imm14); 721 void tbnz(const Register& rt, unsigned bit_pos, Label* label); 724 void tbnz(const Register& rt, unsigned bit_pos, int imm14); [all...] |
assembler-a64.cc | 504 unsigned bit_pos, 506 VIXL_ASSERT(rt.Is64Bits() || (rt.Is32Bits() && (bit_pos < kWRegSize))); 507 Emit(TBZ | ImmTestBranchBit(bit_pos) | ImmTestBranch(imm14) | Rt(rt)); 512 unsigned bit_pos, 514 tbz(rt, bit_pos, UpdateAndGetInstructionOffsetTo(label)); 519 unsigned bit_pos, 521 VIXL_ASSERT(rt.Is64Bits() || (rt.Is32Bits() && (bit_pos < kWRegSize))); 522 Emit(TBNZ | ImmTestBranchBit(bit_pos) | ImmTestBranch(imm14) | Rt(rt)); 527 unsigned bit_pos, 529 tbnz(rt, bit_pos, UpdateAndGetInstructionOffsetTo(label)) [all...] |
macro-assembler-a64.h | [all...] |
simulator-a64.cc | 557 unsigned bit_pos = (instr->ImmTestBranchBit5() << 5) | 559 bool bit_zero = ((xreg(instr->Rt()) >> bit_pos) & 1) == 0; [all...] |
/external/lldb/include/lldb/Core/ |
Scalar.h | 58 SignExtend (uint32_t bit_pos);
|
/external/pdfium/core/src/fxcodec/codec/ |
fx_codec_flate.cpp | 144 int bit_pos = m_InPos % 8, bit_left = m_CodeLen;
local 146 if (bit_pos) {
147 bit_left -= 8 - bit_pos;
148 code = (m_pInput[byte_pos++] & ((1 << (8 - bit_pos)) - 1)) << bit_left;
[all...] |
/external/chromium_org/v8/src/arm64/ |
assembler-arm64-inl.h | 1041 Instr Assembler::ImmTestBranchBit(unsigned bit_pos) { 1042 DCHECK(is_uint6(bit_pos)); 1043 // Subtract five from the shift offset, as we need bit 5 from bit_pos. 1044 unsigned b5 = bit_pos << (ImmTestBranchBit5_offset - 5); 1045 unsigned b40 = bit_pos << ImmTestBranchBit40_offset; [all...] |
assembler-arm64.h | [all...] |
assembler-arm64.cc | [all...] |
macro-assembler-arm64.cc | 771 void MacroAssembler::Tbnz(const Register& rt, unsigned bit_pos, Label* label) { 779 tbz(rt, bit_pos, &done); 782 tbnz(rt, bit_pos, label); 788 void MacroAssembler::Tbz(const Register& rt, unsigned bit_pos, Label* label) { 796 tbnz(rt, bit_pos, &done); 799 tbz(rt, bit_pos, label); [all...] |
macro-assembler-arm64.h | 498 void Tbnz(const Register& rt, unsigned bit_pos, Label* label); 499 void Tbz(const Register& rt, unsigned bit_pos, Label* label); [all...] |
simulator-arm64.cc | 1334 unsigned bit_pos = (instr->ImmTestBranchBit5() << 5) | local [all...] |
/external/chromium_org/third_party/freetype/src/pshinter/ |
pshrec.c | 315 FT_UInt bit_pos, 335 FT_Byte* read = (FT_Byte*)source + ( bit_pos >> 3 ); 336 FT_Int rmask = 0x80 >> ( bit_pos & 7 );
|
/external/freetype/src/pshinter/ |
pshrec.c | 315 FT_UInt bit_pos, 335 FT_Byte* read = (FT_Byte*)source + ( bit_pos >> 3 ); 336 FT_Int rmask = 0x80 >> ( bit_pos & 7 );
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/pshinter/ |
pshrec.c | 315 FT_UInt bit_pos, 335 FT_Byte* read = (FT_Byte*)source + ( bit_pos >> 3 ); 336 FT_Int rmask = 0x80 >> ( bit_pos & 7 );
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
BluetoothPbapVcardManager.java | 753 final int bit_pos = bit.pos % 8; local 757 return ((filter[filter.length - offset] >> bit_pos) & 0x01) != 0; [all...] |
/external/valgrind/main/perf/ |
tinycc.c | 10428 int r, r2, rc2, bit_pos, bit_size, size, align, i; local 11881 int sbt, dbt, ft, r, t, size, align, bit_size, bit_pos, rc, delayed_cast; local 12125 int bit_size, bit_pos, bsize, bt, lbit_pos; local 13967 int saved_global_expr, bt, bit_pos, bit_size; local [all...] |