Home
last modified time | relevance | path

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

/external/llvm-project/lldb/test/API/lang/cpp/gmodules/
DTestWithModuleDebugging.py51 testValue = frame.EvaluateExpression("test")
53 testValue.GetError().Success(),
55 (testValue.GetError().GetCString()))
57 testValue.GetTypeName() == "IntContainer",
60 memberValue = testValue.GetChildMemberWithName("storage")
64 (testValue.GetError().GetCString()))
73 testValue = frame.EvaluateExpression("bar")
75 testValue.GetError().Success(),
77 (testValue.GetError().GetCString()))
79 testValue.GetTypeName() == "Foo::Bar",
[all …]
/external/guice/extensions/testlib/test/com/google/inject/testing/fieldbinder/
DBoundFieldModuleTest.java52 final Integer testValue = 1024; in testBindingOnePrivate() local
55 @Bind private Integer anInt = testValue; in testBindingOnePrivate()
61 assertEquals(testValue, injector.getInstance(Integer.class)); in testBindingOnePrivate()
65 final Integer testValue = 1024; in testBindingOnePublic() local
68 @Bind public Integer anInt = testValue; in testBindingOnePublic()
74 assertEquals(testValue, injector.getInstance(Integer.class)); in testBindingOnePublic()
101 final Integer testValue = 1024; in testBindingTwo() local
105 @Bind private Integer anInt = testValue; in testBindingTwo()
112 assertEquals(testValue, injector.getInstance(Integer.class)); in testBindingTwo()
117 final Integer testValue = 1024; in testBindingSuperType() local
[all …]
/external/exoplayer/tree/library/common/src/test/java/com/google/android/exoplayer2/util/
DParsableByteArrayTest.java50 private static void testReadShort(short testValue) { in testReadShort() argument
52 ByteBuffer.allocate(4).putShort(testValue).array()); in testReadShort()
56 assertThat(readValue).isEqualTo(testValue); in testReadShort()
63 assertThat(readValue).isEqualTo(testValue); in testReadShort()
76 private static void testReadInt(int testValue) { in testReadInt() argument
78 ByteBuffer.allocate(4).putInt(testValue).array()); in testReadInt()
82 assertThat(readValue).isEqualTo(testValue); in testReadInt()
89 assertThat(readValue).isEqualTo(testValue); in testReadInt()
102 private static void testReadUnsignedInt(long testValue) { in testReadUnsignedInt() argument
104 Arrays.copyOfRange(ByteBuffer.allocate(8).putLong(testValue).array(), 4, 8)); in testReadUnsignedInt()
[all …]
/external/swiftshader/third_party/subzero/crosstest/
Dtest_cast_main.cpp97 void testValue(FromType Val, size_t &TotalTests, size_t &Passes, in testValue() function
254 testValue<bool>(Val, TotalTests, Passes, Failures, "bool"); in main()
258 testValue<uint8_t>(Val, TotalTests, Passes, Failures, "uint8_t"); in main()
262 testValue<myint8_t>(Val, TotalTests, Passes, Failures, "int8_t"); in main()
266 testValue<uint16_t>(Val, TotalTests, Passes, Failures, "uint16_t"); in main()
270 testValue<int16_t>(Val, TotalTests, Passes, Failures, "int16_t"); in main()
274 testValue<uint32_t>(Val, TotalTests, Passes, Failures, "uint32_t"); in main()
280 testValue<int32_t>(Val, TotalTests, Passes, Failures, "int32_t"); in main()
284 testValue<uint64>(Val, TotalTests, Passes, Failures, "uint64"); in main()
290 testValue<int64>(Val, TotalTests, Passes, Failures, "int64"); in main()
[all …]
/external/llvm/unittests/ADT/
DStringMapTest.cpp25 static const uint32_t testValue; member in __anon95d438920111::StringMapTest
57 EXPECT_EQ(testValue, it->second); in assertSingleItemMap()
73 const uint32_t StringMapTest::testValue = 1u; member in __anon95d438920111::StringMapTest
106 testMap[testKey] = testValue; in TEST_F()
112 testMap[testKey] = testValue; in TEST_F()
119 testMap[testKey] = testValue; in TEST_F()
126 testMap[testKey] = testValue; in TEST_F()
133 testMap[testKey] = testValue; in TEST_F()
240 testMap.insert(std::make_pair(testKeyFirst, testValue)); in TEST_F()
242 EXPECT_EQ(testValue, testMap[testKeyFirst]); in TEST_F()
[all …]
/external/llvm-project/llvm/unittests/ADT/
DStringMapTest.cpp25 static const uint32_t testValue; member in __anon076294400111::StringMapTest
57 EXPECT_EQ(testValue, it->second); in assertSingleItemMap()
73 const uint32_t StringMapTest::testValue = 1u; member in __anon076294400111::StringMapTest
116 testMap[testKey] = testValue; in TEST_F()
122 testMap[testKey] = testValue; in TEST_F()
129 testMap[testKey] = testValue; in TEST_F()
136 testMap[testKey] = testValue; in TEST_F()
143 testMap[testKey] = testValue; in TEST_F()
251 testMap.insert(std::make_pair(testKeyFirst, testValue)); in TEST_F()
253 EXPECT_EQ(testValue, testMap[testKeyFirst]); in TEST_F()
[all …]
/external/OpenCL-CTS/test_conformance/integer_ops/
Dtest_integers.cpp254 cl_long testValue; in verify_integer_clz() local
261 testValue = *( (cl_char *)source ); in verify_integer_clz()
265 testValue = *( (cl_uchar *)source ); in verify_integer_clz()
269 testValue = *( (cl_short *)source ); in verify_integer_clz()
273 testValue = *( (cl_ushort *)source ); in verify_integer_clz()
277 testValue = *( (cl_int *)source ); in verify_integer_clz()
281 testValue = *( (cl_uint *)source ); in verify_integer_clz()
285 testValue = *( (cl_long *)source ); in verify_integer_clz()
290 testValue = *( (cl_ulong *)source ); in verify_integer_clz()
299 if( testValue ) in verify_integer_clz()
[all …]
/external/skia/src/sksl/ir/
DSkSLIfStatement.cpp76 const Expression* testValue = ConstantFolder::GetConstantValueForVariable(*test); in Make() local
77 if (testValue->is<BoolLiteral>()) { in Make()
78 if (testValue->as<BoolLiteral>().value()) { in Make()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowDisplayTest.java141 int testValue = 33; in deprecatedGetOrientation_returnsGetRotation() local
142 shadow.setRotation(testValue); in deprecatedGetOrientation_returnsGetRotation()
143 assertEquals(testValue, display.getOrientation()); in deprecatedGetOrientation_returnsGetRotation()
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/
DDriverPropertyInfoTest.java76 assertEquals(testValue, aDriverPropertyInfo.value); in testPublicFields()
98 static java.lang.String testValue = validValue; field in DriverPropertyInfoTest
/external/angle/src/tests/gl_tests/
DUniformTest.cpp493 GLfloat testValue; in TEST_P() local
494 glGetUniformfv(mProgram, mUniformFLocation, &testValue); in TEST_P()
496 EXPECT_EQ(expectedValue, testValue); in TEST_P()
505 GLint testValue; in TEST_P() local
506 glGetUniformiv(mProgram, mUniformFLocation, &testValue); in TEST_P()
508 EXPECT_EQ(expectedValue, testValue); in TEST_P()
551 GLint testValue = 1234567; in TEST_P() local
552 glGetUniformiv(mProgram, mUniformILocation, &testValue); in TEST_P()
554 EXPECT_EQ(expectedValue, testValue) << " with glGetUniformiv"; in TEST_P()
563 GLfloat testValue = 124567.0; in TEST_P() local
[all …]
DVertexAttributeTest.cpp2850 for (GLfloat testValue : testValues) in TEST_P() local
2852 glUniform1f(uniLoc, testValue); in TEST_P()
2853 glVertexAttrib1f(attribLoc, testValue); in TEST_P()
2898 for (GLfloat testValue : testValues) in TEST_P() local
2900 glUniform1f(uniLoc, testValue); in TEST_P()
2901 glVertexAttrib1f(attribLoc, testValue); in TEST_P()
3099 for (GLfloat testValue : testValues) in TEST_P() local
3101 glUniform1i(uniLoc, testValue); in TEST_P()
3102 glVertexAttribI4i(3, testValue, 0, 0, 0); in TEST_P()
3150 for (GLfloat testValue : testValues) in TEST_P() local
[all …]
DGLSLTest.cpp1846 constexpr GLuint testValue = 234; in TEST_P() local
1848 << ")) /255.0*" << std::to_string(testValue) << ".0;\n"; in TEST_P()
1887 EXPECT_PIXEL_COLOR_EQ(0, 0, GLColor(testValue, testValue, testValue, testValue)); in TEST_P()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmFromHlslTests.cpp107 const int testValue = 5; in iterate() local
122 bufferPtr[5] = testValue; in iterate()
207 if (*bufferPtr != testValue) in iterate()
/external/python/pyasn1/tests/codec/native/
Dtest_encoder.py57 def testValue(self): member in BitStringEncoderTestCase
66 def testValue(self): member in OctetStringEncoderTestCase
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/shaping/
DArabicShapingRegTest.java204 …private boolean getStaticCharacterHelperFunctionValue(String methodName, char testValue) throws Ex… in getStaticCharacterHelperFunctionValue() argument
207 Object returnValue = m.invoke(null, testValue); in getStaticCharacterHelperFunctionValue()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/shaping/
DArabicShapingRegTest.java207 …private boolean getStaticCharacterHelperFunctionValue(String methodName, char testValue) throws Ex… in getStaticCharacterHelperFunctionValue() argument
210 Object returnValue = m.invoke(null, testValue); in getStaticCharacterHelperFunctionValue()
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/
DValueTagTest.java36 public void testValue() { in testValue() method in ValueTagTest
/external/dagger2/java/dagger/hilt/processor/internal/aggregateddeps/
DComponentDependencies.java380 AnnotationValue testValue, Elements elements) { in getTestElement() argument
381 checkNotNull(testValue); in getTestElement()
382 String test = AnnotationValues.getString(testValue); in getTestElement()
/external/jackson-databind/src/test/java/com/fasterxml/jackson/databind/deser/creators/
DImplicitNameMatch792Test.java62 public int testValue() { return value; } in testValue() method in ImplicitNameMatch792Test.ReadWriteBean
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/
DAlphabeticIndexTest.java626 double testValue = 100; in TestClientSupport() local
629 alphabeticIndex.addRecord(name, testValue++); in TestClientSupport()
635 testValue = 100; in TestClientSupport()
648 …ationKey, String, Integer, Double> row = Row.of(rawCollationKey, name, name.length(), testValue++); in TestClientSupport()
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/
DAlphabeticIndexTest.java623 double testValue = 100; in TestClientSupport() local
626 alphabeticIndex.addRecord(name, testValue++); in TestClientSupport()
632 testValue = 100; in TestClientSupport()
645 …ationKey, String, Integer, Double> row = Row.of(rawCollationKey, name, name.length(), testValue++); in TestClientSupport()
/external/deqp/modules/gles2/functional/
Des2fDefaultVertexAttributeTests.cpp306 …const tcu::Vec4 testValue = ((m_useNegativeValues) ? (testValues[m_iteration] * 2.0f - tcu::Vec4(1… in iterate() local
308 if (!renderWithValue(testValue)) in iterate()
/external/deqp/modules/gles3/functional/
Des3fDefaultVertexAttributeTests.cpp382 …const tcu::Vec4 testValue = ((m_useNegativeValues) ? (testValues[m_iteration] * 2.0f - tcu::Vec4(1… in iterate() local
384 if (!renderWithValue(testValue)) in iterate()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestUnits.java581 …final double testValue = unitInfo.convert(R1000).toBigDecimal(MathContext.DECIMAL32).doubleValue(); in checkUnitConvertability() local
583 new Pair<>(quantity, testValue), in checkUnitConvertability()
588 + "\t;\t" + testValue in checkUnitConvertability()