Searched defs:scalar (Results 1 - 25 of 80) sorted by relevance

1234

/external/chromium_org/tools/telemetry/telemetry/value/
H A Dvalue_backcompat.py14 from telemetry.value import scalar namespace
26 return scalar.ScalarValue(page, value_name, units,
33 return scalar.ScalarValue(page, value_name, units,
H A Dmerge_values_unittest.py10 from telemetry.value import scalar namespace
33 all_values = [scalar.ScalarValue(page0, 'x', 'units', 1),
34 scalar.ScalarValue(page1, 'x', 'units', 4),
35 scalar.ScalarValue(page0, 'x', 'units', 2),
36 scalar.ScalarValue(page1, 'x', 'units', 5)]
56 all_values = [scalar.ScalarValue(page0, 'x', 'units', 1)]
69 all_values = [scalar.ScalarValue(page0, 'x', 'units', 1),
70 scalar.ScalarValue(page1, 'x', 'units', 2),
71 scalar.ScalarValue(page0, 'y', 'units', 10),
72 scalar
[all...]
H A Dscalar_unittest.py9 from telemetry.value import scalar namespace
30 v = scalar.ScalarValue(page0, 'x', 'unit', 3, important=True)
37 v = scalar.ScalarValue(page0, 'x', 'unit', 3, important=False)
44 v0 = scalar.ScalarValue(page0, 'x', 'unit', 1)
45 v1 = scalar.ScalarValue(page0, 'x', 'unit', 2)
48 vM = scalar.ScalarValue.MergeLikeValuesFromSamePage([v0, v1])
58 v0 = scalar.ScalarValue(page0, 'x', 'unit', 1)
59 v1 = scalar.ScalarValue(page1, 'x', 'unit', 2)
61 vM = scalar.ScalarValue.MergeLikeValuesFromDifferentPages([v0, v1])
/external/chromium_org/crypto/
H A Dp224_unittest.cc27 // TestVector represents a test of scalar multiplication of the base point.
28 // |scalar| is a big-endian scalar and |affine| is the external representation
29 // of g*scalar.
31 uint8 scalar[28]; member in struct:crypto::TestVector
788 p224::ScalarBaseMult(kNISTTestVectors[i].scalar, &point);
/external/eigen/Eigen/src/plugins/
H A DArrayCwiseBinaryOps.h32 /** \returns an expression of the coefficient-wise min of \c *this and scalar \a other
51 /** \returns an expression of the coefficient-wise max of \c *this and scalar \a other
125 // scalar addition
127 /** \returns an expression of \c *this with each coeff incremented by the constant \a scalar
135 operator+(const Scalar& scalar) const
137 return CwiseUnaryOp<internal::scalar_add_op<Scalar>, const Derived>(derived(), internal::scalar_add_op<Scalar>(scalar));
141 operator+(const Scalar& scalar,const EIGEN_CURRENT_STORAGE_BASE_CLASS<Derived>& other) argument
143 return other + scalar;
146 /** \returns an expression of \c *this with each coeff decremented by the constant \a scalar
154 operator-(const Scalar& scalar) cons
160 operator -(const Scalar& scalar,const EIGEN_CURRENT_STORAGE_BASE_CLASS<Derived>& other) argument
[all...]
H A DCommonCwiseUnaryOps.h15 /** \internal Represents a scalar multiple of an expression */
17 /** \internal Represents a quotient of an expression by a scalar*/
47 /** \returns an expression of \c *this scaled by the scalar factor \a scalar */
49 operator*(const Scalar& scalar) const
52 (derived(), internal::scalar_multiple_op<Scalar>(scalar));
56 const ScalarMultipleReturnType operator*(const RealScalar& scalar) const;
59 /** \returns an expression of \c *this divided by the scalar value \a scalar */
61 operator/(const Scalar& scalar) cons
76 operator *(const Scalar& scalar, const StorageBaseType& matrix) argument
80 operator *(const std::complex<Scalar>& scalar, const StorageBaseType& matrix) argument
[all...]
/external/chromium_org/third_party/skia/src/animator/
H A DSkDrawRectangle.cpp96 SkScalar scalar = value.fOperand.fScalar; local
100 fRect.fBottom = scalar + fRect.fTop;
106 fRect.fRight = scalar + fRect.fLeft;
H A DSkScriptDecompile.cpp155 SkScalar scalar; local
156 memcpy(&scalar, opCode, sizeof(scalar));
158 SkDebugf(" scalar: %g", SkScalarToFloat(scalar));
H A DSkDisplayPost.cpp128 SkScalar scalar; local
129 meta.findScalar(name, &scalar);
130 SkDebugf("float=\"%g\" ", SkScalarToFloat(scalar));
H A DSkDrawColor.cpp225 SkScalar scalar = value.fOperand.fScalar; local
230 alpha = scalar == SK_Scalar1 ? 255 : SkToU8((U8CPU) (scalar * 256));
232 alpha = SkToU8((scalar - (scalar >= SK_ScalarHalf)) >> 8);
238 scalar = SkScalarClampMax(scalar, 255 * SK_Scalar1);
240 SkColorGetG(color), SkToU8((U8CPU) scalar));
243 scalar = SkScalarClampMax(scalar, 25
[all...]
/external/clang/test/CodeGenCXX/
H A Dimplicit-copy-assign-operator.cpp25 int scalar; member in struct:D
H A Dimplicit-copy-constructor.cpp27 int scalar; member in struct:D
/external/eigen/Eigen/src/Eigen2Support/
H A DCwise.h27 * convenient macro to defined the return type of a cwise comparison to a scalar */
97 operator+(const Scalar& scalar) const;
101 operator+(const Scalar& scalar, const Cwise& mat) argument
102 { return mat + scalar; }
104 ExpressionType& operator+=(const Scalar& scalar);
107 operator-(const Scalar& scalar) const;
109 ExpressionType& operator-=(const Scalar& scalar);
135 // comparisons to a scalar value
H A DCwiseOperators.h208 // comparisons to scalar value
264 // scalar addition
269 Cwise<ExpressionType>::operator+(const Scalar& scalar) const
271 return typename Cwise<ExpressionType>::ScalarAddReturnType(m_matrix, internal::scalar_add_op<Scalar>(scalar));
276 inline ExpressionType& Cwise<ExpressionType>::operator+=(const Scalar& scalar) argument
278 return m_matrix.const_cast_derived() = *this + scalar;
284 Cwise<ExpressionType>::operator-(const Scalar& scalar) const
286 return *this + (-scalar);
291 inline ExpressionType& Cwise<ExpressionType>::operator-=(const Scalar& scalar) argument
293 return m_matrix.const_cast_derived() = *this - scalar;
[all...]
/external/eigen/test/
H A Dnullary.cpp90 ScalarMatrix scalar; local
91 scalar.setLinSpaced(1,low,high);
92 VERIFY_IS_APPROX( scalar, ScalarMatrix::Constant(high) );
/external/skia/src/animator/
H A DSkDrawRectangle.cpp96 SkScalar scalar = value.fOperand.fScalar; local
100 fRect.fBottom = scalar + fRect.fTop;
106 fRect.fRight = scalar + fRect.fLeft;
H A DSkScriptDecompile.cpp155 SkScalar scalar; local
156 memcpy(&scalar, opCode, sizeof(scalar));
158 SkDebugf(" scalar: %g", SkScalarToFloat(scalar));
/external/chromium_org/base/android/javatests/src/org/chromium/base/
H A DObserverListTest.java27 Foo(int scalar) { argument
28 mScalar = scalar;
/external/eigen/Eigen/src/Core/
H A DArrayBase.h24 * of scalar values arranged in a one or two dimensionnal fashion. As the main consequence,
26 * arrays support scalar math functions of the c++ standard library (e.g., std::sin(x)), and convenient
27 * constructors allowing to easily write generic code working for both scalar values
126 Derived& operator+=(const Scalar& scalar) argument
127 { return *this = derived() + scalar; }
128 Derived& operator-=(const Scalar& scalar) argument
129 { return *this = derived() - scalar; }
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/clover/core/
H A Dmodule.hpp60 scalar, enumerator in enum:clover::module::argument::type
72 argument() : type(scalar), size(0) { }
/external/chromium_org/third_party/openssl/openssl/crypto/ec/
H A Dec2_mult.c211 /* Computes scalar*point and stores the result in r.
217 static int ec_GF2m_montgomery_point_multiply(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, argument
231 if ((scalar == NULL) || BN_is_zero(scalar) || (point == NULL) ||
256 i = scalar->top - 1;
258 word = scalar->d[i];
270 word = scalar->d[i];
314 * scalar*group->generator + scalars[0]*points[0] + ... + scalars[num-1]*points[num-1]
315 * gracefully ignoring NULL scalar values.
317 int ec_GF2m_simple_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, argument
[all...]
/external/mesa3d/src/gallium/state_trackers/clover/core/
H A Dmodule.hpp60 scalar, enumerator in enum:clover::module::argument::type
72 argument() : type(scalar), size(0) { }
/external/openssl/crypto/ec/
H A Dec2_mult.c211 /* Computes scalar*point and stores the result in r.
217 static int ec_GF2m_montgomery_point_multiply(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, argument
231 if ((scalar == NULL) || BN_is_zero(scalar) || (point == NULL) ||
256 i = scalar->top - 1;
258 word = scalar->d[i];
270 word = scalar->d[i];
314 * scalar*group->generator + scalars[0]*points[0] + ... + scalars[num-1]*points[num-1]
315 * gracefully ignoring NULL scalar values.
317 int ec_GF2m_simple_mul(const EC_GROUP *group, EC_POINT *r, const BIGNUM *scalar, argument
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/gallivm/
H A Dlp_bld_swizzle.c49 LLVMValueRef scalar)
54 /* scalar */
55 assert(vec_type == LLVMTypeOf(scalar));
56 res = scalar;
63 assert(LLVMGetElementType(vec_type) == LLVMTypeOf(scalar));
68 res = LLVMBuildInsertElement(builder, undef, scalar, LLVMConstNull(i32_type), "");
76 res = LLVMBuildInsertElement(builder, res, scalar, index, "");
90 LLVMValueRef scalar)
92 assert(lp_check_elem_type(bld->type, LLVMTypeOf(scalar)));
94 return lp_build_broadcast(bld->gallivm, bld->vec_type, scalar);
47 lp_build_broadcast(struct gallivm_state *gallivm, LLVMTypeRef vec_type, LLVMValueRef scalar) argument
89 lp_build_broadcast_scalar(struct lp_build_context *bld, LLVMValueRef scalar) argument
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkPictureRecord.h159 void addScalar(SkScalar scalar) { argument
160 fWriter.writeScalar(scalar);

Completed in 1126 milliseconds

1234