Home
last modified time | relevance | path

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

12

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/raw/
DNat256.java41 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 …]
DNat224.java38 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 …]
DNat192.java83 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 …]
DNat.java81 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/
DSHA224Digest.java28 private int xOff; field in SHA224Digest
63 xOff = t.xOff; in doCopy()
79 xOff = Pack.bigEndianToInt(encodedState, 48); in SHA224Digest()
80 for (int i = 0; i != xOff; i++) in SHA224Digest()
106 X[xOff] = n; in processWord()
108 if (++xOff == 16) in processWord()
117 if (xOff > 14) in processLength()
164 xOff = 0; in reset()
258 xOff = 0; in processBlock()
334 byte[] state = new byte[52 + xOff * 4]; in getEncodedState()
[all …]
DSHA256Digest.java28 private int xOff; field in SHA256Digest
63 xOff = t.xOff; in copyIn()
79 xOff = Pack.bigEndianToInt(encodedState, 48); in SHA256Digest()
80 for (int i = 0; i != xOff; i++) in SHA256Digest()
107 X[xOff] = n; in processWord()
109 if (++xOff == 16) in processWord()
118 if (xOff > 14) in processLength()
168 xOff = 0; in reset()
261 xOff = 0; in processBlock()
338 byte[] state = new byte[52 + xOff * 4]; in getEncodedState()
[all …]
DSHA1Digest.java21 private int xOff; field in SHA1Digest
52 xOff = Pack.bigEndianToInt(encodedState, 36); in SHA1Digest()
53 for (int i = 0; i != xOff; i++) in SHA1Digest()
68 xOff = t.xOff; in copyIn()
91 X[xOff] = n; in processWord()
93 if (++xOff == 16) in processWord()
102 if (xOff > 14) in processLength()
141 xOff = 0; in reset()
304 xOff = 0; in processBlock()
326 byte[] state = new byte[40 + xOff * 4]; in getEncodedState()
[all …]
DMD5Digest.java17 private int xOff; field in MD5Digest
48 xOff = t.xOff; in copyIn()
65 X[xOff++] = (in[inOff] & 0xff) | ((in[inOff + 1] & 0xff) << 8) in processWord()
68 if (xOff == 16) in processWord()
77 if (xOff > 14) in processLength()
125 xOff = 0; in reset()
305 xOff = 0; in processBlock()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DLongArray.java588 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/skia/tools/
Dsk_tool_utils.cpp369 for (int xOff = 0; xOff < wh; ++xOff) { in create_2d_kernel() local
370 temp[yOff*wh+xOff] = gaussian2d_value(xOff-halfFilterSize, yOff-halfFilterSize, sigma); in create_2d_kernel()
372 filterTot += temp[yOff*wh+xOff]; in create_2d_kernel()
378 for (int xOff = 0; xOff < wh; ++xOff) { in create_2d_kernel() local
379 temp[yOff*wh+xOff] /= filterTot; in create_2d_kernel()
401 for (int xOff = 0; xOff < wh; ++xOff) { in blur_pixel() local
402 int xSamp = x + xOff - halfFilterSize; in blur_pixel()
410 float filter = kernel[yOff*wh + xOff]; in blur_pixel()
/external/skia/gm/
Dnested.cpp94 SkScalar xOff = 2, yOff = 2; in onDraw() local
107 canvas->translate(xOff, -yOff - 40.0f); in onDraw()
109 canvas->translate(xOff, yOff); in onDraw()
115 xOff += 45; in onDraw()
119 xOff = 2; in onDraw()
Danisotropic.cpp85 int xOff, yOff; in onDraw() local
87 xOff = fBM.width() + 2*kSpacer; in onDraw()
91 xOff = fBM.width() + 2*kSpacer + fBM.width() - width; in onDraw()
95 this->draw(canvas, xOff, yOff, width, fBM.height()); in onDraw()
Dsimpleaaclip.cpp161 int xOff = 0; in onDraw() local
174 if (xOff >= 400) { in onDraw()
176 xOff = 0; in onDraw()
179 xOff += 200; in onDraw()
Dmegalooper.cpp164 SkLayerDrawLooper* create1Looper(SkScalar xOff, SkScalar yOff, SkColor color) { in create1Looper() argument
171 info.fOffset.set(xOff, yOff); in create1Looper()
208 SkLayerDrawLooper* create4Looper(SkScalar xOff, SkScalar yOff) { in create4Looper() argument
220 info.fOffset.set(xOff+gBlurOffsets[i].fX, yOff+gBlurOffsets[i].fY); in create4Looper()
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/selector/
DMSOutlookKeyIdCalculator.java172 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/skia/bench/
DRectoriBench.cpp74 SkLayerDrawLooper* createLooper(SkScalar xOff, SkScalar sigma) { in createLooper() argument
84 info.fOffset.set(xOff, 0); in createLooper()
/external/skia/tests/
DDrawTextTest.cpp35 const int xOff = itest.fLeft - iref.fLeft; in compare() local
44 int refX = x + xOff; in compare()
DFontHostStreamTest.cpp39 const int xOff = itest.fLeft - iref.fLeft; in compare() local
48 int refX = x + xOff; in compare()
DBlurTest.cpp75 const int xOff = itest.fLeft - iref.fLeft; in compare() local
84 int refX = x + xOff; in compare()
/external/deqp/modules/glshared/
DglsLongStressCase.cpp457 …void setSubData (const ConstPixelBufferAccess& src, int xOff, int yOff, int width, int heigh…
560 void Texture::setSubData (const ConstPixelBufferAccess& src, const int xOff, const int yOff, const … in setSubData() argument
575 …glTexSubImage2D(GL_TEXTURE_2D, level, xOff>>level, yOff>>level, de::max(1, width>>level), de::max(… in setSubData()
583 …glTexSubImage2D(cubeFaceToGLFace((CubeFace)face), level, xOff>>level, yOff>>level, de::max(1, widt… in setSubData()
DglsLifetimeTests.cpp500 const GLint xOff = rnd.getInt(0, target.getWidth() - width); in randomViewport() local
504 return Rectangle(xOff, yOff, width, height); in randomViewport()
/external/deqp/modules/gles31/functional/
Des31fSeparateShaderTests.cpp992 GLint xOff = rnd.getInt(0, target.getWidth() - width); in randomViewport() local
996 return Rectangle(xOff, yOff, width, height); in randomViewport()
Des31fTessellationTests.cpp1030 for (int xOff = -((size-1)/2); xOff <= size/2; xOff++) in drawPoint() local
1032 const int pixX = centerX + xOff; in drawPoint()
/external/valgrind/VEX/priv/
Dguest_arm_toIR.c12646 UInt xReg[16], xOff[16]; in mk_ldm_stm() local
12661 xOff[nX] = 4 * m; in mk_ldm_stm()
12679 vex_printf("reg %u off %u\n", xReg[i], xOff[i]); in mk_ldm_stm()
12690 UInt tOff = xOff[i]; in mk_ldm_stm()
12696 xOff[m-1] = xOff[m]; in mk_ldm_stm()
12700 xOff[m-1] = tOff; in mk_ldm_stm()
12707 xOff[m+1] = xOff[m]; in mk_ldm_stm()
12711 xOff[0] = tOff; in mk_ldm_stm()
12718 vex_printf("reg %u off %u\n", xReg[i], xOff[i]); in mk_ldm_stm()
12738 mkU32(xOff[i]))); in mk_ldm_stm()
[all …]
/external/google-tv-pairing-protocol/java/jar/
Dbcprov-jdk15-143.jarMETA-INF/MANIFEST.MF META-INF/BCKEY.SF META-INF/BCKEY ...

12