/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/raw/ |
D | Nat224.java | 42 public static int add(int[] x, int xOff, int[] y, int yOff, int[] z, int zOff) in add() argument 45 c += (x[xOff + 0] & M) + (y[yOff + 0] & M); in add() 48 c += (x[xOff + 1] & M) + (y[yOff + 1] & M); in add() 51 c += (x[xOff + 2] & M) + (y[yOff + 2] & M); in add() 54 c += (x[xOff + 3] & M) + (y[yOff + 3] & M); in add() 57 c += (x[xOff + 4] & M) + (y[yOff + 4] & M); in add() 60 c += (x[xOff + 5] & M) + (y[yOff + 5] & M); in add() 63 c += (x[xOff + 6] & M) + (y[yOff + 6] & M); in add() 96 public static int addBothTo(int[] x, int xOff, int[] y, int yOff, int[] z, int zOff) in addBothTo() argument 99 c += (x[xOff + 0] & M) + (y[yOff + 0] & M) + (z[zOff + 0] & M); in addBothTo() [all …]
|
D | Nat256.java | 45 public static int add(int[] x, int xOff, int[] y, int yOff, int[] z, int zOff) in add() argument 48 c += (x[xOff + 0] & M) + (y[yOff + 0] & M); in add() 51 c += (x[xOff + 1] & M) + (y[yOff + 1] & M); in add() 54 c += (x[xOff + 2] & M) + (y[yOff + 2] & M); in add() 57 c += (x[xOff + 3] & M) + (y[yOff + 3] & M); in add() 60 c += (x[xOff + 4] & M) + (y[yOff + 4] & M); in add() 63 c += (x[xOff + 5] & M) + (y[yOff + 5] & M); in add() 66 c += (x[xOff + 6] & M) + (y[yOff + 6] & M); in add() 69 c += (x[xOff + 7] & M) + (y[yOff + 7] & M); in add() 105 public static int addBothTo(int[] x, int xOff, int[] y, int yOff, int[] z, int zOff) in addBothTo() argument [all …]
|
D | Nat192.java | 195 public static boolean diff(int[] x, int xOff, int[] y, int yOff, int[] z, int zOff) in diff() argument 197 boolean pos = gte(x, xOff, y, yOff); in diff() 200 sub(x, xOff, y, yOff, z, zOff); in diff() 204 sub(y, yOff, x, xOff, z, zOff); in diff() 296 public static boolean gte(int[] x, int xOff, int[] y, int yOff) in gte() argument 301 int y_i = y[yOff + i] ^ Integer.MIN_VALUE; in gte() 423 public static void mul(int[] x, int xOff, int[] y, int yOff, int[] zz, int zzOff) in mul() argument 425 long y_0 = y[yOff + 0] & M; in mul() 426 long y_1 = y[yOff + 1] & M; in mul() 427 long y_2 = y[yOff + 2] & M; in mul() [all …]
|
D | Nat.java | 85 public static int addBothTo(int len, int[] x, int xOff, int[] y, int yOff, int[] z, int zOff) in addBothTo() argument 90 c += (x[xOff + i] & M) + (y[yOff + i] & M) + (z[zOff + i] & M); in addBothTo() 491 public static void mul(int len, int[] x, int xOff, int[] y, int yOff, int[] zz, int zzOff) in mul() argument 493 zz[zzOff + len] = mulWord(len, x[xOff], y, yOff, zz, zzOff); in mul() 497 zz[zzOff + i + len] = mulWordAddTo(len, x[xOff + i], y, yOff, zz, zzOff + i); in mul() 501 …public static void mul(int[] x, int xOff, int xLen, int[] y, int yOff, int yLen, int[] zz, int zzO… in mul() argument 503 zz[zzOff + yLen] = mulWord(yLen, x[xOff], y, yOff, zz, zzOff); in mul() 507 zz[zzOff + i + yLen] = mulWordAddTo(yLen, x[xOff + i], y, yOff, zz, zzOff + i); in mul() 524 public static int mulAddTo(int len, int[] x, int xOff, int[] y, int yOff, int[] zz, int zzOff) in mulAddTo() argument 529 long c = mulWordAddTo(len, x[xOff + i], y, yOff, zz, zzOff) & M; in mulAddTo() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/raw/ |
D | Nat224.java | 38 public static int add(int[] x, int xOff, int[] y, int yOff, int[] z, int zOff) in add() argument 41 c += (x[xOff + 0] & M) + (y[yOff + 0] & M); in add() 44 c += (x[xOff + 1] & M) + (y[yOff + 1] & M); in add() 47 c += (x[xOff + 2] & M) + (y[yOff + 2] & M); in add() 50 c += (x[xOff + 3] & M) + (y[yOff + 3] & M); in add() 53 c += (x[xOff + 4] & M) + (y[yOff + 4] & M); in add() 56 c += (x[xOff + 5] & M) + (y[yOff + 5] & M); in add() 59 c += (x[xOff + 6] & M) + (y[yOff + 6] & M); in add() 92 public static int addBothTo(int[] x, int xOff, int[] y, int yOff, int[] z, int zOff) in addBothTo() argument 95 c += (x[xOff + 0] & M) + (y[yOff + 0] & M) + (z[zOff + 0] & M); in addBothTo() [all …]
|
D | Nat256.java | 41 public static int add(int[] x, int xOff, int[] y, int yOff, int[] z, int zOff) in add() argument 44 c += (x[xOff + 0] & M) + (y[yOff + 0] & M); in add() 47 c += (x[xOff + 1] & M) + (y[yOff + 1] & M); in add() 50 c += (x[xOff + 2] & M) + (y[yOff + 2] & M); in add() 53 c += (x[xOff + 3] & M) + (y[yOff + 3] & M); in add() 56 c += (x[xOff + 4] & M) + (y[yOff + 4] & M); in add() 59 c += (x[xOff + 5] & M) + (y[yOff + 5] & M); in add() 62 c += (x[xOff + 6] & M) + (y[yOff + 6] & M); in add() 65 c += (x[xOff + 7] & M) + (y[yOff + 7] & M); in add() 101 public static int addBothTo(int[] x, int xOff, int[] y, int yOff, int[] z, int zOff) in addBothTo() argument [all …]
|
D | Nat192.java | 191 public static boolean diff(int[] x, int xOff, int[] y, int yOff, int[] z, int zOff) in diff() argument 193 boolean pos = gte(x, xOff, y, yOff); in diff() 196 sub(x, xOff, y, yOff, z, zOff); in diff() 200 sub(y, yOff, x, xOff, z, zOff); in diff() 292 public static boolean gte(int[] x, int xOff, int[] y, int yOff) in gte() argument 297 int y_i = y[yOff + i] ^ Integer.MIN_VALUE; in gte() 419 public static void mul(int[] x, int xOff, int[] y, int yOff, int[] zz, int zzOff) in mul() argument 421 long y_0 = y[yOff + 0] & M; in mul() 422 long y_1 = y[yOff + 1] & M; in mul() 423 long y_2 = y[yOff + 2] & M; in mul() [all …]
|
D | Nat.java | 81 public static int addBothTo(int len, int[] x, int xOff, int[] y, int yOff, int[] z, int zOff) in addBothTo() argument 86 c += (x[xOff + i] & M) + (y[yOff + i] & M) + (z[zOff + i] & M); in addBothTo() 487 public static void mul(int len, int[] x, int xOff, int[] y, int yOff, int[] zz, int zzOff) in mul() argument 489 zz[zzOff + len] = mulWord(len, x[xOff], y, yOff, zz, zzOff); in mul() 493 zz[zzOff + i + len] = mulWordAddTo(len, x[xOff + i], y, yOff, zz, zzOff + i); in mul() 497 …public static void mul(int[] x, int xOff, int xLen, int[] y, int yOff, int yLen, int[] zz, int zzO… in mul() argument 499 zz[zzOff + yLen] = mulWord(yLen, x[xOff], y, yOff, zz, zzOff); in mul() 503 zz[zzOff + i + yLen] = mulWordAddTo(yLen, x[xOff + i], y, yOff, zz, zzOff + i); in mul() 520 public static int mulAddTo(int len, int[] x, int xOff, int[] y, int yOff, int[] zz, int zzOff) in mulAddTo() argument 525 long c = mulWordAddTo(len, x[xOff + i], y, yOff, zz, zzOff) & M; in mulAddTo() [all …]
|
/external/skia/gm/ |
D | anisotropic.cpp | 70 int yOff; in onDraw() local 72 yOff = kSpacer + i * (fBM.height() + kSpacer); in onDraw() 75 yOff = (SK_ARRAY_COUNT(gScales) - i) * (fBM.height() + kSpacer) - height; in onDraw() 78 this->draw(canvas, kSpacer, yOff, fBM.width(), height); in onDraw() 85 int xOff, yOff; in onDraw() local 88 yOff = kSpacer + i * (fBM.height() + kSpacer); in onDraw() 92 yOff = kSpacer + (SK_ARRAY_COUNT(gScales) - i - 1) * (fBM.height() + kSpacer); in onDraw() 95 this->draw(canvas, xOff, yOff, width, fBM.height()); in onDraw()
|
D | nested.cpp | 94 SkScalar xOff = 2, yOff = 2; in onDraw() local 107 canvas->translate(xOff, -yOff - 40.0f); in onDraw() 109 canvas->translate(xOff, yOff); in onDraw() 120 yOff += 45; in onDraw()
|
D | megalooper.cpp | 163 sk_sp<SkDrawLooper> create1Looper(SkScalar xOff, SkScalar yOff, SkColor color) { in create1Looper() argument 170 info.fOffset.set(xOff, yOff); in create1Looper() 206 sk_sp<SkDrawLooper> create4Looper(SkScalar xOff, SkScalar yOff) { in create4Looper() argument 218 info.fOffset.set(xOff+gBlurOffsets[i].fX, yOff+gBlurOffsets[i].fY); in create4Looper()
|
/external/skqp/gm/ |
D | anisotropic.cpp | 70 int yOff; in onDraw() local 72 yOff = kSpacer + i * (fBM.height() + kSpacer); in onDraw() 75 yOff = (SK_ARRAY_COUNT(gScales) - i) * (fBM.height() + kSpacer) - height; in onDraw() 78 this->draw(canvas, kSpacer, yOff, fBM.width(), height); in onDraw() 85 int xOff, yOff; in onDraw() local 88 yOff = kSpacer + i * (fBM.height() + kSpacer); in onDraw() 92 yOff = kSpacer + (SK_ARRAY_COUNT(gScales) - i - 1) * (fBM.height() + kSpacer); in onDraw() 95 this->draw(canvas, xOff, yOff, width, fBM.height()); in onDraw()
|
D | nested.cpp | 94 SkScalar xOff = 2, yOff = 2; in onDraw() local 107 canvas->translate(xOff, -yOff - 40.0f); in onDraw() 109 canvas->translate(xOff, yOff); in onDraw() 120 yOff += 45; in onDraw()
|
D | megalooper.cpp | 163 sk_sp<SkDrawLooper> create1Looper(SkScalar xOff, SkScalar yOff, SkColor color) { in create1Looper() argument 170 info.fOffset.set(xOff, yOff); in create1Looper() 206 sk_sp<SkDrawLooper> create4Looper(SkScalar xOff, SkScalar yOff) { in create4Looper() argument 218 info.fOffset.set(xOff+gBlurOffsets[i].fX, yOff+gBlurOffsets[i].fY); in create4Looper()
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/modes/gcm/ |
D | GCMUtil.java | 307 public static void xor(byte[] x, byte[] y, int yOff) in xor() argument 312 x[i] ^= y[yOff + i]; ++i; in xor() 313 x[i] ^= y[yOff + i]; ++i; in xor() 314 x[i] ^= y[yOff + i]; ++i; in xor() 315 x[i] ^= y[yOff + i]; ++i; in xor() 320 public static void xor(byte[] x, int xOff, byte[] y, int yOff, byte[] z, int zOff) in xor() argument 325 z[zOff + i] = (byte)(x[xOff + i] ^ y[yOff + i]); ++i; in xor() 326 z[zOff + i] = (byte)(x[xOff + i] ^ y[yOff + i]); ++i; in xor() 327 z[zOff + i] = (byte)(x[xOff + i] ^ y[yOff + i]); ++i; in xor() 328 z[zOff + i] = (byte)(x[xOff + i] ^ y[yOff + i]); ++i; in xor() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/gcm/ |
D | GCMUtil.java | 303 public static void xor(byte[] x, byte[] y, int yOff) in xor() argument 308 x[i] ^= y[yOff + i]; ++i; in xor() 309 x[i] ^= y[yOff + i]; ++i; in xor() 310 x[i] ^= y[yOff + i]; ++i; in xor() 311 x[i] ^= y[yOff + i]; ++i; in xor() 316 public static void xor(byte[] x, int xOff, byte[] y, int yOff, byte[] z, int zOff) in xor() argument 321 z[zOff + i] = (byte)(x[xOff + i] ^ y[yOff + i]); ++i; in xor() 322 z[zOff + i] = (byte)(x[xOff + i] ^ y[yOff + i]); ++i; in xor() 323 z[zOff + i] = (byte)(x[xOff + i] ^ y[yOff + i]); ++i; in xor() 324 z[zOff + i] = (byte)(x[xOff + i] ^ y[yOff + i]); ++i; in xor() [all …]
|
/external/skia/tools/ |
D | DDLTileHelper.cpp | 108 for (int y = 0, yOff = 0; y < fNumDivisions; ++y, yOff += yTileSize) { in DDLTileHelper() local 109 int ySize = (y < fNumDivisions-1) ? yTileSize : viewport.height()-yOff; in DDLTileHelper() 114 SkIRect clip = SkIRect::MakeXYWH(xOff, yOff, xSize, ySize); in DDLTileHelper()
|
/external/skqp/tools/ |
D | DDLTileHelper.cpp | 108 for (int y = 0, yOff = 0; y < fNumDivisions; ++y, yOff += yTileSize) { in DDLTileHelper() local 109 int ySize = (y < fNumDivisions-1) ? yTileSize : viewport.height()-yOff; in DDLTileHelper() 114 SkIRect clip = SkIRect::MakeXYWH(xOff, yOff, xSize, ySize); in DDLTileHelper()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
D | LongArray.java | 679 private static long addShiftedUp(long[] x, int xOff, long[] y, int yOff, int count, int shift) in addShiftedUp() argument 685 long next = y[yOff + i]; in addShiftedUp() 692 private static long addShiftedDown(long[] x, int xOff, long[] y, int yOff, int count, int shift) in addShiftedDown() argument 699 long next = y[yOff + i]; in addShiftedDown() 723 private static void add(long[] x, int xOff, long[] y, int yOff, int count) in add() argument 727 x[xOff + i] ^= y[yOff + i]; in add() 731 private static void add(long[] x, int xOff, long[] y, int yOff, long[] z, int zOff, int count) in add() argument 735 z[zOff + i] = x[xOff + i] ^ y[yOff + i]; in add() 1648 private static void flipVector(long[] x, int xOff, long[] y, int yOff, int yLen, int bits) in flipVector() argument 1655 add(x, xOff, y, yOff, yLen); in flipVector() [all …]
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/math/ec/ |
D | LongArray.java | 680 private static long addShiftedUp(long[] x, int xOff, long[] y, int yOff, int count, int shift) in addShiftedUp() argument 686 long next = y[yOff + i]; in addShiftedUp() 693 private static long addShiftedDown(long[] x, int xOff, long[] y, int yOff, int count, int shift) in addShiftedDown() argument 700 long next = y[yOff + i]; in addShiftedDown() 724 private static void add(long[] x, int xOff, long[] y, int yOff, int count) in add() argument 728 x[xOff + i] ^= y[yOff + i]; in add() 732 private static void add(long[] x, int xOff, long[] y, int yOff, long[] z, int zOff, int count) in add() argument 736 z[zOff + i] = x[xOff + i] ^ y[yOff + i]; in add() 1649 private static void flipVector(long[] x, int xOff, long[] y, int yOff, int yLen, int bits) in flipVector() argument 1656 add(x, xOff, y, yOff, yLen); in flipVector() [all …]
|
/external/skqp/tests/ |
D | FontHostStreamTest.cpp | 42 const int yOff = itest.fTop - iref.fTop; in compare() local 48 int refY = y + yOff; in compare()
|
D | DrawTextTest.cpp | 41 const int yOff = itest.fTop - iref.fTop; in compare() local 47 int refY = y + yOff; in compare()
|
/external/skia/tests/ |
D | FontHostStreamTest.cpp | 42 const int yOff = itest.fTop - iref.fTop; in compare() local 48 int refY = y + yOff; in compare()
|
D | DrawTextTest.cpp | 41 const int yOff = itest.fTop - iref.fTop; in compare() local 47 int refY = y + yOff; in compare()
|
/external/perfetto/ui/src/frontend/ |
D | overview_timeline_panel.ts | 90 const yOff = Math.floor(headerHeight + y * trackHeight); constant 93 ctx.fillRect(xStart, yOff, xEnd - xStart, Math.ceil(trackHeight));
|