Searched refs:hMemCache (Results 1 - 5 of 5) sorted by relevance
/vbox/include/iprt/ |
H A D | memcache.h | 69 * @param hMemCache The cache handle. 75 typedef DECLCALLBACK(int) FNMEMCACHECTOR(RTMEMCACHE hMemCache, void *pvObj, void *pvUser); 84 * @param hMemCache The cache handle. 90 typedef DECLCALLBACK(void) FNMEMCACHEDTOR(RTMEMCACHE hMemCache, void *pvObj, void *pvUser); 118 * @param hMemCache The cache handle. NIL is quietly (VINF_SUCCESS) 121 RTDECL(int) RTMemCacheDestroy(RTMEMCACHE hMemCache); variable 127 * @param hMemCache The cache handle. 129 RTDECL(void *) RTMemCacheAlloc(RTMEMCACHE hMemCache); variable 139 * @param hMemCache The cache handle. 142 RTDECL(int) RTMemCacheAllocEx(RTMEMCACHE hMemCache, voi [all...] |
/vbox/src/VBox/Runtime/testcase/ |
H A D | tstRTMemCache.cpp | 79 RTMEMCACHE hMemCache; local 80 RTTESTI_CHECK_RC_RETV(RTMemCacheCreate(&hMemCache, 256, cObjects, 32, NULL, NULL, NULL, 0 /*fFlags*/), VINF_SUCCESS); 81 RTTESTI_CHECK_RETV(hMemCache != NIL_RTMEMCACHE); 85 RTTESTI_CHECK_RC_RETV(RTMemCacheAllocEx(hMemCache, &pv), VINF_SUCCESS); 88 RTMemCacheFree(hMemCache, pv); 90 RTTESTI_CHECK((pv = RTMemCacheAlloc(hMemCache)) != NULL); 91 RTMemCacheFree(hMemCache, pv); 101 RTTESTI_CHECK_RC(RTMemCacheAllocEx(hMemCache, &apv[i]), VINF_SUCCESS); 106 RTTESTI_CHECK_RC(rc = RTMemCacheAllocEx(hMemCache, &pv), VERR_MEM_CACHE_MAX_SIZE); 108 RTMemCacheFree(hMemCache, p 131 tst2Ctor(RTMEMCACHE hMemCache, void *pvObj, void *pvUser) argument 145 tst2Dtor(RTMEMCACHE hMemCache, void *pvObj, void *pvUser) argument [all...] |
/vbox/src/VBox/Runtime/common/alloc/ |
H A D | memcache.cpp | 233 RTDECL(int) RTMemCacheDestroy(RTMEMCACHE hMemCache) argument 235 RTMEMCACHEINT *pThis = hMemCache; 265 pThis->pfnDtor(hMemCache, pPage->pbObjects + iObj * pThis->cbObject, pThis->pvUser); 363 RTDECL(int) RTMemCacheAllocEx(RTMEMCACHE hMemCache, void **ppvObj) argument 365 RTMEMCACHEINT *pThis = hMemCache; 471 int rc = pThis->pfnCtor(hMemCache, pvObj, pThis->pvUser); 485 RTDECL(void *) RTMemCacheAlloc(RTMEMCACHE hMemCache) argument 488 int rc = RTMemCacheAllocEx(hMemCache, &pvObj); 547 RTDECL(void) RTMemCacheFree(RTMEMCACHE hMemCache, void *pvObj) argument 552 RTMEMCACHEINT *pThis = hMemCache; [all...] |
/vbox/src/VBox/Runtime/common/dbg/ |
H A D | dbgmoddwarf.cpp | 489 RTMEMCACHE hMemCache; member in struct:RTDBGMODDWARF::__anon16560 3987 PRTDWARFDIE pDie = (PRTDWARFDIE)RTMemCacheAlloc(pThis->aDieAllocators[iAllocator].hMemCache); 4028 RTMemCacheFree(pThis->aDieAllocators[pChild->iAllocator].hMemCache, pChild); 4047 RTMemCacheFree(pThis->aDieAllocators[pDie->iAllocator].hMemCache, pDie); 4656 RTMemCacheDestroy(pThis->aDieAllocators[i].hMemCache); 4657 pThis->aDieAllocators[i].hMemCache = NIL_RTMEMCACHE; 4821 int rc = RTMemCacheCreate(&pThis->aDieAllocators[i].hMemCache, pThis->aDieAllocators[i].cbMax, sizeof(uint64_t), 4826 RTMemCacheDestroy(pThis->aDieAllocators[i].hMemCache); 4909 RTMemCacheDestroy(pThis->aDieAllocators[i].hMemCache); 4910 pThis->aDieAllocators[i].hMemCache [all...] |
/vbox/src/VBox/Runtime/common/misc/ |
H A D | aiomgr.cpp | 1089 * @param hMemCache The cache handle. 1093 static DECLCALLBACK(int) rtAioMgrReqCtor(RTMEMCACHE hMemCache, void *pvObj, void *pvUser) argument 1104 * @param hMemCache The cache handle. 1108 static DECLCALLBACK(void) rtAioMgrReqDtor(RTMEMCACHE hMemCache, void *pvObj, void *pvUser) argument
|
Completed in 67 milliseconds