Home
last modified time | relevance | path

Searched refs:newBuf (Results 1 – 6 of 6) sorted by relevance

/external/jmonkeyengine/engine/src/tools/jme3tools/converters/model/
DFloatToFixed.java70 Buffer newBuf = VertexBuffer.createBuffer(posFmt, positions.getNumComponents(), in convertToFixed() local
72 Transform t = convertPositions(fb, bbox, newBuf); in convertToFixed()
80 newBuf); in convertToFixed() local
100 Buffer newBuf = VertexBuffer.createBuffer(tcFmt, in convertToFixed() local
103 convertTexCoords2D(fb, newBuf); in convertToFixed()
109 newBuf); in convertToFixed() local
131 Buffer newBuf = VertexBuffer.createBuffer(targetFmt, vb.getNumComponents(), src.size()); in compressIndexBuffer() local
134 newVb.setupData(vb.getUsage(), vb.getNumComponents(), targetFmt, newBuf); in compressIndexBuffer() local
/external/javassist/src/main/javassist/bytecode/
DByteStream.java188 byte[] newBuf = new byte[newLen > newCount ? newLen : newCount]; in enlarge()
189 System.arraycopy(buf, 0, newBuf, 0, count); in enlarge()
190 buf = newBuf; in enlarge()
DBytecode.java83 byte[] newBuf = new byte[newSize]; in addGap()
84 System.arraycopy(buffer, 0, newBuf, 0, size); in addGap()
85 buffer = newBuf; in addGap()
/external/mesa3d/src/mesa/main/
Dimports.c201 void *newBuf = _mesa_align_malloc(newSize, alignment); in _mesa_align_realloc()
202 if (newBuf && oldBuffer && copySize > 0) { in _mesa_align_realloc()
203 memcpy(newBuf, oldBuffer, copySize); in _mesa_align_realloc()
207 return newBuf; in _mesa_align_realloc()
/external/expat/lib/
Dxmlparse.c1716 char *newBuf; in XML_GetBuffer() local
1723 newBuf = (char *)MALLOC(bufferSize); in XML_GetBuffer()
1724 if (newBuf == 0) { in XML_GetBuffer()
1728 bufferLim = newBuf + bufferSize; in XML_GetBuffer()
1734 memcpy(newBuf, &bufferPtr[-keep], bufferEnd - bufferPtr + keep); in XML_GetBuffer()
1736 buffer = newBuf; in XML_GetBuffer()
1741 bufferEnd = newBuf + (bufferEnd - bufferPtr); in XML_GetBuffer()
1742 bufferPtr = buffer = newBuf; in XML_GetBuffer()
1746 memcpy(newBuf, bufferPtr, bufferEnd - bufferPtr); in XML_GetBuffer()
1749 bufferEnd = newBuf + (bufferEnd - bufferPtr); in XML_GetBuffer()
[all …]
/external/icu/icu4c/source/i18n/
Drematch.cpp1992 UChar *newBuf = buffer.resize(length+1); // Leave space for terminating Nul. in utext_extract_replace() local
1993 if (newBuf == NULL) { in utext_extract_replace()