Home
last modified time | relevance | path

Searched refs:newbuffer (Results 1 – 5 of 5) sorted by relevance

/external/opencore/oscl/oscl/osclmemory/src/
Doscl_mem_mempool.cpp400 MemPoolBufferInfo* newbuffer = addnewmempoolbuffer(buffersize); in allocate() local
401 OSCL_ASSERT(newbuffer != NULL); in allocate()
402 OSCL_ASSERT(newbuffer->iNextFreeBlock != NULL); in allocate()
403 freeblock = (MemPoolBlockInfo*)(newbuffer->iNextFreeBlock); in allocate()
434 MemPoolBufferInfo* newbuffer = addnewmempoolbuffer(buffersize); in allocate() local
435 OSCL_ASSERT(newbuffer != NULL); in allocate()
436 OSCL_ASSERT(newbuffer->iNextFreeBlock != NULL); in allocate()
437 freeblock = (MemPoolBlockInfo*)(newbuffer->iNextFreeBlock); in allocate()
694 uint8* newbuffer = NULL; in addnewmempoolbuffer() local
698 newbuffer = (uint8*)iMemPoolBufferAllocator->ALLOCATE(aBufferAlignedSize); in addnewmempoolbuffer()
[all …]
/external/icu4c/test/intltest/
Dtextfile.cpp167 char* newbuffer = (char*) uprv_malloc(mincapacity); in ensureCapacity() local
168 if (newbuffer == 0) { in ensureCapacity()
172 uprv_strncpy(newbuffer, buffer, capacity); in ensureCapacity()
175 buffer = newbuffer; in ensureCapacity()
/external/apache-http/src/org/apache/http/util/
DByteArrayBuffer.java57 byte newbuffer[] = new byte[Math.max(this.buffer.length << 1, newlen)]; in expand()
58 System.arraycopy(this.buffer, 0, newbuffer, 0, this.len); in expand()
59 this.buffer = newbuffer; in expand()
DCharArrayBuffer.java59 char newbuffer[] = new char[Math.max(this.buffer.length << 1, newlen)]; in expand() local
60 System.arraycopy(this.buffer, 0, newbuffer, 0, this.len); in expand()
61 this.buffer = newbuffer; in expand()
/external/icu4c/i18n/
Ducol.cpp1977 UChar *newbuffer; in insertBufferEnd() local
1991 newbuffer = (UChar *)uprv_malloc(sizeof(UChar) * size); in insertBufferEnd()
1992 if(newbuffer != NULL) { // something wrong, but no status in insertBufferEnd()
1993 uprv_memcpy(newbuffer, data->writableBuffer, in insertBufferEnd()
1998 data->writableBuffer = newbuffer; in insertBufferEnd()
2000 newbuffer = newbuffer + data->writableBufSize; in insertBufferEnd()
2001 *newbuffer = ch; in insertBufferEnd()
2002 *(newbuffer + 1) = 0; in insertBufferEnd()
2004 return newbuffer; in insertBufferEnd()
2021 UChar *newbuffer; in insertBufferEnd() local
[all …]