Lines Matching refs:hHeap
39140 HANDLE hHeap; /* The handle to our heap. */
39171 #define winMemGetHeap() win_mem_data.hHeap
39970 HANDLE hHeap;
39973 hHeap = winMemGetHeap();
39974 assert( hHeap!=0 );
39975 assert( hHeap!=INVALID_HANDLE_VALUE );
39977 assert( osHeapValidate(hHeap, SQLITE_WIN32_HEAP_FLAGS, NULL) );
39980 if( (nLargest=osHeapCompact(hHeap, SQLITE_WIN32_HEAP_FLAGS))==0 ){
39984 (void*)hHeap);
39988 osGetLastError(), (void*)hHeap);
39994 (void*)hHeap);
40187 HANDLE hHeap;
40191 hHeap = winMemGetHeap();
40192 assert( hHeap!=0 );
40193 assert( hHeap!=INVALID_HANDLE_VALUE );
40195 assert( osHeapValidate(hHeap, SQLITE_WIN32_HEAP_FLAGS, NULL) );
40198 p = osHeapAlloc(hHeap, SQLITE_WIN32_HEAP_FLAGS, (SIZE_T)nBytes);
40201 nBytes, osGetLastError(), (void*)hHeap);
40210 HANDLE hHeap;
40213 hHeap = winMemGetHeap();
40214 assert( hHeap!=0 );
40215 assert( hHeap!=INVALID_HANDLE_VALUE );
40217 assert( osHeapValidate(hHeap, SQLITE_WIN32_HEAP_FLAGS, pPrior) );
40220 if( !osHeapFree(hHeap, SQLITE_WIN32_HEAP_FLAGS, pPrior) ){
40222 pPrior, osGetLastError(), (void*)hHeap);
40230 HANDLE hHeap;
40234 hHeap = winMemGetHeap();
40235 assert( hHeap!=0 );
40236 assert( hHeap!=INVALID_HANDLE_VALUE );
40238 assert( osHeapValidate(hHeap, SQLITE_WIN32_HEAP_FLAGS, pPrior) );
40242 p = osHeapAlloc(hHeap, SQLITE_WIN32_HEAP_FLAGS, (SIZE_T)nBytes);
40244 p = osHeapReAlloc(hHeap, SQLITE_WIN32_HEAP_FLAGS, pPrior, (SIZE_T)nBytes);
40249 (void*)hHeap);
40258 HANDLE hHeap;
40262 hHeap = winMemGetHeap();
40263 assert( hHeap!=0 );
40264 assert( hHeap!=INVALID_HANDLE_VALUE );
40266 assert( osHeapValidate(hHeap, SQLITE_WIN32_HEAP_FLAGS, p) );
40269 n = osHeapSize(hHeap, SQLITE_WIN32_HEAP_FLAGS, p);
40272 p, osGetLastError(), (void*)hHeap);
40296 if( !pWinMemData->hHeap ){
40304 pWinMemData->hHeap = osHeapCreate(SQLITE_WIN32_HEAP_FLAGS,
40306 if( !pWinMemData->hHeap ){
40317 pWinMemData->hHeap = osGetProcessHeap();
40318 if( !pWinMemData->hHeap ){
40326 assert( pWinMemData->hHeap!=0 );
40327 assert( pWinMemData->hHeap!=INVALID_HANDLE_VALUE );
40329 assert( osHeapValidate(pWinMemData->hHeap, SQLITE_WIN32_HEAP_FLAGS, NULL) );
40344 if( pWinMemData->hHeap ){
40345 assert( pWinMemData->hHeap!=INVALID_HANDLE_VALUE );
40347 assert( osHeapValidate(pWinMemData->hHeap, SQLITE_WIN32_HEAP_FLAGS, NULL) );
40350 if( !osHeapDestroy(pWinMemData->hHeap) ){
40352 osGetLastError(), (void*)pWinMemData->hHeap);
40356 pWinMemData->hHeap = NULL;