Home
last modified time | relevance | path

Searched refs:bufferSizes (Results 1 – 16 of 16) sorted by relevance

/third_party/protobuf/java/compatibility_tests/v2.5.0/tests/src/main/java/com/google/protobuf/test/
DByteStringTest.java386 int[] bufferSizes = {128, 256, length / 2, length - 1, length, length + 1, in testNewOutput_ArrayWrite() local
390 for (int bufferSize : bufferSizes) { in testNewOutput_ArrayWrite()
409 int[] bufferSizes = {0, 1, 128, 256, length / 2, in testNewOutput_WriteChar() local
412 for (int bufferSize : bufferSizes) { in testNewOutput_WriteChar()
429 int[] bufferSizes = {0, 1, 128, 256, length / 2, in testNewOutput_Mixed() local
433 for (int bufferSize : bufferSizes) { in testNewOutput_Mixed()
/third_party/protobuf/java/core/src/test/java/com/google/protobuf/
DByteStringTest.java523 int[] bufferSizes = { in testNewOutput_ArrayWrite() local
528 for (int bufferSize : bufferSizes) { in testNewOutput_ArrayWrite()
548 int[] bufferSizes = { in testNewOutput_WriteChar() local
551 for (int bufferSize : bufferSizes) { in testNewOutput_WriteChar()
569 int[] bufferSizes = { in testNewOutput_Mixed() local
573 for (int bufferSize : bufferSizes) { in testNewOutput_Mixed()
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fTextureBufferTests.cpp567 const size_t bufferSizes[] = in createTextureBufferTests() local
665 for (int sizeNdx = 0; sizeNdx < DE_LENGTH_OF_ARRAY(bufferSizes); sizeNdx++) in createTextureBufferTests()
667 const size_t size = bufferSizes[sizeNdx]; in createTextureBufferTests()
706 for (int sizeNdx = 0; sizeNdx < DE_LENGTH_OF_ARRAY(bufferSizes); sizeNdx++) in createTextureBufferTests()
708 const size_t size = bufferSizes[sizeNdx]; in createTextureBufferTests()
Des31fProgramInterfaceDefinitionUtil.cpp1191 std::map<int, int> bufferSizes; in getAtomicCounterMaxBufferSize() local
1204 if (bufferSizes.find(bufferBinding) == bufferSizes.end()) in getAtomicCounterMaxBufferSize()
1205 bufferSizes[bufferBinding] = size; in getAtomicCounterMaxBufferSize()
1207 bufferSizes[bufferBinding] = de::max<int>(bufferSizes[bufferBinding], size); in getAtomicCounterMaxBufferSize()
1211 for (std::map<int, int>::iterator it = bufferSizes.begin(); it != bufferSizes.end(); ++it) in getAtomicCounterMaxBufferSize()
Des31fSSBOLayoutCase.cpp1940 const vector<int> bufferSizes = computeBufferSizes(interface, layout); in initRefDataStorage() local
1943 …for (vector<int>::const_iterator sizeIter = bufferSizes.begin(); sizeIter != bufferSizes.end(); ++… in initRefDataStorage()
1953 DE_ASSERT(bufferSizes.size() == layout.blocks.size()); in initRefDataStorage()
1961 const int bufferSize = bufferSizes[blockNdx]; in initRefDataStorage()
2168 const vector<int> bufferSizes = computeBufferSizes(m_interface, glLayout); in iterate() local
2170 DE_ASSERT(bufferSizes.size() == glLayout.blocks.size()); in iterate()
2180 const int bufferSize = bufferSizes[blockNdx]; in iterate()
2197 DE_ASSERT(bufferSizes.size() == glLayout.blocks.size()); in iterate()
2200 const int bufferSize = bufferSizes[blockNdx]; in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory_model/
DvktMemoryModelMessagePassing.cpp1102 VkDeviceSize bufferSizes[3]; in iterate() local
1113 bufferSizes[i] = NUM_INVOCATIONS * elementSize; in iterate()
1151 vk, device, allocator, makeBufferCreateInfo(bufferSizes[i], usageFlags), in iterate()
1163 bufferDescriptors[i] = makeDescriptorBufferInfo(**buffers[i], 0, bufferSizes[i]); in iterate()
1170 …vk, device, allocator, makeBufferCreateInfo(bufferSizes[2], VK_BUFFER_USAGE_TRANSFER_DST_BIT), Mem… in iterate()
1175 …vk, device, allocator, makeBufferCreateInfo(bufferSizes[2], VK_BUFFER_USAGE_TRANSFER_DST_BIT), Mem… in iterate()
1613 bufferSizes[2] // size in iterate()
1623 vk.cmdFillBuffer(*cmdBuffer, **buffers[2], 0, bufferSizes[2], 0); in iterate()
1690 vk.cmdFillBuffer(*cmdBuffer, **buffers[i], 0, bufferSizes[i], 0); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp1956 const vector<int> bufferSizes = computeBufferSizes(interface, layout); in initRefDataStorage() local
1960 …for (vector<int>::const_iterator sizeIter = bufferSizes.begin(); sizeIter != bufferSizes.end(); ++… in initRefDataStorage()
1973 DE_ASSERT(bufferSizes.size() == layout.blocks.size()); in initRefDataStorage()
1981 const int bufferSize = bufferSizes[blockNdx]; in initRefDataStorage()
2171 const std::vector<int> bufferSizes = computeBufferSizes(m_interface, m_refLayout); in iterate() local
2176 DE_ASSERT(bufferSizes.size() == m_refLayout.blocks.size()); in iterate()
2183 const deUint32 bufferSize = bufferSizes[blockNdx]; in iterate()
2209 const int bufferSize = bufferSizes[blockNdx]; in iterate()
2227 const deUint32 bufferSize = bufferSizes[blockNdx]; in iterate()
2375 static_cast<vk::VkDeviceSize>(bufferSizes[blockNdx]) in iterate()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/compute/
DvktComputeCooperativeMatrixTests.cpp783 VkDeviceSize bufferSizes[5]; in iterate() local
800 bufferSizes[i] = totalElements[i] * elementSize[i]; in iterate()
804 bufferSizes[4] = sizeof(VkDeviceAddress)*4; in iterate()
810 …vk, device, allocator, makeBufferCreateInfo(bufferSizes[i], VK_BUFFER_USAGE_STORAGE_BUFFER_BIT|VK_… in iterate()
816 …vk, device, allocator, makeBufferCreateInfo(bufferSizes[i], VK_BUFFER_USAGE_STORAGE_BUFFER_BIT|VK_… in iterate()
820 bufferDescriptors[i] = makeDescriptorBufferInfo(**buffers[i], 0, bufferSizes[i]); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
DvktBindingBufferDeviceAddressTests.cpp1417 std::vector<VkDeviceSize> bufferSizes(numBuffers); in iterate() local
1420 bufferSizes[i] = 4096 << (rng.getUint32() % 11); in iterate()
1476 bufferCreateInfo.size = bufferSizes[i]; in iterate()
1518 bufferCreateInfo.size = bufferSizes[i]; in iterate()
DvktBindingShaderAccessTests.cpp2727 std::vector<deUint32> bufferSizes; in testResourceAccess() local
2754 bufferSizes.push_back(dataOffsets.back() + ADDRESSABLE_SIZE); in testResourceAccess()
2757 …vk::Move<vk::VkBuffer> buffer (createColorDataBuffer(dataOffsets.back(), bufferSizes.back(), col… in testResourceAccess()
2813 (vk::VkDeviceSize)bufferSizes[bufferNdx], // size in testResourceAccess()
/third_party/vk-gl-cts/modules/egl/
DteglChooseConfigTests.cpp614 static const EGLenum bufferSizes[] = in init() local
622 …seConfigRandomCase(m_eglTestCtx, "buffer_sizes", "Various buffer size rules", toSet(bufferSizes))); in init()
/third_party/icu/icu4c/source/test/cintltst/
Dccapitst.c1696 static const int32_t bufferSizes[] = { in TestConvertSafeClone() local
1808 for(j = 0; j < UPRV_LENGTHOF(bufferSizes); ++j) { in TestConvertSafeClone()
1830 bufferSize = bufferSizes[j]; in TestConvertSafeClone()
1836 if( actualSizes[idx] <= (bufferSizes[j] - (int32_t)ALIGNOF(UConverter)) && in TestConvertSafeClone()
1843 if(bufferSize <= bufferSizes[j]) { in TestConvertSafeClone()
1849 names[idx], bufferSize, bufferSizes[j]); in TestConvertSafeClone()
1855 names[idx], bufferSize, bufferSizes[j]); in TestConvertSafeClone()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineMultisampleTests.cpp4631 std::vector<vk::VkDeviceSize> bufferSizes; in iterate() local
4637 bufferSizes.push_back(bufferNumElements.back() * sizeof(deInt32)); in iterate()
4638 …const auto bufferCreateInfo = vk::makeBufferCreateInfo(bufferSizes.back(), vk::VK_BUFFER_USAGE_STO… in iterate()
4979 zeroOutAndFlush(vkd, device, *referenceBuffers[i], bufferSizes[i]); in iterate()
4980 zeroOutAndFlush(vkd, device, *outputBuffers[i], bufferSizes[i]); in iterate()
5001 …escriptorBufferInfo = vk::makeDescriptorBufferInfo(referenceBuffers[i]->get(), 0u, bufferSizes[i]); in iterate()
5006 …o descriptorBufferInfo = vk::makeDescriptorBufferInfo(outputBuffers[i]->get(), 0u, bufferSizes[i]); in iterate()
5093 deMemcpy(bufferValues.data(), alloc.getHostPtr(), bufferSizes[i]); in iterate()
5110 deMemcpy(bufferValues.data(), alloc.getHostPtr(), bufferSizes[i]); in iterate()
5118 …tr(), referenceBuffers[i]->getAllocation().getHostPtr(), static_cast<size_t>(bufferSizes[i])) != 0) in iterate()
/third_party/skia/third_party/externals/dawn/src/dawn_native/
DShaderModule.cpp1049 RequiredBufferSizes bufferSizes; in ComputeRequiredBufferSizesForLayout() local
1051 bufferSizes[group] = GetBindGroupMinBufferSizes(entryPoint.bindings[group], in ComputeRequiredBufferSizesForLayout()
1055 return bufferSizes; in ComputeRequiredBufferSizesForLayout()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/
DvktTransformFeedbackSimpleTests.cpp2860 const deUint32 bufferSizes[] = { 256u, 512u, 128u * 1024u }; in createTransformFeedbackSimpleTests() local
2873 …for (deUint32 bufferSizesNdx = 0; bufferSizesNdx < DE_LENGTH_OF_ARRAY(bufferSizes); ++bufferSizesN… in createTransformFeedbackSimpleTests()
2875 const deUint32 bufferSize = bufferSizes[bufferSizesNdx]; in createTransformFeedbackSimpleTests()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DContextVk.cpp2082 const gl::TransformFeedbackBuffersArray<VkDeviceSize> &bufferSizes = in handleDirtyGraphicsTransformFeedbackBuffersExtension() local
2087 bufferSizes.data()); in handleDirtyGraphicsTransformFeedbackBuffersExtension()