Home
last modified time | relevance | path

Searched refs:bytesToAllocate (Results 1 - 3 of 3) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A DVertexArrayVk.cpp72 size_t bytesToAllocate, in StreamVertexData()
83 ANGLE_TRY(dynamicBuffer->allocate(contextVk, bytesToAllocate, &dst, nullptr, bufferOffsetOut, in StreamVertexData()
95 for (size_t dataCopied = 0; dataCopied < bytesToAllocate; in StreamVertexData()
814 size_t bytesToAllocate = instanceCount * stride; in updateStreamedAttribs() local
816 ANGLE_TRY(StreamVertexData(contextVk, &mDynamicVertexData, src, bytesToAllocate, 0, in updateStreamedAttribs()
830 size_t bytesToAllocate = count * stride; in updateStreamedAttribs() local
832 ANGLE_TRY(StreamVertexData(contextVk, &mDynamicVertexData, src, bytesToAllocate, 0, in updateStreamedAttribs()
845 size_t bytesToAllocate = (startVertex + vertexCount) * stride; in updateStreamedAttribs() local
850 contextVk, &mDynamicVertexData, src, bytesToAllocate, destOffset, vertexCount, in updateStreamedAttribs()
69 StreamVertexData(ContextVk *contextVk, vk::DynamicBuffer *dynamicBuffer, const uint8_t *sourceData, size_t bytesToAllocate, size_t destOffset, size_t vertexCount, size_t sourceStride, size_t destStride, VertexCopyFunction vertexLoadFunction, vk::BufferHelper **bufferOut, VkDeviceSize *bufferOffsetOut, uint32_t replicateCount) StreamVertexData() argument
/third_party/skia/third_party/externals/expat/expat/lib/
H A Dxmlparse.c1969 const int bytesToAllocate = (int)((unsigned)len * 2U); in XML_Parse() local
1970 if (bytesToAllocate > 0) { in XML_Parse()
1971 temp = (char *)REALLOC(parser, parser->m_buffer, bytesToAllocate); in XML_Parse()
1980 parser->m_bufferLim = parser->m_buffer + bytesToAllocate; in XML_Parse()
7287 const int bytesToAllocate in poolBytesToAllocateFor() local
7289 if (bytesToAllocate < 0) in poolBytesToAllocateFor()
7292 return (size_t)bytesToAllocate; in poolBytesToAllocateFor()
7324 size_t bytesToAllocate; in poolGrow() local
7340 bytesToAllocate = poolBytesToAllocateFor(blockSize); in poolGrow()
7341 if (bytesToAllocate in poolGrow()
7356 size_t bytesToAllocate; poolGrow() local
[all...]
/third_party/python/Modules/expat/
H A Dxmlparse.c1946 const int bytesToAllocate = (int)((unsigned)len * 2U); in XML_Parse() local
1947 if (bytesToAllocate > 0) { in XML_Parse()
1948 temp = (char *)REALLOC(parser, parser->m_buffer, bytesToAllocate); in XML_Parse()
1957 parser->m_bufferLim = parser->m_buffer + bytesToAllocate; in XML_Parse()
7309 const int bytesToAllocate in poolBytesToAllocateFor() local
7311 if (bytesToAllocate < 0) in poolBytesToAllocateFor()
7314 return (size_t)bytesToAllocate; in poolBytesToAllocateFor()
7346 size_t bytesToAllocate; in poolGrow() local
7362 bytesToAllocate = poolBytesToAllocateFor(blockSize); in poolGrow()
7363 if (bytesToAllocate in poolGrow()
7378 size_t bytesToAllocate; poolGrow() local
[all...]

Completed in 23 milliseconds