/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() 298 public static boolean gte(int[] x, int xOff, int[] y, int yOff) in gte() argument 303 int y_i = y[yOff + i] ^ Integer.MIN_VALUE; in gte() 425 public static void mul(int[] x, int xOff, int[] y, int yOff, int[] zz, int zzOff) in mul() argument 427 long y_0 = y[yOff + 0] & M; in mul() 428 long y_1 = y[yOff + 1] & M; in mul() 429 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() 275 public static int compare(int len, int[] x, int xOff, int[] y, int yOff) in compare() argument 280 int y_i = y[yOff + i] ^ Integer.MIN_VALUE; in compare() 346 … public static int csub(int len, int mask, int[] x, int xOff, int[] y, int yOff, int[] z, int zOff) in csub() argument 352 c += (x[xOff + i] & M) - (y[yOff + i] & MASK); in csub() 418 public static boolean diff(int len, int[] x, int xOff, int[] y, int yOff, int[] z, int zOff) in diff() argument 420 boolean pos = gte(len, x, xOff, y, yOff); in diff() 423 sub(len, x, xOff, y, yOff, z, zOff); in diff() 427 sub(len, y, yOff, x, xOff, z, zOff); in diff() [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() 294 public static boolean gte(int[] x, int xOff, int[] y, int yOff) in gte() argument 299 int y_i = y[yOff + i] ^ Integer.MIN_VALUE; in gte() 421 public static void mul(int[] x, int xOff, int[] y, int yOff, int[] zz, int zzOff) in mul() argument 423 long y_0 = y[yOff + 0] & M; in mul() 424 long y_1 = y[yOff + 1] & M; in mul() 425 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() 271 public static int compare(int len, int[] x, int xOff, int[] y, int yOff) in compare() argument 276 int y_i = y[yOff + i] ^ Integer.MIN_VALUE; in compare() 342 … public static int csub(int len, int mask, int[] x, int xOff, int[] y, int yOff, int[] z, int zOff) in csub() argument 348 c += (x[xOff + i] & M) - (y[yOff + i] & MASK); in csub() 414 public static boolean diff(int len, int[] x, int xOff, int[] y, int yOff, int[] z, int zOff) in diff() argument 416 boolean pos = gte(len, x, xOff, y, yOff); in diff() 419 sub(len, x, xOff, y, yOff, z, zOff); in diff() 423 sub(len, y, yOff, x, xOff, z, zOff); in diff() [all …]
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/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() 298 public static boolean gte(int[] x, int xOff, int[] y, int yOff) in gte() argument 303 int y_i = y[yOff + i] ^ Integer.MIN_VALUE; in gte() 425 public static void mul(int[] x, int xOff, int[] y, int yOff, int[] zz, int zzOff) in mul() argument 427 long y_0 = y[yOff + 0] & M; in mul() 428 long y_1 = y[yOff + 1] & M; in mul() 429 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() 275 public static int compare(int len, int[] x, int xOff, int[] y, int yOff) in compare() argument 280 int y_i = y[yOff + i] ^ Integer.MIN_VALUE; in compare() 346 … public static int csub(int len, int mask, int[] x, int xOff, int[] y, int yOff, int[] z, int zOff) in csub() argument 352 c += (x[xOff + i] & M) - (y[yOff + i] & MASK); in csub() 418 public static boolean diff(int len, int[] x, int xOff, int[] y, int yOff, int[] z, int zOff) in diff() argument 420 boolean pos = gte(len, x, xOff, y, yOff); in diff() 423 sub(len, x, xOff, y, yOff, z, zOff); in diff() 427 sub(len, y, yOff, x, xOff, z, zOff); in diff() [all …]
|
/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/skia/gm/ |
D | anisotropic.cpp | 80 int yOff; in onDraw() local 82 yOff = kSpacer + i * (fImage->height() + kSpacer); in onDraw() 85 yOff = (SK_ARRAY_COUNT(gScales) - i) * (fImage->height() + kSpacer) - height; in onDraw() 88 this->draw(canvas, kSpacer, yOff, fImage->width(), height); in onDraw() 95 int xOff, yOff; in onDraw() local 98 yOff = kSpacer + i * (fImage->height() + kSpacer); in onDraw() 102 yOff = kSpacer + (SK_ARRAY_COUNT(gScales) - i - 1) * (fImage->height() + kSpacer); in onDraw() 105 this->draw(canvas, xOff, yOff, width, fImage->height()); in onDraw()
|
D | nested.cpp | 102 SkScalar xOff = 2, yOff = 2; in onDraw() local 115 canvas->translate(xOff, -yOff - 40.0f); in onDraw() 117 canvas->translate(xOff, yOff); in onDraw() 128 yOff += 45; in onDraw()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/modes/gcm/ |
D | GCMUtil.java | 338 public static void xor(byte[] x, byte[] y, int yOff) in xor() argument 343 x[i] ^= y[yOff + i]; ++i; in xor() 344 x[i] ^= y[yOff + i]; ++i; in xor() 345 x[i] ^= y[yOff + i]; ++i; in xor() 346 x[i] ^= y[yOff + i]; ++i; in xor() 351 public static void xor(byte[] x, int xOff, byte[] y, int yOff, byte[] z, int zOff) in xor() argument 356 z[zOff + i] = (byte)(x[xOff + i] ^ y[yOff + i]); ++i; in xor() 357 z[zOff + i] = (byte)(x[xOff + i] ^ y[yOff + i]); ++i; in xor() 358 z[zOff + i] = (byte)(x[xOff + i] ^ y[yOff + i]); ++i; in xor() 359 z[zOff + i] = (byte)(x[xOff + i] ^ y[yOff + i]); ++i; in xor() [all …]
|
/external/bouncycastle/repackaged_platform/bcprov/src/main/java/com/android/internal/org/bouncycastle/crypto/modes/gcm/ |
D | GCMUtil.java | 342 public static void xor(byte[] x, byte[] y, int yOff) in xor() argument 347 x[i] ^= y[yOff + i]; ++i; in xor() 348 x[i] ^= y[yOff + i]; ++i; in xor() 349 x[i] ^= y[yOff + i]; ++i; in xor() 350 x[i] ^= y[yOff + i]; ++i; in xor() 355 public static void xor(byte[] x, int xOff, byte[] y, int yOff, byte[] z, int zOff) in xor() argument 360 z[zOff + i] = (byte)(x[xOff + i] ^ y[yOff + i]); ++i; in xor() 361 z[zOff + i] = (byte)(x[xOff + i] ^ y[yOff + i]); ++i; in xor() 362 z[zOff + i] = (byte)(x[xOff + i] ^ y[yOff + i]); ++i; in xor() 363 z[zOff + i] = (byte)(x[xOff + i] ^ y[yOff + i]); ++i; in xor() [all …]
|
/external/bouncycastle/repackaged/bcprov/src/main/java/com/android/org/bouncycastle/crypto/modes/gcm/ |
D | GCMUtil.java | 342 public static void xor(byte[] x, byte[] y, int yOff) in xor() argument 347 x[i] ^= y[yOff + i]; ++i; in xor() 348 x[i] ^= y[yOff + i]; ++i; in xor() 349 x[i] ^= y[yOff + i]; ++i; in xor() 350 x[i] ^= y[yOff + i]; ++i; in xor() 355 public static void xor(byte[] x, int xOff, byte[] y, int yOff, byte[] z, int zOff) in xor() argument 360 z[zOff + i] = (byte)(x[xOff + i] ^ y[yOff + i]); ++i; in xor() 361 z[zOff + i] = (byte)(x[xOff + i] ^ y[yOff + i]); ++i; in xor() 362 z[zOff + i] = (byte)(x[xOff + i] ^ y[yOff + i]); ++i; in xor() 363 z[zOff + i] = (byte)(x[xOff + i] ^ y[yOff + i]); ++i; in xor() [all …]
|
/external/OpenCL-CTS/test_conformance/images/kernel_read_write/ |
D | test_common.h | 190 for (int yOff = -1; yOff <= 1; yOff++) in determine_validation_error_offset() local 194 clampedX - 1, clampedY + yOff, in determine_validation_error_offset() 197 clampedY + yOff, clampedZ + zOff, in determine_validation_error_offset() 200 clampedX + 1, clampedY + yOff, in determine_validation_error_offset()
|
D | test_read_1D_array.cpp | 151 for( int yOff = -2; yOff <= 1; yOff++ ) in determine_validation_error_1D_arr() local 154 … read_image_pixel_float( imagePtr, imageInfo, clampedX - 2 , clampedY + yOff, 0, top ); in determine_validation_error_1D_arr() 155 … read_image_pixel_float( imagePtr, imageInfo, clampedX - 1 ,clampedY + yOff, 0, real ); in determine_validation_error_1D_arr() 156 read_image_pixel_float( imagePtr, imageInfo, clampedX, clampedY + yOff, 0, bot ); in determine_validation_error_1D_arr() 157 … read_image_pixel_float( imagePtr, imageInfo, clampedX + 1, clampedY + yOff, 0, bot2 ); in determine_validation_error_1D_arr() 158 log_error( "%d\t(%g,%g,%g,%g)",clampedY + yOff, top[0], top[1], top[2], top[3] ); in determine_validation_error_1D_arr() 168 … for( int yOff = (int)imageInfo->arraySize - 2; yOff <= (int)imageInfo->arraySize + 1; yOff++ ) in determine_validation_error_1D_arr() local 171 … read_image_pixel_float( imagePtr, imageInfo, clampedX - 2 , clampedY + yOff, 0, top ); in determine_validation_error_1D_arr() 172 … read_image_pixel_float( imagePtr, imageInfo, clampedX - 1 ,clampedY + yOff, 0, real ); in determine_validation_error_1D_arr() 173 … read_image_pixel_float( imagePtr, imageInfo, clampedX, clampedY + yOff, 0, bot ); in determine_validation_error_1D_arr() [all …]
|
D | test_iterations.cpp | 208 for( int yOff = -2; yOff <= 1; yOff++ ) in determine_validation_error() local 211 … read_image_pixel_float( imagePtr, imageInfo, clampedX - 2 , clampedY + yOff, 0, top ); in determine_validation_error() 212 … read_image_pixel_float( imagePtr, imageInfo, clampedX - 1 ,clampedY + yOff, 0, real ); in determine_validation_error() 213 read_image_pixel_float( imagePtr, imageInfo, clampedX, clampedY + yOff, 0, bot ); in determine_validation_error() 214 … read_image_pixel_float( imagePtr, imageInfo, clampedX + 1, clampedY + yOff, 0, bot2 ); in determine_validation_error() 217 log_error( "%d\t(%g)",clampedY + yOff, top[0] ); in determine_validation_error() 224 … log_error( "%d\t(%g,%g,%g,%g)",clampedY + yOff, top[0], top[1], top[2], top[3] ); in determine_validation_error() 235 … for( int yOff = (int)imageInfo->height - 2; yOff <= (int)imageInfo->height + 1; yOff++ ) in determine_validation_error() local 238 … read_image_pixel_float( imagePtr, imageInfo, clampedX - 2 , clampedY + yOff, 0, top ); in determine_validation_error() 239 … read_image_pixel_float( imagePtr, imageInfo, clampedX - 1 ,clampedY + yOff, 0, real ); in determine_validation_error() [all …]
|
/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/skqp/tests/ |
D | FontHostStreamTest.cpp | 42 const int yOff = itest.fTop - iref.fTop; in compare() local 48 int refY = y + yOff; in compare()
|