Searched refs:oldBuffer (Results 1 - 8 of 8) sorted by relevance
/haiku/src/add-ons/media/media-add-ons/video_mixer/ |
H A D | BufferMixer.cpp | 76 BBuffer *oldBuffer; local 79 oldBuffer = groupedBuffers[0]; 82 oldBuffer = groupedBuffers[id]; 86 if (oldBuffer != NULL) { 87 oldBuffer->Recycle(); 93 BBuffer *oldBuffer; local 96 oldBuffer = groupedBuffers[id]; 99 if (oldBuffer != NULL) { 100 oldBuffer->Recycle();
|
/haiku/src/system/runtime_loader/ |
H A D | heap.cpp | 377 realloc(void* oldBuffer, size_t newSize) argument 380 TRACE(("realloc(%p, %lu) -> NULL\n", oldBuffer, newSize)); 381 free(oldBuffer); 388 if (oldBuffer != NULL) { 389 FreeChunk* oldChunk = FreeChunk::SetToAllocated(oldBuffer); 396 oldBuffer, newSize)); 397 return oldBuffer; 405 if (oldBuffer != NULL) { 406 memcpy(newBuffer, oldBuffer, std::min(oldSize, newSize)); 407 free(oldBuffer); [all...] |
/haiku/src/system/boot/loader/ |
H A D | heap.cpp | 505 realloc(void* oldBuffer, size_t newSize) argument 508 TRACE("realloc(%p, %lu) -> NULL\n", oldBuffer, newSize); 509 free(oldBuffer); 514 if (oldBuffer != NULL) { 515 if (oldBuffer >= sHeapBase && oldBuffer < sHeapEnd) { 516 FreeChunk* oldChunk = FreeChunk::SetToAllocated(oldBuffer); 519 LargeAllocation* allocation = sLargeAllocations.Lookup(oldBuffer); 521 panic("realloc(%p, %zu): unknown allocation!\n", oldBuffer, 532 oldBuffer, newSiz [all...] |
/haiku/src/kits/media/ |
H A D | RealtimeAlloc.cpp | 425 void* oldBuffer = *_buffer; local 428 rtm_pool* pool = pool_for(oldBuffer); 430 void* buffer = realloc(oldBuffer, newSize); 441 TRACE("realloc(%p, %lu) -> NULL\n", oldBuffer, newSize); 442 pool->Free(oldBuffer); 448 if (oldBuffer != NULL) { 449 FreeChunk* oldChunk = FreeChunk::SetToAllocated(oldBuffer); 454 oldBuffer, newSize); 466 if (oldBuffer != NULL) { 467 memcpy(newBuffer, oldBuffer, copySiz [all...] |
/haiku/src/kits/app/ |
H A D | LinkSender.cpp | 278 char *oldBuffer = NULL; local 279 status = AdjustBuffer(newBufferSize, &oldBuffer); 285 if (oldBuffer != fBuffer) { 286 memcpy(fBuffer, oldBuffer + start, fCurrentEnd); 287 free(oldBuffer);
|
/haiku/src/kits/media/experimental/ |
H A D | AdapterIO.cpp | 49 status_t FlushBefore(off_t position, BPositionIO* buffer, const void* oldBuffer, argument 58 status_t status = buffer->WriteAt(0, (void*)((addr_t)oldBuffer + relative), 416 BMallocIO* oldBuffer = (BMallocIO*)fBuffer->Buffer(); local 417 fBuffer->FlushBefore(position, buffer, oldBuffer->Buffer(), oldBuffer->BufferLength());
|
/haiku/src/tests/system/boot/heap/ |
H A D | heapTest.cpp | 17 extern "C" void* heap_realloc(void* oldBuffer, size_t size); 99 test_realloc(void* oldBuffer, size_t size) argument 101 return heap_realloc(oldBuffer, size);
|
/haiku/src/add-ons/kernel/file_systems/bfs/ |
H A D | Inode.cpp | 1101 uint8 oldBuffer[MAX_INDEX_KEY_LENGTH]; 1136 memcpy(oldData = oldBuffer, smallData->Data(), oldLength); 1182 if (attribute->ReadAt(0, oldBuffer, &oldLength) == B_OK) 1183 oldData = oldBuffer;
|
Completed in 206 milliseconds