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

12

/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/chromium_org/third_party/openssl/openssl/crypto/ec/
H A Dec_lcl.h162 size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *);
293 size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *);
397 size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *);
403 size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *);
412 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 *);
413 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);
421 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 *);
422 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);
430 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 *);
431 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 Dectest.c129 fprintf(stdout, "%d-bit scalars ", (int)BN_num_bits(s));
195 /* test multiplication with group order, long and negative scalars */
633 const BIGNUM *scalars[4]; local
646 scalars[0] = y; /* (group order + 1)/2, so y*Q + y*Q = Q */
647 scalars[1] = y;
653 if (!EC_POINTs_mul(group, P, NULL, 2, points, scalars, ctx)) ABORT;
654 if (!EC_POINTs_mul(group, R, z, 2, points, scalars, ctx)) ABORT;
664 scalars[0] = y;
665 scalars[1] = z; /* z = -(order + y) */
667 if (!EC_POINTs_mul(group, P, NULL, 2, points, scalars, ct
1109 const BIGNUM *scalars[3]; local
[all...]
H A Dec2_mult.c314 * scalar*group->generator + scalars[0]*points[0] + ... + scalars[num-1]*points[num-1]
318 size_t num, const EC_POINT *points[], const BIGNUM *scalars[], BN_CTX *ctx)
339 ret = ec_wNAF_mul(group, r, scalar, num, points, scalars, ctx);
358 if (!ec_GF2m_montgomery_point_multiply(group, p, scalars[i], points[i], ctx)) goto err;
359 if (BN_is_negative(scalars[i]))
317 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
/external/openssl/crypto/ec/
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 Dectest.c129 fprintf(stdout, "%d-bit scalars ", (int)BN_num_bits(s));
195 /* test multiplication with group order, long and negative scalars */
633 const BIGNUM *scalars[4]; local
646 scalars[0] = y; /* (group order + 1)/2, so y*Q + y*Q = Q */
647 scalars[1] = y;
653 if (!EC_POINTs_mul(group, P, NULL, 2, points, scalars, ctx)) ABORT;
654 if (!EC_POINTs_mul(group, R, z, 2, points, scalars, ctx)) ABORT;
664 scalars[0] = y;
665 scalars[1] = z; /* z = -(order + y) */
667 if (!EC_POINTs_mul(group, P, NULL, 2, points, scalars, ct
1109 const BIGNUM *scalars[3]; local
[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
/external/chromium_org/third_party/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/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

Completed in 410 milliseconds

12