Searched refs:bytesToAllocate (Results 1 – 5 of 5) sorted by relevance
/external/angle/src/libANGLE/renderer/vulkan/ |
D | VertexArrayVk.cpp | 55 size_t bytesToAllocate, in StreamVertexData() argument 66 ANGLE_TRY(dynamicBuffer->allocate(contextVk, bytesToAllocate, &dst, nullptr, bufferOffsetOut, in StreamVertexData() 78 for (size_t dataCopied = 0; dataCopied < bytesToAllocate; in StreamVertexData() 751 size_t bytesToAllocate = instanceCount * stride; in updateStreamedAttribs() local 753 ANGLE_TRY(StreamVertexData(contextVk, &mDynamicVertexData, src, bytesToAllocate, 0, in updateStreamedAttribs() 767 size_t bytesToAllocate = count * stride; in updateStreamedAttribs() local 769 ANGLE_TRY(StreamVertexData(contextVk, &mDynamicVertexData, src, bytesToAllocate, 0, in updateStreamedAttribs() 782 size_t bytesToAllocate = (startVertex + vertexCount) * stride; in updateStreamedAttribs() local 787 contextVk, &mDynamicVertexData, src, bytesToAllocate, destOffset, vertexCount, in updateStreamedAttribs()
|
/external/angle/src/libANGLE/renderer/metal/ |
D | VertexArrayMtl.mm | 27 size_t bytesToAllocate, 38 ANGLE_TRY(dynamicBuffer->allocate(contextMtl, bytesToAllocate, &dst, &newBuffer, 386 size_t bytesToAllocate = (startElement + elementCount) * stride; 391 contextMtl, &mDynamicVertexData, src, bytesToAllocate, destOffset, elementCount,
|
/external/python/cpython2/Modules/expat/ |
D | xmlparse.c | 1921 const int bytesToAllocate = (int)((unsigned)len * 2U); in XML_Parse() local 1922 if (bytesToAllocate > 0) { in XML_Parse() 1923 temp = (char *)REALLOC(parser, parser->m_buffer, bytesToAllocate); in XML_Parse() 1932 parser->m_bufferLim = parser->m_buffer + bytesToAllocate; in XML_Parse() 6948 const int bytesToAllocate = (int)( in poolBytesToAllocateFor() local 6950 if (bytesToAllocate < 0) in poolBytesToAllocateFor() 6953 return (size_t)bytesToAllocate; in poolBytesToAllocateFor() 6986 size_t bytesToAllocate; in poolGrow() local 7002 bytesToAllocate = poolBytesToAllocateFor(blockSize); in poolGrow() 7003 if (bytesToAllocate == 0) in poolGrow() [all …]
|
/external/expat/lib/ |
D | xmlparse.c | 1827 const int bytesToAllocate = (int)((unsigned)len * 2U); in XML_Parse() local 1828 if (bytesToAllocate > 0) { in XML_Parse() 1829 temp = (char *)REALLOC(parser, parser->m_buffer, bytesToAllocate); in XML_Parse() 1838 parser->m_bufferLim = parser->m_buffer + bytesToAllocate; in XML_Parse() 6641 const int bytesToAllocate in poolBytesToAllocateFor() local 6643 if (bytesToAllocate < 0) in poolBytesToAllocateFor() 6646 return (size_t)bytesToAllocate; in poolBytesToAllocateFor() 6678 size_t bytesToAllocate; in poolGrow() local 6694 bytesToAllocate = poolBytesToAllocateFor(blockSize); in poolGrow() 6695 if (bytesToAllocate == 0) in poolGrow() [all …]
|
/external/python/cpython3/Modules/expat/ |
D | xmlparse.c | 1825 const int bytesToAllocate = (int)((unsigned)len * 2U); in XML_Parse() local 1826 if (bytesToAllocate > 0) { in XML_Parse() 1827 temp = (char *)REALLOC(parser, parser->m_buffer, bytesToAllocate); in XML_Parse() 1836 parser->m_bufferLim = parser->m_buffer + bytesToAllocate; in XML_Parse() 6639 const int bytesToAllocate in poolBytesToAllocateFor() local 6641 if (bytesToAllocate < 0) in poolBytesToAllocateFor() 6644 return (size_t)bytesToAllocate; in poolBytesToAllocateFor() 6676 size_t bytesToAllocate; in poolGrow() local 6692 bytesToAllocate = poolBytesToAllocateFor(blockSize); in poolGrow() 6693 if (bytesToAllocate == 0) in poolGrow() [all …]
|