Home
last modified time | relevance | path

Searched refs:shiftOffset (Results 1 – 4 of 4) sorted by relevance

/external/brotli/java/org/brotli/dec/
DTransform.java168 int shiftOffset = offset - len; in transformDictionaryWord() local
174 int c0 = dst[shiftOffset] & 0xFF; in transformDictionaryWord()
178 dst[shiftOffset] = (byte) (scalar & 0x7F); in transformDictionaryWord()
184 byte c1 = dst[shiftOffset + 1]; in transformDictionaryWord()
186 dst[shiftOffset] = (byte) (0xC0 | ((scalar >> 6) & 0x1F)); in transformDictionaryWord()
187 dst[shiftOffset + 1] = (byte) ((c1 & 0xC0) | (scalar & 0x3F)); in transformDictionaryWord()
195 byte c1 = dst[shiftOffset + 1]; in transformDictionaryWord()
196 byte c2 = dst[shiftOffset + 2]; in transformDictionaryWord()
198 dst[shiftOffset] = (byte) (0xE0 | ((scalar >> 12) & 0x0F)); in transformDictionaryWord()
199 dst[shiftOffset + 1] = (byte) ((c1 & 0xC0) | ((scalar >> 6) & 0x3F)); in transformDictionaryWord()
[all …]
/external/angle/src/compiler/translator/
DConstantUnion.cpp561 unsigned int shiftOffset = 0; in rshift() local
565 shiftOffset = static_cast<unsigned int>(rhs.iConst); in rshift()
568 shiftOffset = rhs.uConst; in rshift()
573 if (shiftOffset > 0) in rshift()
585 --shiftOffset; in rshift()
587 if (shiftOffset > 0) in rshift()
597 returnValue.setIConst(lhsSafe >> shiftOffset); in rshift()
602 int extendedSignBit = static_cast<int>(0xffffffffu << (31 - shiftOffset)); in rshift()
/external/brotli/js/
Ddecode.js1354 var /** number */ shiftOffset = offset - len;
1359 var /** number */ c0 = dst[shiftOffset] & 0xFF;
1362 dst[shiftOffset] = (scalar & 0x7F);
1366 var /** number */ c1 = dst[shiftOffset + 1];
1368 dst[shiftOffset] = (0xC0 | ((scalar >> 6) & 0x1F));
1369 dst[shiftOffset + 1] = ((c1 & 0xC0) | (scalar & 0x3F));
1376 var /** number */ c1 = dst[shiftOffset + 1];
1377 var /** number */ c2 = dst[shiftOffset + 2];
1379 dst[shiftOffset] = (0xE0 | ((scalar >> 12) & 0x0F));
1380 dst[shiftOffset + 1] = ((c1 & 0xC0) | ((scalar >> 6) & 0x3F));
[all …]
/external/javassist/src/main/javassist/bytecode/
DCodeIterator.java1298 static int shiftOffset(int i, int offset, int where, in shiftOffset() method in CodeIterator.Branch
1374 offset = shiftOffset(pos, offset, where, gapLength, exclusive); in shift()
1466 offset = shiftOffset(pos, offset, where, gapLength, exclusive); in shift()
1494 defaultByte = shiftOffset(p, defaultByte, where, gapLength, exclusive); in shift()
1497 offsets[i] = shiftOffset(p, offsets[i], where, gapLength, exclusive); in shift()