Searched refs:oldBuffer (Results 1 - 7 of 7) sorted by relevance

/haiku/src/add-ons/media/media-add-ons/video_mixer/
H A DBufferMixer.cpp76 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/boot/loader/
H A Dheap.cpp503 realloc(void* oldBuffer, size_t newSize) argument
506 TRACE("realloc(%p, %lu) -> NULL\n", oldBuffer, newSize);
507 free(oldBuffer);
512 if (oldBuffer != NULL) {
513 if (oldBuffer >= sHeapBase && oldBuffer < sHeapEnd) {
514 FreeChunk* oldChunk = FreeChunk::SetToAllocated(oldBuffer);
517 LargeAllocation* allocation = sLargeAllocations.Lookup(oldBuffer);
519 panic("realloc(%p, %zu): unknown allocation!\n", oldBuffer,
530 oldBuffer, newSiz
[all...]
/haiku/src/system/runtime_loader/
H A Dheap.cpp372 realloc(void* oldBuffer, size_t newSize) argument
375 TRACE(("realloc(%p, %lu) -> NULL\n", oldBuffer, newSize));
376 free(oldBuffer);
383 if (oldBuffer != NULL) {
384 FreeChunk* oldChunk = FreeChunk::SetToAllocated(oldBuffer);
391 oldBuffer, newSize));
392 return oldBuffer;
400 if (oldBuffer != NULL) {
401 memcpy(newBuffer, oldBuffer, std::min(oldSize, newSize));
402 free(oldBuffer);
[all...]
/haiku/src/kits/media/
H A DRealtimeAlloc.cpp425 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 DLinkSender.cpp278 char *oldBuffer = NULL; local
279 status = AdjustBuffer(newBufferSize, &oldBuffer);
285 if (oldBuffer != fBuffer) {
286 memcpy(fBuffer, oldBuffer + start, fCurrentEnd);
287 free(oldBuffer);
/haiku/src/tests/system/boot/heap/
H A DheapTest.cpp17 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 DInode.cpp1088 uint8 oldBuffer[MAX_INDEX_KEY_LENGTH];
1122 memcpy(oldData = oldBuffer, smallData->Data(), oldLength);
1168 if (attribute->ReadAt(0, oldBuffer, &oldLength) == B_OK)
1169 oldData = oldBuffer;

Completed in 67 milliseconds