Lines Matching refs:hHeap
38260 HANDLE hHeap; /* The handle to our heap. */
38291 #define winMemGetHeap() win_mem_data.hHeap
39090 HANDLE hHeap;
39093 hHeap = winMemGetHeap();
39094 assert( hHeap!=0 );
39095 assert( hHeap!=INVALID_HANDLE_VALUE );
39097 assert( osHeapValidate(hHeap, SQLITE_WIN32_HEAP_FLAGS, NULL) );
39100 if( (nLargest=osHeapCompact(hHeap, SQLITE_WIN32_HEAP_FLAGS))==0 ){
39104 (void*)hHeap);
39108 osGetLastError(), (void*)hHeap);
39114 (void*)hHeap);
39307 HANDLE hHeap;
39311 hHeap = winMemGetHeap();
39312 assert( hHeap!=0 );
39313 assert( hHeap!=INVALID_HANDLE_VALUE );
39315 assert( osHeapValidate(hHeap, SQLITE_WIN32_HEAP_FLAGS, NULL) );
39318 p = osHeapAlloc(hHeap, SQLITE_WIN32_HEAP_FLAGS, (SIZE_T)nBytes);
39321 nBytes, osGetLastError(), (void*)hHeap);
39330 HANDLE hHeap;
39333 hHeap = winMemGetHeap();
39334 assert( hHeap!=0 );
39335 assert( hHeap!=INVALID_HANDLE_VALUE );
39337 assert( osHeapValidate(hHeap, SQLITE_WIN32_HEAP_FLAGS, pPrior) );
39340 if( !osHeapFree(hHeap, SQLITE_WIN32_HEAP_FLAGS, pPrior) ){
39342 pPrior, osGetLastError(), (void*)hHeap);
39350 HANDLE hHeap;
39354 hHeap = winMemGetHeap();
39355 assert( hHeap!=0 );
39356 assert( hHeap!=INVALID_HANDLE_VALUE );
39358 assert( osHeapValidate(hHeap, SQLITE_WIN32_HEAP_FLAGS, pPrior) );
39362 p = osHeapAlloc(hHeap, SQLITE_WIN32_HEAP_FLAGS, (SIZE_T)nBytes);
39364 p = osHeapReAlloc(hHeap, SQLITE_WIN32_HEAP_FLAGS, pPrior, (SIZE_T)nBytes);
39369 (void*)hHeap);
39378 HANDLE hHeap;
39382 hHeap = winMemGetHeap();
39383 assert( hHeap!=0 );
39384 assert( hHeap!=INVALID_HANDLE_VALUE );
39386 assert( osHeapValidate(hHeap, SQLITE_WIN32_HEAP_FLAGS, p) );
39389 n = osHeapSize(hHeap, SQLITE_WIN32_HEAP_FLAGS, p);
39392 p, osGetLastError(), (void*)hHeap);
39416 if( !pWinMemData->hHeap ){
39424 pWinMemData->hHeap = osHeapCreate(SQLITE_WIN32_HEAP_FLAGS,
39426 if( !pWinMemData->hHeap ){
39437 pWinMemData->hHeap = osGetProcessHeap();
39438 if( !pWinMemData->hHeap ){
39446 assert( pWinMemData->hHeap!=0 );
39447 assert( pWinMemData->hHeap!=INVALID_HANDLE_VALUE );
39449 assert( osHeapValidate(pWinMemData->hHeap, SQLITE_WIN32_HEAP_FLAGS, NULL) );
39464 if( pWinMemData->hHeap ){
39465 assert( pWinMemData->hHeap!=INVALID_HANDLE_VALUE );
39467 assert( osHeapValidate(pWinMemData->hHeap, SQLITE_WIN32_HEAP_FLAGS, NULL) );
39470 if( !osHeapDestroy(pWinMemData->hHeap) ){
39472 osGetLastError(), (void*)pWinMemData->hHeap);
39476 pWinMemData->hHeap = NULL;