Searched defs:Heap (Results 1 - 8 of 8) sorted by relevance

/vbox/include/iprt/
H A Dheap.h2 * IPRT - Heap Implementations
34 /** @defgroup grp_rt_heap RTHeap - Heap Implementations
40 /** @defgroup grp_rt_heap_simple RTHeapSimple - Simple Heap
73 * @param hHeap Heap handle that has already been adjusted by to the new
90 * @param Heap The heap to allocate the memory on.
95 RTDECL(void *) RTHeapSimpleAlloc(RTHEAPSIMPLE Heap, size_t cb, size_t cbAlignment);
103 * @param Heap The heap to allocate the memory on.
108 RTDECL(void *) RTHeapSimpleAllocZ(RTHEAPSIMPLE Heap, size_t cb, size_t cbAlignment);
113 * @param Heap The heap. This is optional and will only be used for strict assertions.
120 RTDECL(void *) RTHeapSimpleRealloc(RTHEAPSIMPLE Heap, voi
164 RTDECL(size_t) RTHeapSimpleGetHeapSize(RTHEAPSIMPLE Heap); variable
176 RTDECL(size_t) RTHeapSimpleGetFreeSize(RTHEAPSIMPLE Heap); variable
[all...]
/vbox/src/VBox/Additions/WINNT/Graphics/Video/mp/wddm/
H A DVBoxMPShgsmi.h30 HGSMIHEAP Heap; member in struct:VBOXSHGSMI
52 return HGSMIHeapBufferOffset(&pHeap->Heap, (void*)pHeader);
59 return HGSMIPointerToOffset (&pHeap->Heap.area, (const HGSMIBUFFERHEADER *)pvPtr);
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/IScsiDxe/
H A DIScsiIbft.c96 @param[in, out] Heap On input, the current address of the heap. On output, the address of
104 IN OUT UINT8 **Heap,
112 *Heap -= Len + 1;
114 CopyMem (*Heap, Data, Len);
115 *(*Heap + Len) = 0;
123 @param[in, out] Heap The heap.
129 IN OUT UINT8 **Heap
154 IScsiAddHeapItem (Heap, mPrivate->InitiatorName, mPrivate->InitiatorNameLength - 1);
157 Initiator->IScsiNameOffset = (UINT16) ((UINTN) *Heap - (UINTN) Table);
191 @param[in, out] Heap Th
103 IScsiAddHeapItem( IN OUT UINT8 **Heap, IN VOID *Data, IN UINTN Len ) argument
459 UINT8 *Heap; local
[all...]
/vbox/src/VBox/Runtime/testcase/
H A DtstRTHeapOffset.cpp3 * IPRT Testcase - Offset Based Heap.
60 RTHEAPOFFSET Heap; local
61 RTTESTI_CHECK_RC(rc = RTHeapOffsetInit(&Heap, &s_abMem[1], sizeof(s_abMem) - 1), VINF_SUCCESS);
100 RTHeapOffsetDump(Heap, (PFNRTHEAPOFFSETPRINTF)RTPrintf); /** @todo Add some detail info output with a signature identical to RTPrintf. */
101 size_t cbBefore = RTHeapOffsetGetFreeSize(Heap);
107 s_aOps[i].pvAlloc = RTHeapOffsetAlloc(Heap, s_aOps[i].cb, s_aOps[i].uAlignment);
108 RTTESTI_CHECK_MSG(s_aOps[i].pvAlloc, ("RTHeapOffsetAlloc(%p, %#x, %#x,) -> NULL i=%d\n", (void *)Heap, s_aOps[i].cb, s_aOps[i].uAlignment, i));
114 ("RTHeapOffsetAlloc(%p, %#x, %#x,) -> %p\n", (void *)Heap, s_aOps[i].cb, s_aOps[i].uAlignment, i));
125 // s_aOps[i].cb, s_aOps[i].uAlignment, RTHeapOffsetSize(Heap, s_aOps[i].pvAlloc));
126 size_t cbBeforeSub = RTHeapOffsetGetFreeSize(Heap);
[all...]
H A DtstRTHeapSimple.cpp3 * IPRT Testcase - Simple Heap.
57 RTHEAPSIMPLE Heap; local
58 RTTESTI_CHECK_RC(rc = RTHeapSimpleInit(&Heap, &s_abMem[1], sizeof(s_abMem) - 1), VINF_SUCCESS);
97 RTHeapSimpleDump(Heap, (PFNRTHEAPSIMPLEPRINTF)RTPrintf); /** @todo Add some detail info output with a signature identical to RTPrintf. */
98 size_t cbBefore = RTHeapSimpleGetFreeSize(Heap);
104 s_aOps[i].pvAlloc = RTHeapSimpleAlloc(Heap, s_aOps[i].cb, s_aOps[i].uAlignment);
105 RTTESTI_CHECK_MSG(s_aOps[i].pvAlloc, ("RTHeapSimpleAlloc(%p, %#x, %#x,) -> NULL i=%d\n", (void *)Heap, s_aOps[i].cb, s_aOps[i].uAlignment, i));
111 ("RTHeapSimpleAlloc(%p, %#x, %#x,) -> %p\n", (void *)Heap, s_aOps[i].cb, s_aOps[i].uAlignment, i));
122 // s_aOps[i].cb, s_aOps[i].uAlignment, RTHeapSimpleSize(Heap, s_aOps[i].pvAlloc));
123 size_t cbBeforeSub = RTHeapSimpleGetFreeSize(Heap);
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/MdeModulePkg/Universal/Network/IScsiDxe/
H A DIScsiIbft.c92 @param[in, out] Heap On input, the current address of the heap; On output, the address of
99 IN OUT UINT8 **Heap,
107 *Heap -= Len + 1;
109 CopyMem (*Heap, Data, Len);
110 *(*Heap + Len) = 0;
117 @param[in, out] Heap The heap.
123 IN OUT UINT8 **Heap,
165 IScsiAddHeapItem (Heap, Session->InitiatorName, Session->InitiatorNameLength - 1);
168 Initiator->IScsiNameOffset = (UINT16) ((UINTN) *Heap - (UINTN) Table);
253 @param[in, out] Heap Th
98 IScsiAddHeapItem( IN OUT UINT8 **Heap, IN VOID *Data, IN UINTN Len ) argument
121 IScsiFillInitiatorSection( IN EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_HEADER *Table, IN OUT UINT8 **Heap, IN EFI_HANDLE Handle ) argument
258 IScsiFillNICAndTargetSections( IN EFI_ACPI_ISCSI_BOOT_FIRMWARE_TABLE_HEADER *Table, IN OUT UINT8 **Heap, IN UINTN HandleCount, IN EFI_HANDLE *Handles ) argument
436 UINT8 *Heap; local
[all...]
/vbox/src/VBox/Devices/EFI/Firmware/NetworkPkg/Ip6Dxe/
H A DIp6ConfigImpl.c443 CHAR8 *Heap; local
463 Heap = (CHAR8 *) Variable + VarSize;
471 Heap -= DataItem->DataSize;
472 CopyMem (Heap, DataItem->Data.Ptr, DataItem->DataSize);
477 DataRecord->Offset = (UINT16) (Heap - (CHAR8 *) Variable);
/vbox/src/VBox/Additions/common/VBoxGuest/
H A DVBoxGuest-haiku-stubs.c432 void* RTHeapSimpleAlloc(RTHEAPSIMPLE Heap, size_t cb, size_t cbAlignment) argument
434 return g_VBoxGuest->_RTHeapSimpleAlloc(Heap, cb, cbAlignment);
440 void RTHeapSimpleFree(RTHEAPSIMPLE Heap, void *pv) argument
442 g_VBoxGuest->_RTHeapSimpleFree(Heap, pv);

Completed in 72 milliseconds