/third_party/skia/third_party/externals/dawn/src/tests/unittests/ |
H A D | SerialMapTests.cpp | 41 std::vector<int> expectedValues = {1, 2, 3}; in TEST() local 43 EXPECT_EQ(expectedValues.front(), value); in TEST() 44 ASSERT_FALSE(expectedValues.empty()); in TEST() 45 expectedValues.erase(expectedValues.begin()); in TEST() 47 ASSERT_TRUE(expectedValues.empty()); in TEST() 71 std::vector<int> expectedValues = {1, 2, 3, 4, 5}; in TEST() local 73 EXPECT_EQ(expectedValues.front(), value); in TEST() 74 ASSERT_FALSE(expectedValues.empty()); in TEST() 75 expectedValues in TEST() 92 std::vector<int> expectedValues = {1, 2, 3, 4, 5, 6, 7, 8, 9, 0}; TEST() local 113 std::vector<int> expectedValues = {1, 2, 3, 4, 5, 6, 7, 8}; TEST() local 136 std::vector<int> expectedValues = {9, 0}; TEST() local 176 std::vector<int> expectedValues = {1, 2}; TEST() local [all...] |
H A D | SerialQueueTests.cpp | 41 std::vector<int> expectedValues = {1, 2, 3}; in TEST() local 43 EXPECT_EQ(expectedValues.front(), value); in TEST() 44 ASSERT_FALSE(expectedValues.empty()); in TEST() 45 expectedValues.erase(expectedValues.begin()); in TEST() 47 ASSERT_TRUE(expectedValues.empty()); in TEST() 71 std::vector<int> expectedValues = {1, 2, 3, 4, 5, 6, 7, 8, 9, 0}; in TEST() local 73 EXPECT_EQ(expectedValues.front(), value); in TEST() 74 ASSERT_FALSE(expectedValues.empty()); in TEST() 75 expectedValues in TEST() 92 std::vector<int> expectedValues = {1, 2, 3, 4, 5, 6, 7, 8}; TEST() local 117 std::vector<int> expectedValues = {9, 0}; TEST() local 168 std::vector<int> expectedValues = {1, 2}; TEST() local [all...] |
/third_party/benchmark/test/ |
H A D | args_product_test.cc | 11 : expectedValues({{0, 100, 2000, 30000}, in ArgsProductFixture() 30 assert(expectedValues.find(ranges) != expectedValues.end()); 38 if (actualValues != expectedValues) { 40 for (const auto& v : expectedValues) { 58 std::set<std::vector<int64_t>> expectedValues; member in ArgsProductFixture
|
H A D | multiple_ranges_test.cc | 11 : expectedValues({{1, 3, 5}, in MultipleRangesFixture() 35 assert(expectedValues.find(ranges) != expectedValues.end()); 43 if (actualValues != expectedValues) { 45 for (const auto& v : expectedValues) { 63 std::set<std::vector<int64_t>> expectedValues; member in MultipleRangesFixture
|
/third_party/skia/third_party/externals/angle2/src/common/ |
H A D | bitset_utils_unittest.cpp | 302 std::set<size_t> expectedValues = {0, 1, 3, 5, 6, 7, 9, 35}; in TYPED_TEST() local 326 EXPECT_EQ(expectedValues, actualValues); in TYPED_TEST() 333 std::set<size_t> expectedValues = {1, 3, 5, 7, 9}; in TYPED_TEST() local 353 EXPECT_EQ(expectedValues, actualValues); in TYPED_TEST() 360 std::set<size_t> expectedValues = {1, 2, 3, 4, 5, 7, 9}; in TYPED_TEST() local 384 EXPECT_EQ(expectedValues, actualValues); in TYPED_TEST()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineSpecConstantTests.cpp | 170 bool verifyValues (tcu::TestLog& log, const void* memory, const std::vector<OffsetValue>& expectedValues) in verifyValues() argument 175 for (std::vector<OffsetValue>::const_iterator it = expectedValues.begin(); it < expectedValues.end(); ++it) in verifyValues() 201 std::vector<OffsetValue> expectedValues; //!< list of values to check inside the ssbo buffer member 496 const std::vector<OffsetValue>& expectedValues, 513 const std::vector<OffsetValue>& expectedValues, in ComputeTestInstance() 519 , m_expectedValues (expectedValues) in ComputeTestInstance() 603 const std::vector<OffsetValue>& expectedValues, 622 const std::vector<OffsetValue>& expectedValues, in GraphicsTestInstance() 629 , m_expectedValues (expectedValues) in GraphicsTestInstance() 509 ComputeTestInstance(Context& context, PipelineConstructionType pipelineConstructionType, const VkDeviceSize ssboSize, const std::vector<SpecConstant>& specConstants, const std::vector<OffsetValue>& expectedValues, bool packData) ComputeTestInstance() argument 618 GraphicsTestInstance(Context& context, const PipelineConstructionType pipelineConstructionType, const VkDeviceSize ssboSize, const std::vector<SpecConstant>& specConstants, const std::vector<OffsetValue>& expectedValues, const VkShaderStageFlagBits stage, bool packData) GraphicsTestInstance() argument 1957 std::vector<OffsetValue> expectedValues; computeExpectedValues() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineSpecConstantTests.cpp | 167 bool verifyValues (tcu::TestLog& log, const void* memory, const std::vector<OffsetValue>& expectedValues) in verifyValues() argument 172 for (std::vector<OffsetValue>::const_iterator it = expectedValues.begin(); it < expectedValues.end(); ++it) in verifyValues() 198 std::vector<OffsetValue> expectedValues; //!< list of values to check inside the ssbo buffer member 492 const std::vector<OffsetValue>& expectedValues, 507 const std::vector<OffsetValue>& expectedValues, in ComputeTestInstance() 512 , m_expectedValues (expectedValues) in ComputeTestInstance() 593 const std::vector<OffsetValue>& expectedValues, 612 const std::vector<OffsetValue>& expectedValues, in GraphicsTestInstance() 619 , m_expectedValues (expectedValues) in GraphicsTestInstance() 504 ComputeTestInstance(Context& context, const VkDeviceSize ssboSize, const std::vector<SpecConstant>& specConstants, const std::vector<OffsetValue>& expectedValues, bool packData) ComputeTestInstance() argument 608 GraphicsTestInstance(Context& context, const PipelineConstructionType pipelineConstructionType, const VkDeviceSize ssboSize, const std::vector<SpecConstant>& specConstants, const std::vector<OffsetValue>& expectedValues, const VkShaderStageFlagBits stage, bool packData) GraphicsTestInstance() argument 1944 std::vector<OffsetValue> expectedValues; computeExpectedValues() local [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | ComputeShaderTest.cpp | 38 const std::array<T, kWidth * kHeight> &expectedValues) in runSharedMemoryTest() 81 EXPECT_EQ(expectedValues[i], outputValues[i]); in runSharedMemoryTest() 2283 const std::array<GLuint, 4> expectedValues = {{250, 200, 150, 250}}; in TEST_P() local 2285 expectedValues); in TEST_P() 2310 const std::array<GLuint, 4> expectedValues = {{250, 150, 200, 100}}; in TEST_P() local 2312 expectedValues); in TEST_P() 2341 const std::array<GLuint, 4> expectedValues = {{250, 150, 200, 100}}; in TEST_P() local 2343 expectedValues); in TEST_P() 2410 const std::array<GLuint, 8> expectedValues = {{255, 1, 128, 255, 0, 255, 128, 256}}; in TEST_P() local 2412 expectedValues); in TEST_P() 34 runSharedMemoryTest(const char *kCS, GLenum internalFormat, GLenum format, const std::array<T, kWidth * kHeight> &inputData, const std::array<T, kWidth * kHeight> &expectedValues) runSharedMemoryTest() argument 2463 const std::array<GLint, 9> expectedValues = {{0, 1, 1, 4, 0, 16, 48, 64, 128}}; TEST_P() local 3174 const std::array<GLuint, 16> expectedValues = { TEST_P() local [all...] |
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | BufferZeroInitTests.cpp | 148 std::vector<float> expectedValues(expectedValueCount, 0.f); in TestBufferZeroInitInCopyTextureToBuffer() 158 expectedValues[baseOffsetFloatCountPerRow + x] = 0.5f; in TestBufferZeroInitInCopyTextureToBuffer() 163 EXPECT_LAZY_CLEAR(0u, EXPECT_BUFFER_FLOAT_RANGE_EQ(expectedValues.data(), buffer, 0, in TestBufferZeroInitInCopyTextureToBuffer() 164 expectedValues.size())); in TestBufferZeroInitInCopyTextureToBuffer() 900 const std::vector<uint32_t> expectedValues(totalBufferSize / sizeof(uint32_t), 0); in TEST_P() 901 EXPECT_LAZY_CLEAR(0u, EXPECT_BUFFER_U32_RANGE_EQ(expectedValues.data(), buffer, 0, in TEST_P() 918 const std::vector<uint32_t> expectedValues(totalBufferSize / sizeof(uint32_t), 0); in TEST_P() 919 EXPECT_LAZY_CLEAR(0u, EXPECT_BUFFER_U32_RANGE_EQ(expectedValues.data(), buffer, 0, in TEST_P()
|
H A D | CopyTests.cpp | 1014 std::array<float, kPixelsPerRow> expectedValues; in TEST_P() local 1015 std::fill(expectedValues.begin(), expectedValues.end(), kClearDepthValue); in TEST_P() 1016 EXPECT_BUFFER_FLOAT_RANGE_EQ(expectedValues.data(), buffer, kBufferCopyOffset, kPixelsPerRow); in TEST_P()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/ |
H A D | vktRayTracingBuiltinTests.cpp | 2193 const vector<deInt32> expectedValues = expectedIntValuesBuffer(); in validateIntBuffer() local 2202 if (bufferPtr[pos] != expectedValues[pos]) in validateIntBuffer() 2213 const deInt32* loggedData = (n == 0) ? bufferPtr : expectedValues.data(); in validateIntBuffer() 2223 if (bufferPtr[pos] == expectedValues[pos]) in validateIntBuffer() 2246 const vector<float> expectedValues = expectedFloatValuesBuffer(); in validateFloatBuffer() local 2257 if (deFloatAbs(retrievedValue - expectedValues[pos]) > eps) in validateFloatBuffer() 2279 const float expectedValue = expectedValues[pos]; in validateFloatBuffer() 2304 const vector<float> expectedValues = expectedVectorValuesBuffer(); in validateVectorBuffer() local 2318 if (deFloatAbs(retrievedValue - expectedValues[pos]) > eps) in validateVectorBuffer() 2342 const float expectedValue = expectedValues[po in validateVectorBuffer() 2365 const vector<float> expectedValues = expectedMatrixValuesBuffer(); validateMatrixBuffer() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/ |
H A D | vktRayTracingBuiltinTests.cpp | 2208 const vector<deInt32> expectedValues = expectedIntValuesBuffer(); in validateIntBuffer() local 2217 if (bufferPtr[pos] != expectedValues[pos]) in validateIntBuffer() 2228 const deInt32* loggedData = (n == 0) ? bufferPtr : expectedValues.data(); in validateIntBuffer() 2238 if (bufferPtr[pos] == expectedValues[pos]) in validateIntBuffer() 2261 const vector<float> expectedValues = expectedFloatValuesBuffer(); in validateFloatBuffer() local 2272 if (deFloatAbs(retrievedValue - expectedValues[pos]) > eps) in validateFloatBuffer() 2294 const float expectedValue = expectedValues[pos]; in validateFloatBuffer() 2319 const vector<float> expectedValues = expectedVectorValuesBuffer(); in validateVectorBuffer() local 2333 if (deFloatAbs(retrievedValue - expectedValues[pos]) > eps) in validateVectorBuffer() 2357 const float expectedValue = expectedValues[po in validateVectorBuffer() 2380 const vector<float> expectedValues = expectedMatrixValuesBuffer(); validateMatrixBuffer() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/memory/ |
H A D | vktMemoryMappingTests.cpp | 548 std::ostringstream expectedValues; 555 expectedValues << ", "; 559 expectedValues << reference[ndx]; 565 expectedValues << "..."; 569 log << TestLog::Message << "Expected values at offset: " << firstFailed << ", " << expectedValues.str() << TestLog::EndMessage;
|
/third_party/protobuf/java/util/src/test/java/com/google/protobuf/util/ |
H A D | JsonFormatTest.java | 324 int[] expectedValues = new int[] {1, 100000, 1, 100000}; in testParserAcceptFloatingPointValueForIntegerField() 330 assertEquals(expectedValues[i], builder.getRepeatedInt32(i)); in testParserAcceptFloatingPointValueForIntegerField() 331 assertEquals(expectedValues[i], builder.getRepeatedUint32(i)); in testParserAcceptFloatingPointValueForIntegerField() 332 assertEquals(expectedValues[i], builder.getRepeatedInt64(i)); in testParserAcceptFloatingPointValueForIntegerField() 333 assertEquals(expectedValues[i], builder.getRepeatedUint64(i)); in testParserAcceptFloatingPointValueForIntegerField()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory/ |
H A D | vktMemoryMappingTests.cpp | 588 std::ostringstream expectedValues; 595 expectedValues << ", "; 599 expectedValues << reference[ndx]; 605 expectedValues << "..."; 609 log << TestLog::Message << "Expected values at offset: " << firstFailed << ", " << expectedValues.str() << TestLog::EndMessage;
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/robustness/ |
H A D | vktRobustBufferAccessWithVariablePointersTests.cpp | 1571 const deUint32 expectedValues[2] = { valueIndex, valueIndex + 1u }; in isExpectedValueFromInBuffer() 1572 return !deMemCmp(valuePtr, &expectedValues, (size_t)valueSize); in isExpectedValueFromInBuffer() 1577 const deInt32 expectedValues[2] = { value, value - 1 }; in isExpectedValueFromInBuffer() 1578 return !deMemCmp(valuePtr, &expectedValues, (size_t)valueSize); in isExpectedValueFromInBuffer()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/robustness/ |
H A D | vktRobustBufferAccessWithVariablePointersTests.cpp | 1577 const deUint32 expectedValues[2] = { valueIndex, valueIndex + 1u }; in isExpectedValueFromInBuffer() 1578 return !deMemCmp(valuePtr, &expectedValues, (size_t)valueSize); in isExpectedValueFromInBuffer() 1583 const deInt32 expectedValues[2] = { value, value - 1 }; in isExpectedValueFromInBuffer() 1584 return !deMemCmp(valuePtr, &expectedValues, (size_t)valueSize); in isExpectedValueFromInBuffer()
|
/third_party/vk-gl-cts/external/openglcts/modules/gl/ |
H A D | gl4cGlSpirvTests.cpp | 764 GLint expectedValues[4] = {1, 1, 1, 1}; in iterate() local 780 if (programState[i] != expectedValues[i]) in iterate() 783 << "Expected: " << expectedValues[i] <<", Queried: " in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/ |
H A D | vktTransformFeedbackSimpleTests.cpp | 1170 const auto expectedValues = m_tParameters.getExpectedValuesForPrimitive(primIdx); in verifyTransformFeedbackBuffer() local 1171 for (const auto& value : expectedValues) in verifyTransformFeedbackBuffer()
|