/external/skia/tests/ |
PathOpsThreeWayTest.cpp | 14 struct Curve { 16 CubicPts curve; // largest can hold lines / quads/ cubics member in struct:Curve 19 static const Curve testSet0[] = { // extracted from skpClip2 25 static const Curve testSet1[] = { // extracted from cubicOp85i 33 const Curve* tests; 48 const Curve& oTest = testSet.tests[outer]; 50 const Curve& iTest = testSet.tests[inner]; 53 SkDLine oLine = {{ oTest.curve.fPts[0], oTest.curve.fPts[1] }}; 54 SkDLine iLine = {{ iTest.curve.fPts[0], iTest.curve.fPts[1] }} [all...] |
/external/skqp/tests/ |
PathOpsThreeWayTest.cpp | 14 struct Curve { 16 CubicPts curve; // largest can hold lines / quads/ cubics member in struct:Curve 19 static const Curve testSet0[] = { // extracted from skpClip2 25 static const Curve testSet1[] = { // extracted from cubicOp85i 33 const Curve* tests; 48 const Curve& oTest = testSet.tests[outer]; 50 const Curve& iTest = testSet.tests[inner]; 53 SkDLine oLine = {{ oTest.curve.fPts[0], oTest.curve.fPts[1] }}; 54 SkDLine iLine = {{ iTest.curve.fPts[0], iTest.curve.fPts[1] }} [all...] |
/external/adhd/cras/src/server/ |
softvol_curve.h | 17 /* Returns the volume scaler in the soft volume curve for the given index. */ 29 /* Builds software volume scalers from volume curve. */ 30 float *softvol_build_from_curve(const struct cras_volume_curve *curve);
|
softvol_curve.c | 117 float *softvol_build_from_curve(const struct cras_volume_curve *curve) 122 if (!curve) 129 /* When software volume is used, it is assumed all volume curve values 131 * value is specified in curve config, it will be treated as invalid 136 curve->get_dBFS(curve, volume));
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jce/spec/ |
ECPublicKeySpec.java | 6 * Elliptic Curve public key specification 16 * @param q the public point on the curve. 17 * @param spec the domain parameters for the curve.
|
ECNamedCurveGenParameterSpec.java | 6 * Named curve generation spec 22 * return the name of the curve the EC domain parameters belong to.
|
ECPrivateKeySpec.java | 6 * Elliptic Curve private key specification. 17 * @param spec the domain parameters for the curve being used.
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/sec/ |
SECNamedCurves.java | 20 private static ECCurve configureCurve(ECCurve curve) 22 return curve; 51 ECCurve curve = configureCurve(new ECCurve.Fp(p, a, b, n, h)); 52 //ECPoint G = curve.decodePoint(Hex.decode("02" 54 X9ECPoint G = new X9ECPoint(curve, Hex.decode("04" 58 return new X9ECParameters(curve, G, n, h, S); 77 ECCurve curve = configureCurve(new ECCurve.Fp(p, a, b, n, h)); 78 //ECPoint G = curve.decodePoint(Hex.decode("03" 80 X9ECPoint G = new X9ECPoint(curve, Hex.decode("04" 84 return new X9ECParameters(curve, G, n, h, S) [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/x9/ |
X9ECParameters.java | 18 * ASN.1 def for Elliptic-Curve ECParameters structure. See 28 private ECCurve curve; field in class:X9ECParameters 47 this.curve = x9c.getCurve(); 56 this.g = new X9ECPoint(curve, (ASN1OctetString)p); 84 ECCurve curve, 88 this(curve, g, n, null, null); 92 ECCurve curve, 97 this(curve, g, n, h, null); 101 ECCurve curve, 106 this(curve, g, n, h, null) [all...] |
ECNamedCurveTable.java | 16 * A general class that reads all X9.62 style EC curve tables. 22 * curve. The routine returns null if the curve is not present. 24 * @param name the name of the curve requested 25 * @return an X9ECParameters object or null if the curve is not available. 99 * curve. 101 * @param oid the object id of the curve requested 102 * @return a standard name for the curve. 142 * curve. 144 * @param oid the object id of the curve requeste [all...] |
/external/boringssl/src/crypto/ecdh/ |
ecdh_tests.txt | 6 Curve = P-224 14 Curve = P-224 22 Curve = P-224 30 Curve = P-224 38 Curve = P-224 46 Curve = P-224 54 Curve = P-224 62 Curve = P-224 70 Curve = P-224 78 Curve = P-22 [all...] |
/external/dng_sdk/source/ |
dng_tone_curve.h | 15 * Representation of 1-dimensional tone curve. 42 bool operator== (const dng_tone_curve &curve) const; 44 bool operator!= (const dng_tone_curve &curve) const 46 return !(*this == curve);
|
/external/wycheproof/doc/ |
ecdh.md | 10 Some libraries do not check if the elliptic curve points received from another 11 party are points on the curve. Encodings of public keys typically contain the 12 curve for the public key point. If such an encoding is used in the key exchange 14 the shared ECDH secret are using the same curve. 26 ECDH does not check if the points are on the curve. 30 The ECDH implementation does not check if the point is on the curve. 32 on the same curve. It performs a point multiplication \\(x \cdot Y\\) over the 33 curve specified by the public key. 47 * check that public and private key use the same curve 53 If possible I also check if the points are on the curve after poin [all...] |
/external/tpm2/ |
ECC_Parameters.c | 15 // TPM_RC_VALUE Unsupported ECC curve ID 25 // Get ECC curve parameters
|
CpriDataEcc.h | 11 // Structure for the curve parameters. This is an analog to the TPMS_ALGORITHM_DETAIL_ECC 19 const TPM2B *n; // the order of the curve 28 const ECC_CURVE_DATA *curveData; // the address of the curve data
|
/external/boringssl/src/crypto/fipsmodule/ecdsa/ |
ecdsa_sign_tests.txt | 8 Curve = P-224 17 Curve = P-224 26 Curve = P-224 35 Curve = P-224 44 Curve = P-224 53 Curve = P-224 62 Curve = P-224 71 Curve = P-224 80 Curve = P-224 89 Curve = P-22 [all...] |
/libcore/ojluni/src/main/java/java/security/spec/ |
EllipticCurve.java | 33 * an elliptic curve. 70 * Creates an elliptic curve with the specified elliptic field 73 * @param field the finite field that this elliptic curve is over. 74 * @param a the first coefficient of this elliptic curve. 75 * @param b the second coefficient of this elliptic curve. 87 * Creates an elliptic curve with the specified elliptic field 89 * {@code b}, and the {@code seed} used for curve generation. 90 * @param field the finite field that this elliptic curve is over. 91 * @param a the first coefficient of this elliptic curve. 92 * @param b the second coefficient of this elliptic curve 173 EllipticCurve curve = (EllipticCurve) obj; local [all...] |
/libcore/luni/src/test/java/tests/security/spec/ |
ECParameterSpecTest.java | 29 EllipticCurve curve; field in class:ECParameterSpecTest 37 curve = new EllipticCurve(new ECFieldF2m(2), BigInteger.valueOf(1), 40 ecps = new ECParameterSpec(curve, ecpoint, BigInteger.valueOf(1), 1); 44 curve = null; 54 * case 2: NullPointerException - if curve is null 64 assertEquals("wrong elliptic curve", curve, ecps.getCurve()); 70 // case 2: NullPointerException - if curve is null. 80 new ECParameterSpec(curve, null, BigInteger.valueOf(1), 1); 88 new ECParameterSpec(curve, ecpoint, null, 1) [all...] |
/system/keymaster/android_keymaster/ |
android_keymaster_utils.cpp | 45 keymaster_error_t EcKeySizeToCurve(uint32_t key_size_bits, keymaster_ec_curve_t* curve) { 51 *curve = KM_EC_CURVE_P_224; 55 *curve = KM_EC_CURVE_P_256; 59 *curve = KM_EC_CURVE_P_384; 63 *curve = KM_EC_CURVE_P_521; 70 keymaster_error_t EcCurveToKeySize(keymaster_ec_curve_t curve, uint32_t* key_size_bits) { 71 switch (curve) {
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/endo/ |
GLVTypeBEndomorphism.java | 12 protected final ECCurve curve; field in class:GLVTypeBEndomorphism 16 public GLVTypeBEndomorphism(ECCurve curve, GLVTypeBParameters parameters) 18 this.curve = curve; 20 this.pointMap = new ScaleXPointMap(curve.fromBigInteger(parameters.getBeta()));
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/asymmetric/util/ |
EC5Util.java | 44 if (curveParams != null) // there may not be a regular curve, may just be a custom curve. 64 ECCurve curve; local 80 curve = ecP.getCurve(); 84 throw new IllegalStateException("named curve not acceptable"); 89 curve = configuration.getEcImplicitlyCa().getCurve(); 95 curve = ecP.getCurve(); 102 return curve; 126 X962Parameters params, ECCurve curve) 144 ellipticCurve = EC5Util.convertCurve(curve, ecP.getSeed()) 222 ECCurve.Fp curve = new ECCurve.Fp(((ECFieldFp)field).getP(), a, b); local 286 ECCurve curve = convertCurve(ecSpec.getCurve()); local [all...] |
/external/skia/src/pathops/ |
SkPathOpsRect.cpp | 13 void SkDRect::setBounds(const SkDQuad& curve, const SkDQuad& sub, double startT, double endT) { 26 add(curve.ptAtT(t)); 30 void SkDRect::setBounds(const SkDConic& curve, const SkDConic& sub, double startT, double endT) { 43 add(curve.ptAtT(t)); 47 void SkDRect::setBounds(const SkDCubic& curve, const SkDCubic& sub, double startT, double endT) { 60 add(curve.ptAtT(t));
|
/external/skqp/src/pathops/ |
SkPathOpsRect.cpp | 13 void SkDRect::setBounds(const SkDQuad& curve, const SkDQuad& sub, double startT, double endT) { 26 add(curve.ptAtT(t)); 30 void SkDRect::setBounds(const SkDConic& curve, const SkDConic& sub, double startT, double endT) { 43 add(curve.ptAtT(t)); 47 void SkDRect::setBounds(const SkDCubic& curve, const SkDCubic& sub, double startT, double endT) { 60 add(curve.ptAtT(t));
|
/external/pdfium/third_party/lcms/ |
0020-avoid-fixed-inf.patch | 7 // This table converts from 8 bits to 1.14 after applying the curve 9 -void FillFirstShaper(cmsS1Fixed14Number* Table, cmsToneCurve* Curve) 10 +cmsBool FillFirstShaper(cmsS1Fixed14Number* Table, cmsToneCurve* Curve) 14 @@ -1555,14 +1555,17 @@ void FillFirstShaper(cmsS1Fixed14Number* Table, cmsToneCurve* Curve) 17 y = cmsEvalToneCurveFloat(Curve, R); 26 // This table converts form 1.14 (being 0x4000 the last entry) to 8 bits after applying the curve 28 -void FillSecondShaper(cmsUInt16Number* Table, cmsToneCurve* Curve, cmsBool Is8BitsOutput) 29 +cmsBool FillSecondShaper(cmsUInt16Number* Table, cmsToneCurve* Curve, cmsBool Is8BitsOutput) 33 @@ -1571,6 +1574,8 @@ void FillSecondShaper(cmsUInt16Number* Table, cmsToneCurve* Curve, cmsBool Is8Bi 36 Val = cmsEvalToneCurveFloat(Curve, R); // Val comes 0..1. [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
SplineMath.java | 18 float[][] curve = new float[n][2]; local 30 curve[0][0] = (float) (points[0][0]); 31 curve[0][1] = (float) (points[0][1]); 32 int last = curve.length - 1; 33 curve[last][0] = (float) (points[points.length - 1][0]); 34 curve[last][1] = (float) (points[points.length - 1][1]); 36 for (int i = 0; i < curve.length; i++) { 40 double x = start + i * (end - start) / (curve.length - 1); 67 curve[i][0] = (float) (x); 68 curve[i][1] = (float) (y) 160 float[][] curve = s.calculatetCurve(40); local [all...] |