Home
last modified time | relevance | path

Searched refs:bit_pos (Results 1 – 22 of 22) sorted by relevance

/external/chromium_org/media/base/
Dbit_reader_unittest.cc11 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/
Dfx_basic_buffer.cpp421 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/
Dtexcompress_rgtc_tmp.h39 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/
Dtexcompress_rgtc_tmp.h39 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/
Dassembler-a64.h715 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()
Dassembler-a64.cc504 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()
Dmacro-assembler-a64.h995 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()
Dsimulator-a64.cc557 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/
Dihevcd_process_slice.c117 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/
Dfx_codec_flate.cpp144 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/
Dassembler-arm64.cc1040 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()
Dassembler-arm64-inl.h1041 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;
Dassembler-arm64.h1071 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);
Dmacro-assembler-arm64.cc771 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()
Dmacro-assembler-arm64.h498 void Tbnz(const Register& rt, unsigned bit_pos, Label* label);
499 void Tbz(const Register& rt, unsigned bit_pos, Label* label);
Dsimulator-arm64.cc1334 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/
Dpshrec.c315 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/
Dpshrec.c315 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/
Dpshrec.c315 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/
Dsupported-instructions.md890 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/
DScalar.h58 SignExtend (uint32_t bit_pos);
/external/valgrind/main/perf/
Dtinycc.c10428 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 …]