Searched refs:hMemPool (Results 1 - 3 of 3) sorted by relevance

/vbox/include/iprt/
H A Dmempool.h49 * @param hMemPool The handle to the pool. The nil handle and
53 RTDECL(int) RTMemPoolDestroy(RTMEMPOOL hMemPool); variable
61 * @param hMemPool Handle to the pool to allocate the memory from.
64 RTDECL(void *) RTMemPoolAlloc(RTMEMPOOL hMemPool, size_t cb) RT_NO_THROW;
76 * @param hMemPool Handle to the pool to allocate the memory from.
79 RTDECL(void *) RTMemPoolAllocZ(RTMEMPOOL hMemPool, size_t cb) RT_NO_THROW;
87 * @param hMemPool Handle to the pool to allocate the memory from.
91 RTDECL(void *) RTMemPoolDup(RTMEMPOOL hMemPool, const void *pvSrc, size_t cb) RT_NO_THROW;
100 * @param hMemPool Handle to the pool to allocate the memory from.
105 RTDECL(void *) RTMemPoolDupEx(RTMEMPOOL hMemPool, cons
[all...]
/vbox/src/VBox/Runtime/testcase/
H A DtstRTMemPool.cpp54 static void tst1(RTMEMPOOL hMemPool) argument
59 RTTESTI_CHECK_RETV(pv = RTMemPoolAlloc(hMemPool, 1));
60 RTTESTI_CHECK_RETV(RTMemPoolRelease(hMemPool, pv) == 0);
62 RTTESTI_CHECK_RETV(pv = RTMemPoolAlloc(hMemPool, 0));
63 RTTESTI_CHECK_RETV(RTMemPoolRelease(hMemPool, pv) == 0);
68 RTTESTI_CHECK_RETV(pv = RTMemPoolAllocZ(hMemPool, 1024));
72 RTTESTI_CHECK_RETV(RTMemPoolRelease(hMemPool, pv) == 0);
75 RTTESTI_CHECK_RETV(pv = RTMemPoolAllocZ(hMemPool, 0));
76 RTTESTI_CHECK_RETV(RTMemPoolRelease(hMemPool, pv) == 0);
80 RTTESTI_CHECK_RETV(pv = RTMemPoolDup(hMemPool, szTes
170 RTMEMPOOL hMemPool; local
220 RTMEMPOOL hMemPool = g_hMemPool4; local
252 RTMEMPOOL hMemPool; local
322 RTMEMPOOL hMemPool; local
[all...]
/vbox/src/VBox/Runtime/generic/
H A Dmempool-generic.cpp157 RTDECL(int) RTMemPoolDestroy(RTMEMPOOL hMemPool) argument
159 if (hMemPool == NIL_RTMEMPOOL)
161 PRTMEMPOOLINT pMemPool = hMemPool;
246 RTDECL(void *) RTMemPoolAlloc(RTMEMPOOL hMemPool, size_t cb) RT_NO_THROW
248 PRTMEMPOOLINT pMemPool = hMemPool;
261 RTDECL(void *) RTMemPoolAllocZ(RTMEMPOOL hMemPool, size_t cb) RT_NO_THROW
263 PRTMEMPOOLINT pMemPool = hMemPool;
276 RTDECL(void *) RTMemPoolDup(RTMEMPOOL hMemPool, const void *pvSrc, size_t cb) RT_NO_THROW
278 PRTMEMPOOLINT pMemPool = hMemPool;
292 RTDECL(void *) RTMemPoolDupEx(RTMEMPOOL hMemPool, cons
[all...]

Completed in 51 milliseconds