Home
last modified time | relevance | path

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

/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/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.cpp818 decNumber *newBuffer = fStorage.resize(requestedCapacity, fStorage.getCapacity()); in ensureCapacity() local
819 if (newBuffer == NULL) { in ensureCapacity()
824 fDecNumber = newBuffer; in ensureCapacity()
Ducol.cpp305 int32_t *newBuffer = reinterpret_cast<int32_t *>(uprv_malloc(newCapacity * 4)); in appendOffset() local
306 if(newBuffer == NULL) { in appendOffset()
311 uprv_memcpy(newBuffer, offsetBuffer, length * 4); in appendOffset()
314 offsetBuffer = newBuffer; in appendOffset()
/external/webkit/Source/JavaScriptCore/wtf/
DVector.h292 T* newBuffer;
293 if (tryFastMalloc(newCapacity * sizeof(T)).getValue(newBuffer)) {
295 m_buffer = newBuffer;
/external/clang/lib/Sema/
DSemaDeclAttr.cpp3217 char *newBuffer = new char[newCapacity * sizeof(DelayedDiagnostic)]; in add() local
3221 memcpy(newBuffer, oldBuffer, StackCapacity * sizeof(DelayedDiagnostic)); in add()
3224 Stack = reinterpret_cast<sema::DelayedDiagnostic*>(newBuffer); in add()
/external/webkit/Source/JavaScriptCore/
DChangeLog-2008-08-1013202 (KJS::RegisterFile::newBuffer):