Home
last modified time | relevance | path

Searched refs:scalar1 (Results 1 – 25 of 56) sorted by relevance

123

/external/eigen/unsupported/test/
Dcxx11_tensor_fixed_size.cpp20 TensorFixedSize<float, Sizes<> > scalar1; in test_0d() local
22 VERIFY_IS_EQUAL(scalar1.rank(), 0); in test_0d()
23 VERIFY_IS_EQUAL(scalar1.size(), 1); in test_0d()
24 VERIFY_IS_EQUAL(array_prod(scalar1.dimensions()), 1); in test_0d()
26 scalar1() = 7.0; in test_0d()
30 TensorFixedSize<float, Sizes<> > copy = scalar1; in test_0d()
31 VERIFY_IS_NOT_EQUAL(scalar1.data(), copy.data()); in test_0d()
32 VERIFY_IS_APPROX(scalar1(), copy()); in test_0d()
33 copy = scalar1; in test_0d()
34 VERIFY_IS_NOT_EQUAL(scalar1.data(), copy.data()); in test_0d()
[all …]
Dcxx11_tensor_simple.cpp19 Tensor<int, 0> scalar1; in test_0d() local
27 scalar1() = 7; in test_0d()
32 VERIFY_IS_EQUAL(scalar1.rank(), 0); in test_0d()
33 VERIFY_IS_EQUAL(scalar1.size(), 1); in test_0d()
35 VERIFY_IS_EQUAL(scalar1(), 7); in test_0d()
40 Tensor<int, 0> scalar5(scalar1); in test_0d()
Dcxx11_tensor_map.cpp19 Tensor<int, 0> scalar1; in test_0d() local
22 TensorMap<Tensor<const int, 0> > scalar3(scalar1.data()); in test_0d()
25 scalar1() = 7; in test_0d()
28 VERIFY_IS_EQUAL(scalar1.rank(), 0); in test_0d()
29 VERIFY_IS_EQUAL(scalar1.size(), 1); in test_0d()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/lowlevel/
DLowLevelApiTest.java57 ScalarEvent scalar1 = (ScalarEvent) etalonEvent; in testLowLevel() local
59 assertEquals(scalar1.getAnchor(), scalar2.getAnchor()); in testLowLevel()
60 assertEquals(scalar1.getValue(), scalar2.getValue()); in testLowLevel()
/external/snakeyaml/src/test/java/org/pyyaml/
DPyStructureTest.java68 ScalarEvent scalar1 = (ScalarEvent) event1; in compareEvents() local
70 if (scalar1.getImplicit().bothFalse() && scalar2.getImplicit().bothFalse()) { in compareEvents()
71 assertEquals(scalar1.getTag(), scalar2.getTag()); in compareEvents()
73 assertEquals(scalar1.getValue(), scalar2.getValue()); in compareEvents()
127 ScalarNode scalar1 = (ScalarNode) node1; in compareNodes() local
129 assertEquals(scalar1.getTag(), scalar2.getTag()); in compareNodes()
130 assertEquals(scalar1.getValue(), scalar2.getValue()); in compareNodes()
/external/llvm-project/llvm/test/CodeGen/SystemZ/
Dvec-mul-03.ll20 %scalar1 = extractelement <4 x float> %val1, i32 0
22 %ret = fmul float %scalar1, %scalar2
Dvec-div-02.ll20 %scalar1 = extractelement <4 x float> %val1, i32 0
22 %ret = fdiv float %scalar1, %scalar2
Dvec-add-02.ll20 %scalar1 = extractelement <4 x float> %val1, i32 0
22 %ret = fadd float %scalar1, %scalar2
Dvec-sub-02.ll20 %scalar1 = extractelement <4 x float> %val1, i32 0
22 %ret = fsub float %scalar1, %scalar2
Dvec-strict-add-01.ll26 %scalar1 = extractelement <2 x double> %val1, i32 0
29 double %scalar1, double %scalar2,
Dvec-strict-sub-01.ll26 %scalar1 = extractelement <2 x double> %val1, i32 0
29 double %scalar1, double %scalar2,
Dvec-strict-div-02.ll26 %scalar1 = extractelement <4 x float> %val1, i32 0
29 float %scalar1, float %scalar2,
Dvec-strict-sub-02.ll26 %scalar1 = extractelement <4 x float> %val1, i32 0
29 float %scalar1, float %scalar2,
Dvec-strict-div-01.ll26 %scalar1 = extractelement <2 x double> %val1, i32 0
29 double %scalar1, double %scalar2,
Dvec-strict-mul-03.ll26 %scalar1 = extractelement <4 x float> %val1, i32 0
29 float %scalar1, float %scalar2,
Dvec-strict-mul-01.ll26 %scalar1 = extractelement <2 x double> %val1, i32 0
29 double %scalar1, double %scalar2,
Dvec-strict-add-02.ll26 %scalar1 = extractelement <4 x float> %val1, i32 0
29 float %scalar1, float %scalar2,
/external/tensorflow/tensorflow/compiler/xla/tests/
Dconstants_test.cc201 auto scalar1 = ConstantR0WithType(&b, F32, 1); in TEST_F() local
202 auto scalar2 = FullLike(scalar1, 2); in TEST_F()
203 scalar1 - scalar2; in TEST_F()
/external/swiftshader/third_party/SPIRV-Tools/source/fuzz/
Dtransformation_record_synonymous_constants.cpp105 if (auto scalar1 = constant1->AsScalarConstant()) { in AreEquivalentConstants() local
109 return scalar1->words() == constant2->AsScalarConstant()->words(); in AreEquivalentConstants()
/external/angle/third_party/vulkan-deps/spirv-tools/src/source/fuzz/
Dtransformation_record_synonymous_constants.cpp105 if (auto scalar1 = constant1->AsScalarConstant()) { in AreEquivalentConstants() local
109 return scalar1->words() == constant2->AsScalarConstant()->words(); in AreEquivalentConstants()
/external/deqp-deps/SPIRV-Tools/source/fuzz/
Dtransformation_record_synonymous_constants.cpp105 if (auto scalar1 = constant1->AsScalarConstant()) { in AreEquivalentConstants() local
109 return scalar1->words() == constant2->AsScalarConstant()->words(); in AreEquivalentConstants()
/external/boringssl/src/crypto/fipsmodule/ec/
Dinternal.h334 const EC_RAW_POINT *p1, const EC_SCALAR *scalar1,
380 const EC_PRECOMP *p1, const EC_SCALAR *scalar1,
494 const EC_RAW_POINT *p1, const EC_SCALAR *scalar1,
515 const EC_PRECOMP *p1, const EC_SCALAR *scalar1,
634 const EC_RAW_POINT *p1, const EC_SCALAR *scalar1,
640 const EC_PRECOMP *p1, const EC_SCALAR *scalar1,
Dsimple_mul.c131 const EC_RAW_POINT *p1, const EC_SCALAR *scalar1, in ec_GFp_mont_mul_batch() argument
157 ec_GFp_mont_batch_get_window(group, &tmp, precomp[1], scalar1, i); in ec_GFp_mont_mul_batch()
239 const EC_PRECOMP *p1, const EC_SCALAR *scalar1, in ec_GFp_mont_mul_precomp() argument
258 ec_GFp_mont_get_comb_window(group, &tmp, p1, scalar1, i); in ec_GFp_mont_mul_precomp()
/external/rust/crates/quiche/deps/boringssl/src/crypto/fipsmodule/ec/
Dinternal.h334 const EC_RAW_POINT *p1, const EC_SCALAR *scalar1,
380 const EC_PRECOMP *p1, const EC_SCALAR *scalar1,
494 const EC_RAW_POINT *p1, const EC_SCALAR *scalar1,
515 const EC_PRECOMP *p1, const EC_SCALAR *scalar1,
634 const EC_RAW_POINT *p1, const EC_SCALAR *scalar1,
640 const EC_PRECOMP *p1, const EC_SCALAR *scalar1,
Dsimple_mul.c131 const EC_RAW_POINT *p1, const EC_SCALAR *scalar1, in ec_GFp_mont_mul_batch() argument
157 ec_GFp_mont_batch_get_window(group, &tmp, precomp[1], scalar1, i); in ec_GFp_mont_mul_batch()
239 const EC_PRECOMP *p1, const EC_SCALAR *scalar1, in ec_GFp_mont_mul_precomp() argument
258 ec_GFp_mont_get_comb_window(group, &tmp, p1, scalar1, i); in ec_GFp_mont_mul_precomp()

123