Home
last modified time | relevance | path

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

/external/opencore/fileformats/mp4/parser/src/
Dmediabuffermanager.cpp110 MediaBuffer *mb = newBuf(); in getBuf()
119 MediaBufferManager::newBuf() in newBuf() function in MediaBufferManager
/external/icu4c/common/
Dudata.c365 char *newBuf = (char *)uprv_malloc(newCapacity+1); in TinyString_append() local
366 if (newBuf != NULL) { in TinyString_append()
367 uprv_strcpy(newBuf, This->s); in TinyString_append()
371 This->s = newBuf; in TinyString_append()
386 char *newBuf = (char *)uprv_malloc(newCapacity+1); in TinyString_appendn() local
387 if (newBuf != NULL) { in TinyString_appendn()
388 uprv_strcpy(newBuf, This->s); in TinyString_appendn()
392 This->s = newBuf; in TinyString_appendn()
/external/opencore/fileformats/mp4/parser/include/
Dmediabuffermanager.h75 MediaBuffer *newBuf(); // By default create a 32KB buffer
/external/webkit/JavaScriptCore/runtime/
DUString.cpp543 UChar* newBuf = allocChars(newCapacity); in expandPreCapacity() local
544 if (!newBuf) { in expandPreCapacity()
548 copyChars(newBuf + delta, base->buf, base->capacity + base->preCapacity); in expandPreCapacity()
550 base->buf = newBuf; in expandPreCapacity()
/external/expat/lib/
Dxmlparse.c1632 char *newBuf; in XML_GetBuffer() local
1639 newBuf = (char *)MALLOC(bufferSize); in XML_GetBuffer()
1640 if (newBuf == 0) { in XML_GetBuffer()
1644 bufferLim = newBuf + bufferSize; in XML_GetBuffer()
1650 memcpy(newBuf, &bufferPtr[-keep], bufferEnd - bufferPtr + keep); in XML_GetBuffer()
1652 buffer = newBuf; in XML_GetBuffer()
1657 bufferEnd = newBuf + (bufferEnd - bufferPtr); in XML_GetBuffer()
1658 bufferPtr = buffer = newBuf; in XML_GetBuffer()
1662 memcpy(newBuf, bufferPtr, bufferEnd - bufferPtr); in XML_GetBuffer()
1665 bufferEnd = newBuf + (bufferEnd - bufferPtr); in XML_GetBuffer()
[all …]
/external/icu4c/i18n/
Ducol.cpp7068 uint32_t *newBuf; in ucol_CEBuf_Expand() local
7073 newBuf = (uint32_t *)uprv_malloc(newSize * sizeof(uint32_t)); in ucol_CEBuf_Expand()
7074 if(newBuf != NULL) { in ucol_CEBuf_Expand()
7075 uprv_memcpy(newBuf, b->buf, oldSize * sizeof(uint32_t)); in ucol_CEBuf_Expand()
7079 b->buf = newBuf; in ucol_CEBuf_Expand()