Home
last modified time | relevance | path

Searched refs:p2x (Results 1 – 7 of 7) sorted by relevance

/external/epid-sdk/epid/member/src/
Dpresig.c113 } p2x = {0}; in MemberComputePreSig() local
167 sts = Tpm2GetRandom(tpm, sizeof(p2x.bsn) * 8, &p2x.bsn); in MemberComputePreSig()
169 precompsig->rnd_bsn = p2x.bsn; in MemberComputePreSig()
172 sts = EcHash(G1, (const void*)&p2x.bsn, sizeof(p2x.bsn), ctx->hash_alg, B, in MemberComputePreSig()
173 &p2x.i); in MemberComputePreSig()
175 p2x.i = htonl(p2x.i); in MemberComputePreSig()
183 sts = Tpm2Commit(tpm, ctx->h1, &p2x, sizeof(p2x), p2y, k, t, e, in MemberComputePreSig()
280 EpidZeroMemory(&p2x, sizeof(p2x)); in MemberComputePreSig()
Dsignbasic.c69 }* p2x = NULL; in EpidSignBasic() local
132 p2x = (struct p2x_t*)SAFE_ALLOC(sizeof(struct p2x_t) + basename_len - 1); in EpidSignBasic()
133 if (!p2x) { in EpidSignBasic()
170 sts = EcHash(G1, basename, basename_len, ctx->hash_alg, B, &p2x->i); in EpidSignBasic()
172 p2x->i = htonl(p2x->i); in EpidSignBasic()
182 memcpy_S((void*)p2x->bsn, basename_len, basename, basename_len)) { in EpidSignBasic()
187 Tpm2Commit(ctx->tpm2_ctx, ctx->h1, p2x, sizeof(p2x->i) + basename_len, in EpidSignBasic()
333 SAFE_FREE(p2x); in EpidSignBasic()
/external/skia/src/gpu/
DGrDistanceFieldGenFromVector.cpp250 const double p2x = p2.x(); in init() local
259 const double cosTheta = (p2x - p0x) / hypotenuse; in init()
286 const double p2xSqd = p2x * p2x; in init()
292 const double p02xProd = p0x * p2x; in init()
293 const double b12xProd = p1x * p2x; in init()
300 const double h = -1.0 * (p0y - (2.0 * p1y) + p2y) * (p0x - (2.0 * p1x) + p2x); in init()
301 const double sqrtB = p0x - (2.0 * p1x) + p2x; in init()
310 + (2.0 * p1x * b12yProd) - (p2x * p0ySqd) in init()
311 + (2.0 * p2x * p01yProd) + (p2x * p02yProd) in init()
312 - (2.0 * p2x * p1ySqd); in init()
/external/skqp/src/gpu/
DGrDistanceFieldGenFromVector.cpp250 const double p2x = p2.x(); in init() local
259 const double cosTheta = (p2x - p0x) / hypotenuse; in init()
286 const double p2xSqd = p2x * p2x; in init()
292 const double p02xProd = p0x * p2x; in init()
293 const double b12xProd = p1x * p2x; in init()
300 const double h = -1.0 * (p0y - (2.0 * p1y) + p2y) * (p0x - (2.0 * p1x) + p2x); in init()
301 const double sqrtB = p0x - (2.0 * p1x) + p2x; in init()
310 + (2.0 * p1x * b12yProd) - (p2x * p0ySqd) in init()
311 + (2.0 * p2x * p01yProd) + (p2x * p02yProd) in init()
312 - (2.0 * p2x * p1ySqd); in init()
/external/fonttools/Lib/fontTools/misc/
DpsCharStrings.py887 p2x = self.pop()
900 self.push(p2x)
/external/skia/src/core/
DSkPath.cpp3001 double p2x = SkScalarToDouble(p2.fX); in cross_prod() local
3005 (p1y - p0y) * (p2x - p0x)); in cross_prod()
/external/skqp/src/core/
DSkPath.cpp3001 double p2x = SkScalarToDouble(p2.fX); in cross_prod() local
3005 (p1y - p0y) * (p2x - p0x)); in cross_prod()