/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/raw/ |
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 | 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 | Nat192.java | 83 public static int addTo(int[] x, int xOff, int[] z, int zOff, int cIn) in addTo() argument 86 c += (x[xOff + 0] & M) + (z[zOff + 0] & M); in addTo() 89 c += (x[xOff + 1] & M) + (z[zOff + 1] & M); in addTo() 92 c += (x[xOff + 2] & M) + (z[zOff + 2] & M); in addTo() 95 c += (x[xOff + 3] & M) + (z[zOff + 3] & M); in addTo() 98 c += (x[xOff + 4] & M) + (z[zOff + 4] & M); in addTo() 101 c += (x[xOff + 5] & M) + (z[zOff + 5] & M); in addTo() 174 public static boolean diff(int[] x, int xOff, int[] y, int yOff, int[] z, int zOff) in diff() argument 176 boolean pos = gte(x, xOff, y, yOff); in diff() 179 sub(x, xOff, y, yOff, z, zOff); in diff() [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() 151 public static int addTo(int len, int[] x, int xOff, int[] z, int zOff) in addTo() argument 156 c += (x[xOff + i] & M) + (z[zOff + i] & M); in addTo() 434 public static void mul(int len, int[] x, int xOff, int[] y, int yOff, int[] zz, int zzOff) in mul() argument 436 zz[zzOff + len] = mulWord(len, x[xOff], y, yOff, zz, zzOff); in mul() 440 zz[zzOff + i + len] = mulWordAddTo(len, x[xOff + i], y, yOff, zz, zzOff + i); in mul() 457 public static int mulAddTo(int len, int[] x, int xOff, int[] y, int yOff, int[] zz, int zzOff) in mulAddTo() argument 462 long c = mulWordAddTo(len, x[xOff + i], y, yOff, zz, zzOff) & M; in mulAddTo() 579 public static int shiftDownBit(int len, int[] x, int xOff, int c, int[] z, int zOff) in shiftDownBit() argument [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/digests/ |
D | SHA1Digest.java | 21 private int xOff; field in SHA1Digest 57 xOff = Pack.bigEndianToInt(encodedState, 36); in SHA1Digest() 58 for (int i = 0; i != xOff; i++) in SHA1Digest() 73 xOff = t.xOff; in copyIn() 96 X[xOff] = n; in processWord() 98 if (++xOff == 16) in processWord() 107 if (xOff > 14) in processLength() 146 xOff = 0; in reset() 309 xOff = 0; in processBlock() 331 byte[] state = new byte[40 + xOff * 4]; in getEncodedState() [all …]
|
D | SHA224Digest.java | 28 private int xOff; field in SHA224Digest 63 xOff = t.xOff; in doCopy() 84 xOff = Pack.bigEndianToInt(encodedState, 48); in SHA224Digest() 85 for (int i = 0; i != xOff; i++) in SHA224Digest() 111 X[xOff] = n; in processWord() 113 if (++xOff == 16) in processWord() 122 if (xOff > 14) in processLength() 169 xOff = 0; in reset() 263 xOff = 0; in processBlock() 339 byte[] state = new byte[52 + xOff * 4]; in getEncodedState() [all …]
|
D | SHA256Digest.java | 28 private int xOff; field in SHA256Digest 63 xOff = t.xOff; in copyIn() 84 xOff = Pack.bigEndianToInt(encodedState, 48); in SHA256Digest() 85 for (int i = 0; i != xOff; i++) in SHA256Digest() 112 X[xOff] = n; in processWord() 114 if (++xOff == 16) in processWord() 123 if (xOff > 14) in processLength() 173 xOff = 0; in reset() 266 xOff = 0; in processBlock() 343 byte[] state = new byte[52 + xOff * 4]; in getEncodedState() [all …]
|
D | MD5Digest.java | 19 private int xOff; field in MD5Digest 38 xOff = Pack.bigEndianToInt(encodedState, 32); in MD5Digest() 39 for (int i = 0; i != xOff; i++) in MD5Digest() 66 xOff = t.xOff; in copyIn() 83 X[xOff++] = (in[inOff] & 0xff) | ((in[inOff + 1] & 0xff) << 8) in processWord() 86 if (xOff == 16) in processWord() 95 if (xOff > 14) in processLength() 143 xOff = 0; in reset() 323 xOff = 0; in processBlock() 344 byte[] state = new byte[36 + xOff * 4]; in getEncodedState() [all …]
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
D | LongArray.java | 588 private static long shiftUp(long[] x, int xOff, int count, int shift) in shiftUp() argument 594 long next = x[xOff + i]; in shiftUp() 595 x[xOff + i] = (next << shift) | prev; in shiftUp() 601 private static long shiftUp(long[] x, int xOff, long[] z, int zOff, int count, int shift) in shiftUp() argument 607 long next = x[xOff + i]; in shiftUp() 674 private static long addShiftedUp(long[] x, int xOff, long[] y, int yOff, int count, int shift) in addShiftedUp() argument 681 x[xOff + i] ^= (next << shift) | prev; in addShiftedUp() 687 private static long addShiftedDown(long[] x, int xOff, long[] y, int yOff, int count, int shift) in addShiftedDown() argument 695 x[xOff + i] ^= (next >>> shift) | prev; in addShiftedDown() 718 private static void add(long[] x, int xOff, long[] y, int yOff, int count) in add() argument [all …]
|
/external/skqp/gm/ |
D | nested.cpp | 95 SkScalar xOff = 2, yOff = 2; in onDraw() local 108 canvas->translate(xOff, -yOff - 40.0f); in onDraw() 110 canvas->translate(xOff, yOff); in onDraw() 116 xOff += 45; in onDraw() 120 xOff = 2; in onDraw()
|
D | anisotropic.cpp | 86 int xOff, yOff; in onDraw() local 88 xOff = fBM.width() + 2*kSpacer; in onDraw() 92 xOff = fBM.width() + 2*kSpacer + fBM.width() - width; in onDraw() 96 this->draw(canvas, xOff, yOff, width, fBM.height()); in onDraw()
|
D | simpleaaclip.cpp | 162 int xOff = 0; in onDraw() local 175 if (xOff >= 400) { in onDraw() 177 xOff = 0; in onDraw() 180 xOff += 200; in onDraw()
|
D | megalooper.cpp | 164 sk_sp<SkDrawLooper> create1Looper(SkScalar xOff, SkScalar yOff, SkColor color) { in create1Looper() argument 171 info.fOffset.set(xOff, yOff); in create1Looper() 207 sk_sp<SkDrawLooper> create4Looper(SkScalar xOff, SkScalar yOff) { in create4Looper() argument 219 info.fOffset.set(xOff+gBlurOffsets[i].fX, yOff+gBlurOffsets[i].fY); in create4Looper()
|
/external/skia/gm/ |
D | nested.cpp | 95 SkScalar xOff = 2, yOff = 2; in onDraw() local 108 canvas->translate(xOff, -yOff - 40.0f); in onDraw() 110 canvas->translate(xOff, yOff); in onDraw() 116 xOff += 45; in onDraw() 120 xOff = 2; in onDraw()
|
D | anisotropic.cpp | 86 int xOff, yOff; in onDraw() local 88 xOff = fBM.width() + 2*kSpacer; in onDraw() 92 xOff = fBM.width() + 2*kSpacer + fBM.width() - width; in onDraw() 96 this->draw(canvas, xOff, yOff, width, fBM.height()); in onDraw()
|
D | simpleaaclip.cpp | 162 int xOff = 0; in onDraw() local 175 if (xOff >= 400) { in onDraw() 177 xOff = 0; in onDraw() 180 xOff += 200; in onDraw()
|
D | megalooper.cpp | 164 sk_sp<SkDrawLooper> create1Looper(SkScalar xOff, SkScalar yOff, SkColor color) { in create1Looper() argument 171 info.fOffset.set(xOff, yOff); in create1Looper() 207 sk_sp<SkDrawLooper> create4Looper(SkScalar xOff, SkScalar yOff) { in create4Looper() argument 219 info.fOffset.set(xOff+gBlurOffsets[i].fX, yOff+gBlurOffsets[i].fY); in create4Looper()
|
/external/skia/tools/ |
D | sk_tool_utils.cpp | 182 for (int xOff = 0; xOff < wh; ++xOff) { in create_2d_kernel() local 183 temp[yOff*wh+xOff] = gaussian2d_value(xOff-halfFilterSize, yOff-halfFilterSize, sigma); in create_2d_kernel() 185 filterTot += temp[yOff*wh+xOff]; in create_2d_kernel() 191 for (int xOff = 0; xOff < wh; ++xOff) { in create_2d_kernel() local 192 temp[yOff*wh+xOff] /= filterTot; in create_2d_kernel() 214 for (int xOff = 0; xOff < wh; ++xOff) { in blur_pixel() local 215 int xSamp = x + xOff - halfFilterSize; in blur_pixel() 223 float filter = kernel[yOff*wh + xOff]; in blur_pixel()
|
/external/skqp/tools/ |
D | sk_tool_utils.cpp | 242 for (int xOff = 0; xOff < wh; ++xOff) { in create_2d_kernel() local 243 temp[yOff*wh+xOff] = gaussian2d_value(xOff-halfFilterSize, yOff-halfFilterSize, sigma); in create_2d_kernel() 245 filterTot += temp[yOff*wh+xOff]; in create_2d_kernel() 251 for (int xOff = 0; xOff < wh; ++xOff) { in create_2d_kernel() local 252 temp[yOff*wh+xOff] /= filterTot; in create_2d_kernel() 274 for (int xOff = 0; xOff < wh; ++xOff) { in blur_pixel() local 275 int xSamp = x + xOff - halfFilterSize; in blur_pixel() 283 float filter = kernel[yOff*wh + xOff]; in blur_pixel()
|
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/selector/ |
D | MSOutlookKeyIdCalculator.java | 172 private int xOff; field in MSOutlookKeyIdCalculator.SHA1Digest 202 X[xOff] = n; in processWord() 204 if (++xOff == 16) in processWord() 213 if (xOff > 14) in processLength() 252 xOff = 0; in reset() 415 xOff = 0; in processBlock()
|
/external/skqp/bench/ |
D | RectoriBench.cpp | 74 sk_sp<SkDrawLooper> createLooper(SkScalar xOff, SkScalar sigma) { in createLooper() argument 84 info.fOffset.set(xOff, 0); in createLooper()
|
/external/skia/bench/ |
D | RectoriBench.cpp | 74 sk_sp<SkDrawLooper> createLooper(SkScalar xOff, SkScalar sigma) { in createLooper() argument 84 info.fOffset.set(xOff, 0); in createLooper()
|
/external/skqp/tests/ |
D | FontHostStreamTest.cpp | 39 const int xOff = itest.fLeft - iref.fLeft; in compare() local 45 int refX = x + xOff; in compare()
|
/external/skia/tests/ |
D | FontHostStreamTest.cpp | 39 const int xOff = itest.fLeft - iref.fLeft; in compare() local 45 int refX = x + xOff; in compare()
|
D | DrawTextTest.cpp | 37 const int xOff = itest.fLeft - iref.fLeft; in compare() local 43 int refX = x + xOff; in compare()
|