/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/draw/ |
H A D | vktDrawShaderViewportIndexTests.cpp | 629 std::vector<PositionColorVertex> result; in generateVertices() local 630 result.reserve(total); in generateVertices() 647 result.push_back(PositionColorVertex(pos, colors[i/6])); in generateVertices() 650 return result; in generateVertices()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineExecutablePropertiesTests.cpp | 185 std::string result(getShaderFlagStr(m_shaders, false)); in generateTestName() 188 result += "_statistics"; in generateTestName() 190 result += "_internal_representations"; in generateTestName() 192 return result; in generateTestName()
|
H A D | vktPipelineStencilTests.cpp | 842 // Compare result with reference image in verifyImage() 850 de::UniquePtr<tcu::TextureLevel> result (readColorAttachment(vk, vkDevice, queue, queueFamilyIndex, allocator, *m_colorImage, m_colorFormat, m_renderSize).release()); in verifyImage() 856 result->getAccess(), in verifyImage() 867 // Compare stencil result with reference image in verifyImage() 874 de::UniquePtr<tcu::TextureLevel> result (readStencilAttachment(vk, vkDevice, queue, queueFamilyIndex, allocator, *m_stencilImage, m_stencilFormat, m_renderSize).release()); in verifyImage() 882 result->getAccess(), in verifyImage()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/renderpass/ |
H A D | vktRenderPassDitheringTests.cpp | 246 const auto result = vki.getPhysicalDeviceImageFormatProperties(physDev, format, imgType, tiling, usage, 0u, &properties); in checkSupport() local 248 if (result != VK_SUCCESS) in checkSupport() 262 const auto result = vki.getPhysicalDeviceImageFormatProperties(physDev, m_testParams.depthStencilFormat, imgType, tiling, usage, 0u, &properties); in checkSupport() local 264 if (result != VK_SUCCESS) in checkSupport()
|
H A D | vktRenderPassUnusedClearAttachmentTests.cpp | 243 VkResult result; in checkFormatSupported() local 246 result = context.getInstanceInterface().getPhysicalDeviceImageFormatProperties( in checkFormatSupported() 249 if (result == VK_ERROR_FORMAT_NOT_SUPPORTED) in checkFormatSupported() 256 VK_CHECK(result); in checkFormatSupported() 1099 // Read result images. in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shader_object/ |
H A D | vktShaderObjectBinaryTests.cpp | 469 vk::VkResult result = vk.getShaderBinaryDataEXT(device, *shader, &dataSize, data.data()); in iterate() local 471 if (result != vk::VK_INCOMPLETE) in iterate() 514 vk::VkResult result = vk.createShadersEXT(device, 1u, &invalidShaderCreateInfo, DE_NULL, &dstShader); in iterate() local 516 if (result != vk::VK_ERROR_INCOMPATIBLE_SHADER_BINARY_EXT) in iterate()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/draw/ |
H A D | vktDrawShaderViewportIndexTests.cpp | 625 std::vector<PositionColorVertex> result; in generateVertices() local 626 result.reserve(total); in generateVertices() 643 result.push_back(PositionColorVertex(pos, colors[i/6])); in generateVertices() 646 return result; in generateVertices()
|
/third_party/vk-gl-cts/external/amber/src/samples/ |
H A D | config_helper_vulkan.cc | 627 std::ostringstream result; in stageFlagBitsToNames() local 632 result << ", "; in stageFlagBitsToNames() 633 result << stage.second; in stageFlagBitsToNames() 637 return result.str(); in stageFlagBitsToNames()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | vk_utils.cpp | 23 egl::Error ToEGL(Result result, rx::DisplayVk *displayVk, EGLint errorCode) in ToEGL() argument 25 if (result != angle::Result::Continue) in ToEGL() 255 const char *VulkanResultString(VkResult result) in VulkanResultString() argument 257 switch (result) in VulkanResultString() 270 return "A return array was too small for the result"; in VulkanResultString() 1225 // Return the log of samples. Assumes |sampleCount| is a power of 2. The result can be used to
|
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | ProgramBinaryTest.cpp | 434 " mediump float result = v_vtxOut;\n" in TEST_P() 435 " dEQP_FragColor = vec4(result, result, result, 1.0);\n" in TEST_P() 1326 bool result = mOSWindow->initialize("ProgramBinariesAcrossRenderersTests", 100, 100); variable 1328 if (result == false) 1341 bool result = eglWindow->initializeGL(mOSWindow, mEntryPointsLib.get(), param.driver, in createAndInitEGLWindow() local 1343 if (!result) in createAndInitEGLWindow() 1515 // | using these params | using these params | link result
|
/third_party/skia/src/core/ |
H A D | SkDraw.cpp | 894 SkPath* result = pathPtr; in drawPath() local 897 result = tmpPath; in drawPath() 900 pathPtr->transform(*prePathMatrix, result); in drawPath() 901 pathPtr = result; in drawPath()
|
H A D | SkGpuBlurUtils.cpp | 524 auto result = skgpu::v1::SurfaceDrawContext::Make(rContext, in GaussianBlur() local 534 if (!result) { in GaussianBlur() 545 result->fillRectToRectWithFP(dstBounds, SkIRect::MakeSize(dstBounds.size()), std::move(fp)); in GaussianBlur() 546 return result; in GaussianBlur() 724 // integer dimension blurred result when we scale back up. in GaussianBlur()
|
/third_party/skia/third_party/externals/icu/source/i18n/ |
H A D | rbt_pars.cpp | 212 UnicodeString result; in parseReference() local 221 return result; // Indicate failure with empty string in parseReference() 224 text.extractBetween(start, i, result); in parseReference() 225 return result; in parseReference() 866 * Return the compound filter parsed by parse(). Caller owns result. 1574 // segments will result in segment i+1 getting parsed in setSegmentObject()
|
/third_party/skia/src/sksl/dsl/ |
H A D | DSLCore.cpp | 81 auto result = std::make_unique<SkSL::Program>(std::move(source), in ReleaseProgram() local 91 if (!compiler.finalize(*result)) { in ReleaseProgram() 93 } else if (!compiler.optimize(*result)) { in ReleaseProgram() 107 return success ? std::move(result) : nullptr; in ReleaseProgram()
|
/third_party/skia/third_party/externals/angle2/src/tests/test_utils/ |
H A D | ANGLETest.cpp | 248 testing::AssertionResult result( in ExpectNear() 251 if (!bool(result)) in ExpectNear() 253 result << "Expected " << expected << "+/-" << err << ", was " << *this; in ExpectNear() 255 return result; in ExpectNear()
|
/third_party/skia/third_party/externals/freetype/src/sfnt/ |
H A D | sfobjs.c | 138 FT_String* result = NULL; in FT_LOCAL_DEF() local 275 result = NULL; in FT_LOCAL_DEF() 280 result = convert( rec, memory ); in FT_LOCAL_DEF() 284 *name = result; in FT_LOCAL_DEF()
|
/third_party/skia/third_party/externals/harfbuzz/src/ |
H A D | hb-ot-glyf-table.hh | 124 bool result = plan->add_table (HB_OT_TAG_loca, loca_blob) in _add_loca_and_head() 128 return result; in _add_loca_and_head() 1042 float result = is_vertical in get_advance_var() local 1045 return hb_clamp (roundf (result), 0.f, (float) UINT_MAX / 2); in get_advance_var()
|
/third_party/python/Lib/test/ |
H A D | test_posixpath.py | 362 result = posixpath.normpath(path) 363 self.assertEqual(result, expected) 368 result = posixpath.normpath(path) 369 self.assertEqual(result, expected)
|
H A D | test_time.py | 264 result = time.strftime("%Y %m %d %H %M %S %w %j", (2000,)+(0,)*8) 265 self.assertEqual(expected, result) 858 result = pytime_converter(value, time_rnd) 862 self.assertEqual(result,
|
/third_party/python/Modules/_ctypes/ |
H A D | cfield.c | 283 PyObject *result; in PyCField_repr() local 291 result = PyUnicode_FromFormat( in PyCField_repr() 295 result = PyUnicode_FromFormat( in PyCField_repr() 298 return result; in PyCField_repr() 1076 object, of course. If O_get is called from a function result, no py_object 1183 /* We need 'result' to be able to count the characters with wcslen, in U_get() 1186 away the result. in U_get()
|
/third_party/skia/third_party/externals/tint/src/reader/wgsl/ |
H A D | lexer.cc | 608 float result; in try_hex_float() local 609 std::memcpy(&result, &result_u32, sizeof(result)); in try_hex_float() 610 return {source, static_cast<float>(result)}; in try_hex_float()
|
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | ucnv_bld.cpp | 387 int result; in getAlgorithmicTypeFromName() local 405 result = uprv_strcmp(strippedName, cnvNameType[mid].name); in getAlgorithmicTypeFromName() 407 if (result < 0) { in getAlgorithmicTypeFromName() 409 } else if (result > 0) { in getAlgorithmicTypeFromName() 1602 /* stage 3/result bytes: sometimes uint16_t[] or uint32_t[] */ in ucnv_swap()
|
/third_party/toybox/toys/pending/ |
H A D | diff.c | 531 char *result, *s, *t; in quote_filename() local 554 result = xmalloc(len + (quote ? 2 : 0) + 1); in quote_filename() 555 t = result; in quote_filename() 573 return result; in quote_filename()
|
/third_party/skia/third_party/externals/dawn/src/tests/white_box/ |
H A D | VulkanImageWrappingTestsOpaqueFD.cpp | 145 ::VkResult result = CreateImage(deviceVk, width, height, format, handle); in CreateBindExportImage() local 146 EXPECT_EQ(result, VK_SUCCESS) << "Failed to create external image"; in CreateBindExportImage() 152 result = BindMemory(deviceVk, *handle, allocation); in CreateBindExportImage() 153 EXPECT_EQ(result, VK_SUCCESS) << "Failed to bind image memory"; in CreateBindExportImage()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/ |
H A D | str_split_test.cc | 639 std::vector<std::string> result = stack_splitter; in TEST() local 640 EXPECT_THAT(result, testing::ElementsAre("a", "b")); in TEST() 647 std::vector<std::string> result = stack_splitter; in TEST() local 648 EXPECT_THAT(result, testing::ElementsAre("a", "b")); in TEST()
|