/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 | 75 int bitOffset = bitIndex + deltaSrc; 76 bitIndex = bitOffset % 8; 77 currByte = *(src += bitOffset / 8); 99 int bitOffset = bitIndex + deltaSrc; 100 bitIndex = bitOffset % 8; 101 currByte = *(src += bitOffset / 8); 120 int bitOffset = bitIndex + deltaSrc; 121 bitIndex = bitOffset % 8; 122 currByte = *(src += bitOffset / 8); 143 int bitOffset = bitIndex + deltaSrc [all...] |
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/anqp/ |
GEOLocationElement.java | 226 private int bitOffset; // bit 0 is MSB of data[0] 235 int b0 = bitOffset >>> 3; 236 int dbit = bitOffset & 0x7; 243 bitOffset += Byte.SIZE - dbit; 247 bitOffset += sbit + 1;
|
/external/llvm/lib/Transforms/IPO/ |
LowerBitSets.cpp | 57 uint64_t BitOffset = (Offset - ByteOffset) >> AlignLog2; 58 if (BitOffset >= BitSize) 61 return Bits.count(BitOffset); 238 Value *BitOffset); 329 /// Build a test that bit BitOffset mod sizeof(Bits)*8 is set in 332 Value *BitOffset) { 336 BitOffset = B.CreateZExtOrTrunc(BitOffset, BitsType); 338 B.CreateAnd(BitOffset, ConstantInt::get(BitsType, BitWidth - 1)); 414 /// Build a test that bit BitOffset is set in BSI, wher [all...] |
/external/skia/src/fonts/ |
SkTestScalerContext.cpp | 55 int bitOffset = charCode - ' '; 56 fDebugBits[bitOffset >> 3] |= 1 << (bitOffset & 7);
|
/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
|
coffgrok.c | 215 where->bitoffset = sym->n_value % 8;
|
/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) 466 t.BitOffset, _ = e.Val(AttrBitOffset).(int64) 526 f.BitOffset, haveBitOffset = kid.Val(AttrBitOffset).(int64) 530 bito := f.BitOffset
|
const.go | 95 AttrBitOffset: "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) 466 t.BitOffset, _ = e.Val(AttrBitOffset).(int64) 526 f.BitOffset, haveBitOffset = kid.Val(AttrBitOffset).(int64) 530 bito := f.BitOffset
|
const.go | 95 AttrBitOffset: "BitOffset",
|
/external/clang/include/clang/Serialization/ |
ASTBitCodes.h | 172 uint32_t BitOffset; 174 PPEntityOffset(SourceRange R, uint32_t BitOffset) 177 BitOffset(BitOffset) { } 185 uint32_t BitOffset; 187 DeclOffset() : Loc(0), BitOffset(0) { } 188 DeclOffset(SourceLocation Loc, uint32_t BitOffset) 190 BitOffset(BitOffset) { } [all...] |
/external/clang/lib/CodeGen/ |
CGObjCRuntime.cpp | 120 uint64_t BitOffset = FieldBitOffset % CGF.CGM.getContext().getCharWidth(); 125 llvm::RoundUpToAlignment(BitOffset + BitFieldSize, AlignmentBits)); 135 CGBitFieldInfo::MakeInfo(CGF.CGM.getTypes(), Ivar, BitOffset, BitFieldSize,
|
CGRecordLayoutBuilder.cpp | 146 CharUnits bitsToCharUnits(uint64_t BitOffset) { 147 return Context.toCharUnitsFromBits(BitOffset); 381 uint64_t BitOffset = getFieldBitOffset(*Field); 390 if (Run == FieldEnd || BitOffset >= Tail) { 392 StartBitOffset = 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 = 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 | 567 unsigned BitOffset = 0; 574 if (BitOffset < WideBits) { 576 BitOffset, dl, TLI.getShiftAmountTy(WideVT, DAG.getDataLayout())); 581 BitOffset += SrcEltBits; 582 if (BitOffset >= WideBits) { 584 BitOffset -= WideBits; 585 if (BitOffset > 0) { 587 SrcEltBits - BitOffset, dl, [all...] |
/external/skia/src/ports/ |
SkFontHost_FreeType_common.cpp | 63 static int bittst(const uint8_t data[], int bitOffset) { 64 SkASSERT(bitOffset >= 0); 65 int lowBit = data[bitOffset >> 3] >> (~bitOffset & 7);
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
GsmAlphabet.java | 397 for (int i = 0, septets = startingSeptetOffset, bitOffset = startingSeptetOffset * 7; 399 i++, bitOffset += 7) { 411 packSmsChar(ret, bitOffset, GSM_EXTENDED_ESCAPE); 412 bitOffset += 7; 416 packSmsChar(ret, bitOffset, v); 427 * @param bitOffset the bit offset that the septet should be packed at 432 packSmsChar(byte[] packedChars, int bitOffset, int value) { 433 int byteOffset = bitOffset / 8; 434 int shift = bitOffset % 8; 503 int bitOffset = (7 * i) + numPaddingBits [all...] |
/external/fonttools/Lib/fontTools/ttLib/tables/ |
E_B_D_T_.py | 491 bitOffset = row * rowBits 492 return (bitOffset, bitOffset+rowBits)
|
/external/llvm/lib/CodeGen/ |
TargetInstrInfo.cpp | 358 int BitOffset = TRI->getSubRegIdxOffset(SubIdx); 359 if (BitOffset < 0 || BitOffset % 8) 363 Offset = (unsigned)BitOffset / 8; [all...] |
/toolchain/binutils/binutils-2.25/include/ |
hp-symtab.h | 870 BITOFFSET gives the offset of this field in bits from the beginning 888 unsigned int bitoffset; member in struct:dntt_type_field [all...] |