Home
last modified time | relevance | path

Searched refs:zz (Results 1 – 25 of 146) sorted by relevance

123456

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/raw/
DNat384.java6 public static void mul(int[] x, int[] y, int[] zz) in mul() argument
8 Nat192.mul(x, y, zz); in mul()
9 Nat192.mul(x, 6, y, 6, zz, 12); in mul()
11 int c18 = Nat192.addToEachOther(zz, 6, zz, 12); in mul()
12 int c12 = c18 + Nat192.addTo(zz, 0, zz, 6, 0); in mul()
13 c18 += Nat192.addTo(zz, 18, zz, 12, c12); in mul()
21 c18 += neg ? Nat.addTo(12, tt, 0, zz, 6) : Nat.subFrom(12, tt, 0, zz, 6); in mul()
22 Nat.addWordAt(24, c18, zz, 18); in mul()
25 public static void square(int[] x, int[] zz) in square() argument
27 Nat192.square(x, zz); in square()
[all …]
DNat512.java6 public static void mul(int[] x, int[] y, int[] zz) in mul() argument
8 Nat256.mul(x, y, zz); in mul()
9 Nat256.mul(x, 8, y, 8, zz, 16); in mul()
11 int c24 = Nat256.addToEachOther(zz, 8, zz, 16); in mul()
12 int c16 = c24 + Nat256.addTo(zz, 0, zz, 8, 0); in mul()
13 c24 += Nat256.addTo(zz, 24, zz, 16, c16); in mul()
21 c24 += neg ? Nat.addTo(16, tt, 0, zz, 8) : Nat.subFrom(16, tt, 0, zz, 8); in mul()
22 Nat.addWordAt(32, c24, zz, 24); in mul()
25 public static void square(int[] x, int[] zz) in square() argument
27 Nat256.square(x, zz); in square()
[all …]
DNat192.java345 public static void mul(int[] x, int[] y, int[] zz) in mul() argument
357 zz[0] = (int)c; in mul()
360 zz[1] = (int)c; in mul()
363 zz[2] = (int)c; in mul()
366 zz[3] = (int)c; in mul()
369 zz[4] = (int)c; in mul()
372 zz[5] = (int)c; in mul()
374 zz[6] = (int)c; in mul()
380 c += x_i * y_0 + (zz[i + 0] & M); in mul()
381 zz[i + 0] = (int)c; in mul()
[all …]
DNat256.java440 public static void mul(int[] x, int[] y, int[] zz) in mul() argument
454 zz[0] = (int)c; in mul()
457 zz[1] = (int)c; in mul()
460 zz[2] = (int)c; in mul()
463 zz[3] = (int)c; in mul()
466 zz[4] = (int)c; in mul()
469 zz[5] = (int)c; in mul()
472 zz[6] = (int)c; in mul()
475 zz[7] = (int)c; in mul()
477 zz[8] = (int)c; in mul()
[all …]
DNat224.java342 public static void mul(int[] x, int[] y, int[] zz) in mul() argument
355 zz[0] = (int)c; in mul()
358 zz[1] = (int)c; in mul()
361 zz[2] = (int)c; in mul()
364 zz[3] = (int)c; in mul()
367 zz[4] = (int)c; in mul()
370 zz[5] = (int)c; in mul()
373 zz[6] = (int)c; in mul()
375 zz[7] = (int)c; in mul()
381 c += x_i * y_0 + (zz[i + 0] & M); in mul()
[all …]
DNat.java424 public static void mul(int len, int[] x, int[] y, int[] zz) in mul() argument
426 zz[len] = mulWord(len, x[0], y, zz); in mul()
430 zz[i + len] = mulWordAddTo(len, x[i], y, 0, zz, i); in mul()
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()
444 public static int mulAddTo(int len, int[] x, int[] y, int[] zz) in mulAddTo() argument
449 long c = mulWordAddTo(len, x[i], y, 0, zz, i) & M; in mulAddTo()
450 c += zc + (zz[i + len] & M); in mulAddTo()
451 zz[i + len] = (int)c; in mulAddTo()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/custom/sec/
DSecP192K1Field.java29 public static void addExt(int[] xx, int[] yy, int[] zz) in addExt() argument
31 int c = Nat.add(12, xx, yy, zz); in addExt()
32 if (c != 0 || (zz[11] == PExt11 && Nat.gte(12, zz, PExt))) in addExt()
34 if (Nat.addTo(PExtInv.length, PExtInv, zz) != 0) in addExt()
36 Nat.incAt(12, zz, PExtInv.length); in addExt()
80 public static void multiplyAddToExt(int[] x, int[] y, int[] zz) in multiplyAddToExt() argument
82 int c = Nat192.mulAddTo(x, y, zz); in multiplyAddToExt()
83 if (c != 0 || (zz[11] == PExt11 && Nat.gte(12, zz, PExt))) in multiplyAddToExt()
85 if (Nat.addTo(PExtInv.length, PExtInv, zz) != 0) in multiplyAddToExt()
87 Nat.incAt(12, zz, PExtInv.length); in multiplyAddToExt()
[all …]
DSecP224K1Field.java30 public static void addExt(int[] xx, int[] yy, int[] zz) in addExt() argument
32 int c = Nat.add(14, xx, yy, zz); in addExt()
33 if (c != 0 || (zz[13] == PExt13 && Nat.gte(14, zz, PExt))) in addExt()
35 if (Nat.addTo(PExtInv.length, PExtInv, zz) != 0) in addExt()
37 Nat.incAt(14, zz, PExtInv.length); in addExt()
81 public static void multiplyAddToExt(int[] x, int[] y, int[] zz) in multiplyAddToExt() argument
83 int c = Nat224.mulAddTo(x, y, zz); in multiplyAddToExt()
84 if (c != 0 || (zz[13] == PExt13 && Nat.gte(14, zz, PExt))) in multiplyAddToExt()
86 if (Nat.addTo(PExtInv.length, PExtInv, zz) != 0) in multiplyAddToExt()
88 Nat.incAt(14, zz, PExtInv.length); in multiplyAddToExt()
[all …]
DSecP256K1Field.java31 public static void addExt(int[] xx, int[] yy, int[] zz) in addExt() argument
33 int c = Nat.add(16, xx, yy, zz); in addExt()
34 if (c != 0 || (zz[15] == PExt15 && Nat.gte(16, zz, PExt))) in addExt()
36 if (Nat.addTo(PExtInv.length, PExtInv, zz) != 0) in addExt()
38 Nat.incAt(16, zz, PExtInv.length); in addExt()
82 public static void multiplyAddToExt(int[] x, int[] y, int[] zz) in multiplyAddToExt() argument
84 int c = Nat256.mulAddTo(x, y, zz); in multiplyAddToExt()
85 if (c != 0 || (zz[15] == PExt15 && Nat.gte(16, zz, PExt))) in multiplyAddToExt()
87 if (Nat.addTo(PExtInv.length, PExtInv, zz) != 0) in multiplyAddToExt()
89 Nat.incAt(16, zz, PExtInv.length); in multiplyAddToExt()
[all …]
DSecP192R1Field.java30 public static void addExt(int[] xx, int[] yy, int[] zz) in addExt() argument
32 int c = Nat.add(12, xx, yy, zz); in addExt()
33 if (c != 0 || (zz[11] == PExt11 && Nat.gte(12, zz, PExt))) in addExt()
35 if (Nat.addTo(PExtInv.length, PExtInv, zz) != 0) in addExt()
37 Nat.incAt(12, zz, PExtInv.length); in addExt()
81 public static void multiplyAddToExt(int[] x, int[] y, int[] zz) in multiplyAddToExt() argument
83 int c = Nat192.mulAddTo(x, y, zz); in multiplyAddToExt()
84 if (c != 0 || (zz[11] == PExt11 && Nat.gte(12, zz, PExt))) in multiplyAddToExt()
86 if (Nat.addTo(PExtInv.length, PExtInv, zz) != 0) in multiplyAddToExt()
88 Nat.incAt(12, zz, PExtInv.length); in multiplyAddToExt()
[all …]
DSecP224R1Field.java30 public static void addExt(int[] xx, int[] yy, int[] zz) in addExt() argument
32 int c = Nat.add(14, xx, yy, zz); in addExt()
33 if (c != 0 || (zz[13] == PExt13 && Nat.gte(14, zz, PExt))) in addExt()
35 if (Nat.addTo(PExtInv.length, PExtInv, zz) != 0) in addExt()
37 Nat.incAt(14, zz, PExtInv.length); in addExt()
81 public static void multiplyAddToExt(int[] x, int[] y, int[] zz) in multiplyAddToExt() argument
83 int c = Nat224.mulAddTo(x, y, zz); in multiplyAddToExt()
84 if (c != 0 || (zz[13] == PExt13 && Nat.gte(14, zz, PExt))) in multiplyAddToExt()
86 if (Nat.addTo(PExtInv.length, PExtInv, zz) != 0) in multiplyAddToExt()
88 Nat.incAt(14, zz, PExtInv.length); in multiplyAddToExt()
[all …]
DSecP256R1Field.java30 public static void addExt(int[] xx, int[] yy, int[] zz) in addExt() argument
32 int c = Nat.add(16, xx, yy, zz); in addExt()
33 if (c != 0 || (zz[15] == PExt15 && Nat.gte(16, zz, PExt))) in addExt()
35 Nat.subFrom(16, PExt, zz); in addExt()
78 public static void multiplyAddToExt(int[] x, int[] y, int[] zz) in multiplyAddToExt() argument
80 int c = Nat256.mulAddTo(x, y, zz); in multiplyAddToExt()
81 if (c != 0 || (zz[15] == PExt15 && Nat.gte(16, zz, PExt))) in multiplyAddToExt()
83 Nat.subFrom(16, PExt, zz); in multiplyAddToExt()
227 public static void subtractExt(int[] xx, int[] yy, int[] zz) in subtractExt() argument
229 int c = Nat.sub(16, xx, yy, zz); in subtractExt()
[all …]
DSecP521R1Field.java141 protected static void implMultiply(int[] x, int[] y, int[] zz) in implMultiply() argument
143 Nat512.mul(x, y, zz); in implMultiply()
146 zz[32] = Nat.mul31BothAdd(16, x16, y, y16, x, zz, 16) + (x16 * y16); in implMultiply()
149 protected static void implSquare(int[] x, int[] zz) in implSquare() argument
151 Nat512.square(x, zz); in implSquare()
154 zz[32] = Nat.mulWordAddTo(16, x16 << 1, x, 0, zz, 16) + (x16 * x16); in implSquare()
DSecP384R1Field.java33 public static void addExt(int[] xx, int[] yy, int[] zz) in addExt() argument
35 int c = Nat.add(24, xx, yy, zz); in addExt()
36 if (c != 0 || (zz[23] == PExt23 && Nat.gte(24, zz, PExt))) in addExt()
38 if (Nat.addTo(PExtInv.length, PExtInv, zz) != 0) in addExt()
40 Nat.incAt(24, zz, PExtInv.length); in addExt()
223 public static void subtractExt(int[] xx, int[] yy, int[] zz) in subtractExt() argument
225 int c = Nat.sub(24, xx, yy, zz); in subtractExt()
228 if (Nat.subFrom(PExtInv.length, PExtInv, zz) != 0) in subtractExt()
230 Nat.decAt(24, zz, PExtInv.length); in subtractExt()
/external/bzip2/
Dhuffman.c35 Int32 zz, tmp; \
36 zz = z; tmp = heap[zz]; \
37 while (weight[tmp] < weight[heap[zz >> 1]]) { \
38 heap[zz] = heap[zz >> 1]; \
39 zz >>= 1; \
41 heap[zz] = tmp; \
46 Int32 zz, yy, tmp; \
47 zz = z; tmp = heap[zz]; \
49 yy = zz << 1; \
55 heap[zz] = heap[yy]; \
[all …]
/external/skia/src/core/
DSkPoint3.cpp33 double zz = z; in Length() local
34 return (float)sqrt(xx * xx + yy * yy + zz * zz); in Length()
62 double zz = fZ; in normalize() local
67 double dscale = 1.0f / sqrt(xx * xx + yy * yy + zz * zz); in normalize()
73 scale = (float)(1.0f / sqrt(xx * xx + yy * yy + zz * zz)); in normalize()
/external/eigen/Eigen/src/Eigenvalues/
DRealQZ.h365 for (Index zz=z; zz<l; zz++) in pushDownZero() local
368 Index firstColS = zz>f ? (zz-1) : zz; in pushDownZero()
369 G.makeGivens(m_T.coeff(zz, zz+1), m_T.coeff(zz+1, zz+1)); in pushDownZero()
370 m_S.rightCols(dim-firstColS).applyOnTheLeft(zz,zz+1,G.adjoint()); in pushDownZero()
371 m_T.rightCols(dim-zz).applyOnTheLeft(zz,zz+1,G.adjoint()); in pushDownZero()
372 m_T.coeffRef(zz+1,zz+1) = Scalar(0.0); in pushDownZero()
375 m_Q.applyOnTheRight(zz,zz+1,G); in pushDownZero()
377 if (zz>f) in pushDownZero()
379 G.makeGivens(m_S.coeff(zz+1, zz), m_S.coeff(zz+1,zz-1)); in pushDownZero()
380 m_S.topRows(zz+2).applyOnTheRight(zz, zz-1,G); in pushDownZero()
[all …]
/external/v8/test/mjsunit/asm/
Dif-folding.js78 var zz = c | 0;
82 if (yy) { var x = zz ? 29 : 30; }
83 else { var x = zz ? 31 : 32; }
85 if (yy) { var x = zz ? 33 : 34; }
86 else { var x = zz ? 35 : 36; }
/external/valgrind/none/tests/amd64/
Dbug127521-64.c52 ULong dd, aa, mmHi, mmLo, zz; in try8b() local
53 do_cmpxchg8b( &dd, &aa, &mmHi, &mmLo, &zz, in try8b()
57 d,a, mHi,mLo, c,b, zz, dd,aa, mmHi,mmLo ); in try8b()
105 ULong dd, aa, mmHi, mmLo, zz; in try16b() local
106 do_cmpxchg16b( &dd, &aa, &mmHi, &mmLo, &zz, in try16b()
110 d,a, mHi,mLo, c,b, zz, dd,aa, mmHi,mmLo ); in try16b()
/external/clang/test/Sema/
Ddesignated-initializers.c98 struct outer { struct inner { int x, *y; } in, *inp; } zz[] = { variable
99 [0].in.x = 2, &zz[0].in.x, &zz[0].in,
100 0, &anint, &zz[1].in,
102 [7].in.y = &anint, &zz[0].in,
106 int zz_sizecheck[sizeof(zz) / sizeof(struct outer) == 8? 1 : -1 ];
/external/libxml2/result/
Dxml2.sax6 SAX.entityDecl(xx, 4, (null), (null), %zz;)
8 SAX.entityDecl(zz, 4, (null), (null), <!ENTITY tricky "error-prone" >)
9 SAX.getParameterEntity(zz)
Dxml2.sax26 SAX.entityDecl(xx, 4, (null), (null), %zz;)
8 SAX.entityDecl(zz, 4, (null), (null), <!ENTITY tricky "error-prone" >)
9 SAX.getParameterEntity(zz)
/external/compiler-rt/test/msan/
Dchained_origin.cc40 int * volatile zz = new int; in main() local
41 int z = *zz; in main()
/external/llvm/test/CodeGen/ARM/
D2010-05-18-LocalAllocCrash.ll3 ;; This test would spill %R4 before the call to zz, but it forgot to move the
22 …call void (...) @zz(i8* getelementptr inbounds ([1 x i8], [1 x i8]* @.str, i32 0, i32 0), i32 2, …
34 declare void @zz(...)
/external/vulkan-validation-layers/libs/glm/gtx/
Dmatrix_interpolation.inl36 T zz = (mat[2][2] + (T)1.0) / (T)2.0; local
40 if((xx > yy) && (xx > zz))
52 else if (yy > zz)
66 if (zz < epsilon) {
71 axis.z = sqrt(zz);

123456