Lines Matching defs:hHeap
32232 HANDLE hHeap; /* The handle to our heap. */
32253 #define winMemGetHeap() win_mem_data.hHeap
32844 HANDLE hHeap;
32848 hHeap = winMemGetHeap();
32849 assert( hHeap!=0 );
32850 assert( hHeap!=INVALID_HANDLE_VALUE );
32852 assert ( osHeapValidate(hHeap, SQLITE_WIN32_HEAP_FLAGS, NULL) );
32855 p = osHeapAlloc(hHeap, SQLITE_WIN32_HEAP_FLAGS, (SIZE_T)nBytes);
32858 nBytes, osGetLastError(), (void*)hHeap);
32867 HANDLE hHeap;
32870 hHeap = winMemGetHeap();
32871 assert( hHeap!=0 );
32872 assert( hHeap!=INVALID_HANDLE_VALUE );
32874 assert ( osHeapValidate(hHeap, SQLITE_WIN32_HEAP_FLAGS, pPrior) );
32877 if( !osHeapFree(hHeap, SQLITE_WIN32_HEAP_FLAGS, pPrior) ){
32879 pPrior, osGetLastError(), (void*)hHeap);
32887 HANDLE hHeap;
32891 hHeap = winMemGetHeap();
32892 assert( hHeap!=0 );
32893 assert( hHeap!=INVALID_HANDLE_VALUE );
32895 assert ( osHeapValidate(hHeap, SQLITE_WIN32_HEAP_FLAGS, pPrior) );
32899 p = osHeapAlloc(hHeap, SQLITE_WIN32_HEAP_FLAGS, (SIZE_T)nBytes);
32901 p = osHeapReAlloc(hHeap, SQLITE_WIN32_HEAP_FLAGS, pPrior, (SIZE_T)nBytes);
32906 (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, NULL) );
32926 n = osHeapSize(hHeap, SQLITE_WIN32_HEAP_FLAGS, p);
32929 p, osGetLastError(), (void*)hHeap);
32950 if( !pWinMemData->hHeap ){
32951 pWinMemData->hHeap = osHeapCreate(SQLITE_WIN32_HEAP_FLAGS,
32954 if( !pWinMemData->hHeap ){
32963 assert( pWinMemData->hHeap!=0 );
32964 assert( pWinMemData->hHeap!=INVALID_HANDLE_VALUE );
32966 assert( osHeapValidate(pWinMemData->hHeap, SQLITE_WIN32_HEAP_FLAGS, NULL) );
32978 if( pWinMemData->hHeap ){
32979 assert( pWinMemData->hHeap!=INVALID_HANDLE_VALUE );
32981 assert( osHeapValidate(pWinMemData->hHeap, SQLITE_WIN32_HEAP_FLAGS, NULL) );
32984 if( !osHeapDestroy(pWinMemData->hHeap) ){
32986 osGetLastError(), (void*)pWinMemData->hHeap);
32990 pWinMemData->hHeap = NULL;