Lines Matching defs:hHeap
32260 HANDLE hHeap; /* The handle to our heap. */
32281 #define winMemGetHeap() win_mem_data.hHeap
32872 HANDLE hHeap;
32876 hHeap = winMemGetHeap();
32877 assert( hHeap!=0 );
32878 assert( hHeap!=INVALID_HANDLE_VALUE );
32880 assert ( osHeapValidate(hHeap, SQLITE_WIN32_HEAP_FLAGS, NULL) );
32883 p = osHeapAlloc(hHeap, SQLITE_WIN32_HEAP_FLAGS, (SIZE_T)nBytes);
32886 nBytes, osGetLastError(), (void*)hHeap);
32895 HANDLE hHeap;
32898 hHeap = winMemGetHeap();
32899 assert( hHeap!=0 );
32900 assert( hHeap!=INVALID_HANDLE_VALUE );
32902 assert ( osHeapValidate(hHeap, SQLITE_WIN32_HEAP_FLAGS, pPrior) );
32905 if( !osHeapFree(hHeap, SQLITE_WIN32_HEAP_FLAGS, pPrior) ){
32907 pPrior, osGetLastError(), (void*)hHeap);
32915 HANDLE hHeap;
32919 hHeap = winMemGetHeap();
32920 assert( hHeap!=0 );
32921 assert( hHeap!=INVALID_HANDLE_VALUE );
32923 assert ( osHeapValidate(hHeap, SQLITE_WIN32_HEAP_FLAGS, pPrior) );
32927 p = osHeapAlloc(hHeap, SQLITE_WIN32_HEAP_FLAGS, (SIZE_T)nBytes);
32929 p = osHeapReAlloc(hHeap, SQLITE_WIN32_HEAP_FLAGS, pPrior, (SIZE_T)nBytes);
32934 (void*)hHeap);
32943 HANDLE hHeap;
32947 hHeap = winMemGetHeap();
32948 assert( hHeap!=0 );
32949 assert( hHeap!=INVALID_HANDLE_VALUE );
32951 assert ( osHeapValidate(hHeap, SQLITE_WIN32_HEAP_FLAGS, NULL) );
32954 n = osHeapSize(hHeap, SQLITE_WIN32_HEAP_FLAGS, p);
32957 p, osGetLastError(), (void*)hHeap);
32978 if( !pWinMemData->hHeap ){
32979 pWinMemData->hHeap = osHeapCreate(SQLITE_WIN32_HEAP_FLAGS,
32982 if( !pWinMemData->hHeap ){
32991 assert( pWinMemData->hHeap!=0 );
32992 assert( pWinMemData->hHeap!=INVALID_HANDLE_VALUE );
32994 assert( osHeapValidate(pWinMemData->hHeap, SQLITE_WIN32_HEAP_FLAGS, NULL) );
33006 if( pWinMemData->hHeap ){
33007 assert( pWinMemData->hHeap!=INVALID_HANDLE_VALUE );
33009 assert( osHeapValidate(pWinMemData->hHeap, SQLITE_WIN32_HEAP_FLAGS, NULL) );
33012 if( !osHeapDestroy(pWinMemData->hHeap) ){
33014 osGetLastError(), (void*)pWinMemData->hHeap);
33018 pWinMemData->hHeap = NULL;