Home
last modified time | relevance | path

Searched refs:shift (Results 1 – 25 of 25) sorted by relevance

/dalvik/libcore/security/src/main/java/org/bouncycastle/crypto/engines/
DAESEngine.java222 private int shift( in shift() argument
224 int shift) in shift()
226 return (r >>> shift) | (r << -shift); in shift()
257 return f2 ^ f4 ^ f8 ^ shift(f2 ^ f9, 8) ^ shift(f4 ^ f9, 16) ^ shift(f9, 24); in inv_mcol()
309 temp = subWord(shift(temp, 8)) ^ rcon[(i / KC)-1]; in generateWorkingKey()
488 …r0 = T0[C0&255] ^ shift(T0[(C1>>8)&255], 24) ^ shift(T0[(C2>>16)&255],16) ^ shift(T0[(C3>>24)&255]… in encryptBlock()
489 …r1 = T0[C1&255] ^ shift(T0[(C2>>8)&255], 24) ^ shift(T0[(C3>>16)&255], 16) ^ shift(T0[(C0>>24)&255… in encryptBlock()
490 …r2 = T0[C2&255] ^ shift(T0[(C3>>8)&255], 24) ^ shift(T0[(C0>>16)&255], 16) ^ shift(T0[(C1>>24)&255… in encryptBlock()
491 …r3 = T0[C3&255] ^ shift(T0[(C0>>8)&255], 24) ^ shift(T0[(C1>>16)&255], 16) ^ shift(T0[(C2>>24)&255… in encryptBlock()
492 …C0 = T0[r0&255] ^ shift(T0[(r1>>8)&255], 24) ^ shift(T0[(r2>>16)&255], 16) ^ shift(T0[(r3>>24)&255… in encryptBlock()
[all …]
DAESLightEngine.java113 private int shift( in shift() method in AESLightEngine
115 int shift) in shift()
117 return (r >>> shift) | (r << -shift); in shift()
144 return f2 ^ shift(x ^ f2, 8) ^ shift(x, 16) ^ shift(x, 24); in mcol()
154 return f2 ^ f4 ^ f8 ^ shift(f2 ^ f9, 8) ^ shift(f4 ^ f9, 16) ^ shift(f9, 24); in inv_mcol()
207 temp = subWord(shift(temp, 8)) ^ rcon[(i / KC)-1]; in generateWorkingKey()
DRSAEngine.java19 private int shift; field in RSAEngine
38 this.shift = 0; in init()
42 this.shift = (8 - (bitSize % 8)); in init()
106 else if (inLen == (getInputBlockSize() + 1) && (in[inOff] & (0x80 >> shift)) != 0) in processBlock()
DAESFastEngine.java552 private int shift( in shift() argument
554 int shift) in shift()
556 return (r >>> shift) | (r << -shift); in shift()
587 return f2 ^ f4 ^ f8 ^ shift(f2 ^ f9, 8) ^ shift(f4 ^ f9, 16) ^ shift(f9, 24); in inv_mcol()
640 temp = subWord(shift(temp, 8)) ^ rcon[(i / KC) - 1]; in generateWorkingKey()
/dalvik/vm/alloc/
DFloat12.h37 int shift = 0; in intToFloat12() local
48 shift++; in intToFloat12()
50 if (shift > 0 && (pval & 1)) { in intToFloat12()
56 shift++; in intToFloat12()
64 while (shift % 4 != 0) { in intToFloat12()
66 shift++; in intToFloat12()
74 if (shift > 0) { in intToFloat12()
75 val = ((oval >> (shift - 1)) + 1) >> 1; in intToFloat12()
78 val |= (shift / 4) << 9; in intToFloat12()
/dalvik/libcore/sql/src/main/java/SQLite/
DStringEncoder.java54 int shift = 1; in encode() local
63 shift = i; in encode()
73 out.append((char)shift); in encode()
76 char c = (char)((a[i] - shift)&0xff); in encode()
127 int shift = s.charAt(i++); in decode() local
144 result[j++] = (byte)((c + shift) & 0xff); in decode()
/dalvik/libcore/math/src/test/java/org/apache/harmony/math/tests/java/math/
DBigDecimalScaleOperationsTest.java374 int shift = 18; in testMovePointLeftPos() local
377 BigDecimal bNumber = aNumber.movePointLeft(shift); in testMovePointLeftPos()
393 int shift = -18; in testMovePointLeftNeg() local
396 BigDecimal bNumber = aNumber.movePointLeft(shift); in testMovePointLeftNeg()
435 int shift = 18; in testMovePointRightPosGreater() local
438 BigDecimal bNumber = aNumber.movePointRight(shift); in testMovePointRightPosGreater()
456 int shift = 30; in testMovePointRightPosLess() local
459 BigDecimal bNumber = aNumber.movePointRight(shift); in testMovePointRightPosLess()
476 int shift = -18; in testMovePointRightNeg() local
479 BigDecimal bNumber = aNumber.movePointRight(shift); in testMovePointRightNeg()
[all …]
/dalvik/dx/src/com/android/dx/rop/cst/
DCstUtf8.java272 for (int shift = 6; shift >= 0; shift -= 3) { in toHuman()
273 char outChar = (char) (((c >> shift) & 7) + '0'); in toHuman()
/dalvik/vm/mterp/x86/
DOP_AGET.S18 $load offArrayObject_contents(%eax,%ecx,$shift),%eax
DOP_APUT.S18 leal offArrayObject_contents(%eax,%ecx,$shift),%eax
/dalvik/vm/mterp/armv5te/
DOP_AGET.S20 add r0, r0, r1, lsl #$shift @ r0<- arrayObj + index*width
DOP_APUT.S20 add r0, r0, r1, lsl #$shift @ r0<- arrayObj + index*width
DOP_EXECUTE_INLINE.S46 ldr r3, [rFP, ip, lsr #10] @ r3<- vF (shift right 12, left 2)
Dfooter.S157 lsl r3,r3,#23 @ shift out excess 511
338 ldr r2, [rFP, ip, lsr #6] @ r2<- vA (shift right 8, left 2)
342 ldr r2, [rFP, ip, lsr #10] @ r2<- vG (shift right 12, left 2)
/dalvik/libcore-disabled/sound/src/main/java/javax/sound/sampled/
DFloatControl.java133 public void shift(float from, float to, int microseconds) { in shift() method in FloatControl
/dalvik/libcore/math/src/main/java/java/math/
DBigInt.java263 public static BigInt shift(BigInt a, int n) { in shift() method in BigInt
269 public void shift(int n) { in shift() method in BigInt
DBigInteger.java551 return new BigInteger(BigInt.shift(bigInt, n)); in shiftLeft()
DBigDecimal.java560 bi.shift(-scale); in BigDecimal()
/dalvik/libcore/luni/src/main/native/
Dcbigint.c83 #define bitSection(x, mask, shift) (((x) & (mask)) >> (shift)) argument
/dalvik/vm/reflect/
DAnnotation.c124 int shift = 0; in readUleb128() local
134 assert(shift < 32); in readUleb128()
137 result |= (val & 0x7f) << shift; in readUleb128()
138 shift += 7; in readUleb128()
/dalvik/vm/arch/arm/
DCallEABI.S181 sub sp, sp, ip, lsr #21 @ shift right 24, then left 3
/dalvik/vm/mterp/out/
DInterpAsm-armv7-a.S8906 ldr r3, [rFP, ip, lsr #10] @ r3<- vF (shift right 12, left 2)
9083 lsl r3,r3,#23 @ shift out excess 511
9264 ldr r2, [rFP, ip, lsr #6] @ r2<- vA (shift right 8, left 2)
9268 ldr r2, [rFP, ip, lsr #10] @ r2<- vG (shift right 12, left 2)
DInterpAsm-armv5te-vfp.S8970 ldr r3, [rFP, ip, lsr #10] @ r3<- vF (shift right 12, left 2)
9147 lsl r3,r3,#23 @ shift out excess 511
9328 ldr r2, [rFP, ip, lsr #6] @ r2<- vA (shift right 8, left 2)
9332 ldr r2, [rFP, ip, lsr #10] @ r2<- vG (shift right 12, left 2)
DInterpAsm-armv4t.S9452 ldr r3, [rFP, ip, lsr #10] @ r3<- vF (shift right 12, left 2)
9629 lsl r3,r3,#23 @ shift out excess 511
9810 ldr r2, [rFP, ip, lsr #6] @ r2<- vA (shift right 8, left 2)
9814 ldr r2, [rFP, ip, lsr #10] @ r2<- vG (shift right 12, left 2)
DInterpAsm-armv5te.S9446 ldr r3, [rFP, ip, lsr #10] @ r3<- vF (shift right 12, left 2)
9623 lsl r3,r3,#23 @ shift out excess 511
9804 ldr r2, [rFP, ip, lsr #6] @ r2<- vA (shift right 8, left 2)
9808 ldr r2, [rFP, ip, lsr #10] @ r2<- vG (shift right 12, left 2)