Searched refs:scalars (Results 1 - 25 of 37) sorted by relevance

12

/external/openssl/crypto/ec/
H A Dectest.c129 fprintf(stdout, "%d-bit scalars ", (int)BN_num_bits(s));
195 /* test multiplication with group order, long and negative scalars */
219 const BIGNUM *scalars[6]; local
255 scalars[0] = n1; points[0] = Q; /* => infinity */
256 scalars[1] = n2; points[1] = P; /* => -P */
257 scalars[2] = n1; points[2] = Q; /* => infinity */
258 scalars[3] = n2; points[3] = Q; /* => infinity */
259 scalars[4] = n1; points[4] = P; /* => P */
260 scalars[5] = n2; points[5] = Q; /* => infinity */
261 if (!EC_POINTs_mul(group, P, NULL, 6, points, scalars, ct
669 const BIGNUM *scalars[4]; local
1145 const BIGNUM *scalars[3]; local
[all...]
H A Dec_lcl.h162 size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *);
294 size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *);
398 size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *);
404 size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *);
413 int ec_GFp_nistp224_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *);
414 int ec_GFp_nistp224_points_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx);
422 int ec_GFp_nistp256_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *);
423 int ec_GFp_nistp256_points_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx);
431 int ec_GFp_nistp521_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *);
432 int ec_GFp_nistp521_points_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CT
[all...]
H A Dec2_mult.c319 * scalar*group->generator + scalars[0]*points[0] + ... + scalars[num-1]*points[num-1]
323 size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx)
344 ret = ec_wNAF_mul(group, r, scalar, num, points, scalars, ctx);
363 if (!ec_GF2m_montgomery_point_multiply(group, p, scalars[i], points[i], ctx)) goto err;
364 if (BN_is_negative(scalars[i]))
322 ec_GF2m_simple_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx) argument
H A Dec_lib.c1051 size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx)
1055 return ec_wNAF_mul(group, r, scalar, num, points, scalars, ctx);
1057 return group->meth->mul(group, r, scalar, num, points, scalars, ctx);
1066 const BIGNUM *scalars[1]; local
1069 scalars[0] = p_scalar;
1071 return EC_POINTs_mul(group, r, g_scalar, (point != NULL && p_scalar != NULL), points, scalars, ctx);
1050 EC_POINTs_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx) argument
H A Dec_mult.c341 * \sum scalars[i]*points[i],
347 size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx)
368 int num_scalar = 0; /* flag: will be set to 1 if 'scalar' must be treated like other scalars,
438 num_scalar = 1; /* treat 'scalar' like 'num'-th element of 'scalars' */
464 bits = i < num ? BN_num_bits(scalars[i]) : BN_num_bits(scalar);
468 wNAF[i] = compute_wNAF((i < num ? scalars[i] : scalar), wsize[i], &wNAF_len[i]);
346 ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx) argument
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/r200/
H A Dr200_sanity.c615 static struct reg scalars[512+1]; variable in typeref:struct:reg
631 for (i = 0, tmp = scalar_names ; i < Elements(scalars) ; i++) {
633 scalars[i].idx = i;
634 scalars[i].closest = tmp;
635 scalars[i].flags = ISFLOAT;
646 scalars[Elements(scalars)-1].idx = -1;
795 for (i = 0 ; i < Elements(scalars) ; i++)
796 print_reg( &scalars[i] );
844 int sz = header.scalars
[all...]
H A Dr200_state_init.c199 h.scalars.cmd_type = RADEON_CMD_SCALARS;
200 h.scalars.offset = offset;
201 h.scalars.stride = stride;
202 h.scalars.count = count;
210 h.scalars.cmd_type = RADEON_CMD_SCALARS2;
211 h.scalars.offset = offset - 0x100;
212 h.scalars.stride = stride;
213 h.scalars.count = count;
311 OUT_BATCH((h.scalars.offset) | (h.scalars
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/radeon/
H A Dradeon_sanity.c337 static struct reg scalars[512+1]; variable in typeref:struct:reg
353 for (i = 0, tmp = scalar_names ; i < Elements(scalars) ; i++) {
355 scalars[i].idx = i;
356 scalars[i].closest = tmp;
357 scalars[i].flags = ISFLOAT;
368 scalars[Elements(scalars)-1].idx = -1;
517 for (i = 0 ; i < Elements(scalars) ; i++)
518 print_reg( &scalars[i] );
566 int sz = header.scalars
[all...]
H A Dradeon_state_init.c181 h.scalars.cmd_type = RADEON_CMD_SCALARS;
182 h.scalars.offset = offset;
183 h.scalars.stride = stride;
184 h.scalars.count = count;
255 OUT_BATCH((h.scalars.offset) | (h.scalars.stride << RADEON_SCAL_INDX_DWORD_STRIDE_SHIFT)); \
256 OUT_BATCH(CP_PACKET0_ONE(R200_SE_TCL_SCALAR_DATA_REG, h.scalars.count - 1)); \
257 OUT_BATCH_TABLE((data), h.scalars.count); \
/external/mesa3d/src/mesa/drivers/dri/r200/
H A Dr200_sanity.c615 static struct reg scalars[512+1]; variable in typeref:struct:reg
631 for (i = 0, tmp = scalar_names ; i < Elements(scalars) ; i++) {
633 scalars[i].idx = i;
634 scalars[i].closest = tmp;
635 scalars[i].flags = ISFLOAT;
646 scalars[Elements(scalars)-1].idx = -1;
795 for (i = 0 ; i < Elements(scalars) ; i++)
796 print_reg( &scalars[i] );
844 int sz = header.scalars
[all...]
H A Dr200_state_init.c199 h.scalars.cmd_type = RADEON_CMD_SCALARS;
200 h.scalars.offset = offset;
201 h.scalars.stride = stride;
202 h.scalars.count = count;
210 h.scalars.cmd_type = RADEON_CMD_SCALARS2;
211 h.scalars.offset = offset - 0x100;
212 h.scalars.stride = stride;
213 h.scalars.count = count;
311 OUT_BATCH((h.scalars.offset) | (h.scalars
[all...]
/external/mesa3d/src/mesa/drivers/dri/radeon/
H A Dradeon_sanity.c337 static struct reg scalars[512+1]; variable in typeref:struct:reg
353 for (i = 0, tmp = scalar_names ; i < Elements(scalars) ; i++) {
355 scalars[i].idx = i;
356 scalars[i].closest = tmp;
357 scalars[i].flags = ISFLOAT;
368 scalars[Elements(scalars)-1].idx = -1;
517 for (i = 0 ; i < Elements(scalars) ; i++)
518 print_reg( &scalars[i] );
566 int sz = header.scalars
[all...]
H A Dradeon_state_init.c181 h.scalars.cmd_type = RADEON_CMD_SCALARS;
182 h.scalars.offset = offset;
183 h.scalars.stride = stride;
184 h.scalars.count = count;
255 OUT_BATCH((h.scalars.offset) | (h.scalars.stride << RADEON_SCAL_INDX_DWORD_STRIDE_SHIFT)); \
256 OUT_BATCH(CP_PACKET0_ONE(R200_SE_TCL_SCALAR_DATA_REG, h.scalars.count - 1)); \
257 OUT_BATCH_TABLE((data), h.scalars.count); \
/external/chromium_org/third_party/sqlite/src/ext/icu/
H A Dicu.c458 } scalars[] = { local
480 for(i=0; rc==SQLITE_OK && i<(int)(sizeof(scalars)/sizeof(scalars[0])); i++){
481 struct IcuScalar *p = &scalars[i];
/external/skia/src/core/
H A DSkRecordOpts.cpp200 SkScalar* scalars = &draw->pos[0].fX; local
202 scalars[i/2] = scalars[i];
209 (draw->paint, draw->text, draw->byteLength, scalars, firstY));
/external/deqp/modules/gles2/scripts/
H A Dgenutil.py574 def __init__ (self, numCols, numRows, scalars):
575 assert len(scalars) == numRows*numCols
578 self.scalars = scalars
582 scalars = []
585 scalars.append(1.0 if col == row else 0.0)
586 return Mat(numCols, numRows, scalars)
591 return self.scalars[colNdx*self.numRows + rowNdx]
596 self.scalars[colNdx*self.numRows + rowNdx] = scalar
622 return "%s(%s)" % (self.typeString(), ", ".join([str(s) for s in self.scalars]))
[all...]
H A Dgen-conversions.py13 # - scalars types
60 scalars = reduce(operator.add, [x[ndx].toFloat().getScalars() for x in comps])
61 # print "->", scalars
62 res.append(Vec.fromScalarList(scalars))
80 scalars = reduce(operator.add, [x[ndx].toFloat().getScalars() for x in comps])
81 res.append(Mat(numCols, numRows, scalars))
/external/deqp/modules/gles3/scripts/
H A Dgenutil.py711 def __init__ (self, numCols, numRows, scalars):
712 assert len(scalars) == numRows*numCols
715 self.scalars = scalars
719 scalars = []
722 scalars.append(scalar if col == row else 0.0)
723 return Mat(numCols, numRows, scalars)
732 return self.scalars[colNdx*self.numRows + rowNdx]
737 self.scalars[colNdx*self.numRows + rowNdx] = scalar
763 return "%s(%s)" % (self.typeString(), ", ".join(["%s" % s for s in self.scalars]))
[all...]
H A Dgen-conversions.py13 # - scalars types
60 scalars = reduce(operator.add, [x[ndx].toFloat().getScalars() for x in comps])
61 # print "->", scalars
62 res.append(Vec.fromScalarList(scalars))
83 scalars = reduce(operator.add, [x[ndx].toFloat().getScalars() for x in comps])
84 res.append(Mat(numCols, numRows, scalars))
/external/deqp/modules/gles31/scripts/
H A Dgenutil.py713 def __init__ (self, numCols, numRows, scalars):
714 assert len(scalars) == numRows*numCols
717 self.scalars = scalars
721 scalars = []
724 scalars.append(scalar if col == row else 0.0)
725 return Mat(numCols, numRows, scalars)
734 return self.scalars[colNdx*self.numRows + rowNdx]
739 self.scalars[colNdx*self.numRows + rowNdx] = scalar
765 return "%s(%s)" % (self.typeString(), ", ".join(["%s" % s for s in self.scalars]))
[all...]
/external/libvorbis/doc/
H A D06-floor0.tex89 \item The number of scalars read into the vector \varname{[coefficients]}
95 scalars in \varname{[coefficients]} is to to read a total of twelve
96 scalars as four vectors of three scalars each. This is not an error
114 length \varname{[n]} vector with all-zero scalars. Otherwise, begin by
/external/chromium_org/third_party/boringssl/src/crypto/ec/
H A Dinternal.h165 size_t num, const EC_POINT *points[], const BIGNUM *scalars[],
256 size_t num, const EC_POINT *points[], const BIGNUM *scalars[],
H A Dwnaf.c291 * \sum scalars[i]*points[i],
297 size_t num, const EC_POINT *points[], const BIGNUM *scalars[],
320 * other scalars,
380 num_scalar = 1; /* treat 'scalar' like 'num'-th element of 'scalars' */
405 bits = i < num ? BN_num_bits(scalars[i]) : BN_num_bits(scalar);
410 compute_wNAF((i < num ? scalars[i] : scalar), wsize[i], &wNAF_len[i]);
296 ec_wNAF_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx) argument
H A Dec.c826 const BIGNUM *scalars[1]; local
829 scalars[0] = p_scalar;
832 points, scalars, ctx);
836 size_t num, const EC_POINT *points[], const BIGNUM *scalars[],
840 return ec_wNAF_mul(group, r, scalar, num, points, scalars, ctx);
843 return group->meth->mul(group, r, scalar, num, points, scalars, ctx);
835 EC_POINTs_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx) argument
/external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
H A Dorg.eclipse.test.performance_3.6.0.v20091014.jar ... java.util.Map) java.util.Map scalars Runtime runtime protected void collectGlobalPerformanceInfo (java.util.Map ...

Completed in 385 milliseconds

12