/external/mesa3d/src/glx/ |
pixel.c | 92 GLint elementsLeft, bitOffset, currentByte, nextByte, highBitMask; 111 bitOffset = (skipPixels * components) & 7; 112 highBitMask = LowBitsMask[8 - bitOffset]; 113 lowBitMask = HighBitsMask[bitOffset]; 126 if (bitOffset) { 128 if (elementsLeft > (8 - bitOffset)) { 136 ((currentByte & highBitMask) << bitOffset) | 137 ((nextByte & lowBitMask) >> (8 - bitOffset)); 140 currentByte = ((currentByte & highBitMask) << bitOffset); 283 GLint elementsLeft, bitOffset, currentByte, highBitMask, lowBitMask [all...] |
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
GsmSmsTest.java | 351 int bitOffset = 0; 362 int byteOffset = bitOffset / 8; 363 int shift = bitOffset % 8; 371 bitOffset += 7; 423 int bitOffset = 0; 427 int byteOffset = bitOffset / 8; 428 int shift = bitOffset % 8; 436 bitOffset += 7; 439 byteOffset = bitOffset / 8; 440 shift = bitOffset % 8 [all...] |
/external/aac/libFDK/src/ |
FDK_bitbuffer.cpp | 161 UINT bitOffset = hBitBuf->BitNdx & 0x07 ; 174 if (bitOffset) 176 tx <<= bitOffset; 177 tx |= hBitBuf->Buffer [(byteOffset+4) & byteMask] >> (8-bitOffset); 217 UINT bitOffset = hBitBuf->BitNdx & 0x07 ; 231 tx >>= (8 - bitOffset) ; 233 if (bitOffset && numberOfBits > 24) 235 tx |= hBitBuf->Buffer [(byteOffset-4) & byteMask] << (24 + bitOffset) ; 253 UINT bitOffset = hBitBuf->BitNdx & 0x07 ; 261 UINT tmp = value<<(32-numberOfBits)>>bitOffset; [all...] |
/external/skia/src/codec/ |
SkSwizzler.cpp | 97 int bitOffset = bitIndex + deltaSrc; 98 bitIndex = bitOffset % 8; 99 currByte = *(src += bitOffset / 8); 121 int bitOffset = bitIndex + deltaSrc; 122 bitIndex = bitOffset % 8; 123 currByte = *(src += bitOffset / 8); 142 int bitOffset = bitIndex + deltaSrc; 143 bitIndex = bitOffset % 8; 144 currByte = *(src += bitOffset / 8); 165 int bitOffset = bitIndex + deltaSrc [all...] |
/hardware/libhardware/modules/sensors/dynamic_sensor/ |
HidRawSensor.cpp | 124 .byteOffset = pReportAccuracy->bitOffset / 8, 182 .byteOffset = digest.bitOffset / 8, 255 .byteOffset = quat.bitOffset / 8, 266 record.byteOffset = (quat.bitOffset + quat.bitSize) / 8; 271 record.byteOffset = (quat.bitOffset + 3 * quat.bitSize) / 8; 276 record.byteOffset = (quat.bitOffset + 2 * quat.bitSize) / 8; 281 record.byteOffset = quat.bitOffset / 8; 372 record.byteOffset = reportX.bitOffset / 8; 379 record.byteOffset = reportZ.bitOffset / 8; 386 record.byteOffset = reportY.bitOffset / 8 [all...] |
/external/llvm/test/DebugInfo/COFF/ |
bitfields.ll | 35 ; CHECK: BitOffset: 8 58 ; CHECK: BitOffset: 0 64 ; CHECK: BitOffset: 23 81 ; CHECK: BitOffset: 0 156 ; CHECK: BitOffset: 0
|
/external/llvm/lib/Transforms/IPO/ |
LowerTypeTests.cpp | 58 uint64_t BitOffset = (Offset - ByteOffset) >> AlignLog2; 59 if (BitOffset >= BitSize) 62 return Bits.count(BitOffset); 236 Value *BitOffset); 293 /// Build a test that bit BitOffset mod sizeof(Bits)*8 is set in 296 Value *BitOffset) { 300 BitOffset = B.CreateZExtOrTrunc(BitOffset, BitsType); 302 B.CreateAnd(BitOffset, ConstantInt::get(BitsType, BitWidth - 1)); 378 /// Build a test that bit BitOffset is set in BSI, wher [all...] |
/external/pdfium/core/fxcrt/ |
fx_basic_util.cpp | 248 int bitOffset = 8 - bitCount; 249 bitMask = (1 << std::min(bitOffset, nbits)) - 1; 250 dstShift = nbits - bitOffset;
|
/external/skia/src/fonts/ |
SkTestScalerContext.cpp | 56 int bitOffset = charCode - ' '; 57 fDebugBits[bitOffset >> 3] |= 1 << (bitOffset & 7);
|
/art/runtime/ |
bit_memory_region.h | 38 size_t BitOffset() const { return bit_start_; }
|
/hardware/libhardware/modules/sensors/dynamic_sensor/HidUtils/ |
HidParser.h | 107 size_t bitOffset; 117 return (bitOffset & 7) == 0 && (bitSize & 7) == 0;
|
HidParser.cpp | 255 .bitOffset = packet.bitSize, 299 os << " " << report.bitOffset << " size: " << report.bitSize
|
/toolchain/binutils/binutils-2.25/opcodes/ |
ia64-opc.c | 212 /* Extract BITS number of bits starting from OP_POINTER + BITOFFSET in 213 the dis_table array, and return its value. (BITOFFSET is numbered 214 starting from MSB to LSB, so a BITOFFSET of 0 indicates the MSB of the 218 extract_op_bits (int op_pointer, int bitoffset, int bits) 222 op_pointer += (bitoffset / 8); 224 if (bitoffset % 8) 227 int numb = 8 - (bitoffset % 8); 233 bitoffset += bata;
|
/toolchain/binutils/binutils-2.25/binutils/ |
coffgrok.h | 207 int bitoffset; member in struct:coff_where
|
/prebuilts/go/darwin-x86/src/debug/dwarf/ |
type.go | 39 BitOffset int64 158 BitOffset int64 // within the ByteSize bytes at ByteOffset 187 s += "@" + strconv.FormatInt(f.BitOffset, 10) 483 t.BitOffset, _ = e.Val(AttrBitOffset).(int64) 543 f.BitOffset, haveBitOffset = kid.Val(AttrBitOffset).(int64) 547 bito := f.BitOffset
|
/prebuilts/go/linux-x86/src/debug/dwarf/ |
type.go | 39 BitOffset int64 158 BitOffset int64 // within the ByteSize bytes at ByteOffset 187 s += "@" + strconv.FormatInt(f.BitOffset, 10) 483 t.BitOffset, _ = e.Val(AttrBitOffset).(int64) 543 f.BitOffset, haveBitOffset = kid.Val(AttrBitOffset).(int64) 547 bito := f.BitOffset
|
/external/clang/include/clang/Serialization/ |
ASTBitCodes.h | 172 uint32_t BitOffset; 174 PPEntityOffset(SourceRange R, uint32_t BitOffset) 177 BitOffset(BitOffset) { } 191 uint32_t BitOffset; 193 DeclOffset() : Loc(0), BitOffset(0) { } 194 DeclOffset(SourceLocation Loc, uint32_t BitOffset) 196 BitOffset(BitOffset) { } [all...] |
/external/clang/lib/CodeGen/ |
CGObjCRuntime.cpp | 120 uint64_t BitOffset = FieldBitOffset % CGF.CGM.getContext().getCharWidth(); 124 llvm::alignTo(BitOffset + BitFieldSize, AlignmentBits)); 134 CGBitFieldInfo::MakeInfo(CGF.CGM.getTypes(), Ivar, BitOffset, BitFieldSize,
|
/external/llvm/include/llvm/DebugInfo/CodeView/ |
TypeRecord.h | 590 BitFieldRecord(TypeIndex Type, uint8_t BitSize, uint8_t BitOffset) 592 BitOffset(BitOffset) {} 602 uint8_t getBitOffset() const { return BitOffset; } 609 uint8_t BitOffset; 614 uint8_t BitOffset; [all...] |
/external/tremolo/Tremolo/ |
bitwise.c | 760 int bitoffset,bitcount=0; local 766 bitoffset=bitcount%=8; 788 bitcount=bitoffset; 789 oggpack_read(&o,bitoffset); 822 bitcount=bitoffset; 823 oggpack_adv(&o,bitoffset);
|
/external/deqp/framework/delibs/debase/ |
deSha1.c | 139 const size_t bitOffset = (size_t)(8 * (4 - (1 + (stream->size % 4)))); 141 stream->data[(stream->size / 4) % 16] |= ((deUint32)data[bytesProcessed]) << (deUint32)bitOffset;
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
LegalizeVectorOps.cpp | 572 unsigned BitOffset = 0; 579 if (BitOffset < WideBits) { 581 BitOffset, dl, TLI.getShiftAmountTy(WideVT, DAG.getDataLayout())); 586 BitOffset += SrcEltBits; 587 if (BitOffset >= WideBits) { 589 BitOffset -= WideBits; 590 if (BitOffset > 0) { 592 SrcEltBits - BitOffset, dl, [all...] |
/external/clang/include/clang/CodeGen/ |
SwiftCallingConv.h | 114 uint64_t bitOffset);
|
/external/skia/src/ports/ |
SkFontHost_FreeType_common.cpp | 65 int bittst(const uint8_t data[], int bitOffset) { 66 SkASSERT(bitOffset >= 0); 67 int lowBit = data[bitOffset >> 3] >> (~bitOffset & 7);
|
/external/deqp/external/vulkancts/modules/vulkan/texture/ |
vktSampleVerifierUtil.cpp | 747 const int bitOffset, 750 DE_ASSERT(bitOffset + numBits <= 8 * (int) sizeof(BaseType)); 754 return mask & (pack >> (BaseType) (8 * (int) sizeof(BaseType) - bitOffset - numBits));
|