Home
last modified time | relevance | path

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

123

/third_party/icu/icu4c/source/test/cintltst/
Dcnmdptst.c648 UChar resultBuffer[512]; in TestSecondaryGrouping() local
663 unum_format(f, (int32_t)123456789L, resultBuffer, 512 , &pos, &status); in TestSecondaryGrouping()
665 if ((u_strcmp(resultBuffer, buffer) != 0) || U_FAILURE(status)) in TestSecondaryGrouping()
667 … \"#,##,###\" pattern with 123456789 got %s, expected %s\n", austrdup(resultBuffer), "12,34,56,789… in TestSecondaryGrouping()
672 memset(resultBuffer,0, sizeof(UChar)*512); in TestSecondaryGrouping()
673 unum_toPattern(f, FALSE, resultBuffer, 512, &status); in TestSecondaryGrouping()
675 if ((u_strcmp(resultBuffer, buffer) != 0) || U_FAILURE(status)) in TestSecondaryGrouping()
677 log_err("Fail: toPattern() got %s, expected %s\n", austrdup(resultBuffer), "#,##,##0"); in TestSecondaryGrouping()
679 memset(resultBuffer,0, sizeof(UChar)*512); in TestSecondaryGrouping()
687 unum_format(f, (int32_t)123456789L, resultBuffer, 512 , &pos, &status); in TestSecondaryGrouping()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsMultipleDispatchesUniformSubgroupSizeTests.cpp84 Move<VkBuffer> resultBuffer = createBuffer(vk, device, &resultBufferCreateInfo); in iterate() local
85 …Memory = allocator.allocate(getBufferMemoryRequirements(vk, device, *resultBuffer), MemoryRequire… in iterate()
87 …VK_CHECK(vk.bindBufferMemory(device, *resultBuffer, resultBufferMemory->getMemory(), resultBufferM… in iterate()
94 const VkDescriptorBufferInfo resultInfo = makeDescriptorBufferInfo(*resultBuffer, 0u, in iterate()
192 vk.cmdFillBuffer(*cmdBuffer, *resultBuffer, 0u, VK_WHOLE_SIZE, 0); in iterate()
199 …emoryBarrier(VK_ACCESS_SHADER_WRITE_BIT, VK_ACCESS_SHADER_WRITE_BIT, *resultBuffer, 0ull, bufferSi… in iterate()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DMaxLimitTests.cpp204 wgpu::Buffer resultBuffer = device.CreateBuffer(&resultBufDesc); in TEST_P() local
219 {{0, buffer}, {1, resultBuffer}}); in TEST_P()
230 EXPECT_BUFFER_U32_EQ(value0, resultBuffer, 0) in TEST_P()
233 EXPECT_BUFFER_U32_EQ(value1, resultBuffer, 4) in TEST_P()
DStorageTextureTests.cpp602 wgpu::Buffer resultBuffer = in CheckResultInStorageBuffer() local
609 {{0, readonlyStorageTexture.CreateView(&descriptor)}, {1, resultBuffer}}); in CheckResultInStorageBuffer()
623 EXPECT_BUFFER_U32_RANGE_EQ(&kExpectedValue, resultBuffer, 0, 1u); in CheckResultInStorageBuffer()
710 wgpu::Buffer resultBuffer = CreateEmptyBufferForTextureCopy(texelSize, sliceCount); in CheckOutputStorageTexture() local
718 utils::CreateImageCopyBuffer(resultBuffer, 0, kTextureBytesPerRowAlignment, kHeight); in CheckOutputStorageTexture()
731 resultBuffer, resultBufferOffset, kWidth); in CheckOutputStorageTexture()
913 wgpu::Buffer resultBuffer = device.CreateBuffer(&bufferDescriptor); in TEST_P() local
918 wgpu::ImageCopyBuffer imageCopyBuffer = utils::CreateImageCopyBuffer(resultBuffer, 0, 256, 1); in TEST_P()
926 EXPECT_BUFFER_U32_EQ(kFinalPixelValueInTexture1, resultBuffer, 0); in TEST_P()
DOpArrayLengthTests.cpp104 wgpu::Buffer resultBuffer = device.CreateBuffer(&bufferDesc); in TEST_P() local
110 utils::MakeBindGroup(device, resultLayout, {{0, resultBuffer, 0, wgpu::kWholeSize}}); in TEST_P()
148 EXPECT_BUFFER_U32_RANGE_EQ(mExpectedLengths.data(), resultBuffer, 0, 3); in TEST_P()
/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/
DesextcGeometryShaderPrimitiveCounter.cpp1309 …glw::GLubyte* resultBuffer = new glw::GLubyte[m_texture_width * m_texture_height * m_texture_n_com… in iterate() local
1315 delete[] resultBuffer; in iterate()
1316 resultBuffer = NULL; in iterate()
1320 …(0 /* x */, 0 /* y */, m_texture_width, m_texture_height, GL_RGBA, GL_UNSIGNED_BYTE, resultBuffer); in iterate()
1325 delete[] resultBuffer; in iterate()
1326 resultBuffer = NULL; in iterate()
1333 glw::GLubyte* data_row = resultBuffer + y * m_texture_width * m_texture_n_components; in iterate()
1369 delete[] resultBuffer; in iterate()
1370 resultBuffer = NULL; in iterate()
1380 delete[] resultBuffer; in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingTraversalControlTests.cpp108 virtual bool verifyImage (BufferWithMemory* resultBuffer,
193 bool verifyImage (BufferWithMemory* resultBuffer,
311 bool SingleSquareConfiguration::verifyImage (BufferWithMemory* resultBuffer, Context& context, Test… in verifyImage() argument
315 …ess resultAccess(imageFormat, testParams.width, testParams.height, 2, resultBuffer->getAllocation(… in verifyImage()
636 …de::MovePtr<BufferWithMemory> resultBuffer = de::MovePtr<BufferWithMemory>(new BufferWithMem… in runTest() local
697 …vkd.cmdCopyImageToBuffer(*cmdBuffer, **image, VK_IMAGE_LAYOUT_GENERAL, **resultBuffer, 1u, &result… in runTest()
705 …invalidateMappedMemoryRange(vkd, device, resultBuffer->getAllocation().getMemory(), resultBuffer->… in runTest()
707 return resultBuffer; in runTest()
DvktRayTracingCallableShadersTests.cpp101 virtual bool verifyImage (BufferWithMemory* resultBuffer,
185 bool verifyImage (BufferWithMemory* resultBuffer,
363 bool SingleSquareConfiguration::verifyImage (BufferWithMemory* resultBuffer, Context& context, Test… in verifyImage() argument
367 …ess resultAccess(imageFormat, testParams.width, testParams.height, 1, resultBuffer->getAllocation(… in verifyImage()
714 …de::MovePtr<BufferWithMemory> resultBuffer = de::MovePtr<BufferWithMemory>(new BufferWithMem… in runTest() local
775 …vkd.cmdCopyImageToBuffer(*cmdBuffer, **image, VK_IMAGE_LAYOUT_GENERAL, **resultBuffer, 1u, &result… in runTest()
783 …invalidateMappedMemoryRange(vkd, device, resultBuffer->getAllocation().getMemory(), resultBuffer->… in runTest()
785 return resultBuffer; in runTest()
DvktRayTracingTraceRaysTests.cpp439 …de::MovePtr<BufferWithMemory> resultBuffer = de::MovePtr<BufferWithMemory>(new BufferWithMem… in runTest() local
555 …vkd.cmdCopyImageToBuffer(*cmdBuffer, **image, VK_IMAGE_LAYOUT_GENERAL, **resultBuffer, 1u, &result… in runTest()
563 …invalidateMappedMemoryRange(vkd, device, resultBuffer->getAllocation().getMemory(), resultBuffer->… in runTest()
565 return resultBuffer; in runTest()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/
DvktComputeIndirectComputeDispatchTests.cpp138 deBool verifyResultBuffer (const Buffer& resultBuffer,
224 Buffer resultBuffer( in iterate() local
230 const vk::Allocation& alloc = resultBuffer.getAllocation(); in iterate()
266 …vk::VK_ACCESS_SHADER_WRITE_BIT, vk::VK_ACCESS_HOST_READ_BIT, *resultBuffer, 0ull, resultBufferSize… in iterate()
297 …const vk::VkDescriptorBufferInfo resultDescriptorInfo = makeDescriptorBufferInfo(*resultBuffer, cu… in iterate()
325 if (verifyResultBuffer(resultBuffer, resultBlockSize)) in iterate()
331 deBool IndirectDispatchInstanceBufferUpload::verifyResultBuffer (const Buffer& resultBuffer, in verifyResultBuffer() argument
335 const vk::Allocation& alloc = resultBuffer.getAllocation(); in verifyResultBuffer()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationInternallySynchronizedObjectsTests.cpp292 …Buffer resultBuffer (vk, device, *queues.m_allocator, makeBufferCreateInfo(BUFFER_SIZE, VK_… in executeComputePipeline() local
293 …erMemoryBarrier(VK_ACCESS_SHADER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *resultBuffer, 0ull, BUFFER_S… in executeComputePipeline()
298 const Allocation& alloc = resultBuffer.getAllocation(); in executeComputePipeline()
311 …const VkDescriptorBufferInfo resultDescriptorInfo = makeDescriptorBufferInfo(*resultBuffer, 0ull, … in executeComputePipeline()
335 const Allocation& resultAlloc = resultBuffer.getAllocation(); in executeComputePipeline()
367 …Buffer resultBuffer (vk, device, *queues.m_allocator, makeBufferCreateInfo(BUFFER_SIZE, V… in executeGraphicPipeline() local
368 …erMemoryBarrier(VK_ACCESS_SHADER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *resultBuffer, 0ull, BUFFER_S… in executeGraphicPipeline()
379 …const VkDescriptorBufferInfo outputBufferDescriptorInfo = makeDescriptorBufferInfo(*resultBuffer, … in executeGraphicPipeline()
386 const Allocation& alloc = resultBuffer.getAllocation(); in executeGraphicPipeline()
429 const Allocation& resultAlloc = resultBuffer.getAllocation(); in executeGraphicPipeline()
[all …]
DvktSynchronizationImageLayoutTransitionTests.cpp255 Move<VkBuffer> resultBuffer = createBuffer(vk, device, &resultBufferCreateInfo); in iterate() local
256 …Memory = allocator.allocate(getBufferMemoryRequirements(vk, device, *resultBuffer), MemoryRequire… in iterate()
259 …VK_CHECK(vk.bindBufferMemory(device, *resultBuffer, resultBufferMemory->getMemory(), resultBufferM… in iterate()
297 …copyImageToBuffer(vk, *cmdBuffer, *targetImage, *resultBuffer, tcu::IVec2(WIDTH, HEIGHT), VK_ACCES… in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/fragment_shading_rate/
DvktFragmentShadingRatePixelConsistency.cpp159 tcu::TestStatus verifyResult(tcu::ConstPixelBufferAccess& resultBuffer, const deUint32 index);
415 tcu::TestStatus FSRPixelConsistencyInstance::verifyResult(tcu::ConstPixelBufferAccess& resultBuffer in verifyResult() argument
420 for (int y = 0; y < resultBuffer.getHeight(); y++) in verifyResult()
422 for (int x = 0; x < resultBuffer.getWidth(); x++) in verifyResult()
424 deUint32 pixel = resultBuffer.getPixelUint(x, y)[index]; in verifyResult()
433 ….width + 1) * m_shadingRateClamped[index].width > static_cast<deUint32>(resultBuffer.getWidth()); in verifyResult()
434 …height + 1) * m_shadingRateClamped[index].height > static_cast<deUint32>(resultBuffer.getHeight()); in verifyResult()
1335 tcu::ConstPixelBufferAccess resultBuffer = tcu::ConstPixelBufferAccess( in iterate() local
1341 tcu::TestStatus result = verifyResult(resultBuffer, i); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
DvktImageAtomicOperationTests.cpp1462 …tcu::ConstPixelBufferAccess resultBuffer(m_format, gridSize.x(), gridSize.y(), gridSize.z(), outpu… in verifyResult() local
1464 for (deInt32 z = 0; z < resultBuffer.getDepth(); z++) in verifyResult()
1465 for (deInt32 y = 0; y < resultBuffer.getHeight(); y++) in verifyResult()
1466 for (deInt32 x = 0; x < resultBuffer.getWidth(); x++) in verifyResult()
1468 const void* resultValue = resultBuffer.getPixelPtr(x, y, z); in verifyResult()
1607 bool areValuesCorrect (tcu::ConstPixelBufferAccess& resultBuffer,
1783 …tcu::ConstPixelBufferAccess resultBuffer(m_format, extendedGridSize.x(), extendedGridSize.y(), ext… in verifyResult() local
1785 for (deInt32 z = 0; z < resultBuffer.getDepth(); z++) in verifyResult()
1786 for (deInt32 y = 0; y < resultBuffer.getHeight(); y++) in verifyResult()
1793 if (!areValuesCorrect<deUint64>(resultBuffer, false, x, y, z, gridSize, extendedGridSize)) in verifyResult()
[all …]
DvktImageMultisampleLoadStoreTests.cpp284 …UniquePtr<Buffer> resultBuffer (new Buffer(vk, device, allocator, makeBufferCreateInfo(resultBuf… in test() local
288 const Allocation& alloc = resultBuffer->getAllocation(); in test()
416 …(*cmdBuffer, **checksumImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, **resultBuffer, 1u, &copyRegio… in test()
421 …makeBufferMemoryBarrier(VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, **resultBuffer, 0ul… in test()
433 const Allocation& alloc = resultBuffer->getAllocation(); in test()
DvktImageMisalignedCubeTests.cpp168 …de::MovePtr<Buffer> resultBuffer = de::MovePtr<Buffer>(new Buffer(vk, device, allocator, resu… in iterate() local
169 const Allocation& resultBufferAlloc = resultBuffer->getAllocation(); in iterate()
190 …const VkDescriptorBufferInfo descriptorBufferInfo = makeDescriptorBufferInfo(resultBuffer->get(), … in iterate()
209 resultBuffer->get(), 0ull, VK_WHOLE_SIZE); in iterate()
DvktImageAstcDecodeModeTests.cpp205 …Buffer resultBuffer (vk, device, allocator, uncompressedBufferCI, MemoryRequirement::HostV… in iterate() local
344 …(*cmdBuffer, resultImage.get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, resultBuffer.get(), 1u, &cop… in iterate()
350 resultBuffer.get(), 0ull, bufferSizeUncompressed), in iterate()
361 const Allocation& resultAlloc = resultBuffer.getAllocation(); in iterate()
/third_party/lz4/programs/
Dbench.c369 void* const resultBuffer = malloc(maxDecSize); in BMK_benchMem() local
374 if (!compressedBuffer || !resultBuffer || !blockTable) in BMK_benchMem()
391 char* resPtr = (char*)resultBuffer; in BMK_benchMem()
496 if (!dCompleted) memset(resultBuffer, 0xD6, srcSize); /* warm result buffer */ in BMK_benchMem()
559 U64 const crcCheck = XXH64(resultBuffer, srcSize, 0); in BMK_benchMem()
564 if (((const BYTE*)srcBuffer)[u] != ((const BYTE*)resultBuffer)[u]) { in BMK_benchMem()
600 free(resultBuffer); in BMK_benchMem()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_query/
DvktRayQueryProceduralGeometryTests.cpp118 …de::SharedPtr<BufferWithMemory> resultBuffer = de::SharedPtr<BufferWithMemory>(new BufferWithMe… in iterate() local
146 clearBuffer(resultBuffer, resultBufferSize); in iterate()
165 …const VkDescriptorBufferInfo resultSSBO = makeDescriptorBufferInfo(**resultBuffer, 0u, VK_WHO… in iterate()
201 auto resultAllocation = resultBuffer->getAllocation(); in iterate()
DvktRayQueryCullRayFlagsTests.cpp153 virtual bool verifyImage (BufferWithMemory* resultBuffer,
323 bool verifyImage (BufferWithMemory* resultBuffer,
656 bool GraphicsConfiguration::verifyImage (BufferWithMemory* resultBuffer, in verifyImage() argument
662 …ess resultAccess(imageFormat, testParams.width, testParams.height, 2, resultBuffer->getAllocation(… in verifyImage()
760 bool verifyImage (BufferWithMemory* resultBuffer,
850 bool ComputeConfiguration::verifyImage (BufferWithMemory* resultBuffer, in verifyImage() argument
856 …ess resultAccess(imageFormat, testParams.width, testParams.height, 2, resultBuffer->getAllocation(… in verifyImage()
919 bool verifyImage (BufferWithMemory* resultBuffer,
1109 bool RayTracingConfiguration::verifyImage (BufferWithMemory* resultBuffer, in verifyImage() argument
1115 …ess resultAccess(imageFormat, testParams.width, testParams.height, 2, resultBuffer->getAllocation(… in verifyImage()
[all …]
DvktRayQueryTraversalControlTests.cpp115 virtual bool verifyImage (BufferWithMemory* resultBuffer,
242 bool verifyImage (BufferWithMemory* resultBuffer,
573 bool GraphicsConfiguration::verifyImage (BufferWithMemory* resultBuffer, in verifyImage() argument
579 …ess resultAccess(imageFormat, testParams.width, testParams.height, 2, resultBuffer->getAllocation(… in verifyImage()
715 bool verifyImage (BufferWithMemory* resultBuffer,
803 bool ComputeConfiguration::verifyImage (BufferWithMemory* resultBuffer, in verifyImage() argument
809 …ess resultAccess(imageFormat, testParams.width, testParams.height, 2, resultBuffer->getAllocation(… in verifyImage()
900 bool verifyImage (BufferWithMemory* resultBuffer,
1085 bool RayTracingConfiguration::verifyImage (BufferWithMemory* resultBuffer, in verifyImage() argument
1091 …ess resultAccess(imageFormat, testParams.width, testParams.height, 2, resultBuffer->getAllocation(… in verifyImage()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationPrimitiveDiscardTests.cpp426 …const Buffer resultBuffer (vk, device, allocator, makeBufferCreateInfo(resultBufferSizeBytes… in test() local
429 const Allocation& alloc = resultBuffer.getAllocation(); in test()
461 …const VkDescriptorBufferInfo resultBufferInfo = makeDescriptorBufferInfo(resultBuffer.get(), 0ull… in test()
530 VK_ACCESS_SHADER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *resultBuffer, 0ull, resultBufferSizeBytes); in test()
551 const Allocation& resultAlloc = resultBuffer.getAllocation(); in test()
DvktTessellationFractionalSpacingTests.cpp531 …const Buffer resultBuffer (vk, device, allocator, makeBufferCreateInfo(resultBufferSizeBytes… in test() local
552 …const VkDescriptorBufferInfo resultBufferInfo = makeDescriptorBufferInfo(resultBuffer.get(), 0ul… in test()
593 const Allocation& alloc = resultBuffer.getAllocation(); in test()
612 … VK_ACCESS_SHADER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *resultBuffer, 0ull, resultBufferSizeBytes); in test()
624 const Allocation& resultAlloc = resultBuffer.getAllocation(); in test()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fIndirectComputeDispatchTests.cpp347 glu::Buffer resultBuffer (renderCtx); in iterate() local
362 createResultBuffer(*resultBuffer); in iterate()
375 …gl.bindBufferRange(GL_SHADER_STORAGE_BUFFER, 0, *resultBuffer, (glw::GLintptr)curOffset, resultBlo… in iterate()
384 if (verifyResultBuffer(*resultBuffer)) in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/api/
DvktApiDescriptorSetTests.cpp383 de::MovePtr<BufferWithMemory> resultBuffer; in descriptorSetLayoutBindingOrderingTest() local
384 resultBuffer = de::MovePtr<BufferWithMemory>(new BufferWithMemory(vk, in descriptorSetLayoutBindingOrderingTest()
411 resultBuffer->get(), // VkBuffer buffer in descriptorSetLayoutBindingOrderingTest()
589 const Allocation& bufferAllocationResult = resultBuffer->getAllocation(); in descriptorSetLayoutBindingOrderingTest()

123