/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/ |
H A D | vktApiBufferViewAccessTests.cpp | 672 // Create a result buffer in BufferViewAllFormatsTestInstance() 916 const tcu::UVec4 result = results[resultNdx]; in checkResult() local 922 if (tcu::boolAny(tcu::greaterThan(tcu::abs(result - reference), conversionThreshold))) in checkResult() 928 << "Test sample " << resultNdx << ": Expected " << reference << ", got " << result in checkResult() 936 return tcu::TestStatus::fail("Invalid result values"); in checkResult() 952 const tcu::Vec4 result = results[resultNdx]; in checkResultFloat() local 958 if (tcu::boolAny(tcu::greaterThan(tcu::abs(result - reference), conversionThreshold))) in checkResultFloat() 964 << "Test sample " << resultNdx << ": Expected " << reference << ", got " << result in checkResultFloat() 972 return tcu::TestStatus::fail("Invalid result values"); in checkResultFloat()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/ |
H A D | vktComputeWorkgroupMemoryExplicitLayoutTests.cpp | 463 src << "layout(set = 0, binding = 0) buffer Result { uint result; };\n"; in initPrograms() 470 src << " result = index;\n"; in initPrograms() 502 src << " result = index;\n"; in initPrograms() 881 std::ostringstream result; in getDataTypeLiteral() local 882 result << getDataTypeName(dt) << "("; in getDataTypeLiteral() 886 result << ", "; in getDataTypeLiteral() 887 result << elemValue; in getDataTypeLiteral() 889 result << ")"; in getDataTypeLiteral() 890 return result.str(); in getDataTypeLiteral() 926 << "layout(set = 0, binding = 0) buffer Result { uint result; };\ in initPrograms() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
H A D | vktDrawMultipleInterpolationTests.cpp | 102 bool compare (const tcu::ConstPixelBufferAccess& result, 687 bool DrawTestInstance::compare (const tcu::ConstPixelBufferAccess& result, const tcu::ConstPixelBufferAccess& reference) in compare() argument 689 DE_ASSERT(result.getSize() == reference.getSize()); in compare() 693 for (int y = 0; y < result.getHeight(); y++) in compare() 695 for (int x = 0; x < result.getWidth(); x++) in compare() 698 tcu::IVec4 cmpPix = result.getPixelInt(x, y); in compare() 809 // Avoid generating a result image for the sample decoration if we're not using it. in iterate() 820 // Sample rate shading is an alternative good result for cases using the sample decoration. in iterate() 886 return tcu::TestStatus::fail(resName + " and " + refName + " produced same result"); in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/ |
H A D | vktSynchronizationNoneStageTests.cpp | 189 const PixelBufferAccess& result); 836 // create buffer for result transfer in iterate() 1093 // if result/reference is depth-stencil format then focus only on tested component in iterate() 1104 bool NoneStageTestInstance::verifyResult(const PixelBufferAccess& reference, const PixelBufferAccess& result) in verifyResult() argument 1130 IVec4 cmpPix = result.getPixelInt(x, y, 0); in verifyResult() 1141 << TestLog::Image("Result", "Result", result, pixelScale, pixelBias) in verifyResult() 1147 << TestLog::Image("Result", "Result", result, pixelScale, pixelBias) in verifyResult() 1154 return floatThresholdCompare(log, "Image comparison", "", reference, result, tcu::Vec4(0.01f), tcu::COMPARE_LOG_RESULT); in verifyResult()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/ |
H A D | vktWsiDisplayTimingTests.cpp | 984 vk::VkResult result; in render() local 1039 &result in render() 1043 VK_CHECK_WSI(result); in render() 1047 vk::VkResult result; in render() local 1057 &result in render() 1061 VK_CHECK_WSI(result); in render()
|
H A D | vktWsiIncrementalPresentTests.cpp | 975 vk::VkResult result; in render() local 998 &result in render() 1002 VK_CHECK_WSI(result); in render() 1006 vk::VkResult result; in render() local 1016 &result in render() 1020 VK_CHECK_WSI(result); in render()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/api/ |
H A D | vktApiBufferViewAccessTests.cpp | 661 // Create a result buffer in BufferViewAllFormatsTestInstance() 893 const tcu::UVec4 result = results[resultNdx]; in checkResult() local 899 if (tcu::boolAny(tcu::greaterThan(tcu::abs(result - reference), conversionThreshold))) in checkResult() 905 << "Test sample " << resultNdx << ": Expected " << reference << ", got " << result in checkResult() 913 return tcu::TestStatus::fail("Invalid result values"); in checkResult() 929 const tcu::Vec4 result = results[resultNdx]; in checkResultFloat() local 935 if (tcu::boolAny(tcu::greaterThan(tcu::abs(result - reference), conversionThreshold))) in checkResultFloat() 941 << "Test sample " << resultNdx << ": Expected " << reference << ", got " << result in checkResultFloat() 949 return tcu::TestStatus::fail("Invalid result values"); in checkResultFloat()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/compute/ |
H A D | vktComputeWorkgroupMemoryExplicitLayoutTests.cpp | 485 src << "layout(set = 0, binding = 0) buffer Result { uint result; };\n"; in initPrograms() 492 src << " result = index;\n"; in initPrograms() 524 src << " result = index;\n"; in initPrograms() 897 std::ostringstream result; in getDataTypeLiteral() local 898 result << getDataTypeName(dt) << "("; in getDataTypeLiteral() 902 result << ", "; in getDataTypeLiteral() 903 result << elemValue; in getDataTypeLiteral() 905 result << ")"; in getDataTypeLiteral() 906 return result.str(); in getDataTypeLiteral() 942 << "layout(set = 0, binding = 0) buffer Result { uint result; };\ in initPrograms() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
H A D | vktDrawMultipleInterpolationTests.cpp | 102 bool compare (const tcu::ConstPixelBufferAccess& result, 689 bool DrawTestInstance::compare (const tcu::ConstPixelBufferAccess& result, const tcu::ConstPixelBufferAccess& reference) in compare() argument 691 DE_ASSERT(result.getSize() == reference.getSize()); in compare() 695 for (int y = 0; y < result.getHeight(); y++) in compare() 697 for (int x = 0; x < result.getWidth(); x++) in compare() 700 tcu::IVec4 cmpPix = result.getPixelInt(x, y); in compare() 811 // Avoid generating a result image for the sample decoration if we're not using it. in iterate() 822 // Sample rate shading is an alternative good result for cases using the sample decoration. in iterate() 888 return tcu::TestStatus::fail(resName + " and " + refName + " produced same result"); in iterate()
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/ |
H A D | esextcGeometryShaderLayeredFramebuffer.cpp | 109 * Sets the test result to QP_TEST_RESULT_FAIL if the test failed, QP_TEST_RESULT_PASS otherwise. 126 "out vec4 result;\n" in iterate() 130 " result = vec4(0.2);\n" in iterate() 398 * Sets the test result to QP_TEST_RESULT_FAIL if the test failed, QP_TEST_RESULT_PASS otherwise. 901 * Sets the test result to QP_TEST_RESULT_FAIL if the test failed, QP_TEST_RESULT_PASS otherwise. 924 "out vec4 result;\n" in iterate() 928 " result = vec4(1.0);\n" in iterate() 1072 const unsigned char* result = row_data + x * pixel_size; in iterate() local 1074 if (memcmp(result, ref_color, sizeof(ref_color)) != 0) in iterate() 1081 << "(" << (unsigned int)result[ in iterate() [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | UniformTest.cpp | 247 GLfloat result = 0; in TEST_P() local 248 glGetUniformfv(program, uniformLocation, &result); in TEST_P() 250 ASSERT_EQ(result, expected[i]); in TEST_P() 308 GLint result = 0; in TEST_P() local 309 glGetUniformiv(program, uniformLocation, &result); in TEST_P() 311 ASSERT_EQ(result, expected[i]); in TEST_P() 997 // - A chunk that will hold the result in CheckOneElement() 1111 out vec4 result; in TEST_P() 1139 result = (success) ? vec4(0, 1.0, 0, 1.0) : vec4(1.0, 0.0, 0.0, 1.0); in TEST_P()
|
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libEGL/ |
H A D | libEGL.cpp | 1510 EGLBoolean result = GetSyncAttrib(dpy, sync, attribute, &attrib_value); in GetSyncAttribKHR() local 1512 return result; in GetSyncAttribKHR() 1605 const Function *result = std::lower_bound(eglFunctions, eglFunctionsEnd, needle, CompareFunctor()); in GetProcAddress() local 1606 if (result != eglFunctionsEnd && strcmp(procname, result->name) == 0) in GetProcAddress() 1608 return success((__eglMustCastToProperFunctionPointerType)result->address); in GetProcAddress()
|
/third_party/skia/third_party/externals/spirv-tools/source/fuzz/ |
H A D | transformation_replace_linear_algebra_instruction.cpp | 105 protobufs::Transformation result; in ToMessage() local 106 *result.mutable_replace_linear_algebra_instruction() = message_; in ToMessage() 107 return result; in ToMessage() 253 // will be inserted. The first two OpFMul instructions will result the in GetRequiredFreshIdCount() 1032 std::unordered_set<uint32_t> result; in GetFreshIds() local 1034 result.insert(id); in GetFreshIds() 1036 return result; in GetFreshIds()
|
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/fuzz/ |
H A D | transformation_replace_linear_algebra_instruction.cpp | 105 protobufs::Transformation result; in ToMessage() local 106 *result.mutable_replace_linear_algebra_instruction() = message_; in ToMessage() 107 return result; in ToMessage() 253 // will be inserted. The first two OpFMul instructions will result the in GetRequiredFreshIdCount() 1032 std::unordered_set<uint32_t> result; in GetFreshIds() local 1034 result.insert(id); in GetFreshIds() 1036 return result; in GetFreshIds()
|
/third_party/skia/tests/ |
H A D | BackendAllocationTest.cpp | 228 SkColor4f result; in get_expected_color() local 230 GrConvertPixels(GrPixmap(resultII, &result.fR, sizeof(result)), in get_expected_color() 232 return result; in get_expected_color() 423 bool result = dstFillContext->readPixels(dContext, actual, {0, 0}); in check_mipmaps() local 424 REPORTER_ASSERT(reporter, result); in check_mipmaps()
|
/third_party/skia/third_party/externals/dawn/src/tests/end2end/ |
H A D | MultisampledRenderingTests.cpp | 277 RGBA8 result; in ExpectedMSAAColor() local 278 result.r = static_cast<uint8_t>(std::min(255.0, 256 * color.r * msaaCoverage)); in ExpectedMSAAColor() 279 result.g = static_cast<uint8_t>(std::min(255.0, 256 * color.g * msaaCoverage)); in ExpectedMSAAColor() 280 result.b = static_cast<uint8_t>(std::min(255.0, 256 * color.b * msaaCoverage)); in ExpectedMSAAColor() 281 result.a = static_cast<uint8_t>(std::min(255.0, 256 * color.a * msaaCoverage)); in ExpectedMSAAColor() 282 return result; in ExpectedMSAAColor() 293 // storeOp should not affect the result in the resolve target. in TEST_P() 893 // Setting alpha <= 0 must result in alpha-to-coverage mask being empty. in TEST_P() 894 // Setting alpha = 0.5f should result in alpha-to-coverage mask including half the samples, in TEST_P() 897 // Setting alpha >= 1 must result i in TEST_P() [all...] |
/third_party/skia/third_party/externals/brotli/c/enc/ |
H A D | backward_references_hq.c | 419 size_t result = 0; in UpdateNodes() local 493 result = BROTLI_MAX(size_t, result, l); in UpdateNodes() 545 result = BROTLI_MAX(size_t, result, len); in UpdateNodes() 551 return result; in UpdateNodes()
|
/third_party/skia/third_party/externals/freetype/src/psaux/ |
H A D | cffdecode.c | 404 FT_Int result; in cff_compute_bias() local 408 result = 0; in cff_compute_bias() 410 result = 107; in cff_compute_bias() 412 result = 1131; in cff_compute_bias() 414 result = 32768U; in cff_compute_bias() 416 return result; in cff_compute_bias() 1845 /* the result of `%' is negative if the first operand */ in FT_LOCAL_DEF()
|
/third_party/python/Lib/xml/dom/ |
H A D | expatbuilder.py | 911 result = builder.parseFile(fp) 913 result = builder.parseFile(file) 914 return result 942 result = builder.parseFile(fp) 944 result = builder.parseFile(file) 945 return result
|
/third_party/python/Lib/test/ |
H A D | test_threading.py | 277 result = set_async_exc(tid, exception) variable in ThreadTests.test_PyThreadState_SetAsyncExc.AsyncExc 289 self.assertEqual(result, 1) # one thread state modified 291 # The exception was raised too quickly for us to get the result. 323 result = set_async_exc(-1, exception) 324 self.assertEqual(result, 0) # no thread states modified 336 result = set_async_exc(t.id, exception) 337 self.assertEqual(result, 1) # one thread state modified
|
H A D | test_plistlib.py | 914 result = self.decode(*chunks, b'\x54seed', offset_size=4, ref_size=4) 919 self.assertIsInstance(result, list) 920 self.assertEqual(len(result), 1) 921 result = result[0] 922 self.assertEqual(result, 'seed')
|
/third_party/protobuf/src/google/protobuf/io/ |
H A D | coded_stream.h | 255 // when we are parsing a size from the wire, truncating the value would result 259 // Read a tag. This calls ReadVarint32() and returns the result, or returns 283 std::pair<uint32, bool> result = ReadTagWithCutoffNoLastTag(cutoff); in ReadTagWithCutoff() local 284 last_tag_ = result.first; in ReadTagWithCutoff() 285 return result; in ReadTagWithCutoff() 431 // is expected to check that the second part of the result is non-negative (to 433 // later pass the first part of the result to PopLimit() or similar. 441 // bool result = ConsumedEntireMessage(); 444 // return result; } 450 // bool result 1286 int64 result = ReadVarint32Fallback(v); ReadVarint32() local [all...] |
/third_party/protobuf/js/ |
H A D | message.js | 59 * will result in an ExtensionFieldInfo object with these properties: 520 var result = []; 522 result[i] = toObjectFn.call(field[i], opt_includeInstance, field[i]); 524 return result; 1411 var result = {}; 1413 result[mapKeyGetterFn.call(field[i])] = opt_toObjectFn ? 1417 return result; 1568 * The result will contain the top-level fields of m2 that differ from those of 1569 * m1 at any level of nesting. No data is cloned, the result object will 1583 * array with result [all...] |
/third_party/python/PC/ |
H A D | winreg.c | 283 The result is the value of the handle before it is detached. If the 920 if (PySys_Audit("winreg.OpenKey/result", "n", in winreg_CreateKey_impl() 971 if (PySys_Audit("winreg.OpenKey/result", "n", in winreg_CreateKeyEx_impl() 1152 The result is a tuple of 3 items: 1386 The result is a new handle to the specified key. 1410 if (PySys_Audit("winreg.OpenKey/result", "n", in winreg_OpenKey_impl() 1422 The result is a new handle to the specified key. 1443 The result is a tuple of 3 items: 1581 PyObject *result; in winreg_QueryValueEx_impl() local 1622 result in winreg_QueryValueEx_impl() 1948 BOOL result; winreg_QueryReflectionKey_impl() local [all...] |
/third_party/skia/third_party/externals/abseil-cpp/absl/debugging/internal/ |
H A D | demangle.cc | 1180 const bool result = ParseType(state); in ParseType() local 1181 if (!result) state->parse_state = copy; in ParseType() 1182 return result; in ParseType() 1191 const bool result = ParseType(state); in ParseType() local 1192 if (!result) state->parse_state = copy; in ParseType() 1193 return result; in ParseType()
|