/external/chromium_org/media/base/ |
D | bit_reader_unittest.cc | 11 static void SetBit(uint8* buf, size_t size, size_t bit_pos) { in SetBit() argument 12 size_t byte_pos = bit_pos / 8; in SetBit() 13 bit_pos -= byte_pos * 8; in SetBit() 15 buf[byte_pos] |= (1 << (7 - bit_pos)); in SetBit()
|
/external/pdfium/core/src/fxcrt/ |
D | fx_basic_buffer.cpp | 421 FX_DWORD bit_pos = m_BitPos % 8, bit_left = nBits; in GetBits() local 423 if (bit_pos) { in GetBits() 424 if (8 - bit_pos >= bit_left) { in GetBits() 425 result = (m_pData[byte_pos] & (0xff >> bit_pos)) >> (8 - bit_pos - bit_left); in GetBits() 429 bit_left -= 8 - bit_pos; in GetBits() 430 result = (m_pData[byte_pos++] & ((1 << (8 - bit_pos)) - 1)) << bit_left; in GetBits()
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
D | texcompress_rgtc_tmp.h | 39 const char bit_pos = ((j&3) * 4 + (i&3)) * 3; in TAG() local 40 const TYPE acodelow = blksrc[2 + bit_pos / 8]; in TAG() 41 const TYPE acodehigh = (3 + bit_pos / 8) < 8 ? blksrc[3 + bit_pos / 8] : 0; in TAG() 42 const TYPE code = (acodelow >> (bit_pos & 0x7) | in TAG() 43 (acodehigh << (8 - (bit_pos & 0x7)))) & 0x7; in TAG()
|
/external/mesa3d/src/mesa/main/ |
D | texcompress_rgtc_tmp.h | 39 const char bit_pos = ((j&3) * 4 + (i&3)) * 3; in TAG() local 40 const TYPE acodelow = blksrc[2 + bit_pos / 8]; in TAG() 41 const TYPE acodehigh = (3 + bit_pos / 8) < 8 ? blksrc[3 + bit_pos / 8] : 0; in TAG() 42 const TYPE code = (acodelow >> (bit_pos & 0x7) | in TAG() 43 (acodehigh << (8 - (bit_pos & 0x7)))) & 0x7; in TAG()
|
/external/vixl/src/a64/ |
D | 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); 1489 static Instr ImmTestBranchBit(unsigned bit_pos) { in ImmTestBranchBit() argument 1490 VIXL_ASSERT(is_uint6(bit_pos)); in ImmTestBranchBit() 1492 unsigned b5 = bit_pos << (ImmTestBranchBit5_offset - 5); in ImmTestBranchBit() 1493 unsigned b40 = bit_pos << ImmTestBranchBit40_offset; in ImmTestBranchBit()
|
D | assembler-a64.cc | 504 unsigned bit_pos, in tbz() argument 506 VIXL_ASSERT(rt.Is64Bits() || (rt.Is32Bits() && (bit_pos < kWRegSize))); in tbz() 507 Emit(TBZ | ImmTestBranchBit(bit_pos) | ImmTestBranch(imm14) | Rt(rt)); in tbz() 512 unsigned bit_pos, in tbz() argument 514 tbz(rt, bit_pos, UpdateAndGetInstructionOffsetTo(label)); in tbz() 519 unsigned bit_pos, in tbnz() argument 521 VIXL_ASSERT(rt.Is64Bits() || (rt.Is32Bits() && (bit_pos < kWRegSize))); in tbnz() 522 Emit(TBNZ | ImmTestBranchBit(bit_pos) | ImmTestBranch(imm14) | Rt(rt)); in tbnz() 527 unsigned bit_pos, in tbnz() argument 529 tbnz(rt, bit_pos, UpdateAndGetInstructionOffsetTo(label)); in tbnz()
|
D | macro-assembler-a64.h | 995 void Tbnz(const Register& rt, unsigned bit_pos, Label* label) { in Tbnz() argument 998 tbnz(rt, bit_pos, label); in Tbnz() 1000 void Tbz(const Register& rt, unsigned bit_pos, Label* label) { in Tbz() argument 1003 tbz(rt, bit_pos, label); in Tbz()
|
D | simulator-a64.cc | 557 unsigned bit_pos = (instr->ImmTestBranchBit5() << 5) | in VisitTestBranch() local 559 bool bit_zero = ((xreg(instr->Rt()) >> bit_pos) & 1) == 0; in VisitTestBranch()
|
/external/libhevc/decoder/ |
D | ihevcd_process_slice.c | 117 WORD32 bit_pos = proc_type; in ihevcd_proc_map_check() local 118 WORD32 bit_mask = (1 << bit_pos); in ihevcd_proc_map_check() 199 WORD32 bit_pos = proc_type; in ihevcd_proc_map_update() local 200 WORD32 bit_mask = (1 << bit_pos); in ihevcd_proc_map_update() 1041 …WORD32 bit_pos = ((ps_proc->i4_ctb_y << (log2_ctb_size - 3)) - 1) * loop_filter_strd + (ps_proc->i… in ihevcd_process() local 1046 …flag[row] = (*(UWORD32 *)(ps_proc->pu1_pic_no_loop_filter_flag + (bit_pos >> 3))) >> (bit_pos & 7); in ihevcd_process() 1047 bit_pos += loop_filter_strd; in ihevcd_process()
|
/external/pdfium/core/src/fxcodec/codec/ |
D | fx_codec_flate.cpp | 144 int bit_pos = m_InPos % 8, bit_left = m_CodeLen; in Decode() local 146 if (bit_pos) { in Decode() 147 bit_left -= 8 - bit_pos; in Decode() 148 code = (m_pInput[byte_pos++] & ((1 << (8 - bit_pos)) - 1)) << bit_left; in Decode()
|
/external/chromium_org/v8/src/arm64/ |
D | assembler-arm64.cc | 1040 unsigned bit_pos, in tbz() argument 1043 DCHECK(rt.Is64Bits() || (rt.Is32Bits() && (bit_pos < kWRegSizeInBits))); in tbz() 1044 Emit(TBZ | ImmTestBranchBit(bit_pos) | ImmTestBranch(imm14) | Rt(rt)); in tbz() 1049 unsigned bit_pos, in tbz() argument 1052 tbz(rt, bit_pos, LinkAndGetInstructionOffsetTo(label)); in tbz() 1057 unsigned bit_pos, in tbnz() argument 1060 DCHECK(rt.Is64Bits() || (rt.Is32Bits() && (bit_pos < kWRegSizeInBits))); in tbnz() 1061 Emit(TBNZ | ImmTestBranchBit(bit_pos) | ImmTestBranch(imm14) | Rt(rt)); in tbnz() 1066 unsigned bit_pos, in tbnz() argument 1069 tbnz(rt, bit_pos, LinkAndGetInstructionOffsetTo(label)); in tbnz()
|
D | assembler-arm64-inl.h | 1041 Instr Assembler::ImmTestBranchBit(unsigned bit_pos) { 1042 DCHECK(is_uint6(bit_pos)); 1044 unsigned b5 = bit_pos << (ImmTestBranchBit5_offset - 5); 1045 unsigned b40 = bit_pos << ImmTestBranchBit40_offset;
|
D | assembler-arm64.h | 1071 void tbz(const Register& rt, unsigned bit_pos, Label* label); 1072 void tbz(const Register& rt, unsigned bit_pos, int imm14); 1075 void tbnz(const Register& rt, unsigned bit_pos, Label* label); 1076 void tbnz(const Register& rt, unsigned bit_pos, int imm14); 1816 inline static Instr ImmTestBranchBit(unsigned bit_pos);
|
D | macro-assembler-arm64.cc | 771 void MacroAssembler::Tbnz(const Register& rt, unsigned bit_pos, Label* label) { in Tbnz() argument 779 tbz(rt, bit_pos, &done); in Tbnz() 782 tbnz(rt, bit_pos, label); in Tbnz() 788 void MacroAssembler::Tbz(const Register& rt, unsigned bit_pos, Label* label) { in Tbz() argument 796 tbnz(rt, bit_pos, &done); in Tbz() 799 tbz(rt, bit_pos, label); in Tbz()
|
D | 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);
|
D | simulator-arm64.cc | 1334 unsigned bit_pos = (instr->ImmTestBranchBit5() << 5) | in VisitTestBranch() local 1336 bool take_branch = ((xreg(instr->Rt()) & (1UL << bit_pos)) == 0); in VisitTestBranch()
|
/external/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/pshinter/ |
D | pshrec.c | 315 FT_UInt bit_pos, in ps_mask_table_set_bits() argument 335 FT_Byte* read = (FT_Byte*)source + ( bit_pos >> 3 ); in ps_mask_table_set_bits() 336 FT_Int rmask = 0x80 >> ( bit_pos & 7 ); in ps_mask_table_set_bits()
|
/external/freetype/src/pshinter/ |
D | pshrec.c | 315 FT_UInt bit_pos, in ps_mask_table_set_bits() argument 335 FT_Byte* read = (FT_Byte*)source + ( bit_pos >> 3 ); in ps_mask_table_set_bits() 336 FT_Int rmask = 0x80 >> ( bit_pos & 7 ); in ps_mask_table_set_bits()
|
/external/chromium_org/third_party/freetype/src/pshinter/ |
D | pshrec.c | 315 FT_UInt bit_pos, in ps_mask_table_set_bits() argument 335 FT_Byte* read = (FT_Byte*)source + ( bit_pos >> 3 ); in ps_mask_table_set_bits() 336 FT_Int rmask = 0x80 >> ( bit_pos & 7 ); in ps_mask_table_set_bits()
|
/external/vixl/doc/ |
D | supported-instructions.md | 890 void tbnz(const Register& rt, unsigned bit_pos, int imm14) 897 void tbnz(const Register& rt, unsigned bit_pos, Label* label) 904 void tbz(const Register& rt, unsigned bit_pos, int imm14) 911 void tbz(const Register& rt, unsigned bit_pos, Label* label)
|
/external/lldb/include/lldb/Core/ |
D | Scalar.h | 58 SignExtend (uint32_t bit_pos);
|
/external/valgrind/main/perf/ |
D | tinycc.c | 10428 int r, r2, rc2, bit_pos, bit_size, size, align, i; in gv() local 10433 bit_pos = (vtop->type.t >> VT_STRUCT_SHIFT) & 0x3f; in gv() 10438 vpushi(32 - (bit_pos + bit_size)); in gv() 11881 int sbt, dbt, ft, r, t, size, align, bit_size, bit_pos, rc, delayed_cast; in vstore() local 11930 bit_pos = (ft >> VT_STRUCT_SHIFT) & 0x3f; in vstore() 11942 vpushi(bit_pos); in vstore() 11946 vpushi(~(((1 << bit_size) - 1) << bit_pos)); in vstore() 12125 int bit_size, bit_pos, bsize, bt, lbit_pos; in struct_decl() local 12188 bit_pos = 0; in struct_decl() 12239 bit_pos = 0; in struct_decl() [all …]
|