Searched refs:allocation (Results 1 - 14 of 14) sorted by relevance

/haiku-fatelf/src/tests/system/kernel/swap/
H A Dswap_test_heap.cpp38 uint32_t* allocation = (uint32_t*)malloc(allocationSize); local
39 if (allocation == NULL) {
44 printf("Allocated %lu MB at %p. Filling the allocation...\n",
45 (unsigned long)allocationSize / 1024 / 1024, allocation);
49 allocation[i] = i;
58 printf("\rDone filling the allocation. Starting test iterations...\n");
67 if (allocation[i] != i) {
/haiku-fatelf/src/system/runtime_loader/
H A Dheap.cpp240 realloc(void *allocation, size_t newSize) argument
244 free(allocation);
248 // just malloc(), if no previous allocation
249 if (allocation == NULL)
253 free_chunk* chunk = free_chunk::SetToAllocated(allocation);
255 return allocation;
257 // the allocation needs to grow -- allocate a new one and memcpy()
260 memcpy(newAllocation, allocation, chunk->Size());
261 free(allocation);
/haiku-fatelf/src/system/kernel/slab/
H A DMemoryManager.h209 static void _AddTrackingInfo(void* allocation, size_t size,
211 static AllocationTrackingInfo* _TrackingInfoFor(void* allocation,
310 MemoryManager::_TrackingInfoFor(void* allocation, size_t size) argument
312 return (AllocationTrackingInfo*)((uint8*)allocation + size
H A Dslab_debug.h32 // Macros determining whether allocation tracking is actually available.
36 // The object cache code needs to do allocation tracking.
40 // The memory manager code needs to do allocation tracking.
45 // allocation tracking.
61 void* allocation,
H A DSlab.cpp365 void* allocation, size_t allocationSize)
412 void* allocation, size_t allocationSize)
417 if (fAddressFilter != 0 && (addr_t)allocation != fAddressFilter)
435 kprintf("allocation %p, size: %" B_PRIuSIZE, allocation,
468 void* allocation, size_t allocationSize)
487 kprintf("allocation %p, size: %" B_PRIuSIZE "\n", allocation,
680 kprintf("Object cache allocation tracking not available. "
758 kprintf("Object cache allocation trackin
364 ProcessTrackingInfo(AllocationTrackingInfo* info, void* allocation, size_t allocationSize) argument
411 ProcessTrackingInfo(AllocationTrackingInfo* info, void* allocation, size_t allocationSize) argument
467 ProcessTrackingInfo(AllocationTrackingInfo* info, void* allocation, size_t allocationSize) argument
[all...]
H A DMemoryManager.cpp615 // Requested size greater than a large chunk or an aligned allocation.
626 "slab large raw allocation", size, B_FULL_LOCK,
708 // Probably a large allocation. Look up the VM area.
735 // Seems we have a raw chunk allocation.
994 // prepare the allocation entry others can wait on
1868 kprintf("%5" B_PRIu32 " %p raw allocation up to %p\n", i,
2055 MemoryManager::_AddTrackingInfo(void* allocation, size_t size, argument
2058 _TrackingInfoFor(allocation, size)->Init(traceEntry);
/haiku-fatelf/src/system/kernel/debug/
H A Ddebug_heap.cpp285 void* allocation = debug_malloc(allocationSize); local
286 if (allocation == NULL)
289 memset(allocation, 0, allocationSize);
290 return allocation;
/haiku-fatelf/headers/private/kernel/util/
H A DOpenHashTable.h264 allocation is returned. If no resizing is needed, 0 is returned.
289 /*! Resizes the table using the given allocation. The allocation must not
292 meantime, the method free()s the given allocation and returns \c false,
293 unless \a force is \c true, in which case the supplied allocation is
299 bool Resize(void* allocation, size_t size, bool force = false, argument
303 fAllocator.Free(allocation);
307 _Resize((ValueType**)allocation, size / sizeof(ValueType*), oldTable);
/haiku-fatelf/src/libs/print/libgutenprint/src/gutenprintui2/
H A Dcurve.c455 width = w->allocation.width - RADIUS * 2;
456 height = w->allocation.height - RADIUS * 2;
489 w->allocation.width,
490 w->allocation.height, -1);
695 width = GTK_WIDGET (c)->allocation.width - RADIUS * 2;
696 height = GTK_WIDGET (c)->allocation.height - RADIUS * 2;
778 width = GTK_WIDGET (curve)->allocation.width - RADIUS * 2;
779 height = GTK_WIDGET (curve)->allocation.height - RADIUS * 2;
884 height = GTK_WIDGET (c)->allocation.height - RADIUS * 2;
/haiku-fatelf/src/bin/unzip/
H A Dcrctab.c61 error: Dynamic allocation of CRC table not safe with reentrant code.
120 ziperr(ZE_MEM, "crc_table allocation");
/haiku-fatelf/src/bin/zip/
H A Dcrctab.c61 error: Dynamic allocation of CRC table not safe with reentrant code.
120 ziperr(ZE_MEM, "crc_table allocation");
/haiku-fatelf/src/system/kernel/vm/
H A DVMAnonymousCache.cpp273 // SWAP_SLOT_NONE, this forces Write() adjust allocation amount
375 void* allocation; local
384 allocation = malloc(size);
385 if (allocation == NULL)
390 } while (!sSwapHashTable.Resize(allocation, size));
/haiku-fatelf/src/bin/gdb/bfd/
H A Delf.c1387 /* Call the allocation method of the superclass. */
3934 but need zero filled memory allocation. */
5929 _bfd_elf_canonicalize_symtab (bfd *abfd, asymbol **allocation)
5932 long symcount = bed->s->slurp_symbol_table (abfd, allocation, FALSE);
5941 asymbol **allocation)
5944 long symcount = bed->s->slurp_symbol_table (abfd, allocation, TRUE);
5924 _bfd_elf_canonicalize_symtab(bfd *abfd, asymbol **allocation) argument
5935 _bfd_elf_canonicalize_dynamic_symtab(bfd *abfd, asymbol **allocation) argument
/haiku-fatelf/src/bin/gdb/gdb/
H A DChangeLog-3.x2866 allocation length.
2912 description of partial symbol allocation into a specific kind of
3710 process_symbol_for_psymtab): Changed most allocation
3786 * dbxread.c: Changed allocation of psymbols from using malloc and
3868 * blockframe.c: Put allocation on an obstack and eliminated fancy

Completed in 264 milliseconds