Home
last modified time | relevance | path

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

/external/icu/icu4c/source/test/cintltst/
Dcnmdptst.c715 UChar resultBuffer[512]; in TestSecondaryGrouping() local
730 unum_format(f, (int32_t)123456789L, resultBuffer, 512 , &pos, &status); in TestSecondaryGrouping()
732 if ((u_strcmp(resultBuffer, buffer) != 0) || U_FAILURE(status)) in TestSecondaryGrouping()
734 …ormatting \"#,##,###\" pattern with 123456789 got %s, expected %s\n", resultBuffer, "12,34,56,789"… in TestSecondaryGrouping()
739 memset(resultBuffer,0, sizeof(UChar)*512); in TestSecondaryGrouping()
740 unum_toPattern(f, FALSE, resultBuffer, 512, &status); in TestSecondaryGrouping()
742 if ((u_strcmp(resultBuffer, buffer) != 0) || U_FAILURE(status)) in TestSecondaryGrouping()
744 log_err("Fail: toPattern() got %s, expected %s\n", resultBuffer, "#,##,###"); in TestSecondaryGrouping()
746 memset(resultBuffer,0, sizeof(UChar)*512); in TestSecondaryGrouping()
754 unum_format(f, (int32_t)123456789L, resultBuffer, 512 , &pos, &status); in TestSecondaryGrouping()
[all …]
/external/lz4/programs/
Dbench.c167 void* const resultBuffer = malloc(srcSize); in BMK_benchMem() local
174 if (!compressedBuffer || !resultBuffer || !blockTable) in BMK_benchMem()
197 char* resPtr = (char*)resultBuffer; in BMK_benchMem()
282 if (!dCompleted) memset(resultBuffer, 0xD6, srcSize); /* warm result buffer */ in BMK_benchMem()
317 { U64 const crcCheck = XXH64(resultBuffer, srcSize, 0); in BMK_benchMem()
322 if (((const BYTE*)srcBuffer)[u] != ((const BYTE*)resultBuffer)[u]) { in BMK_benchMem()
357 free(resultBuffer); in BMK_benchMem()
/external/deqp/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 …]
/external/deqp/external/vulkancts/modules/vulkan/compute/
DvktComputeIndirectComputeDispatchTests.cpp135 deBool verifyResultBuffer (const Buffer& resultBuffer,
222 Buffer resultBuffer( in iterate() local
228 const vk::Allocation& alloc = resultBuffer.getAllocation(); in iterate()
264 …vk::VK_ACCESS_SHADER_WRITE_BIT, vk::VK_ACCESS_HOST_READ_BIT, *resultBuffer, 0ull, resultBufferSize… in iterate()
295 …const vk::VkDescriptorBufferInfo resultDescriptorInfo = makeDescriptorBufferInfo(*resultBuffer, cu… in iterate()
323 if (verifyResultBuffer(resultBuffer, resultBlockSize, resultBufferSize)) in iterate()
329 deBool IndirectDispatchInstanceBufferUpload::verifyResultBuffer (const Buffer& resultBuffer, in verifyResultBuffer() argument
334 const vk::Allocation& alloc = resultBuffer.getAllocation(); in verifyResultBuffer()
DvktComputeShaderBuiltinVarTests.cpp414 …Buffer resultBuffer(m_vki, m_device, m_context.getDefaultAllocator(), makeBufferCreateInfo(resultB… in iterate() local
440 VK_ACCESS_SHADER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *resultBuffer, 0ull, resultBufferSize); in iterate()
453 …const VkDescriptorBufferInfo resultDescriptorInfo = makeDescriptorBufferInfo(*resultBuffer, 0ull, … in iterate()
477 const Allocation& resultAlloc = resultBuffer.getAllocation(); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationInternallySynchronizedObjectsTests.cpp335 …Buffer resultBuffer (vk, device, *queues.m_allocator, makeBufferCreateInfo(BUFFER_SIZE, VK_… in executeComputePipeline() local
336 …erMemoryBarrier(VK_ACCESS_SHADER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *resultBuffer, 0ull, BUFFER_S… in executeComputePipeline()
341 const Allocation& alloc = resultBuffer.getAllocation(); in executeComputePipeline()
354 …const VkDescriptorBufferInfo resultDescriptorInfo = makeDescriptorBufferInfo(*resultBuffer, 0ull, … in executeComputePipeline()
378 const Allocation& resultAlloc = resultBuffer.getAllocation(); in executeComputePipeline()
410 …Buffer resultBuffer (vk, device, *queues.m_allocator, makeBufferCreateInfo(BUFFER_SIZE, V… in executeGraphicPipeline() local
411 …erMemoryBarrier(VK_ACCESS_SHADER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *resultBuffer, 0ull, BUFFER_S… in executeGraphicPipeline()
422 …const VkDescriptorBufferInfo outputBufferDescriptorInfo = makeDescriptorBufferInfo(*resultBuffer, … in executeGraphicPipeline()
429 const Allocation& alloc = resultBuffer.getAllocation(); in executeGraphicPipeline()
476 const Allocation& resultAlloc = resultBuffer.getAllocation(); in executeGraphicPipeline()
[all …]
/external/deqp/external/vulkancts/modules/vulkan/image/
DvktImageAtomicOperationTests.cpp670 …tcu::ConstPixelBufferAccess resultBuffer(m_format, gridSize.x(), gridSize.y(), gridSize.z(), outpu… in verifyResult() local
672 for (deInt32 z = 0; z < resultBuffer.getDepth(); z++) in verifyResult()
673 for (deInt32 y = 0; y < resultBuffer.getHeight(); y++) in verifyResult()
674 for (deInt32 x = 0; x < resultBuffer.getWidth(); x++) in verifyResult()
676 deInt32 resultValue = resultBuffer.getPixelInt(x, y, z).x(); in verifyResult()
879 …tcu::ConstPixelBufferAccess resultBuffer(m_format, extendedGridSize.x(), extendedGridSize.y(), ext… in verifyResult() local
881 for (deInt32 z = 0; z < resultBuffer.getDepth(); z++) in verifyResult()
882 for (deInt32 y = 0; y < resultBuffer.getHeight(); y++) in verifyResult()
893 resultValues[i] = resultBuffer.getPixelInt(gid.x(), gid.y(), gid.z()).x(); in verifyResult()
DvktImageMultisampleLoadStoreTests.cpp287 …UniquePtr<Buffer> resultBuffer (new Buffer(vk, device, allocator, makeBufferCreateInfo(resultBuf… in test() local
291 const Allocation& alloc = resultBuffer->getAllocation(); in test()
419 …(*cmdBuffer, **checksumImage, VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, **resultBuffer, 1u, &copyRegio… in test()
424 …makeBufferMemoryBarrier(VK_ACCESS_TRANSFER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, **resultBuffer, 0ul… in test()
436 const Allocation& alloc = resultBuffer->getAllocation(); in test()
DvktImageCompressionTranscodingSupport.cpp980 Buffer resultBuffer (vk, device, allocator, in decompressImage() local
1139 …r(cmdBuffer, resultImage.get(), VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL, resultBuffer.get(), 1u, &cop… in decompressImage()
1146 resultBuffer.get(), 0ull, bufferSize), in decompressImage()
1160 const Allocation& resultAlloc = resultBuffer.getAllocation(); in decompressImage()
/external/deqp/external/vulkancts/modules/vulkan/tessellation/
DvktTessellationPrimitiveDiscardTests.cpp423 …const Buffer resultBuffer (vk, device, allocator, makeBufferCreateInfo(resultBufferSizeBytes… in test() local
426 const Allocation& alloc = resultBuffer.getAllocation(); in test()
457 …const VkDescriptorBufferInfo resultBufferInfo = makeDescriptorBufferInfo(resultBuffer.get(), 0ull… in test()
548 VK_ACCESS_SHADER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *resultBuffer, 0ull, resultBufferSizeBytes); in test()
568 const Allocation& resultAlloc = resultBuffer.getAllocation(); in test()
DvktTessellationFractionalSpacingTests.cpp528 …const Buffer resultBuffer (vk, device, allocator, makeBufferCreateInfo(resultBufferSizeBytes… in test() local
549 …const VkDescriptorBufferInfo resultBufferInfo = makeDescriptorBufferInfo(resultBuffer.get(), 0ul… in test()
590 const Allocation& alloc = resultBuffer.getAllocation(); in test()
608 … VK_ACCESS_SHADER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *resultBuffer, 0ull, resultBufferSizeBytes); in test()
621 const Allocation& resultAlloc = resultBuffer.getAllocation(); in test()
DvktTessellationCoordinatesTests.cpp504 …const Buffer resultBuffer (vk, device, allocator, makeBufferCreateInfo(resultBufferSize… in iterate() local
521 …const VkDescriptorBufferInfo resultBufferInfo = makeDescriptorBufferInfo(resultBuffer.get(), 0… in iterate()
562 const Allocation& alloc = resultBuffer.getAllocation(); in iterate()
580 … VK_ACCESS_SHADER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *resultBuffer, 0ull, resultBufferSizeBytes); in iterate()
591 const Allocation& resultAlloc = resultBuffer.getAllocation(); in iterate()
DvktTessellationInvarianceTests.cpp1365 …const Buffer resultBuffer (vk, device, allocator, makeBufferCreateInfo(resul… in iterate() local
1378 …const VkDescriptorBufferInfo resultBufferInfo = makeDescriptorBufferInfo(resultBuffer.get(), 0ull… in iterate()
1432 const Allocation& alloc = resultBuffer.getAllocation(); in iterate()
1452 … VK_ACCESS_SHADER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *resultBuffer, 0ull, resultBufferSizeBytes); in iterate()
1463 const Allocation& resultAlloc = resultBuffer.getAllocation(); in iterate()
2015 …const Buffer resultBuffer (vk, device, allocator, makeBufferCreateInfo(resul… in test() local
2028 …const VkDescriptorBufferInfo resultBufferInfo = makeDescriptorBufferInfo(resultBuffer.get(), 0ull… in test()
2061 const Allocation& alloc = resultBuffer.getAllocation(); in test()
2081 … VK_ACCESS_SHADER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *resultBuffer, 0ull, resultBufferSizeBytes); in test()
2092 const Allocation& resultAlloc = resultBuffer.getAllocation(); in test()
DvktTessellationUserDefinedIO.cpp787 …const Buffer resultBuffer (vk, device, allocator, makeBufferCreateInfo(resultBuf… in iterate() local
790 const Allocation& alloc = resultBuffer.getAllocation(); in iterate()
820 …const VkDescriptorBufferInfo resultBufferInfo = makeDescriptorBufferInfo(resultBuffer.get(), 0ull… in iterate()
922 const Allocation& resultAlloc = resultBuffer.getAllocation(); in iterate()
/external/deqp/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()
Des31fSynchronizationTests.cpp2863 glu::Buffer resultBuffer (m_context.getRenderContext()); in readWorkImage() local
2870 gl.bindBuffer(GL_SHADER_STORAGE_BUFFER, *resultBuffer); in readWorkImage()
2876 gl.bindBufferBase(GL_SHADER_STORAGE_BUFFER, 1, *resultBuffer); in readWorkImage()
/external/deqp/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineSpecConstantTests.cpp474 …const Buffer resultBuffer(vk, device, allocator, makeBufferCreateInfo(m_ssboSize, VK_BUFFER_USAGE_… in iterate() local
485 …const VkDescriptorBufferInfo descriptorBufferInfo = makeDescriptorBufferInfo(resultBuffer.get(), … in iterate()
513 VK_ACCESS_SHADER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *resultBuffer, 0ull, m_ssboSize); in iterate()
524 const Allocation& resultAlloc = resultBuffer.getAllocation(); in iterate()
599 …const Buffer resultBuffer(vk, device, allocator, makeBufferCreateInfo(m_ssboSize, VK_BUFFER_USAGE_… in iterate() local
610 …const VkDescriptorBufferInfo descriptorBufferInfo = makeDescriptorBufferInfo(resultBuffer.get(), … in iterate()
679 VK_ACCESS_SHADER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *resultBuffer, 0ull, m_ssboSize); in iterate()
690 const Allocation& resultAlloc = resultBuffer.getAllocation(); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/fragment_ops/
DvktFragmentOperationsEarlyFragmentTests.cpp648 …const Unique<VkBuffer> resultBuffer (makeBuffer(vk, device, makeBufferCreateInfo(resultBufferS… in iterate() local
649 …const UniquePtr<Allocation> resultBufferAlloc (bindBuffer(vk, device, allocator, *resultBuffer, … in iterate()
675 …const VkDescriptorBufferInfo resultBufferDescriptorInfo = makeDescriptorBufferInfo(resultBuffer.g… in iterate()
737 … VK_ACCESS_SHADER_WRITE_BIT, VK_ACCESS_HOST_READ_BIT, *resultBuffer, 0ull, resultBufferSizeBytes); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/subgroups/
DvktSubgroupsTestsUtils.cpp2271 Buffer resultBuffer(context, resultImageSizeInBytes, in makeFragmentFrameBufferTest() local
2321 resultBuffer.getBuffer(), 1, &region); in makeFragmentFrameBufferTest()
2331 const Allocation& resultAlloc = resultBuffer.getAllocation(); in makeFragmentFrameBufferTest()
2488 Buffer resultBuffer(context, resultImageSizeInBytes, in makeFragmentTest() local
2548 resultBuffer.getBuffer(), 1, &region); in makeFragmentTest()
2558 const Allocation& resultAlloc = resultBuffer.getAllocation(); in makeFragmentTest()
2614 Buffer resultBuffer( in makeComputeTest() local
2639 resultBuffer.getType(), 1, VK_SHADER_STAGE_COMPUTE_BIT, DE_NULL); in makeComputeTest()
2658 poolBuilder.addType(resultBuffer.getType()); in makeComputeTest()
2677 resultBuffer.getBuffer(), 0ull, resultBufferSizeInBytes); in makeComputeTest()
[all …]