Home
last modified time | relevance | path

Searched refs:newBuffer (Results 1 – 14 of 14) sorted by relevance

/external/jmonkeyengine/engine/src/terrain/com/jme3/terrain/heightmap/
DFluidSimHeightMap.java167 float[] newBuffer; in load() local
176 newBuffer = tempBuffer[curBuf]; in load()
185 neighborsValue += newBuffer[ind - 1]; in load()
189 neighborsValue += newBuffer[ind + 1]; in load()
193 neighborsValue += newBuffer[ind - size]; in load()
197 neighborsValue += newBuffer[ind + size]; in load()
203 oldBuffer[ind] = coefA * newBuffer[ind] + coefB in load()
/external/webkit/Source/JavaScriptCore/wtf/url/src/
DRawURLBuffer.h57 CHAR* newBuffer = new CHAR[size]; in resize() local
58 … memcpy(newBuffer, this->m_buffer, sizeof(CHAR) * (this->m_length < size ? this->m_length : size)); in resize()
61 this->m_buffer = newBuffer; in resize()
/external/webkit/Source/WebCore/platform/graphics/gstreamer/
DVideoSinkGStreamer.cpp175 GstBuffer *newBuffer = gst_buffer_try_new_and_alloc(GST_BUFFER_SIZE(buffer)); in webkit_video_sink_render() local
178 if (G_UNLIKELY(!newBuffer)) { in webkit_video_sink_render()
184 gst_buffer_copy_metadata(newBuffer, buffer, (GstBufferCopyFlags) GST_BUFFER_COPY_ALL); in webkit_video_sink_render()
192 guint8 *destination = GST_BUFFER_DATA(newBuffer); in webkit_video_sink_render()
214 buffer = priv->buffer = newBuffer; in webkit_video_sink_render()
/external/webkit/Source/WebCore/websockets/
DWebSocketChannel.cpp243 char* newBuffer = 0; in appendToBuffer() local
244 if (tryFastMalloc(newBufferSize).getValue(newBuffer)) { in appendToBuffer()
246 memcpy(newBuffer, m_buffer, m_bufferSize); in appendToBuffer()
247 memcpy(newBuffer + m_bufferSize, data, len); in appendToBuffer()
249 m_buffer = newBuffer; in appendToBuffer()
/external/icu4c/common/
Dustr_wcs.c46 void *newBuffer=uprv_malloc(reqCapacity*size); in u_growAnyBufferFromStatic() local
47 if(newBuffer!=NULL) { in u_growAnyBufferFromStatic()
49 uprv_memcpy(newBuffer, *pBuffer, length*size); in u_growAnyBufferFromStatic()
61 *pBuffer=newBuffer; in u_growAnyBufferFromStatic()
62 return (UBool)(newBuffer!=NULL); in u_growAnyBufferFromStatic()
/external/jmonkeyengine/engine/src/blender/com/jme3/scene/plugins/blender/file/
DBlenderInputStream.java133 byte[] newBuffer = new byte[cachedBuffer.length + (cachedBuffer.length >> 1)]; in readStreamToCache()
134 System.arraycopy(cachedBuffer, 0, newBuffer, 0, cachedBuffer.length); in readStreamToCache()
135 cachedBuffer = newBuffer; in readStreamToCache()
/external/webkit/Source/JavaScriptCore/assembler/
DAssemblerBuffer.h182 char* newBuffer = static_cast<char*>(fastMalloc(m_capacity));
183 m_buffer = static_cast<char*>(memcpy(newBuffer, m_buffer, m_size));
/external/icu4c/i18n/
Ducoleitr.cpp92 RCEI *newBuffer = NEW_ARRAY(RCEI, bufferSize + BUFFER_GROW); in put() local
94 ARRAY_COPY(newBuffer, buffer, bufferSize); in put()
100 buffer = newBuffer; in put()
170 PCEI *newBuffer = NEW_ARRAY(PCEI, bufferSize + BUFFER_GROW); in put() local
172 ARRAY_COPY(newBuffer, buffer, bufferSize); in put()
178 buffer = newBuffer; in put()
Ddigitlst.cpp828 decNumber *newBuffer = fStorage.resize(requestedCapacity, fStorage.getCapacity()); in ensureCapacity() local
829 if (newBuffer == NULL) { in ensureCapacity()
834 fDecNumber = newBuffer; in ensureCapacity()
Ducol.cpp306 int32_t *newBuffer = reinterpret_cast<int32_t *>(uprv_malloc(newCapacity * 4)); in appendOffset() local
307 if(newBuffer == NULL) { in appendOffset()
312 uprv_memcpy(newBuffer, offsetBuffer, length * 4); in appendOffset()
315 offsetBuffer = newBuffer; in appendOffset()
4432 char *newBuffer = (char *)uprv_malloc(newCapacity); in Resize() local
4433 if (newBuffer == NULL) { in Resize()
4436 uprv_memcpy(newBuffer, buffer_, length); in Resize()
4438 ownedBuffer_ = buffer_ = newBuffer; in Resize()
4458 uint8_t *newBuffer = (uint8_t *)uprv_malloc(appended_); in OrphanUnsignedBuffer() local
4459 if (newBuffer == NULL) { in OrphanUnsignedBuffer()
[all …]
/external/eigen/Eigen/src/SparseCore/
DAmbiVector.h92 Scalar* newBuffer = new Scalar[allocSize]; in reallocateSparse() local
93 memcpy(newBuffer, m_buffer, copyElements * sizeof(ListEl)); in reallocateSparse()
95 m_buffer = newBuffer; in reallocateSparse()
/external/smali/smali/src/main/java/org/jf/smali/
DsmaliFlexLexer.java2963 char newBuffer[] = new char[zzCurrentPos*2]; in zzRefill() local
2964 System.arraycopy(zzBuffer, 0, newBuffer, 0, zzBuffer.length); in zzRefill()
2965 zzBuffer = newBuffer; in zzRefill()
/external/webkit/Source/JavaScriptCore/wtf/
DVector.h292 T* newBuffer;
293 if (tryFastMalloc(newCapacity * sizeof(T)).getValue(newBuffer)) {
295 m_buffer = newBuffer;
/external/webkit/Source/JavaScriptCore/
DChangeLog-2008-08-1013202 (KJS::RegisterFile::newBuffer):