Home
last modified time | relevance | path

Searched refs:yOff (Results 1 – 25 of 30) 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.java174 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()
183 sub(y, yOff, x, xOff, z, zOff); in diff()
275 public static boolean gte(int[] x, int xOff, int[] y, int yOff) in gte() argument
280 int y_i = y[yOff + i] ^ Integer.MIN_VALUE; in gte()
402 public static void mul(int[] x, int xOff, int[] y, int yOff, int[] zz, int zzOff) in mul() argument
404 long y_0 = y[yOff + 0] & M; in mul()
405 long y_1 = y[yOff + 1] & M; in mul()
406 long y_2 = y[yOff + 2] & M; in mul()
[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()
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()
499 public static int mulWord(int len, int x, int[] y, int yOff, int[] z, int zOff) in mulWord() argument
505 c += xVal * (y[yOff + i] & M); in mulWord()
513 public static int mulWordAddTo(int len, int x, int[] y, int yOff, int[] z, int zOff) in mulWordAddTo() argument
[all …]
/external/skqp/gm/
Danisotropic.cpp71 int yOff; in onDraw() local
73 yOff = kSpacer + i * (fBM.height() + kSpacer); in onDraw()
76 yOff = (SK_ARRAY_COUNT(gScales) - i) * (fBM.height() + kSpacer) - height; in onDraw()
79 this->draw(canvas, kSpacer, yOff, fBM.width(), height); in onDraw()
86 int xOff, yOff; in onDraw() local
89 yOff = kSpacer + i * (fBM.height() + kSpacer); in onDraw()
93 yOff = kSpacer + (SK_ARRAY_COUNT(gScales) - i - 1) * (fBM.height() + kSpacer); in onDraw()
96 this->draw(canvas, xOff, yOff, width, fBM.height()); in onDraw()
Dnested.cpp95 SkScalar xOff = 2, yOff = 2; in onDraw() local
108 canvas->translate(xOff, -yOff - 40.0f); in onDraw()
110 canvas->translate(xOff, yOff); in onDraw()
121 yOff += 45; in onDraw()
Dmegalooper.cpp164 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/
Danisotropic.cpp71 int yOff; in onDraw() local
73 yOff = kSpacer + i * (fBM.height() + kSpacer); in onDraw()
76 yOff = (SK_ARRAY_COUNT(gScales) - i) * (fBM.height() + kSpacer) - height; in onDraw()
79 this->draw(canvas, kSpacer, yOff, fBM.width(), height); in onDraw()
86 int xOff, yOff; in onDraw() local
89 yOff = kSpacer + i * (fBM.height() + kSpacer); in onDraw()
93 yOff = kSpacer + (SK_ARRAY_COUNT(gScales) - i - 1) * (fBM.height() + kSpacer); in onDraw()
96 this->draw(canvas, xOff, yOff, width, fBM.height()); in onDraw()
Dnested.cpp95 SkScalar xOff = 2, yOff = 2; in onDraw() local
108 canvas->translate(xOff, -yOff - 40.0f); in onDraw()
110 canvas->translate(xOff, yOff); in onDraw()
121 yOff += 45; in onDraw()
Dmegalooper.cpp164 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/
Dsk_tool_utils.cpp181 for (int yOff = 0; yOff < wh; ++yOff) { 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()
190 for (int yOff = 0; yOff < wh; ++yOff) { in create_2d_kernel() local
192 temp[yOff*wh+xOff] /= filterTot; in create_2d_kernel()
205 for (int yOff = 0; yOff < wh; ++yOff) { in blur_pixel() local
206 int ySamp = y + yOff - halfFilterSize; in blur_pixel()
223 float filter = kernel[yOff*wh + xOff]; in blur_pixel()
/external/skqp/tools/
Dsk_tool_utils.cpp241 for (int yOff = 0; yOff < wh; ++yOff) { 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()
250 for (int yOff = 0; yOff < wh; ++yOff) { in create_2d_kernel() local
252 temp[yOff*wh+xOff] /= filterTot; in create_2d_kernel()
265 for (int yOff = 0; yOff < wh; ++yOff) { in blur_pixel() local
266 int ySamp = y + yOff - halfFilterSize; in blur_pixel()
283 float filter = kernel[yOff*wh + xOff]; in blur_pixel()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DLongArray.java674 private static long addShiftedUp(long[] x, int xOff, long[] y, int yOff, int count, int shift) in addShiftedUp() argument
680 long next = y[yOff + i]; in addShiftedUp()
687 private static long addShiftedDown(long[] x, int xOff, long[] y, int yOff, int count, int shift) in addShiftedDown() argument
694 long next = y[yOff + i]; in addShiftedDown()
718 private static void add(long[] x, int xOff, long[] y, int yOff, int count) in add() argument
722 x[xOff + i] ^= y[yOff + i]; in add()
726 private static void add(long[] x, int xOff, long[] y, int yOff, long[] z, int zOff, int count) in add() argument
730 z[zOff + i] = x[xOff + i] ^ y[yOff + i]; in add()
1643 private static void flipVector(long[] x, int xOff, long[] y, int yOff, int yLen, int bits) in flipVector() argument
1650 add(x, xOff, y, yOff, yLen); in flipVector()
[all …]
/external/skqp/tests/
DFontHostStreamTest.cpp40 const int yOff = itest.fTop - iref.fTop; in compare() local
46 int refY = y + yOff; in compare()
DDrawTextTest.cpp38 const int yOff = itest.fTop - iref.fTop; in compare() local
44 int refY = y + yOff; in compare()
DBlurTest.cpp80 const int yOff = itest.fTop - iref.fTop; in compare() local
86 int refY = y + yOff; in compare()
/external/skia/tests/
DFontHostStreamTest.cpp40 const int yOff = itest.fTop - iref.fTop; in compare() local
46 int refY = y + yOff; in compare()
DDrawTextTest.cpp38 const int yOff = itest.fTop - iref.fTop; in compare() local
44 int refY = y + yOff; in compare()
DBlurTest.cpp81 const int yOff = itest.fTop - iref.fTop; in compare() local
87 int refY = y + yOff; in compare()
/external/ImageMagick/Magick++/lib/Magick++/
DGeometry.h111 void yOff(::ssize_t yOff_);
112 ::ssize_t yOff(void) const;
/external/ImageMagick/Magick++/lib/
DGeometry.cpp37 (left_.yOff() == right_.yOff())); in operator ==()
428 inline void Magick::Geometry::yOff(::ssize_t yOff_) in yOff() function in Magick::Geometry
433 ::ssize_t Magick::Geometry::yOff(void) const in yOff() function in Magick::Geometry
DSTL.cpp248 _yOffset ( offset_.yOff() ), in compositeImage()
432 _y(point_.yOff()), in floodFillColorImage()
453 _y(point_.yOff()), in floodFillColorImage()
481 _y(point_.yOff()), in floodFillTextureImage()
503 _y(point_.yOff()), in floodFillTextureImage()
532 _innerBevel( geometry_.yOff() ) in frameImage()
/external/ImageMagick/Magick++/tests/
Dgeometry.cpp35 (geometry.xOff() != 10) || (geometry.yOff() != -5) || in main()
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationCoordinatesTests.cpp202 for (int yOff = -((size-1)/2); yOff <= size/2; ++yOff) in drawPoint() local
206 const int pixY = centerY + yOff; in drawPoint()
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/gcm/
DGCMUtil.java326 public static void xor(byte[] x, byte[] y, int yOff, int yLen) in xor() argument
330 x[yLen] ^= y[yOff + yLen]; in xor()

12