assert 79 android_webview/java/src/org/chromium/android_webview/AndroidProtocolHandler.java assert uri.getScheme().equals(FILE_SCHEME); assert 80 android_webview/java/src/org/chromium/android_webview/AndroidProtocolHandler.java assert uri.getPath() != null; assert 81 android_webview/java/src/org/chromium/android_webview/AndroidProtocolHandler.java assert uri.getPath().startsWith(nativeGetAndroidResourcePath()); assert 127 android_webview/java/src/org/chromium/android_webview/AndroidProtocolHandler.java assert uri.getScheme().equals(FILE_SCHEME); assert 128 android_webview/java/src/org/chromium/android_webview/AndroidProtocolHandler.java assert uri.getPath() != null; assert 129 android_webview/java/src/org/chromium/android_webview/AndroidProtocolHandler.java assert uri.getPath().startsWith(nativeGetAndroidAssetPath()); assert 141 android_webview/java/src/org/chromium/android_webview/AndroidProtocolHandler.java assert uri.getScheme().equals(CONTENT_SCHEME); assert 469 android_webview/java/src/org/chromium/android_webview/AwContents.java assert v == mContainerView; assert 575 android_webview/java/src/org/chromium/android_webview/AwContents.java assert mNativeAwContents == 0 && mCleanupReference == null && mContentViewCore == null; assert 682 android_webview/java/src/org/chromium/android_webview/AwContents.java assert !mContentViewCore.isAlive(); assert 683 android_webview/java/src/org/chromium/android_webview/AwContents.java assert mNativeAwContents == 0; assert 746 android_webview/java/src/org/chromium/android_webview/AwContents.java assert mNativeAwContents != 0; assert 116 android_webview/java/src/org/chromium/android_webview/AwContentsClient.java assert isCachedRendererBackgroundColorValid(); assert 29 android_webview/java/src/org/chromium/android_webview/AwContentsClientBridge.java assert client != null; assert 107 android_webview/java/src/org/chromium/android_webview/AwQuotaManagerBridge.java assert mPendingGetOriginCallbacks.get(callbackId) == null; assert 118 android_webview/java/src/org/chromium/android_webview/AwQuotaManagerBridge.java assert mPendingGetQuotaForOriginCallbacks.get(callbackId) == null; assert 129 android_webview/java/src/org/chromium/android_webview/AwQuotaManagerBridge.java assert mPendingGetUsageForOriginCallbacks.get(callbackId) == null; assert 137 android_webview/java/src/org/chromium/android_webview/AwQuotaManagerBridge.java assert mPendingGetOriginCallbacks.get(callbackId) != null; assert 147 android_webview/java/src/org/chromium/android_webview/AwQuotaManagerBridge.java assert mPendingGetQuotaForOriginCallbacks.get(callbackId) != null; assert 151 android_webview/java/src/org/chromium/android_webview/AwQuotaManagerBridge.java assert mPendingGetUsageForOriginCallbacks.get(callbackId) != null; assert 78 android_webview/java/src/org/chromium/android_webview/AwResource.java assert resid != 0; assert 79 android_webview/java/src/org/chromium/android_webview/AwResource.java assert sResources != null; assert 80 android_webview/java/src/org/chromium/android_webview/AwResource.java assert sResourceCache != null; assert 102 android_webview/java/src/org/chromium/android_webview/AwResource.java assert resid != 0; assert 103 android_webview/java/src/org/chromium/android_webview/AwResource.java assert sResources != null; assert 139 android_webview/java/src/org/chromium/android_webview/AwScrollOffsetManager.java assert mProcessingTouchEvent != processingTouchEvent; assert 157 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 162 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert !mSynchronizationPending; assert 235 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert mNativeAwSettings != 0 && mNativeAwSettings == nativeAwSettings; assert 241 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 263 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert mNativeAwSettings == 0; // nativeAwSettingsGone should have been called. assert 385 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 400 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 415 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 476 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 521 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 554 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 581 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 608 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 635 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 662 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 689 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 716 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 743 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 771 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 799 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 827 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 855 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 918 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 945 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 960 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 975 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 990 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 1028 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 1065 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 1097 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 1124 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 1130 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 1159 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 1165 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 1210 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 1242 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 1269 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 1296 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 1323 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 1351 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 1435 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 1440 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert Thread.holdsLock(mAwSettingsLock); assert 1480 android_webview/java/src/org/chromium/android_webview/AwSettings.java assert mEventHandler.mHandler != null; assert 115 android_webview/java/src/org/chromium/android_webview/AwWebContentsDelegateAdapter.java assert false; assert 90 android_webview/java/src/org/chromium/android_webview/ExternalVideoSurfaceContainer.java assert contentViewCore != null; assert 26 android_webview/java/src/org/chromium/android_webview/SslUtil.java assert (error >= NetError.ERR_CERT_END && error <= NetError.ERR_CERT_COMMON_NAME_INVALID); assert 35 android_webview/javatests/src/org/chromium/android_webview/test/AndroidScrollIntegrationTest.java assert getCallCount() > 0; assert 40 android_webview/javatests/src/org/chromium/android_webview/test/AndroidScrollIntegrationTest.java assert getCallCount() > 0; assert 378 android_webview/javatests/src/org/chromium/android_webview/test/AndroidScrollIntegrationTest.java assert (maxScrollXPix % dragStepSize) != 0; assert 379 android_webview/javatests/src/org/chromium/android_webview/test/AndroidScrollIntegrationTest.java assert (maxScrollYPix % dragStepSize) != 0; assert 33 android_webview/javatests/src/org/chromium/android_webview/test/AndroidViewIntegrationTest.java assert getCallCount() > 0; assert 38 android_webview/javatests/src/org/chromium/android_webview/test/AndroidViewIntegrationTest.java assert getCallCount() > 0; assert 28 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientAutoLoginTest.java assert getCallCount() > 0; assert 33 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientAutoLoginTest.java assert getCallCount() > 0; assert 38 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientAutoLoginTest.java assert getCallCount() > 0; assert 49 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java assert getCallCount() > 0; assert 67 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientShouldInterceptRequestTest.java assert getCallCount() > 0; assert 24 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientVisitedHistoryTest.java assert getCallCount() > 0; assert 45 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientVisitedHistoryTest.java assert getCallCount() > 0; assert 50 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsClientVisitedHistoryTest.java assert getCallCount() > 0; assert 45 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsTest.java assert getCallCount() > 0; assert 50 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsTest.java assert getCallCount() > 0; assert 55 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsTest.java assert getCallCount() > 0; assert 60 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsTest.java assert getCallCount() > 0; assert 65 android_webview/javatests/src/org/chromium/android_webview/test/AwContentsTest.java assert getCallCount() > 0; assert 89 android_webview/javatests/src/org/chromium/android_webview/test/AwQuotaManagerBridgeTest.java assert getCallCount() > 0; assert 73 android_webview/javatests/src/org/chromium/android_webview/test/TestAwContentsClient.java assert getCallCount() > 0; assert 124 android_webview/javatests/src/org/chromium/android_webview/test/TestAwContentsClient.java assert getCallCount() > 0; assert 129 android_webview/javatests/src/org/chromium/android_webview/test/TestAwContentsClient.java assert getCallCount() > 0; assert 134 android_webview/javatests/src/org/chromium/android_webview/test/TestAwContentsClient.java assert getCallCount() > 0; assert 139 android_webview/javatests/src/org/chromium/android_webview/test/TestAwContentsClient.java assert getCallCount() > 0; assert 162 android_webview/javatests/src/org/chromium/android_webview/test/TestAwContentsClient.java assert getCallCount() > 0; assert 191 android_webview/javatests/src/org/chromium/android_webview/test/TestAwContentsClient.java assert getCallCount() > 0; assert 195 android_webview/javatests/src/org/chromium/android_webview/test/TestAwContentsClient.java assert getCallCount() > 1; assert 39 android_webview/javatests/src/org/chromium/android_webview/test/util/AwQuotaManagerBridgeTestUtil.java assert getCallCount() > 0; assert 77 base/allocator/allocator_unittest.cc assert(size == power); assert 42 base/allocator/type_profiler.cc assert(g_new_intercept == NopIntercept); assert 43 base/allocator/type_profiler.cc assert(g_delete_intercept == NopIntercept); assert 185 base/android/java/src/org/chromium/base/ApplicationStatus.java assert !sActivityInfo.containsKey(activity); assert 348 base/android/java/src/org/chromium/base/ApplicationStatus.java assert activity != null; assert 351 base/android/java/src/org/chromium/base/ApplicationStatus.java assert info != null && info.getStatus() != ActivityState.DESTROYED; assert 54 base/android/java/src/org/chromium/base/BaseChromiumApplication.java assert activity.getWindow().getCallback() instanceof WindowCallbackWrapper; assert 59 base/android/java/src/org/chromium/base/BaseChromiumApplication.java assert activity.getWindow().getCallback() instanceof WindowCallbackWrapper; assert 64 base/android/java/src/org/chromium/base/BaseChromiumApplication.java assert activity.getWindow().getCallback() instanceof WindowCallbackWrapper; assert 69 base/android/java/src/org/chromium/base/BaseChromiumApplication.java assert activity.getWindow().getCallback() instanceof WindowCallbackWrapper; assert 74 base/android/java/src/org/chromium/base/BaseChromiumApplication.java assert activity.getWindow().getCallback() instanceof WindowCallbackWrapper; assert 79 base/android/java/src/org/chromium/base/BaseChromiumApplication.java assert activity.getWindow().getCallback() instanceof WindowCallbackWrapper; assert 101 base/android/java/src/org/chromium/base/CommandLine.java assert commandLine != null; assert 193 base/android/java/src/org/chromium/base/CommandLine.java assert !commandLine.isNativeImplementation(); assert 233 base/android/java/src/org/chromium/base/CommandLine.java assert !reader.ready(); assert 265 base/android/java/src/org/chromium/base/CommandLine.java assert mArgs.size() > 0; assert 69 base/android/java/src/org/chromium/base/ObserverList.java assert result == true; assert 97 base/android/java/src/org/chromium/base/ObserverList.java assert mCount >= 0; assert 155 base/android/java/src/org/chromium/base/ObserverList.java assert mIterationDepth == 0; assert 169 base/android/java/src/org/chromium/base/ObserverList.java assert mIterationDepth >= 0; assert 187 base/android/java/src/org/chromium/base/ThreadUtils.java assert runningOnUiThread(); assert 33 base/android/java/src/org/chromium/base/TraceEvent.java assert line.startsWith("<"); assert 148 base/android/java/src/org/chromium/base/library_loader/LibraryLoader.java assert !sInitialized; assert 91 base/android/java/src/org/chromium/base/library_loader/LibraryLoaderHelper.java assert context != null; assert 157 base/android/java/src/org/chromium/base/library_loader/LibraryLoaderHelper.java assert !outputFile.exists(); assert 223 base/android/java/src/org/chromium/base/library_loader/Linker.java assert Thread.holdsLock(Linker.class); assert 262 base/android/java/src/org/chromium/base/library_loader/Linker.java assert false : "Unreached"; assert 312 base/android/java/src/org/chromium/base/library_loader/Linker.java assert sTestRunnerClassName == null; assert 338 base/android/java/src/org/chromium/base/library_loader/Linker.java assert NativeLibraries.ENABLE_LINKER_TESTS; assert 340 base/android/java/src/org/chromium/base/library_loader/Linker.java assert sMemoryDeviceConfig == MEMORY_DEVICE_CONFIG_INIT; assert 341 base/android/java/src/org/chromium/base/library_loader/Linker.java assert memoryDeviceConfig == MEMORY_DEVICE_CONFIG_LOW || assert 422 base/android/java/src/org/chromium/base/library_loader/Linker.java assert !sInBrowserProcess; assert 455 base/android/java/src/org/chromium/base/library_loader/Linker.java assert false; assert 571 base/android/java/src/org/chromium/base/library_loader/Linker.java assert Thread.holdsLock(Linker.class); assert 644 base/android/java/src/org/chromium/base/library_loader/Linker.java assert numBits > 0; assert 645 base/android/java/src/org/chromium/base/library_loader/Linker.java assert numBits < 32; assert 696 base/android/java/src/org/chromium/base/library_loader/Linker.java assert Thread.holdsLock(Linker.class); assert 771 base/android/java/src/org/chromium/base/library_loader/Linker.java assert sPrepareLibraryLoadCalled; assert 299 base/memory/ref_counted.h assert(ptr_ != NULL); assert 372 base/memory/scoped_ptr.h assert(impl_.get() != NULL); assert 376 base/memory/scoped_ptr.h assert(impl_.get() != NULL); assert 491 base/memory/scoped_ptr.h assert(impl_.get() != NULL); assert 71 base/test/android/javatests/src/org/chromium/base/test/util/TestFileUtil.java assert !reader.ready(); assert 141 base/test/android/javatests/src/org/chromium/base/test/util/TestThread.java assert Looper.myLooper() == mMainThreadHandler.getLooper(); assert 842 base/third_party/symbolize/symbolize.cc assert(0); assert 144 base/third_party/xdg_mime/xdgmime.c assert (directory != NULL); assert 348 base/third_party/xdg_mime/xdgmime.c assert (directory != NULL); assert 475 base/third_party/xdg_mime/xdgmimecache.c assert (character != 0); assert 598 base/third_party/xdg_mime/xdgmimecache.c assert (file_name != NULL && n_mime_types > 0); assert 418 base/third_party/xdg_mime/xdgmimeglob.c assert (file_name != NULL && n_mime_types > 0); assert 553 base/third_party/xdg_mime/xdgmimeglob.c assert (glob_hash != NULL); assert 554 base/third_party/xdg_mime/xdgmimeglob.c assert (glob != NULL); assert 252 base/third_party/xdg_mime/xdgmimemagic.c assert (magic_file != NULL); assert 253 base/third_party/xdg_mime/xdgmimemagic.c assert (match != NULL); assert 322 base/third_party/xdg_mime/xdgmimemagic.c assert (magic_file != NULL); assert 788 base/third_party/xdg_mime/xdgmimemagic.c assert (0); assert 31 base/win/scoped_hglobal.h assert(data_ != 0); assert 145 chrome/android/java/src/org/chromium/chrome/browser/BookmarkUtils.java assert false : "The drawable was not a bitmap drawable as expected"; assert 515 chrome/android/java/src/org/chromium/chrome/browser/BookmarksBridge.java assert false; assert 25 chrome/android/java/src/org/chromium/chrome/browser/ChromeHttpAuthHandler.java assert nativeChromeHttpAuthHandler != 0; assert 132 chrome/android/java/src/org/chromium/chrome/browser/ForeignSessionHelper.java assert mNativeForeignSessionHelper != 0; assert 140 chrome/android/java/src/org/chromium/chrome/browser/ForeignSessionHelper.java assert mNativeForeignSessionHelper == 0; assert 71 chrome/android/java/src/org/chromium/chrome/browser/JavascriptAppModalDialog.java assert window != null; assert 28 chrome/android/java/src/org/chromium/chrome/browser/NewTabPagePrefs.java assert mNativeNewTabPagePrefs != 0; assert 67 chrome/android/java/src/org/chromium/chrome/browser/RecentlyClosedBridge.java assert mNativeRecentlyClosedTabsBridge == 0; assert 74 chrome/android/java/src/org/chromium/chrome/browser/RecentlyClosedBridge.java assert mNativeRecentlyClosedTabsBridge != 0; assert 49 chrome/android/java/src/org/chromium/chrome/browser/RepostFormWarningDialog.java assert getCurrentDialog() == null; assert 112 chrome/android/java/src/org/chromium/chrome/browser/SSLClientCertificateRequest.java assert alias != null; assert 63 chrome/android/java/src/org/chromium/chrome/browser/ShortcutHelper.java assert sFullScreenAction != null; assert 316 chrome/android/java/src/org/chromium/chrome/browser/Tab.java assert context == null || context instanceof Activity; assert 507 chrome/android/java/src/org/chromium/chrome/browser/Tab.java assert mNativeTabAndroid != 0; assert 748 chrome/android/java/src/org/chromium/chrome/browser/Tab.java assert mNativeTabAndroid != 0; assert 791 chrome/android/java/src/org/chromium/chrome/browser/Tab.java assert mNativeTabAndroid != 0; assert 839 chrome/android/java/src/org/chromium/chrome/browser/Tab.java assert mNativeTabAndroid != 0; assert 841 chrome/android/java/src/org/chromium/chrome/browser/Tab.java assert mNativeTabAndroid == 0; assert 916 chrome/android/java/src/org/chromium/chrome/browser/Tab.java assert getPageInfo() != nativePage : "Attempting to destroy active page."; assert 941 chrome/android/java/src/org/chromium/chrome/browser/Tab.java assert mNativeTabAndroid != 0; assert 1050 chrome/android/java/src/org/chromium/chrome/browser/Tab.java assert mNativeTabAndroid != 0; assert 1056 chrome/android/java/src/org/chromium/chrome/browser/Tab.java assert mNativeTabAndroid == 0; assert 1086 chrome/android/java/src/org/chromium/chrome/browser/Tab.java assert mNativeTabAndroid != 0 && getNativePage() != null; assert 137 chrome/android/java/src/org/chromium/chrome/browser/TtsPlatformImpl.java assert mInitialized == true; assert 146 chrome/android/java/src/org/chromium/chrome/browser/TtsPlatformImpl.java assert mInitialized == true; assert 155 chrome/android/java/src/org/chromium/chrome/browser/TtsPlatformImpl.java assert mInitialized == true; assert 175 chrome/android/java/src/org/chromium/chrome/browser/TtsPlatformImpl.java assert mInitialized == true; assert 197 chrome/android/java/src/org/chromium/chrome/browser/TtsPlatformImpl.java assert mInitialized == true; assert 206 chrome/android/java/src/org/chromium/chrome/browser/TtsPlatformImpl.java assert mNativeTtsPlatformImplAndroid != 0; assert 54 chrome/android/java/src/org/chromium/chrome/browser/WebsiteSettingsPopup.java assert nativeWebsiteSettingsPopup != 0; assert 96 chrome/android/java/src/org/chromium/chrome/browser/WebsiteSettingsPopup.java assert mCertificateViewer == null; assert 60 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenu.java assert mItemRowHeight > 0; assert 153 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenu.java assert false; assert 209 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenu.java assert mPopup.getAnchorView() != null; assert 85 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java assert position >= 0; assert 86 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java assert position < mMenuItems.size(); assert 180 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuAdapter.java assert false : "Unexpected MenuItem type"; assert 166 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuDragHelper.java assert false; assert 185 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuDragHelper.java assert mHardwareMenuButtonUpTime == -1; assert 234 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuDragHelper.java assert mIsByHardwareButton != mDragScrolling.isStarted(); assert 370 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuDragHelper.java assert false; assert 404 chrome/android/java/src/org/chromium/chrome/browser/appmenu/AppMenuDragHelper.java assert false; assert 309 chrome/android/java/src/org/chromium/chrome/browser/autofill/PersonalDataManager.java assert !mDataObservers.contains(observer); assert 318 chrome/android/java/src/org/chromium/chrome/browser/autofill/PersonalDataManager.java assert (mDataObservers.size() > 0); assert 319 chrome/android/java/src/org/chromium/chrome/browser/autofill/PersonalDataManager.java assert (mDataObservers.contains(observer)); assert 229 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java assert mIconView != null; assert 230 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java assert mTitleView != null; assert 231 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java assert mInstallButtonView != null; assert 232 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java assert mLogoView != null; assert 233 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java assert mRatingView != null; assert 234 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java assert mBannerHighlightView != null; assert 235 chrome/android/java/src/org/chromium/chrome/browser/banners/AppBannerView.java assert mCloseButtonView != null; assert 120 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ChromeContextMenuPopulator.java assert false; assert 95 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuHelper.java assert mPopulator != null; assert 76 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuParams.java assert index >= 0 && index < mCustomMenuItems.size(); assert 86 chrome/android/java/src/org/chromium/chrome/browser/contextmenu/ContextMenuParams.java assert index >= 0 && index < mCustomMenuItems.size(); assert 54 chrome/android/java/src/org/chromium/chrome/browser/favicon/FaviconHelper.java assert mNativeFaviconHelper == 0; assert 61 chrome/android/java/src/org/chromium/chrome/browser/favicon/FaviconHelper.java assert mNativeFaviconHelper != 0; assert 81 chrome/android/java/src/org/chromium/chrome/browser/favicon/FaviconHelper.java assert mNativeFaviconHelper != 0; assert 105 chrome/android/java/src/org/chromium/chrome/browser/favicon/FaviconHelper.java assert mNativeFaviconHelper != 0; assert 74 chrome/android/java/src/org/chromium/chrome/browser/infobar/AnimationHelper.java assert mContainer.indexOfChild(mTargetWrapperView) != -1; assert 129 chrome/android/java/src/org/chromium/chrome/browser/infobar/AnimationHelper.java assert indexOfWrapperView != -1; assert 117 chrome/android/java/src/org/chromium/chrome/browser/infobar/ContentWrapperView.java assert getChildCount() > 1; assert 137 chrome/android/java/src/org/chromium/chrome/browser/infobar/ContentWrapperView.java assert mViewToHide == null && mViewToShow == null; assert 141 chrome/android/java/src/org/chromium/chrome/browser/infobar/ContentWrapperView.java assert getChildCount() <= 2; assert 147 chrome/android/java/src/org/chromium/chrome/browser/infobar/ContentWrapperView.java assert mViewToHide != null || mViewToShow != null; assert 148 chrome/android/java/src/org/chromium/chrome/browser/infobar/ContentWrapperView.java assert mViewToHide != mViewToShow; assert 158 chrome/android/java/src/org/chromium/chrome/browser/infobar/ContentWrapperView.java assert parent != null && parent instanceof ViewGroup; assert 149 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBar.java assert mContext != null; assert 157 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBar.java assert mNativeInfoBarPtr == 0; assert 59 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainer.java assert type >= AnimationHelper.ANIMATION_TYPE_SHOW; assert 60 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainer.java assert type < AnimationHelper.ANIMATION_TYPE_BOUNDARY; assert 228 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainer.java assert !mDestroyed; assert 233 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainer.java assert false : "Trying to add an info bar that has already been added."; assert 267 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainer.java assert !mDestroyed; assert 270 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainer.java assert false : "Trying to swap an InfoBar that is not in this container."; assert 276 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainer.java assert false : "Tried to enqueue the same swap twice in a row."; assert 288 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainer.java assert !mDestroyed; assert 291 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainer.java assert false : "Trying to remove an InfoBar that is not in this container."; assert 305 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainer.java assert !collapseAnimations; assert 364 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainer.java assert mInfoBars.contains(info.target); assert 446 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainer.java assert mAnimationSizer.getParent() == null; assert 466 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarContainer.java assert mAnimation != null; assert 180 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarLayout.java assert closePadding >= 0 : "Assets are too large for this layout."; assert 202 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarLayout.java assert false : "Adding children at random places can break group structure."; assert 251 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarLayout.java assert false : "When using only one button, make it the primary button."; assert 467 chrome/android/java/src/org/chromium/chrome/browser/infobar/InfoBarLayout.java assert getLayoutParams().height == LayoutParams.WRAP_CONTENT assert 259 chrome/android/java/src/org/chromium/chrome/browser/infobar/TranslateInfoBar.java assert (newPanel >= NO_PANEL && newPanel < MAX_PANEL_INDEX); assert 268 chrome/android/java/src/org/chromium/chrome/browser/infobar/TranslateInfoBar.java assert (type >= NO_PANEL && type < MAX_PANEL_INDEX); assert 344 chrome/android/java/src/org/chromium/chrome/browser/infobar/TranslateInfoBar.java assert false : "Trying to change the InfoBar to a type that is invalid."; assert 59 chrome/android/java/src/org/chromium/chrome/browser/password_manager/PasswordAuthenticationManager.java assert false : "Can not call onResult more than once per callback."; assert 60 chrome/android/java/src/org/chromium/chrome/browser/profiles/MostVisitedSites.java assert mNativeMostVisitedSites != 0; assert 68 chrome/android/java/src/org/chromium/chrome/browser/profiles/MostVisitedSites.java assert mNativeMostVisitedSites == 0; assert 138 chrome/android/java/src/org/chromium/chrome/browser/search_engines/TemplateUrlService.java assert defaultSearchEngineIndex >= 0; assert 139 chrome/android/java/src/org/chromium/chrome/browser/search_engines/TemplateUrlService.java assert defaultSearchEngineIndex < nativeGetTemplateUrlCount( assert 177 chrome/android/java/src/org/chromium/chrome/browser/search_engines/TemplateUrlService.java assert added; assert 187 chrome/android/java/src/org/chromium/chrome/browser/search_engines/TemplateUrlService.java assert removed; assert 81 chrome/android/java/src/org/chromium/chrome/browser/share/ShareHelper.java assert resolveInfoList.size() > 0; assert 157 chrome/android/java/src/org/chromium/chrome/browser/signin/OAuth2TokenService.java assert !ThreadUtils.runningOnUiThread(); assert 217 chrome/android/java/src/org/chromium/chrome/browser/signin/OAuth2TokenService.java assert account != null; assert 223 chrome/android/java/src/org/chromium/chrome/browser/signin/OAuth2TokenService.java assert accountName != null; assert 236 chrome/android/java/src/org/chromium/chrome/browser/signin/OAuth2TokenService.java assert account != null; assert 242 chrome/android/java/src/org/chromium/chrome/browser/signin/OAuth2TokenService.java assert accountName != null; assert 171 chrome/android/java/src/org/chromium/chrome/browser/signin/SigninManager.java assert mSignInActivity == null; assert 172 chrome/android/java/src/org/chromium/chrome/browser/signin/SigninManager.java assert mSignInAccount == null; assert 173 chrome/android/java/src/org/chromium/chrome/browser/signin/SigninManager.java assert mSignInObserver == null; assert 270 chrome/android/java/src/org/chromium/chrome/browser/signin/SigninManager.java assert mSignInAccount != null; assert 212 chrome/android/java/src/org/chromium/chrome/browser/sync/ProfileSyncService.java assert isSyncInitialized(); assert 218 chrome/android/java/src/org/chromium/chrome/browser/sync/ProfileSyncService.java assert isSyncInitialized(); assert 226 chrome/android/java/src/org/chromium/chrome/browser/sync/ProfileSyncService.java assert isSyncInitialized(); assert 231 chrome/android/java/src/org/chromium/chrome/browser/sync/ProfileSyncService.java assert isSyncInitialized(); assert 236 chrome/android/java/src/org/chromium/chrome/browser/sync/ProfileSyncService.java assert isSyncInitialized(); assert 241 chrome/android/java/src/org/chromium/chrome/browser/sync/ProfileSyncService.java assert isSyncInitialized(); assert 256 chrome/android/java/src/org/chromium/chrome/browser/sync/ProfileSyncService.java assert isSyncInitialized(); assert 267 chrome/android/java/src/org/chromium/chrome/browser/sync/ProfileSyncService.java assert isSyncInitialized(); assert 279 chrome/android/java/src/org/chromium/chrome/browser/sync/ProfileSyncService.java assert isSyncInitialized(); assert 307 chrome/android/java/src/org/chromium/chrome/browser/sync/ProfileSyncService.java assert isSyncInitialized(); assert 316 chrome/android/java/src/org/chromium/chrome/browser/sync/ProfileSyncService.java assert isSyncInitialized(); assert 321 chrome/android/java/src/org/chromium/chrome/browser/sync/ProfileSyncService.java assert isSyncInitialized(); assert 326 chrome/android/java/src/org/chromium/chrome/browser/sync/ProfileSyncService.java assert isSyncInitialized(); assert 331 chrome/android/java/src/org/chromium/chrome/browser/sync/ProfileSyncService.java assert isSyncInitialized(); assert 56 chrome/android/shell/java/src/org/chromium/chrome/shell/TabManager.java assert window != null; assert 58 chrome/android/shell/java/src/org/chromium/chrome/shell/TabManager.java assert videoViewClient != null; assert 67 chrome/test/android/javatests/src/org/chromium/chrome/test/util/TabUtils.java assert getCallCount() > 0; assert 417 chrome/test/data/nacl/manifest_file/pm_manifest_file_test.cc assert(-1 != ns); assert 419 chrome/test/data/nacl/manifest_file/pm_manifest_file_test.cc assert(-1 != connected_socket); assert 54 chrome/test/data/nacl/manifest_file/pm_pre_init_manifest_file_test.cc assert(-1 != ns); assert 56 chrome/test/data/nacl/manifest_file/pm_pre_init_manifest_file_test.cc assert(-1 != connected_socket); assert 109 chrome/test/data/nacl/nameservice/pm_nameservice_test.cc assert(-1 != ns); assert 111 chrome/test/data/nacl/nameservice/pm_nameservice_test.cc assert(-1 != connected_socket); assert 143 chrome/test/data/nacl/nameservice/pm_nameservice_test.cc assert(NACL_SRPC_RESULT_OK == rpc_result); assert 145 chrome/test/data/nacl/nameservice/pm_nameservice_test.cc assert(NACL_NAME_SERVICE_SUCCESS == status); assert 225 chrome_elf/blacklist/blacklist.cc assert(blocked_index < kTroublesomeDllsMaxCount); assert 79 content/public/android/java/src/org/chromium/content/app/ChildProcessService.java assert mCommandLineParams != null; assert 82 content/public/android/java/src/org/chromium/content/app/ChildProcessService.java assert mCpuCount > 0; assert 162 content/public/android/java/src/org/chromium/content/app/ChildProcessService.java assert mFileIds.size() == mFileFds.size(); assert 108 content/public/android/java/src/org/chromium/content/browser/BindingManagerImpl.java assert mIsLowMemoryDevice; assert 244 content/public/android/java/src/org/chromium/content/browser/BindingManagerImpl.java assert mBoundForBackgroundPeriod == null; assert 122 content/public/android/java/src/org/chromium/content/browser/BrowserStartupController.java assert ThreadUtils.runningOnUiThread() : "Tried to start the browser on the wrong thread."; assert 148 content/public/android/java/src/org/chromium/content/browser/BrowserStartupController.java assert ThreadUtils.runningOnUiThread() : "Tried to start the browser on the wrong thread."; assert 200 content/public/android/java/src/org/chromium/content/browser/BrowserStartupController.java assert mStartupDone; assert 224 content/public/android/java/src/org/chromium/content/browser/BrowserStartupController.java assert ThreadUtils.runningOnUiThread() : "Callback from browser startup from wrong thread."; assert 228 content/public/android/java/src/org/chromium/content/browser/ChildProcessConnectionImpl.java assert !ThreadUtils.runningOnUiThread(); assert 248 content/public/android/java/src/org/chromium/content/browser/ChildProcessConnectionImpl.java assert mConnectionParams == null; assert 293 content/public/android/java/src/org/chromium/content/browser/ChildProcessConnectionImpl.java assert mServiceConnectComplete && mConnectionParams != null; assert 419 content/public/android/java/src/org/chromium/content/browser/ChildProcessConnectionImpl.java assert mStrongBindingCount > 0; assert 96 content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java assert mChildProcessConnections[slot] == null; assert 111 content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java assert false; assert 114 content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java assert !mFreeConnectionIndices.contains(slot); assert 137 content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java assert !sConnectionAllocated; assert 269 content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java assert !ThreadUtils.runningOnUiThread(); assert 313 content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java assert fileIds.length == fileFds.length && fileFds.length == fileAutoClose.length; assert 319 content/public/android/java/src/org/chromium/content/browser/ChildProcessLauncher.java assert clientContext != 0; assert 34 content/public/android/java/src/org/chromium/content/browser/ContentSettings.java assert mNativeContentSettings != 0; assert 43 content/public/android/java/src/org/chromium/content/browser/ContentSettings.java assert mNativeContentSettings == nativeContentSettings; assert 276 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java assert mVSyncListenerRegistered; assert 281 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java assert mVSyncSubscriberCount >= 0; assert 540 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java assert view.getParent() == mContainerView; assert 741 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java assert nativeContentViewCore == mNativeContentViewCore; assert 786 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java assert false : "PopupZoomer should never be shown without being hidden"; assert 801 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java assert false : "PopupZoomer should never be hidden without being shown"; assert 1409 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java assert mNativeContentViewCore != 0; assert 1431 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java assert mNativeContentViewCore != 0; assert 2415 content/public/android/java/src/org/chromium/content/browser/ContentViewCore.java assert items.length == enabled.length; assert 62 content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java assert rootWindow != null; assert 64 content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java assert mNativeContentViewRenderView != 0; assert 71 content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java assert mNativeContentViewRenderView != 0; assert 84 content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java assert mNativeContentViewRenderView != 0; assert 95 content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java assert mNativeContentViewRenderView != 0; assert 209 content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java assert mNativeContentViewRenderView != 0; assert 293 content/public/android/java/src/org/chromium/content/browser/ContentViewRenderView.java assert mPendingRenders == 0; assert 203 content/public/android/java/src/org/chromium/content/browser/DownloadInfo.java assert percentCompleted <= 100; assert 65 content/public/android/java/src/org/chromium/content/browser/LoadUrlParams.java assert LOAD_TYPE_DEFAULT != LOAD_TYPE_BROWSER_INITIATED_HTTP_POST; assert 75 content/public/android/java/src/org/chromium/content/browser/LocationProviderAdapter.java assert ThreadUtils.runningOnUiThread(); assert 42 content/public/android/java/src/org/chromium/content/browser/LocationProviderFactory.java assert sProviderImpl == null; assert 146 content/public/android/java/src/org/chromium/content/browser/LocationProviderFactory.java assert !mIsRunning; assert 253 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java assert (sInstance == null || sInstance.mExtractTask == null) assert 268 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java assert (sInstance == null || sInstance.mExtractTask == null) assert 284 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java assert mExtractTask != null; assert 353 content/public/android/java/src/org/chromium/content/browser/ResourceExtractor.java assert sMandatoryPaks != null; assert 203 content/public/android/java/src/org/chromium/content/browser/ScreenOrientationListener.java assert mAppContext == context.getApplicationContext(); assert 204 content/public/android/java/src/org/chromium/content/browser/ScreenOrientationListener.java assert mAppContext != null; assert 118 content/public/android/java/src/org/chromium/content/browser/SpeechRecognition.java assert false; assert 39 content/public/android/java/src/org/chromium/content/browser/TouchEventSynthesizer.java assert (0 <= index && index < MAX_NUM_POINTERS); assert 170 content/public/android/java/src/org/chromium/content/browser/VSyncMonitor.java assert mHaveRequestInFlight; assert 210 content/public/android/java/src/org/chromium/content/browser/VSyncMonitor.java assert !isVSyncSignalAvailable(); assert 214 content/public/android/java/src/org/chromium/content/browser/VSyncMonitor.java assert delay > 0 && delay <= mRefreshPeriodNano; assert 77 content/public/android/javatests/src/org/chromium/content/browser/BindingManagerImplTest.java assert mStrongBindingCount > 0; assert 71 content/public/android/javatests/src/org/chromium/content/browser/BrowserStartupControllerTest.java assert !mHasStartupResult; assert 79 content/public/android/javatests/src/org/chromium/content/browser/BrowserStartupControllerTest.java assert !mHasStartupResult; assert 21 content/public/android/javatests/src/org/chromium/content/browser/ContentViewPopupZoomerTest.java assert view != null; assert 47 content/public/android/javatests/src/org/chromium/content/browser/GestureDetectorResetTest.java assert mExpectedContents != null; assert 175 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/CallbackHelper.java assert mCallCount >= currentCallCount; assert 176 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/CallbackHelper.java assert numberOfCallsToWaitFor > 0; assert 65 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/MockLocationProvider.java assert mHandlerThread == null; assert 66 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/MockLocationProvider.java assert mHandler == null; assert 40 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestCallbackHelperContainer.java assert getCallCount() > 0; assert 52 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestCallbackHelperContainer.java assert getCallCount() > 0; assert 68 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestCallbackHelperContainer.java assert getCallCount() > 0; assert 72 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestCallbackHelperContainer.java assert getCallCount() > 0; assert 76 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestCallbackHelperContainer.java assert getCallCount() > 0; assert 114 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestCallbackHelperContainer.java assert hasValue(); assert 149 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestCallbackHelperContainer.java assert !hasValue(); assert 162 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestCallbackHelperContainer.java assert getCallCount() > 0; assert 25 content/public/test/android/javatests/src/org/chromium/content/browser/test/util/TestContentViewClientWrapper.java assert wrappedClient != null; assert 79 content/shell/android/java/src/org/chromium/content_shell/ShellManager.java assert window != null; assert 136 content/shell/android/java/src/org/chromium/content_shell/ShellManager.java assert mContentViewRenderView != null; assert 57 content/shell/renderer/test_runner/MockWebRTCDTMFSenderHandler.cpp assert(m_client && !m_track.isNull()); assert 63 content/shell/renderer/test_runner/MockWebRTCDTMFSenderHandler.cpp assert(m_client); assert 100 content/shell/renderer/test_runner/MockWebRTCDataChannelHandler.cpp assert(m_client); assert 107 content/shell/renderer/test_runner/MockWebRTCDataChannelHandler.cpp assert(m_client); assert 114 content/shell/renderer/test_runner/MockWebRTCDataChannelHandler.cpp assert(m_client); assert 468 content/shell/tools/plugin/PluginObject.cpp assert(NPVARIANT_IS_STRING(variant)); assert 476 content/shell/tools/plugin/PluginObject.cpp assert(NPVARIANT_IS_INT32(variant)); assert 482 content/shell/tools/plugin/PluginObject.cpp assert(NPVARIANT_IS_DOUBLE(variant)); assert 778 content/shell/tools/plugin/PluginObject.cpp assert(NPVARIANT_IS_STRING(args[i])); assert 793 content/shell/tools/plugin/PluginObject.cpp assert(NPVARIANT_IS_OBJECT(variant)); assert 1259 content/shell/tools/plugin/PluginObject.cpp assert(new_object->referenceCount == 1); assert 1266 content/shell/tools/plugin/PluginObject.cpp assert(testObject->referenceCount == 1); assert 1303 content/shell/tools/plugin/PluginObject.cpp assert(plugin->rememberedObject); assert 1309 content/shell/tools/plugin/PluginObject.cpp assert(plugin->rememberedObject); assert 1405 content/shell/tools/plugin/PluginObject.cpp assert(object); assert 69 content/shell/tools/plugin/PluginTest.cpp assert(!shutdownFunction); assert 265 content/shell/tools/plugin/PluginTest.cpp assert(!createTestFunctions().count(identifier)); assert 186 content/shell/tools/plugin/PluginTest.h assert(false); assert 194 content/shell/tools/plugin/PluginTest.h assert(false); assert 199 content/shell/tools/plugin/PluginTest.h assert(false); assert 204 content/shell/tools/plugin/PluginTest.h assert(false); assert 209 content/shell/tools/plugin/PluginTest.h assert(false); assert 214 content/shell/tools/plugin/PluginTest.h assert(false); assert 126 content/shell/tools/plugin/Tests/NPPSetWindowCalledDuringDestruction.cpp assert(identifier == pluginTest()->NPN_GetStringIdentifier("setWillBeDestroyed")); assert 61 content/shell/tools/plugin/Tests/NPRuntimeRemoveProperty.cpp assert(identifierIs(propertyName, "lastRemovedProperty")); assert 111 content/shell/tools/plugin/Tests/NPRuntimeRemoveProperty.cpp assert(identifierIs(methodName, "testRemoveProperty")); assert 149 content/shell/tools/plugin/Tests/NPRuntimeRemoveProperty.cpp assert(identifierIs(propertyName, "testObject")); assert 294 content/shell/tools/plugin/main.cpp assert(false); assert 795 content/shell/tools/plugin/main.cpp assert(obj->eventModel == NPEventModelCarbon || assert 802 content/shell/tools/plugin/main.cpp assert(obj->eventModel == NPEventModelCocoa); assert 113 courgette/disassembler.cc assert(start_ + offset <= end_); assert 108 courgette/disassembler_elf_32.h assert(id >= 0 && id < SectionHeaderCount()); assert 127 courgette/disassembler_elf_32.h assert(id >= 0 && id < ProgramSegmentHeaderCount()); assert 381 gpu/tools/compositor_model_bench/render_tree.cc assert(type == "CanvasLayer"); assert 400 gpu/tools/compositor_model_bench/render_tree.cc assert(type == "VideoLayer"); assert 419 gpu/tools/compositor_model_bench/render_tree.cc assert(type == "ImageLayer"); assert 197 media/base/android/java/src/org/chromium/media/MediaCodecBridge.java assert mediaCodec != null; assert 270 media/base/android/java/src/org/chromium/media/MediaCodecBridge.java assert false; assert 435 media/base/android/java/src/org/chromium/media/MediaCodecBridge.java assert false; assert 190 media/base/android/java/src/org/chromium/media/MediaDrmBridge.java assert !mProvisioningPending; assert 191 media/base/android/java/src/org/chromium/media/MediaDrmBridge.java assert mMediaCryptoSession == null; assert 192 media/base/android/java/src/org/chromium/media/MediaDrmBridge.java assert mMediaCrypto == null; assert 207 media/base/android/java/src/org/chromium/media/MediaDrmBridge.java assert mMediaCrypto != null; assert 230 media/base/android/java/src/org/chromium/media/MediaDrmBridge.java assert mMediaDrm != null; assert 249 media/base/android/java/src/org/chromium/media/MediaDrmBridge.java assert mMediaDrm != null; assert 401 media/base/android/java/src/org/chromium/media/MediaDrmBridge.java assert mMediaDrm != null; assert 402 media/base/android/java/src/org/chromium/media/MediaDrmBridge.java assert mMediaCrypto != null; assert 403 media/base/android/java/src/org/chromium/media/MediaDrmBridge.java assert !mProvisioningPending; assert 428 media/base/android/java/src/org/chromium/media/MediaDrmBridge.java assert mMediaDrm != null; assert 473 media/base/android/java/src/org/chromium/media/MediaDrmBridge.java assert mMediaCrypto == null; assert 486 media/base/android/java/src/org/chromium/media/MediaDrmBridge.java assert mMediaCrypto != null; assert 487 media/base/android/java/src/org/chromium/media/MediaDrmBridge.java assert mSessionIds.containsKey(mMediaCryptoSession); assert 505 media/base/android/java/src/org/chromium/media/MediaDrmBridge.java assert !mSessionIds.containsKey(session); assert 545 media/base/android/java/src/org/chromium/media/MediaDrmBridge.java assert mSessionIds.isEmpty(); assert 549 media/base/android/java/src/org/chromium/media/MediaDrmBridge.java assert mSessionIds.containsKey(mMediaCryptoSession); assert 647 media/base/android/java/src/org/chromium/media/MediaDrmBridge.java assert mMediaDrm != null; assert 648 media/base/android/java/src/org/chromium/media/MediaDrmBridge.java assert !mProvisioningPending; assert 662 media/base/android/java/src/org/chromium/media/MediaDrmBridge.java assert mProvisioningPending; assert 810 media/base/android/java/src/org/chromium/media/MediaDrmBridge.java assert false; // Should never happen. assert 227 media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java assert (mNativeMediaPlayerBridge != 0); assert 236 media/base/android/java/src/org/chromium/media/MediaPlayerBridge.java assert (false); assert 38 mojo/public/c/system/tests/core_perftest.cc assert(num_bytes_ <= sizeof(buffer)); assert 51 mojo/public/c/system/tests/core_perftest.cc assert(result == MOJO_RESULT_INVALID_ARGUMENT || assert 99 mojo/public/c/system/tests/core_perftest.cc assert(result == MOJO_RESULT_INVALID_ARGUMENT || assert 128 mojo/public/c/system/tests/core_perftest.cc assert(result == MOJO_RESULT_OK); assert 130 mojo/public/c/system/tests/core_perftest.cc assert(result == MOJO_RESULT_OK); assert 132 mojo/public/c/system/tests/core_perftest.cc assert(result == MOJO_RESULT_OK); assert 142 mojo/public/c/system/tests/core_perftest.cc assert(result == MOJO_RESULT_OK); assert 148 mojo/public/c/system/tests/core_perftest.cc assert(result == MOJO_RESULT_OK); assert 158 mojo/public/c/system/tests/core_perftest.cc assert(result == MOJO_RESULT_SHOULD_WAIT); assert 168 mojo/public/c/system/tests/core_perftest.cc assert(num_writers > 0); assert 169 mojo/public/c/system/tests/core_perftest.cc assert(num_readers > 0); assert 173 mojo/public/c/system/tests/core_perftest.cc assert(result == MOJO_RESULT_OK); assert 198 mojo/public/c/system/tests/core_perftest.cc assert(result == MOJO_RESULT_OK); assert 200 mojo/public/c/system/tests/core_perftest.cc assert(result == MOJO_RESULT_OK); assert 256 mojo/public/c/system/tests/core_perftest.cc assert(rv == 0); assert 277 mojo/public/c/system/tests/core_perftest.cc assert(result == MOJO_RESULT_OK); assert 297 mojo/public/c/system/tests/core_perftest.cc assert(result == MOJO_RESULT_OK); assert 299 mojo/public/c/system/tests/core_perftest.cc assert(result == MOJO_RESULT_OK); assert 305 mojo/public/c/system/tests/core_perftest.cc assert(result == MOJO_RESULT_OK); assert 310 mojo/public/c/system/tests/core_perftest.cc assert(result == MOJO_RESULT_OK); assert 312 mojo/public/c/system/tests/core_perftest.cc assert(result == MOJO_RESULT_OK); assert 78 mojo/public/cpp/bindings/interface.h assert(result == MOJO_RESULT_OK); assert 209 mojo/public/cpp/bindings/lib/array_internal.h assert(offset < static_cast<size_t>(header_.num_elements)); assert 214 mojo/public/cpp/bindings/lib/array_internal.h assert(offset < static_cast<size_t>(header_.num_elements)); assert 27 mojo/public/cpp/bindings/lib/bindings_serialization.cc assert(p_obj > p_slot); assert 20 mojo/public/cpp/bindings/lib/buffer.cc assert(buf == this); assert 81 mojo/public/cpp/bindings/lib/connector.cc assert(false); assert 30 mojo/public/cpp/bindings/lib/fixed_buffer.cc assert(!dtor); assert 35 mojo/public/cpp/bindings/lib/fixed_buffer.cc assert(false); assert 30 mojo/public/cpp/bindings/lib/message.cc assert(!data_); assert 36 mojo/public/cpp/bindings/lib/message.cc assert(!data_); assert 28 mojo/public/cpp/bindings/lib/message_queue.cc assert(!queue_.empty()); assert 38 mojo/public/cpp/bindings/lib/message_queue.cc assert(!queue_.empty()); assert 44 mojo/public/cpp/bindings/lib/message_queue.cc assert(!queue_.empty()); assert 22 mojo/public/cpp/bindings/lib/router.cc assert(message->has_flag(kMessageIsResponse)); assert 35 mojo/public/cpp/bindings/lib/router.cc assert(false); // not reached! assert 59 mojo/public/cpp/bindings/lib/router.cc assert(false); // not reached! assert 79 mojo/public/cpp/bindings/lib/router.cc assert(!message->has_flag(kMessageExpectsResponse)); assert 85 mojo/public/cpp/bindings/lib/router.cc assert(message->has_flag(kMessageExpectsResponse)); assert 118 mojo/public/cpp/bindings/lib/router.cc assert(false); assert 49 mojo/public/cpp/bindings/message.h assert(has_request_id()); assert 54 mojo/public/cpp/bindings/message.h assert(has_request_id()); assert 52 mojo/public/cpp/bindings/passable.h assert(ptr); assert 102 mojo/public/cpp/bindings/remote_ptr.h assert(state_); assert 125 mojo/public/cpp/bindings/remote_ptr.h assert(state_); assert 22 mojo/public/cpp/environment/lib/buffer_tls.cc assert(!current_buffer.Get()); assert 68 mojo/public/cpp/environment/lib/default_async_waiter.cc assert(run_loop); assert 49 mojo/public/cpp/shell/lib/application.cc assert(1 == service_factories_.size()); assert 150 mojo/public/cpp/system/core.h assert(result == MOJO_RESULT_OK); assert 269 mojo/public/cpp/system/core.h assert(message_pipe0); assert 270 mojo/public/cpp/system/core.h assert(message_pipe1); assert 318 mojo/public/cpp/system/core.h assert(result == MOJO_RESULT_OK); assert 362 mojo/public/cpp/system/core.h assert(data_pipe_producer); assert 363 mojo/public/cpp/system/core.h assert(data_pipe_consumer); assert 432 mojo/public/cpp/system/core.h assert(result == MOJO_RESULT_OK); assert 438 mojo/public/cpp/system/core.h assert(result == MOJO_RESULT_OK); assert 466 mojo/public/cpp/system/core.h assert(shared_buffer); assert 485 mojo/public/cpp/system/core.h assert(new_buffer); assert 501 mojo/public/cpp/system/core.h assert(buffer.is_valid()); assert 506 mojo/public/cpp/system/core.h assert(pointer); assert 525 mojo/public/cpp/system/core.h assert(result == MOJO_RESULT_OK); assert 533 mojo/public/cpp/system/core.h assert(result == MOJO_RESULT_OK); assert 95 mojo/public/cpp/system/tests/macros_unittest.cc assert(is_set()); assert 38 mojo/public/cpp/test_support/lib/test_utils.cc assert(false); // Looping endlessly!? assert 46 mojo/public/cpp/test_support/lib/test_utils.cc assert(!num_handles); assert 17 mojo/public/cpp/utility/lib/mutex.cc assert(rv == 0); assert 19 mojo/public/cpp/utility/lib/mutex.cc assert(rv == 0); assert 21 mojo/public/cpp/utility/lib/mutex.cc assert(rv == 0); assert 23 mojo/public/cpp/utility/lib/mutex.cc assert(rv == 0); assert 28 mojo/public/cpp/utility/lib/mutex.cc assert(rv == 0); assert 33 mojo/public/cpp/utility/lib/mutex.cc assert(rv == 0); assert 38 mojo/public/cpp/utility/lib/mutex.cc assert(rv == 0); assert 43 mojo/public/cpp/utility/lib/mutex.cc assert(rv == 0 || rv == EBUSY); assert 48 mojo/public/cpp/utility/lib/mutex.cc assert(pthread_mutex_lock(&mutex_) == EDEADLK); assert 40 mojo/public/cpp/utility/lib/run_loop.cc assert(!current()); assert 45 mojo/public/cpp/utility/lib/run_loop.cc assert(current() == this); assert 56 mojo/public/cpp/utility/lib/run_loop.cc assert(!current()); assert 69 mojo/public/cpp/utility/lib/run_loop.cc assert(current() == this); assert 70 mojo/public/cpp/utility/lib/run_loop.cc assert(handler); assert 71 mojo/public/cpp/utility/lib/run_loop.cc assert(handle.is_valid()); assert 73 mojo/public/cpp/utility/lib/run_loop.cc assert(0u == handler_data_.count(handle)); assert 85 mojo/public/cpp/utility/lib/run_loop.cc assert(current() == this); assert 94 mojo/public/cpp/utility/lib/run_loop.cc assert(current() == this); assert 96 mojo/public/cpp/utility/lib/run_loop.cc assert(!run_state_); assert 106 mojo/public/cpp/utility/lib/run_loop.cc assert(current() == this); assert 108 mojo/public/cpp/utility/lib/run_loop.cc assert(!run_state_); assert 120 mojo/public/cpp/utility/lib/run_loop.cc assert(current() == this); assert 136 mojo/public/cpp/utility/lib/run_loop.cc assert(handler_data_.find(wait_state.handles[index]) != assert 151 mojo/public/cpp/utility/lib/run_loop.cc assert(false); assert 188 mojo/public/cpp/utility/lib/run_loop.cc assert(handler_data_.find(wait_state.handles[i]) != handler_data_.end()); assert 195 mojo/public/cpp/utility/lib/run_loop.cc assert(MOJO_RESULT_DEADLINE_EXCEEDED == result); assert 27 mojo/public/cpp/utility/lib/thread.cc assert(!started_ || joined_); assert 31 mojo/public/cpp/utility/lib/thread.cc assert(!started_); assert 32 mojo/public/cpp/utility/lib/thread.cc assert(!joined_); assert 36 mojo/public/cpp/utility/lib/thread.cc assert(rv == 0); assert 41 mojo/public/cpp/utility/lib/thread.cc assert(rv == 0); assert 46 mojo/public/cpp/utility/lib/thread.cc assert(rv == 0); assert 49 mojo/public/cpp/utility/lib/thread.cc assert(rv == 0); assert 54 mojo/public/cpp/utility/lib/thread.cc assert(started_); assert 55 mojo/public/cpp/utility/lib/thread.cc assert(!joined_); assert 59 mojo/public/cpp/utility/lib/thread.cc assert(rv == 0); assert 15 mojo/public/cpp/utility/lib/thread_local_posix.cc assert(false); assert 22 mojo/public/cpp/utility/lib/thread_local_posix.cc assert(false); assert 34 mojo/public/cpp/utility/lib/thread_local_posix.cc assert(false); assert 16 mojo/public/cpp/utility/lib/thread_local_win.cc assert(*slot != TLS_OUT_OF_INDEXES); assert 22 mojo/public/cpp/utility/lib/thread_local_win.cc assert(false); assert 34 mojo/public/cpp/utility/lib/thread_local_win.cc assert(false); assert 94 mojo/public/cpp/utility/tests/mutex_unittest.cc assert(rv == 0); assert 131 mojo/public/cpp/utility/tests/mutex_unittest.cc assert(kNumThreads % 4 == 0); assert 19 mojo/public/gles2/gles2_private.cc assert(g_gles2_support); assert 24 mojo/public/gles2/gles2_private.cc assert(g_gles2_support); assert 44 mojo/public/gles2/gles2_private.cc assert(g_gles2_support); assert 50 mojo/public/gles2/gles2_private.cc assert(g_gles2_support); assert 55 mojo/public/gles2/gles2_private.cc assert(g_gles2_support); assert 60 mojo/public/gles2/gles2_private.cc assert(g_gles2_support); assert 65 mojo/public/gles2/gles2_private.cc assert(g_gles2_support); assert 70 mojo/public/gles2/gles2_private.cc assert(g_gles2_support); assert 88 mojo/public/gles2/gles2_private.cc assert(!g_gles2_support); assert 15 mojo/public/system/core_private.cc assert(g_core); assert 20 mojo/public/system/core_private.cc assert(g_core); assert 27 mojo/public/system/core_private.cc assert(g_core); assert 35 mojo/public/system/core_private.cc assert(g_core); assert 41 mojo/public/system/core_private.cc assert(g_core); assert 51 mojo/public/system/core_private.cc assert(g_core); assert 62 mojo/public/system/core_private.cc assert(g_core); assert 70 mojo/public/system/core_private.cc assert(g_core); assert 79 mojo/public/system/core_private.cc assert(g_core); assert 88 mojo/public/system/core_private.cc assert(g_core); assert 95 mojo/public/system/core_private.cc assert(g_core); assert 103 mojo/public/system/core_private.cc assert(g_core); assert 112 mojo/public/system/core_private.cc assert(g_core); assert 119 mojo/public/system/core_private.cc assert(g_core); assert 127 mojo/public/system/core_private.cc assert(g_core); assert 135 mojo/public/system/core_private.cc assert(g_core); assert 145 mojo/public/system/core_private.cc assert(g_core); assert 150 mojo/public/system/core_private.cc assert(g_core); assert 163 mojo/public/system/core_private.cc assert(!g_core); assert 34 mojo/public/tests/test_support_private.cc assert(!g_test_support); assert 36 mojo/services/native_viewport/android/src/org/chromium/mojo/NativeViewportAndroid.java assert mNativeMojoViewport != 0; assert 41 mojo/services/native_viewport/android/src/org/chromium/mojo/NativeViewportAndroid.java assert mNativeMojoViewport != 0; assert 47 mojo/services/native_viewport/android/src/org/chromium/mojo/NativeViewportAndroid.java assert mNativeMojoViewport != 0; assert 53 mojo/services/native_viewport/android/src/org/chromium/mojo/NativeViewportAndroid.java assert mNativeMojoViewport != 0; assert 71 native_client_sdk/src/examples/api/audio/audio.cc assert(buffer_size >= assert 79 native_client_sdk/src/examples/api/gamepad/gamepad.cc assert(module); assert 82 native_client_sdk/src/examples/api/gamepad/gamepad.cc assert(gamepad_); assert 75 native_client_sdk/src/examples/api/graphics_3d/graphics_3d.cc assert(input + 4 <= input_end); assert 102 native_client_sdk/src/examples/api/graphics_3d/graphics_3d.cc assert(output <= output_end); assert 106 native_client_sdk/src/examples/api/graphics_3d/graphics_3d.cc assert(output == output_end); assert 166 native_client_sdk/src/examples/api/media_stream_audio/media_stream_audio.cc assert(buffer.GetSampleSize() == PP_AUDIOBUFFER_SAMPLESIZE_16_BITS); assert 131 native_client_sdk/src/examples/api/media_stream_video/media_stream_video.cc assert(false); assert 78 native_client_sdk/src/examples/api/var_array_buffer/var_array_buffer.cc assert((value >= 0.0) && (value <= 1.0)); assert 82 native_client_sdk/src/examples/api/var_array_buffer/var_array_buffer.cc assert(column < image_width); assert 91 native_client_sdk/src/examples/api/var_array_buffer/var_array_buffer.cc assert(!flushing_); assert 145 native_client_sdk/src/examples/demo/drive/drive.cc assert(result <= kReadBufferSize); assert 54 native_client_sdk/src/examples/demo/nacl_io/handlers.c assert(object != NULL); assert 72 native_client_sdk/src/examples/demo/nacl_io/handlers.c assert(i >= 0 && i < max_map_size); assert 84 native_client_sdk/src/examples/demo/nacl_io/handlers.c assert(i >= 0 && i < max_map_size); assert 100 native_client_sdk/src/examples/demo/nacl_io/nacl_io_demo.c assert(0); assert 220 native_client_sdk/src/examples/demo/voronoi/voronoi.cc assert(parts * parts == num_regions_); assert 505 native_client_sdk/src/examples/demo/voronoi/voronoi.cc assert(is_pow2(ps_context_->width)); assert 506 native_client_sdk/src/examples/demo/voronoi/voronoi.cc assert(is_pow2(ps_context_->height)); assert 76 native_client_sdk/src/gonacl_appengine/src/cube/cube.cc assert(input + 4 <= input_end); assert 103 native_client_sdk/src/gonacl_appengine/src/cube/cube.cc assert(output <= output_end); assert 107 native_client_sdk/src/gonacl_appengine/src/cube/cube.cc assert(output == output_end); assert 415 native_client_sdk/src/gonacl_appengine/src/earth/earth.cc assert(pixel_buffer_); assert 209 native_client_sdk/src/gonacl_appengine/src/voronoi/voronoi.cc assert(parts * parts == num_regions_); assert 35 native_client_sdk/src/libraries/nacl_io/event_emitter.cc assert(listeners_.count(listener) == 0); assert 40 native_client_sdk/src/libraries/nacl_io/event_emitter.cc assert(listeners_.count(listener) == 1); assert 43 native_client_sdk/src/libraries/nacl_io/getdents_helper.cc assert(name != NULL); assert 70 native_client_sdk/src/libraries/nacl_io/host_resolver.cc assert(0); assert 357 native_client_sdk/src/libraries/nacl_io/host_resolver.cc assert(resource != 0); assert 358 native_client_sdk/src/libraries/nacl_io/host_resolver.cc assert(PP_ToBool(netaddr_iface->IsNetAddress(resource))); assert 364 native_client_sdk/src/libraries/nacl_io/host_resolver.cc assert(false); assert 374 native_client_sdk/src/libraries/nacl_io/host_resolver.cc assert(false); assert 45 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs.cc assert(url_root_.empty() || url_root_[url_root_.length() - 1] == '/'); assert 70 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs.cc assert(url_root_.empty() || url_root_[url_root_.length() - 1] == '/'); assert 308 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs.cc assert(modestr.size() == 4); assert 309 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs.cc assert(name[0] == '/'); assert 633 native_client_sdk/src/libraries/nacl_io/httpfs/http_fs_node.cc assert(bytes_read <= bytes_to_read); assert 39 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc assert(s_saved_state.kp == NULL); assert 55 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc assert(!s_state.kp); assert 65 native_client_sdk/src/libraries/nacl_io/kernel_intercept.cc assert(!s_state.kp); assert 84 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc assert(false); assert 90 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc assert(false); assert 97 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc assert(fd == 0); assert 102 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc assert(fd == 1); assert 107 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc assert(fd == 2); assert 121 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc assert(false); assert 831 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc assert((flags & MAP_ANONYMOUS) == 0); assert 832 native_client_sdk/src/libraries/nacl_io/kernel_proxy.cc assert(fd != -1); assert 114 native_client_sdk/src/libraries/nacl_io/kernel_wrap_glibc.cc assert(__nacl_irt_##name != NULL); \ assert 176 native_client_sdk/src/libraries/nacl_io/node.cc assert((type & ~S_IFMT) == 0); assert 534 native_client_sdk/src/libraries/nacl_io/socket/tcp_node.cc assert(emitter_.get()); assert 548 native_client_sdk/src/libraries/nacl_io/socket/tcp_node.cc assert(emitter_.get()); assert 351 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc assert(PSE_GRAPHICS3D_GRAPHICS3DCONTEXTLOST == type || assert 361 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc assert(PSE_INSTANCE_DIDCHANGEFOCUS == type); assert 371 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc assert(PSE_INSTANCE_HANDLEINPUT == type || assert 395 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc assert(message.is_string()); assert 405 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc assert(message.is_string()); assert 432 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc assert(message.is_array()); assert 434 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc assert(array.GetLength() == 2); assert 482 native_client_sdk/src/libraries/ppapi_simple/ps_instance.cc assert(PSE_INSTANCE_HANDLEMESSAGE == type); assert 36 native_client_sdk/src/libraries/xray/browser.c assert(ppb_trace_event_interface); assert 159 native_client_sdk/src/libraries/xray/browser.c assert(ppb_trace_event_interface); assert 138 native_client_sdk/src/libraries/xray/xray.c assert(capture->guard0 == XRAY_GUARD_VALUE_0x12345678); assert 139 native_client_sdk/src/libraries/xray/xray.c assert(capture->guard1 == XRAY_GUARD_VALUE_0x12345678); assert 140 native_client_sdk/src/libraries/xray/xray.c assert(capture->guard2 == XRAY_GUARD_VALUE_0x87654321); assert 141 native_client_sdk/src/libraries/xray/xray.c assert(capture->guard3 == XRAY_GUARD_VALUE_0x12345678); assert 184 native_client_sdk/src/libraries/xray/xray.c assert(capture); assert 185 native_client_sdk/src/libraries/xray/xray.c assert(XRayTraceIsAnnotation(capture, index)); assert 221 native_client_sdk/src/libraries/xray/xray.c assert(capture); assert 222 native_client_sdk/src/libraries/xray/xray.c assert(capture->initialized); assert 223 native_client_sdk/src/libraries/xray/xray.c assert(!capture->recording); assert 228 native_client_sdk/src/libraries/xray/xray.c assert(capture); assert 229 native_client_sdk/src/libraries/xray/xray.c assert(capture->initialized); assert 230 native_client_sdk/src/libraries/xray/xray.c assert(!capture->recording); assert 237 native_client_sdk/src/libraries/xray/xray.c assert(true == capture->initialized); assert 238 native_client_sdk/src/libraries/xray/xray.c assert(frame >= 0); assert 239 native_client_sdk/src/libraries/xray/xray.c assert(frame < capture->frame.count); assert 240 native_client_sdk/src/libraries/xray/xray.c assert(!capture->recording); assert 281 native_client_sdk/src/libraries/xray/xray.c assert(XRayTraceIsAnnotation(capture, index)); assert 320 native_client_sdk/src/libraries/xray/xray.c assert(NULL != data); assert 489 native_client_sdk/src/libraries/xray/xray.c assert(capture); assert 490 native_client_sdk/src/libraries/xray/xray.c assert(capture->initialized); assert 491 native_client_sdk/src/libraries/xray/xray.c assert(!capture->recording); assert 507 native_client_sdk/src/libraries/xray/xray.c assert(capture); assert 508 native_client_sdk/src/libraries/xray/xray.c assert(capture->initialized); assert 509 native_client_sdk/src/libraries/xray/xray.c assert(!capture->recording); assert 597 native_client_sdk/src/libraries/xray/xray.c assert(NULL == g_xray_capture); assert 598 native_client_sdk/src/libraries/xray/xray.c assert(capture->initialized); assert 599 native_client_sdk/src/libraries/xray/xray.c assert(!capture->recording); assert 633 native_client_sdk/src/libraries/xray/xray.c assert(capture); assert 634 native_client_sdk/src/libraries/xray/xray.c assert(capture->initialized); assert 635 native_client_sdk/src/libraries/xray/xray.c assert(capture->recording); assert 636 native_client_sdk/src/libraries/xray/xray.c assert(g_xray_capture == capture); assert 637 native_client_sdk/src/libraries/xray/xray.c assert(0 == capture->disabled); assert 638 native_client_sdk/src/libraries/xray/xray.c assert(1 == capture->stack_depth); assert 675 native_client_sdk/src/libraries/xray/xray.c assert(capture); assert 676 native_client_sdk/src/libraries/xray/xray.c assert(capture->initialized); assert 677 native_client_sdk/src/libraries/xray/xray.c assert(!capture->recording); assert 678 native_client_sdk/src/libraries/xray/xray.c assert(0 == capture->disabled); assert 679 native_client_sdk/src/libraries/xray/xray.c assert(1 == capture->stack_depth); assert 691 native_client_sdk/src/libraries/xray/xray.c assert(capture); assert 692 native_client_sdk/src/libraries/xray/xray.c assert(capture == g_xray_capture); assert 693 native_client_sdk/src/libraries/xray/xray.c assert(capture->initialized); assert 701 native_client_sdk/src/libraries/xray/xray.c assert(capture); assert 702 native_client_sdk/src/libraries/xray/xray.c assert(capture == g_xray_capture); assert 703 native_client_sdk/src/libraries/xray/xray.c assert(capture->initialized); assert 704 native_client_sdk/src/libraries/xray/xray.c assert(0 < capture->disabled); assert 767 native_client_sdk/src/libraries/xray/xray.c assert(capture); assert 768 native_client_sdk/src/libraries/xray/xray.c assert(capture->initialized); assert 769 native_client_sdk/src/libraries/xray/xray.c assert(!capture->recording); assert 112 native_client_sdk/src/tests/nacl_io_test/fake_ppapi/fake_net_address_interface.cc assert(false); assert 103 net/android/java/src/org/chromium/net/NetworkChangeNotifier.java assert sInstance != null; assert 71 net/android/java/src/org/chromium/net/ProxyChangeListener.java assert mNativePtr == 0; assert 108 net/android/java/src/org/chromium/net/RemoteAndroidKeyStore.java assert false; assert 115 net/android/java/src/org/chromium/net/RemoteAndroidKeyStore.java assert false; assert 371 net/test/android/javatests/src/org/chromium/net/test/util/TestWebServer.java assert Thread.currentThread() == mServerThread assert 16 ppapi/cpp/logging.h #define PP_DCHECK(a) assert(a) assert 32 ppapi/cpp/logging.h #define PP_NOTREACHED() assert(false) assert 104 ppapi/examples/enumerate_devices/enumerate_devices.cc assert(name.is_string()); assert 33 ppapi/examples/gles2/gles2.cc assert(!gles2_if_->GetError(context_->pp_resource())); assert 91 ppapi/examples/gles2/gles2.cc assert((gles2_if_ = static_cast<const PPB_OpenGLES2*>( assert 123 ppapi/examples/gles2/gles2.cc assert(plugin_size_.width() && plugin_size_.height()); assert 143 ppapi/examples/gles2/gles2.cc assert(!context_->is_null()); assert 144 ppapi/examples/gles2/gles2.cc assert(BindGraphics(*context_)); assert 63 ppapi/examples/gles2_spinning_cube/gles2_spinning_cube.cc assert(glTerminatePPAPI()); assert 93 ppapi/examples/gles2_spinning_cube/gles2_spinning_cube.cc assert(plugin_size_.width() && plugin_size_.height()); assert 113 ppapi/examples/gles2_spinning_cube/gles2_spinning_cube.cc assert(!context_->is_null()); assert 114 ppapi/examples/gles2_spinning_cube/gles2_spinning_cube.cc assert(BindGraphics(*context_)); assert 131 ppapi/examples/media_stream_video/media_stream_video.cc assert(false); assert 39 ppapi/examples/video_decode/video_decode.cc assert(!gles2_if_->GetError(context_->pp_resource())); assert 73 ppapi/examples/video_decode/video_decode.cc assert(false && "Unexpectedly lost graphics context"); assert 230 ppapi/examples/video_decode/video_decode.cc assert((console_if_ = static_cast<const PPB_Console*>( assert 232 ppapi/examples/video_decode/video_decode.cc assert((core_if_ = static_cast<const PPB_Core*>( assert 234 ppapi/examples/video_decode/video_decode.cc assert((gles2_if_ = static_cast<const PPB_OpenGLES2*>( assert 259 ppapi/examples/video_decode/video_decode.cc assert(position.size() == plugin_size_); assert 270 ppapi/examples/video_decode/video_decode.cc assert(video_decoders_.empty()); assert 275 ppapi/examples/video_decode/video_decode.cc assert(!client->decoder()->is_null()); assert 276 ppapi/examples/video_decode/video_decode.cc assert(video_decoders_.insert(std::make_pair( assert 284 ppapi/examples/video_decode/video_decode.cc assert(bitstream_ids_at_decoder_.erase(bitstream_buffer_id) == 1); assert 287 ppapi/examples/video_decode/video_decode.cc assert(it != bitstream_buffers_by_id_.end()); assert 294 ppapi/examples/video_decode/video_decode.cc assert(result == PP_OK); assert 297 ppapi/examples/video_decode/video_decode.cc assert(bitstream_ids_at_decoder_.empty()); assert 310 ppapi/examples/video_decode/video_decode.cc assert(LookingAtNAL(kData, start_pos)); assert 348 ppapi/examples/video_decode/video_decode.cc assert(bitstream_buffers_by_id_.insert(std::make_pair(id, buffer)).second); assert 353 ppapi/examples/video_decode/video_decode.cc assert(bitstream_ids_at_decoder_.insert(id).second); assert 363 ppapi/examples/video_decode/video_decode.cc assert(client); assert 381 ppapi/examples/video_decode/video_decode.cc assert(picture_buffers_by_id_.insert(std::make_pair(id, info)).second); assert 390 ppapi/examples/video_decode/video_decode.cc assert(it != picture_buffers_by_id_.end()); assert 397 ppapi/examples/video_decode/video_decode.cc assert(client); assert 411 ppapi/examples/video_decode/video_decode.cc assert((first_frame_delivered_ticks_ = core_if_->GetTimeTicks()) != -1); assert 417 ppapi/examples/video_decode/video_decode.cc assert(client); assert 420 ppapi/examples/video_decode/video_decode.cc assert(!is_painting_); assert 435 ppapi/examples/video_decode/video_decode.cc assert(info.texture_target == GL_TEXTURE_RECTANGLE_ARB); assert 459 ppapi/examples/video_decode/video_decode.cc assert(context_->SwapBuffers(cb) == PP_OK_COMPLETIONPENDING); assert 465 ppapi/examples/video_decode/video_decode.cc assert(false && "Unexpected error; see stderr for details"); assert 481 ppapi/examples/video_decode/video_decode.cc assert(plugin_size_.width() && plugin_size_.height()); assert 484 ppapi/examples/video_decode/video_decode.cc assert(!context_); assert 499 ppapi/examples/video_decode/video_decode.cc assert(!context_->is_null()); assert 500 ppapi/examples/video_decode/video_decode.cc assert(BindGraphics(*context_)); assert 513 ppapi/examples/video_decode/video_decode.cc assert(result == PP_OK); assert 109 ppapi/native_client/tests/nacl_browser/fault_injection/fault_pm_nameservice_test.cc assert(-1 != ns); assert 111 ppapi/native_client/tests/nacl_browser/fault_injection/fault_pm_nameservice_test.cc assert(-1 != connected_socket); assert 143 ppapi/native_client/tests/nacl_browser/fault_injection/fault_pm_nameservice_test.cc assert(NACL_SRPC_RESULT_OK == rpc_result); assert 145 ppapi/native_client/tests/nacl_browser/fault_injection/fault_pm_nameservice_test.cc assert(NACL_NAME_SERVICE_SUCCESS == status); assert 85 ppapi/tests/test_broker.cc assert(message_len < std::numeric_limits<DWORD>::max()); assert 90 ppapi/tests/test_broker.cc assert(message_len < assert 106 ppapi/tests/test_broker.cc assert(message_len < std::numeric_limits<DWORD>::max()); assert 111 ppapi/tests/test_broker.cc assert(message_len < assert 121 ppapi/tests/test_file_io.cc assert(rv == static_cast<int32_t>(output.size())); assert 248 ppapi/tests/test_instance_deprecated.cc assert(false); assert 265 ppapi/tests/test_test_internals.cc assert(call_counter1.num_calls() == 1); assert 266 ppapi/tests/test_test_internals.cc assert(call_counter2.num_calls() == 1); assert 272 ppapi/tests/test_test_internals.cc assert(call_counter1.num_calls() == 1); assert 273 ppapi/tests/test_test_internals.cc assert(call_counter2.num_calls() == 1); assert 58 printing/android/java/src/org/chromium/printing/PrintDocumentAdapterWrapper.java assert callback != null; assert 81 printing/android/java/src/org/chromium/printing/PrintDocumentAdapterWrapper.java assert callback != null; assert 440 remoting/android/java/src/org/chromium/chromoting/Chromoting.java assert false : "Unreached"; assert 60 remoting/base/typed_buffer.h assert(buffer_ != NULL); assert 64 remoting/base/typed_buffer.h assert(buffer_ != NULL); assert 58 sync/android/java/src/org/chromium/sync/notifier/SyncStatusHelper.java assert account != null; assert 204 sync/android/java/src/org/chromium/sync/signin/AccountManagerHelper.java assert mNumTries.get() <= MAX_TRIES; assert 1566 third_party/bintrees/bintrees/cwalker.c assert(__pyx_arg_direction); { assert 1630 third_party/bintrees/bintrees/cwalker.c assert(__pyx_arg_direction); { assert 65 third_party/cld/base/casts.h assert(f == NULL || dynamic_cast<To>(f) != NULL); // RTTI: debug mode only! assert 86 third_party/cld/base/casts.h assert(dynamic_cast<ToAsPointer>(&f) != NULL); // RTTI: debug mode only assert 77 third_party/cld/base/scoped_ptr.h assert(ptr_ != NULL); assert 81 third_party/cld/base/scoped_ptr.h assert(ptr_ != NULL); assert 210 third_party/cld/base/scoped_ptr.h assert(i >= 0); assert 211 third_party/cld/base/scoped_ptr.h assert(array_ != NULL); assert 350 third_party/cld/base/scoped_ptr.h assert(ptr_ != NULL); assert 355 third_party/cld/base/scoped_ptr.h assert(ptr_ != NULL); assert 1830 third_party/expat/files/lib/xmlparse.c assert(status != NULL); assert 256 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc assert (start <= end && end <= buffer->len); assert 263 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc assert ((!buffer->len && buffer->content_type == HB_BUFFER_CONTENT_TYPE_INVALID) || assert 365 third_party/harfbuzz-ng/src/hb-buffer-serialize.cc assert ((!buffer->len && buffer->content_type == HB_BUFFER_CONTENT_TYPE_INVALID) || assert 133 third_party/harfbuzz-ng/src/hb-buffer.cc assert (have_output); assert 145 third_party/harfbuzz-ng/src/hb-buffer.cc assert (have_output); assert 164 third_party/harfbuzz-ng/src/hb-buffer.cc assert ((uintptr_t) pos % sizeof (scratch_buffer_t) == 0); assert 288 third_party/harfbuzz-ng/src/hb-buffer.cc assert (have_output); assert 367 third_party/harfbuzz-ng/src/hb-buffer.cc assert (i <= len); assert 372 third_party/harfbuzz-ng/src/hb-buffer.cc assert (i <= out_len + (len - idx)); assert 390 third_party/harfbuzz-ng/src/hb-buffer.cc assert (idx >= count); assert 559 third_party/harfbuzz-ng/src/hb-buffer.cc assert (content_type == HB_BUFFER_CONTENT_TYPE_UNICODE || assert 602 third_party/harfbuzz-ng/src/hb-buffer.cc assert (byte_i < 8 && byte_i + count <= 8); assert 611 third_party/harfbuzz-ng/src/hb-buffer.cc assert (!allocated_var_bytes[i]); assert 626 third_party/harfbuzz-ng/src/hb-buffer.cc assert (byte_i < 8 && byte_i + count <= 8); assert 628 third_party/harfbuzz-ng/src/hb-buffer.cc assert (allocated_var_bytes[i]); assert 629 third_party/harfbuzz-ng/src/hb-buffer.cc assert (0 == strcmp (allocated_var_owner[i], owner)); assert 643 third_party/harfbuzz-ng/src/hb-buffer.cc assert (byte_i < 8 && byte_i + count <= 8); assert 645 third_party/harfbuzz-ng/src/hb-buffer.cc assert (allocated_var_bytes[i]); assert 646 third_party/harfbuzz-ng/src/hb-buffer.cc assert (0 == strcmp (allocated_var_owner[i], owner)); assert 1293 third_party/harfbuzz-ng/src/hb-buffer.cc assert (buffer->content_type == HB_BUFFER_CONTENT_TYPE_UNICODE || assert 1484 third_party/harfbuzz-ng/src/hb-buffer.cc assert (buffer->have_positions); assert 1485 third_party/harfbuzz-ng/src/hb-buffer.cc assert (buffer->content_type == HB_BUFFER_CONTENT_TYPE_GLYPHS); assert 87 third_party/harfbuzz-ng/src/hb-coretext.cc assert (hb_blob_get_length ((hb_blob_t *) info) == size && assert 602 third_party/harfbuzz-ng/src/hb-coretext.cc assert (_consumed <= scratch_size); \ assert 496 third_party/harfbuzz-ng/src/hb-ft.cc assert (font->y_scale >= 0); assert 357 third_party/harfbuzz-ng/src/hb-glib.cc assert (utf8_decomposed_len <= HB_UNICODE_MAX_DECOMPOSITION_LEN); assert 289 third_party/harfbuzz-ng/src/hb-graphite2.cc assert (_consumed <= scratch_size); \ assert 401 third_party/harfbuzz-ng/src/hb-open-type-private.hh assert (!this->ran_out_of_room); assert 449 third_party/harfbuzz-ng/src/hb-open-type-private.hh assert (this->start <= (char *) &obj && (char *) &obj <= this->head && (char *) &obj + size >= this->head); assert 458 third_party/harfbuzz-ng/src/hb-open-type-private.hh assert (this->start < (char *) &obj && (char *) &obj <= this->head && (char *) &obj + size >= this->head); assert 465 third_party/harfbuzz-ng/src/hb-open-type-private.hh assert (this->start < head && head <= this->head); assert 413 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh assert (num_items > 0); assert 483 third_party/harfbuzz-ng/src/hb-ot-layout-gsubgpos-private.hh assert (num_items > 0); assert 856 third_party/harfbuzz-ng/src/hb-ot-layout.cc assert (!buffer->has_separate_output ()); assert 113 third_party/harfbuzz-ng/src/hb-ot-map-private.hh assert (stage <= stages[table_index].len); assert 749 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc assert (false); assert 833 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc assert (indic_plan->config->reph_mode == REPH_MODE_VIS_REPHA); assert 834 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc assert (!has_reph); assert 1090 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc assert (1 <= pref_len && pref_len <= 2); assert 1420 third_party/harfbuzz-ng/src/hb-ot-shape-complex-indic.cc assert (reph_pos != REPH_POS_DONT_CARE); assert 142 third_party/harfbuzz-ng/src/hb-ot-shape-complex-thai.cc default: assert (false); /* Fallthrough */ assert 107 third_party/harfbuzz-ng/src/hb-shape-plan.cc assert (props->direction != HB_DIRECTION_INVALID); assert 279 third_party/harfbuzz-ng/src/hb-shape-plan.cc assert (shape_plan->face_unsafe == font->face); assert 280 third_party/harfbuzz-ng/src/hb-shape-plan.cc assert (hb_segment_properties_equal (&shape_plan->props, &buffer->props)); assert 219 third_party/harfbuzz-ng/src/hb-shape.cc assert (len < ARRAY_LENGTH (s)); assert 302 third_party/harfbuzz-ng/src/hb-shape.cc assert (buffer->content_type == HB_BUFFER_CONTENT_TYPE_UNICODE); assert 738 third_party/harfbuzz-ng/src/hb-uniscribe.cc assert (_consumed <= scratch_size); \ assert 410 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp assert( collectComments_ ); assert 413 third_party/jsoncpp/overrides/src/lib_json/json_reader.cpp assert( lastValue_ != 0 ); assert 25 third_party/jsoncpp/overrides/src/lib_json/json_value.cpp #define JSON_ASSERT_UNREACHABLE assert( false ) assert 1076 third_party/jsoncpp/overrides/src/lib_json/json_value.cpp assert( size() == newSize ); assert 79 third_party/leveldatabase/chromium_logger.h assert(p <= limit); assert 97 third_party/libaddressinput/chromium/cpp/include/libaddressinput/callback.h assert(instance_ != NULL); assert 98 third_party/libaddressinput/chromium/cpp/include/libaddressinput/callback.h assert(method_ != NULL); assert 126 third_party/libaddressinput/chromium/cpp/include/libaddressinput/callback.h assert(instance_ != NULL); assert 127 third_party/libaddressinput/chromium/cpp/include/libaddressinput/callback.h assert(method_ != NULL); assert 384 third_party/libaddressinput/chromium/cpp/include/libaddressinput/util/internal/scoped_ptr.h assert(impl_.get() != NULL); assert 388 third_party/libaddressinput/chromium/cpp/include/libaddressinput/util/internal/scoped_ptr.h assert(impl_.get() != NULL); assert 505 third_party/libaddressinput/chromium/cpp/include/libaddressinput/util/internal/scoped_ptr.h assert(impl_.get() != NULL); assert 54 third_party/libaddressinput/chromium/cpp/src/address_data.cc assert(false); assert 62 third_party/libaddressinput/chromium/cpp/src/address_data.cc assert(lines != NULL); assert 110 third_party/libaddressinput/chromium/cpp/src/address_validator.cc assert(rulesets_with_parents_ != NULL); assert 119 third_party/libaddressinput/chromium/cpp/src/address_validator.cc assert(ruleset_to_test != NULL); assert 193 third_party/libaddressinput/chromium/cpp/src/address_validator.cc assert(ruleset != NULL); assert 272 third_party/libaddressinput/chromium/cpp/src/address_validator.cc assert(ruleset_it->second != NULL); assert 410 third_party/libaddressinput/chromium/cpp/src/address_validator.cc assert(false); assert 455 third_party/libaddressinput/chromium/cpp/src/address_validator.cc assert(rules_.find(country_code) == rules_.end()); assert 458 third_party/libaddressinput/chromium/cpp/src/address_validator.cc assert(ruleset != NULL); assert 459 third_party/libaddressinput/chromium/cpp/src/address_validator.cc assert(ruleset->field() == COUNTRY); assert 473 third_party/libaddressinput/chromium/cpp/src/address_validator.cc assert(problems != NULL); assert 43 third_party/libaddressinput/chromium/cpp/src/country_rules_aggregator.cc assert(retriever_ != NULL); assert 88 third_party/libaddressinput/chromium/cpp/src/retriever.cc assert(footer_value != NULL); assert 89 third_party/libaddressinput/chromium/cpp/src/retriever.cc assert(data != NULL); assert 122 third_party/libaddressinput/chromium/cpp/src/retriever.cc assert(data != NULL); assert 123 third_party/libaddressinput/chromium/cpp/src/retriever.cc assert(age_in_seconds != NULL); assert 160 third_party/libaddressinput/chromium/cpp/src/retriever.cc assert(validation_data_url_.length() > 0); assert 161 third_party/libaddressinput/chromium/cpp/src/retriever.cc assert(validation_data_url_[validation_data_url_.length() - 1] == '/'); assert 162 third_party/libaddressinput/chromium/cpp/src/retriever.cc assert(storage_ != NULL); assert 163 third_party/libaddressinput/chromium/cpp/src/retriever.cc assert(downloader_ != NULL); assert 37 third_party/libaddressinput/chromium/cpp/src/rule.cc assert(field != NULL); assert 86 third_party/libaddressinput/chromium/cpp/src/rule.cc assert(lines != NULL); assert 130 third_party/libaddressinput/chromium/cpp/src/rule.cc assert(fields != NULL); assert 207 third_party/libaddressinput/chromium/cpp/src/rule.cc assert(!literal.empty()); assert 314 third_party/libaddressinput/chromium/cpp/src/rule.cc assert(sub_names_.size() == sub_keys_.size()); assert 319 third_party/libaddressinput/chromium/cpp/src/rule.cc assert(sub_lnames_.size() == sub_keys_.size()); assert 358 third_party/libaddressinput/chromium/cpp/src/rule.cc assert(false); assert 43 third_party/libaddressinput/chromium/cpp/src/ruleset.cc assert(field_ >= COUNTRY); assert 44 third_party/libaddressinput/chromium/cpp/src/ruleset.cc assert(field_ <= DEPENDENT_LOCALITY); assert 45 third_party/libaddressinput/chromium/cpp/src/ruleset.cc assert(rule_ != NULL); assert 56 third_party/libaddressinput/chromium/cpp/src/ruleset.cc assert(address_field_tries != NULL); assert 63 third_party/libaddressinput/chromium/cpp/src/ruleset.cc assert(identity_field_tries != NULL); assert 71 third_party/libaddressinput/chromium/cpp/src/ruleset.cc assert(trie != NULL); assert 82 third_party/libaddressinput/chromium/cpp/src/ruleset.cc assert(sub_regions_.find(sub_region) == sub_regions_.end()); assert 83 third_party/libaddressinput/chromium/cpp/src/ruleset.cc assert(ruleset != NULL); assert 84 third_party/libaddressinput/chromium/cpp/src/ruleset.cc assert(ruleset->field() == static_cast<AddressField>(field() + 1)); assert 92 third_party/libaddressinput/chromium/cpp/src/ruleset.cc assert(language_codes_.find(language_code) == language_codes_.end()); assert 93 third_party/libaddressinput/chromium/cpp/src/ruleset.cc assert(rule != NULL); assert 111 third_party/libaddressinput/chromium/cpp/src/ruleset.cc assert(field_ == COUNTRY); assert 112 third_party/libaddressinput/chromium/cpp/src/ruleset.cc assert(tries_.empty()); assert 160 third_party/libaddressinput/chromium/cpp/src/ruleset.cc assert(field_ == COUNTRY); assert 161 third_party/libaddressinput/chromium/cpp/src/ruleset.cc assert(ruleset_level >= ADMIN_AREA); assert 162 third_party/libaddressinput/chromium/cpp/src/ruleset.cc assert(ruleset_level <= DEPENDENT_LOCALITY); assert 163 third_party/libaddressinput/chromium/cpp/src/ruleset.cc assert(result != NULL); assert 164 third_party/libaddressinput/chromium/cpp/src/ruleset.cc assert(canonicalizer_ != NULL); assert 169 third_party/libaddressinput/chromium/cpp/src/ruleset.cc assert(address_field_tries != NULL); assert 173 third_party/libaddressinput/chromium/cpp/src/ruleset.cc assert(address_field_it != address_field_tries->end()); assert 176 third_party/libaddressinput/chromium/cpp/src/ruleset.cc assert(identity_field_tries != NULL); assert 180 third_party/libaddressinput/chromium/cpp/src/ruleset.cc assert(identity_field_it != identity_field_tries->end()); assert 183 third_party/libaddressinput/chromium/cpp/src/ruleset.cc assert(trie != NULL); assert 190 third_party/libaddressinput/chromium/cpp/src/ruleset.cc assert(field_ == COUNTRY); assert 191 third_party/libaddressinput/chromium/cpp/src/ruleset.cc assert(canonicalizer_ != NULL); assert 198 third_party/libaddressinput/chromium/cpp/src/ruleset.cc assert(ruleset != NULL); assert 210 third_party/libaddressinput/chromium/cpp/src/ruleset.cc assert(address_field_tries != NULL); assert 214 third_party/libaddressinput/chromium/cpp/src/ruleset.cc assert(address_field_it != address_field_tries->end()); assert 217 third_party/libaddressinput/chromium/cpp/src/ruleset.cc assert(identity_field_tries != NULL); assert 221 third_party/libaddressinput/chromium/cpp/src/ruleset.cc assert(identity_field_it != identity_field_tries->end()); assert 224 third_party/libaddressinput/chromium/cpp/src/ruleset.cc assert(key_trie != NULL); assert 227 third_party/libaddressinput/chromium/cpp/src/ruleset.cc assert(identity_field_it != identity_field_tries->end()); assert 230 third_party/libaddressinput/chromium/cpp/src/ruleset.cc assert(name_trie != NULL); assert 233 third_party/libaddressinput/chromium/cpp/src/ruleset.cc assert(identity_field_it != identity_field_tries->end()); assert 236 third_party/libaddressinput/chromium/cpp/src/ruleset.cc assert(latin_name_trie != NULL); assert 51 third_party/libaddressinput/chromium/cpp/src/util/json.cc assert(dict_ != NULL); assert 68 third_party/libaddressinput/chromium/cpp/src/util/json.cc assert(dict_ != NULL); assert 215 third_party/libaddressinput/chromium/cpp/src/util/stl_util.h assert(STLIsSorted(a1)); assert 216 third_party/libaddressinput/chromium/cpp/src/util/stl_util.h assert(STLIsSorted(a2)); assert 62 third_party/libaddressinput/chromium/cpp/src/util/string_util.cc assert(r != NULL); assert 49 third_party/libaddressinput/chromium/cpp/src/util/trie.cc assert(current_node != NULL); assert 57 third_party/libaddressinput/chromium/cpp/src/util/trie.cc assert(results != NULL); assert 69 third_party/libaddressinput/chromium/cpp/src/util/trie.cc assert(current_node != NULL); assert 63 third_party/libaddressinput/chromium/cpp/test/fake_downloader.cc assert(file.is_open()); assert 150 third_party/libevent/buffer.c assert(buf->totallen >= used); assert 252 third_party/libevent/devpoll.c assert(events[i].fd < devpollop->nfds); assert 495 third_party/libevent/evdns.c assert(global_good_nameservers >= 0); assert 621 third_party/libevent/evdns.c assert(req_waiting_head); assert 677 third_party/libevent/evdns.c assert(0); assert 1148 third_party/libevent/evdns.c assert(global_good_nameservers == 0); assert 1485 third_party/libevent/evdns.c assert(!is_tcp); /* TCP sockets not yet implemented */ assert 1601 third_party/libevent/evdns.c assert(in || inaddr_name); assert 1602 third_party/libevent/evdns.c assert(!(in && inaddr_name)); assert 1846 third_party/libevent/evdns.c assert(port); assert 1847 third_party/libevent/evdns.c assert(!port->refcnt); assert 1848 third_party/libevent/evdns.c assert(!port->pending_replies); assert 2326 third_party/libevent/evdns.c assert(in); assert 2346 third_party/libevent/evdns.c assert(in); assert 2355 third_party/libevent/evdns.c assert(cp + strlen("ip6.arpa") < buf+sizeof(buf)); assert 2521 third_party/libevent/evdns.c assert(type == TYPE_A || type == TYPE_AAAA); assert 2775 third_party/libevent/evdns.c assert(n < st.st_size); assert 2881 third_party/libevent/evdns.c assert(fixed); assert 218 third_party/libevent/event.c assert(base); assert 252 third_party/libevent/event.c assert(TAILQ_EMPTY(base->activequeues[i])); assert 254 third_party/libevent/event.c assert(min_heap_empty(&base->timeheap)); assert 261 third_party/libevent/event.c assert(TAILQ_EMPTY(&base->eventqueue)); assert 371 third_party/libevent/event.c assert(activeq != NULL); assert 411 third_party/libevent/event.c assert(base); assert 715 third_party/libevent/event.c assert(!(ev->ev_flags & ~EVLIST_ALL)); assert 791 third_party/libevent/event.c assert(!(ev->ev_flags & ~EVLIST_ALL)); assert 851 third_party/libevent/event.c assert(tv->tv_sec >= 0); assert 852 third_party/libevent/event.c assert(tv->tv_usec >= 0); assert 185 third_party/libevent/evport.c assert(evpd); assert 186 third_party/libevent/evport.c assert(evpd->ed_nevents > 0); assert 187 third_party/libevent/evport.c assert(evpd->ed_port > 0); assert 188 third_party/libevent/evport.c assert(evpd->ed_fds > 0); assert 202 third_party/libevent/evport.c assert(ev->ev_fd == i); assert 205 third_party/libevent/evport.c assert(ev->ev_fd == i); assert 222 third_party/libevent/evport.c assert(pevt->portev_source == PORT_SOURCE_FD); assert 223 third_party/libevent/evport.c assert(pevt->portev_user == NULL); assert 240 third_party/libevent/evport.c assert(factor > 1); assert 370 third_party/libevent/evport.c assert(epdp->ed_nevents > fd); assert 88 third_party/libevent/evrpc.c assert(evrpc_unregister_rpc(base, rpc->uri)); assert 91 third_party/libevent/evrpc.c assert(evrpc_remove_hook(base, EVRPC_INPUT, hook)); assert 94 third_party/libevent/evrpc.c assert(evrpc_remove_hook(base, EVRPC_OUTPUT, hook)); assert 116 third_party/libevent/evrpc.c assert(hook_type == EVRPC_INPUT || hook_type == EVRPC_OUTPUT); assert 120 third_party/libevent/evrpc.c assert(hook != NULL); assert 161 third_party/libevent/evrpc.c assert(hook_type == EVRPC_INPUT || hook_type == EVRPC_OUTPUT); assert 252 third_party/libevent/evrpc.c assert(evhttp_del_cb(base->http_server, registered_uri) == 0); assert 427 third_party/libevent/evrpc.c assert(evrpc_remove_hook(pool, EVRPC_INPUT, hook)); assert 431 third_party/libevent/evrpc.c assert(evrpc_remove_hook(pool, EVRPC_OUTPUT, hook)); assert 445 third_party/libevent/evrpc.c assert(connection->http_server == NULL); assert 573 third_party/libevent/evrpc.c assert(TAILQ_FIRST(&pool->connections) != NULL); assert 654 third_party/libevent/evrpc.c assert(evcon != NULL); assert 229 third_party/libevent/http.c assert(strlen(del) == 1); assert 637 third_party/libevent/http.c assert(req != NULL); assert 968 third_party/libevent/http.c assert(req != NULL); assert 970 third_party/libevent/http.c assert(evcon->state == EVCON_WRITING); assert 1032 third_party/libevent/http.c assert(evcon->state == EVCON_DISCONNECTED); assert 1043 third_party/libevent/http.c assert(evcon->state == EVCON_DISCONNECTED); assert 1060 third_party/libevent/http.c assert(evcon->state == EVCON_IDLE); assert 1723 third_party/libevent/http.c assert(evcon->base == NULL); assert 1724 third_party/libevent/http.c assert(evcon->state == EVCON_DISCONNECTED); assert 1766 third_party/libevent/http.c assert(!(evcon->flags & EVHTTP_CON_INCOMING)); assert 1817 third_party/libevent/http.c assert(req->evcon == NULL); assert 1819 third_party/libevent/http.c assert(!(req->flags & EVHTTP_REQ_OWN_CONNECTION)); assert 1872 third_party/libevent/http.c assert(req->flags & EVHTTP_REQ_OWN_CONNECTION); assert 1921 third_party/libevent/http.c assert(TAILQ_FIRST(&evcon->requests) == req); assert 2642 third_party/libevent/http.c assert(0); assert 310 third_party/libevent/kqueue.c assert(nsignal >= 0 && nsignal < NSIG); assert 387 third_party/libevent/kqueue.c assert(nsignal >= 0 && nsignal < NSIG); assert 112 third_party/libevent/poll.c assert(pop->event_set[idx].fd == i); assert 115 third_party/libevent/poll.c assert(ev); assert 116 third_party/libevent/poll.c assert(ev->ev_events & EV_READ); assert 117 third_party/libevent/poll.c assert(ev->ev_fd == i); assert 121 third_party/libevent/poll.c assert(ev); assert 122 third_party/libevent/poll.c assert(ev->ev_events & EV_WRITE); assert 123 third_party/libevent/poll.c assert(ev->ev_fd == i); assert 128 third_party/libevent/poll.c assert(pop->idxplus1_by_fd[pfd->fd] == i+1); assert 125 third_party/libevent/select.c assert(sop->event_r_by_fd[i]); assert 126 third_party/libevent/select.c assert(sop->event_r_by_fd[i]->ev_events & EV_READ); assert 127 third_party/libevent/select.c assert(sop->event_r_by_fd[i]->ev_fd == i); assert 129 third_party/libevent/select.c assert(! sop->event_r_by_fd[i]); assert 132 third_party/libevent/select.c assert(sop->event_w_by_fd[i]); assert 133 third_party/libevent/select.c assert(sop->event_w_by_fd[i]->ev_events & EV_WRITE); assert 134 third_party/libevent/select.c assert(sop->event_w_by_fd[i]->ev_fd == i); assert 136 third_party/libevent/select.c assert(! sop->event_w_by_fd[i]); assert 213 third_party/libevent/signal.c assert(evsignal >= 0 && evsignal < NSIG); assert 273 third_party/libevent/signal.c assert(evsignal >= 0 && evsignal < NSIG); assert 1144 third_party/libevent/test/regress.c assert(len >= 10 && len <= 20); assert 408 third_party/libevent/test/regress.gen.c assert(_buf != NULL); assert 634 third_party/libevent/test/regress.gen.c assert(_buf != NULL); assert 872 third_party/libevent/test/regress.gen.c assert(_buf != NULL); assert 108 third_party/libevent/test/regress_rpc.c assert(strcmp(header, "input") == 0); assert 152 third_party/libevent/test/regress_rpc.c assert(EVRPC_UNREGISTER(base, Message) == 0); assert 153 third_party/libevent/test/regress_rpc.c assert(EVRPC_UNREGISTER(base, NeverReply) == 0); assert 331 third_party/libevent/test/regress_rpc.c assert(pool != NULL); assert 334 third_party/libevent/test/regress_rpc.c assert(evcon != NULL); assert 352 third_party/libevent/test/regress_rpc.c assert(strcmp(header, "ran") == 0); assert 428 third_party/libevent/test/regress_rpc.c assert(header != NULL); assert 429 third_party/libevent/test/regress_rpc.c assert(strcmp(header, arg) == 0); assert 453 third_party/libevent/test/regress_rpc.c assert(evrpc_add_hook(base, EVRPC_INPUT, rpc_hook_add_header, (void*)"input") assert 455 third_party/libevent/test/regress_rpc.c assert(evrpc_add_hook(base, EVRPC_OUTPUT, rpc_hook_add_header, (void*)"output") assert 460 third_party/libevent/test/regress_rpc.c assert(evrpc_add_hook(pool, EVRPC_INPUT, rpc_hook_remove_header, (void*)"output")); assert 60 third_party/libusb/src/libusb/os/linux_udev.c assert(udev_ctx == NULL); assert 131 third_party/libusb/src/libusb/os/linux_udev.c assert(udev_ctx != NULL); assert 132 third_party/libusb/src/libusb/os/linux_udev.c assert(udev_monitor != NULL); assert 133 third_party/libusb/src/libusb/os/linux_udev.c assert(udev_monitor_fd != -1); assert 260 third_party/libusb/src/libusb/os/linux_udev.c assert(udev_ctx != NULL); assert 447 third_party/libusb/src/libusb/os/linux_usbfs.c assert(init_count != 0); assert 51 third_party/libwebp/dec/alpha.c assert(width > 0 && height > 0); assert 52 third_party/libwebp/dec/alpha.c assert(data != NULL && output != NULL); assert 77 third_party/libwebp/dec/alpha.c assert(dec->method_ == ALPHA_LOSSLESS_COMPRESSION); assert 96 third_party/libwebp/dec/alpha.c assert(dec->alpha_data_size_ >= ALPHA_HEADER_LEN + offset + num_pixels); assert 100 third_party/libwebp/dec/alpha.c assert(alph_dec->vp8l_dec_ != NULL); assert 136 third_party/libwebp/dec/alpha.c assert(dec->alpha_plane_ != NULL); assert 149 third_party/libwebp/dec/alpha.c assert(dec->alph_dec_ != NULL); assert 44 third_party/libwebp/dec/frame.c assert(limit >= 3); assert 86 third_party/libwebp/dec/frame.c assert(dec->thread_ctx_.filter_row_); assert 158 third_party/libwebp/dec/frame.c assert(dec != NULL); assert 208 third_party/libwebp/dec/frame.c assert(dec->dither_); assert 298 third_party/libwebp/dec/frame.c assert(!(delta_y & 1)); assert 351 third_party/libwebp/dec/frame.c assert(worker->status_ == OK); assert 505 third_party/libwebp/dec/frame.c assert(!headers->is_lossless); assert 585 third_party/libwebp/dec/frame.c assert((yuv_size & ALIGN_MASK) == 0); assert 614 third_party/libwebp/dec/frame.c assert(mem <= (uint8_t*)dec->mem_ + dec->mem_size_); assert 113 third_party/libwebp/dec/idec.c assert(dec != NULL); // Must be true as idec->state_ != STATE_WEBP_HEADER. assert 141 third_party/libwebp/dec/idec.c assert(last_part >= 0); assert 149 third_party/libwebp/dec/idec.c assert(alph_vp8l_dec != NULL); assert 150 third_party/libwebp/dec/idec.c assert(dec->alpha_data_size_ >= ALPHA_HEADER_LEN); assert 176 third_party/libwebp/dec/idec.c assert(mem->mode_ == MEM_MODE_APPEND); assert 201 third_party/libwebp/dec/idec.c assert(mem->end_ <= mem->buf_size_); assert 212 third_party/libwebp/dec/idec.c assert(mem->mode_ == MEM_MODE_MAP); assert 232 third_party/libwebp/dec/idec.c assert(mem); assert 245 third_party/libwebp/dec/idec.c assert(mem->mode_ == expected); // mode is ok assert 298 third_party/libwebp/dec/idec.c assert(mem->start_ <= mem->end_); assert 371 third_party/libwebp/dec/idec.c assert(!idec->is_lossless_); assert 372 third_party/libwebp/dec/idec.c assert(mem->part0_buf_ == NULL); assert 373 third_party/libwebp/dec/idec.c assert(psize > 0); assert 374 third_party/libwebp/dec/idec.c assert(psize <= mem->part0_size_); // Format limit: no need for runtime check assert 447 third_party/libwebp/dec/idec.c assert(dec->ready_); assert 464 third_party/libwebp/dec/idec.c assert(idec->mem_.start_ <= idec->mem_.end_); assert 498 third_party/libwebp/dec/idec.c assert(idec->is_lossless_); assert 521 third_party/libwebp/dec/idec.c assert(idec->is_lossless_); assert 713 third_party/libwebp/dec/idec.c assert(idec); assert 367 third_party/libwebp/dec/io.c assert(p->last_y + y_pos + num_lines_out < p->output->height); assert 368 third_party/libwebp/dec/io.c assert(p->scaler_u.y_accum == p->scaler_v.y_accum); assert 396 third_party/libwebp/dec/io.c assert(u_lines_in == v_lines_in); assert 418 third_party/libwebp/dec/io.c assert(p->last_y + y_pos + num_lines_out < p->output->height); assert 447 third_party/libwebp/dec/io.c assert(p->last_y + y_pos + num_lines_out < p->output->height); assert 596 third_party/libwebp/dec/io.c assert(!(io->mb_y & 1)); assert 22 third_party/libwebp/dec/layer.c assert(dec); assert 23 third_party/libwebp/dec/layer.c assert(dec->layer_data_size_ > 0); assert 142 third_party/libwebp/dec/vp8.c assert(hdr != NULL); assert 153 third_party/libwebp/dec/vp8.c assert(br != NULL); assert 154 third_party/libwebp/dec/vp8.c assert(hdr != NULL); assert 672 third_party/libwebp/dec/vp8.c assert(dec->ready_); assert 171 third_party/libwebp/dec/vp8l.c assert(node != NULL); assert 344 third_party/libwebp/dec/vp8l.c assert(num_htree_groups <= 0x10000); assert 397 third_party/libwebp/dec/vp8l.c assert(dec->rescaler_memory == NULL); assert 443 third_party/libwebp/dec/vp8l.c assert(needed_lines > 0 && needed_lines <= lines_left); assert 587 third_party/libwebp/dec/vp8l.c assert(y_start < y_end); assert 588 third_party/libwebp/dec/vp8l.c assert(io->crop_left < io->crop_right); assert 619 third_party/libwebp/dec/vp8l.c assert(meta_index < hdr->num_htree_groups_); assert 655 third_party/libwebp/dec/vp8l.c assert(dec->next_transform_ == 1); assert 656 third_party/libwebp/dec/vp8l.c assert(transform->type_ == COLOR_INDEXING_TRANSFORM); assert 694 third_party/libwebp/dec/vp8l.c assert(dec->last_out_row_ <= output->height); assert 700 third_party/libwebp/dec/vp8l.c assert(dec->last_row_ <= dec->height_); assert 742 third_party/libwebp/dec/vp8l.c assert(htree_group != NULL); assert 743 third_party/libwebp/dec/vp8l.c assert(pos < end); assert 744 third_party/libwebp/dec/vp8l.c assert(last_row <= height); assert 745 third_party/libwebp/dec/vp8l.c assert(Is8bOptimizable(hdr)); assert 833 third_party/libwebp/dec/vp8l.c assert(htree_group != NULL); assert 834 third_party/libwebp/dec/vp8l.c assert(src < src_end); assert 835 third_party/libwebp/dec/vp8l.c assert(src_last <= src_end); assert 904 third_party/libwebp/dec/vp8l.c assert(color_cache != NULL); assert 985 third_party/libwebp/dec/vp8l.c assert(dec->next_transform_ <= NUM_TRANSFORMS); assert 1012 third_party/libwebp/dec/vp8l.c assert(0); // can't happen assert 1023 third_party/libwebp/dec/vp8l.c assert(hdr); assert 1028 third_party/libwebp/dec/vp8l.c assert(hdr); assert 1173 third_party/libwebp/dec/vp8l.c assert(data == NULL); assert 1174 third_party/libwebp/dec/vp8l.c assert(is_level0); assert 1194 third_party/libwebp/dec/vp8l.c assert(dec->width_ <= final_width); assert 1244 third_party/libwebp/dec/vp8l.c assert(alph_dec != NULL); assert 1295 third_party/libwebp/dec/vp8l.c assert(dec != NULL); assert 1296 third_party/libwebp/dec/vp8l.c assert(dec->action_ == READ_DATA); assert 1297 third_party/libwebp/dec/vp8l.c assert(last_row <= dec->height_); assert 1339 third_party/libwebp/dec/vp8l.c assert(dec->status_ != VP8_STATUS_OK); assert 1351 third_party/libwebp/dec/vp8l.c assert(io != NULL); assert 1353 third_party/libwebp/dec/vp8l.c assert(params != NULL); assert 1355 third_party/libwebp/dec/vp8l.c assert(dec->output_ != NULL); assert 1381 third_party/libwebp/dec/vp8l.c assert(dec->status_ != VP8_STATUS_OK); assert 63 third_party/libwebp/dec/webp.c assert(data != NULL); assert 64 third_party/libwebp/dec/webp.c assert(data_size != NULL); assert 65 third_party/libwebp/dec/webp.c assert(riff_size != NULL); assert 102 third_party/libwebp/dec/webp.c assert(data != NULL); assert 103 third_party/libwebp/dec/webp.c assert(data_size != NULL); assert 104 third_party/libwebp/dec/webp.c assert(found_vp8x != NULL); assert 159 third_party/libwebp/dec/webp.c assert(data != NULL); assert 160 third_party/libwebp/dec/webp.c assert(data_size != NULL); assert 164 third_party/libwebp/dec/webp.c assert(alpha_data != NULL); assert 165 third_party/libwebp/dec/webp.c assert(alpha_size != NULL); assert 236 third_party/libwebp/dec/webp.c assert(data != NULL); assert 237 third_party/libwebp/dec/webp.c assert(data_size != NULL); assert 238 third_party/libwebp/dec/webp.c assert(chunk_size != NULL); assert 239 third_party/libwebp/dec/webp.c assert(is_lossless != NULL); assert 399 third_party/libwebp/dec/webp.c assert((uint64_t)(data - headers->data) < MAX_CHUNK_PAYLOAD); assert 400 third_party/libwebp/dec/webp.c assert(headers->offset == headers->data_size - data_size); assert 408 third_party/libwebp/dec/webp.c assert(headers != NULL); assert 448 third_party/libwebp/dec/webp.c assert(params != NULL); assert 652 third_party/libwebp/dec/webp.c assert(buf->u_stride == buf->v_stride); assert 658 third_party/libwebp/dec/webp.c assert(features != NULL); assert 854 third_party/libwebp/demux/demux.c assert(first_frame != NULL); assert 660 third_party/libwebp/dsp/enc.c assert(mtx->sharpen_[j] == 0); assert 335 third_party/libwebp/dsp/lossless.c assert(v >= LOG_LOOKUP_IDX_MAX); assert 350 third_party/libwebp/dsp/lossless.c assert(v >= LOG_LOOKUP_IDX_MAX); assert 1172 third_party/libwebp/dsp/lossless.c assert(row_start < row_end); assert 1173 third_party/libwebp/dsp/lossless.c assert(row_end <= transform->ysize_); assert 1370 third_party/libwebp/dsp/lossless.c assert(0); // Code flow should not reach here. assert 46 third_party/libwebp/dsp/upsampling.c assert(top_y != NULL); \ assert 170 third_party/libwebp/dsp/upsampling.c assert(top_dst != NULL); \ assert 198 third_party/libwebp/dsp/upsampling_neon.c assert(top_y != NULL); \ assert 142 third_party/libwebp/dsp/upsampling_sse2.c assert(top_y != NULL); \ assert 163 third_party/libwebp/dsp/upsampling_sse2.c assert(left_over > 0); \ assert 84 third_party/libwebp/enc/alpha.c assert(config.quality >= 0 && config.quality <= 100.f); assert 120 third_party/libwebp/enc/alpha.c assert((uint64_t)data_size == (uint64_t)width * height); // as per spec assert 121 third_party/libwebp/enc/alpha.c assert(filter >= 0 && filter < WEBP_FILTER_LAST); assert 122 third_party/libwebp/enc/alpha.c assert(method >= ALPHA_NO_COMPRESSION); assert 123 third_party/libwebp/enc/alpha.c assert(method <= ALPHA_LOSSLESS_COMPRESSION); assert 124 third_party/libwebp/enc/alpha.c assert(sizeof(header) == ALPHA_HEADER_LEN); assert 281 third_party/libwebp/enc/alpha.c assert((uint64_t)data_size == (uint64_t)width * height); // as per spec assert 282 third_party/libwebp/enc/alpha.c assert(enc != NULL && pic != NULL && pic->a != NULL); assert 283 third_party/libwebp/enc/alpha.c assert(output != NULL && output_size != NULL); assert 284 third_party/libwebp/enc/alpha.c assert(width > 0 && height > 0); assert 285 third_party/libwebp/enc/alpha.c assert(pic->a_stride >= width); assert 286 third_party/libwebp/enc/alpha.c assert(filter >= WEBP_FILTER_NONE && filter <= WEBP_FILTER_FAST); assert 34 third_party/libwebp/enc/analysis.c assert((uint64_t)(w * h) == (uint64_t)w * h); // no overflow, as per spec assert 90 third_party/libwebp/enc/analysis.c assert(mid <= max && mid >= min); assert 153 third_party/libwebp/enc/analysis.c assert(nb >= 1); assert 164 third_party/libwebp/enc/analysis.c assert(n < 2 * nb); assert 97 third_party/libwebp/enc/backward_references.c assert(refs != NULL); assert 155 third_party/libwebp/enc/backward_references.c assert(xsize > 0); assert 178 third_party/libwebp/enc/backward_references.c assert(xsize > 0); assert 658 third_party/libwebp/enc/backward_references.c assert(len == max_len); assert 687 third_party/libwebp/enc/backward_references.c assert(size <= refs->max_size); assert 857 third_party/libwebp/enc/backward_references.c assert(pixel_index == xsize * ysize); assert 61 third_party/libwebp/enc/backward_references.h assert(idx >= 0); assert 62 third_party/libwebp/enc/backward_references.h assert(idx < (1 << MAX_COLOR_CACHE_BITS)); assert 91 third_party/libwebp/enc/backward_references.h assert(p->mode == kLiteral); assert 100 third_party/libwebp/enc/backward_references.h assert(p->mode == kLiteral); assert 105 third_party/libwebp/enc/backward_references.h assert(p->mode == kCacheIdx); assert 106 third_party/libwebp/enc/backward_references.h assert(p->argb_or_distance < (1U << MAX_COLOR_CACHE_BITS)); assert 111 third_party/libwebp/enc/backward_references.h assert(p->mode == kCopy); assert 60 third_party/libwebp/enc/filter.c assert(sharpness >= 0 && sharpness <= 7); assert 225 third_party/libwebp/enc/frame.c assert(nb <= total); assert 362 third_party/libwebp/enc/frame.c assert(v != 0); assert 971 third_party/libwebp/enc/frame.c assert(enc->num_parts_ == 1); assert 972 third_party/libwebp/enc/frame.c assert(enc->use_tokens_); assert 973 third_party/libwebp/enc/frame.c assert(proba->use_skip_proba_ == 0); assert 974 third_party/libwebp/enc/frame.c assert(rd_opt >= RD_OPT_BASIC); // otherwise, token-buffer won't be useful assert 975 third_party/libwebp/enc/frame.c assert(num_pass_left > 0); assert 340 third_party/libwebp/enc/histogram.c assert(histo_bits > 0); assert 377 third_party/libwebp/enc/histogram.c assert(in->size <= out->size); assert 168 third_party/libwebp/enc/picture.c assert(src != NULL && dst != NULL); assert 787 third_party/libwebp/enc/picture.c assert(step >= 4); assert 788 third_party/libwebp/enc/picture.c assert(picture->a != NULL); assert 832 third_party/libwebp/enc/picture.c assert(step >= 4); assert 375 third_party/libwebp/enc/quant.c assert(expn > 0.); assert 43 third_party/libwebp/enc/syntax.c assert(riff_size == (uint32_t)riff_size); assert 58 third_party/libwebp/enc/syntax.c assert(IsVP8XNeeded(enc)); assert 59 third_party/libwebp/enc/syntax.c assert(pic->width >= 1 && pic->height >= 1); assert 60 third_party/libwebp/enc/syntax.c assert(pic->width <= MAX_CANVAS_SIZE && pic->height <= MAX_CANVAS_SIZE); assert 82 third_party/libwebp/enc/syntax.c assert(enc->has_alpha_); assert 107 third_party/libwebp/enc/syntax.c assert(vp8_size == (uint32_t)vp8_size); assert 279 third_party/libwebp/enc/syntax.c assert(enc->use_layer_); assert 82 third_party/libwebp/enc/token.c assert(proba_idx < FIXED_PROBA_BIT); assert 83 third_party/libwebp/enc/token.c assert(bit == 0 || bit == 1); assert 93 third_party/libwebp/enc/token.c assert(proba < 256); assert 94 third_party/libwebp/enc/token.c assert(bit == 0 || bit == 1); assert 38 third_party/libwebp/enc/vp8l.c assert(a != b); assert 144 third_party/libwebp/enc/vp8l.c assert(pic != NULL && pic->argb != NULL); assert 358 third_party/libwebp/enc/vp8l.c assert(trimmed_length >= 2); assert 484 third_party/libwebp/enc/vp8l.c assert(histogram_image->size == 1); assert 531 third_party/libwebp/enc/vp8l.c assert(histogram_bits >= MIN_HUFFMAN_BITS); assert 532 third_party/libwebp/enc/vp8l.c assert(histogram_bits <= MAX_HUFFMAN_BITS); assert 683 third_party/libwebp/enc/vp8l.c assert(pred_bits >= 2); assert 704 third_party/libwebp/enc/vp8l.c assert(ccolor_transform_bits >= 2); assert 733 third_party/libwebp/enc/vp8l.c assert(width < WEBP_MAX_DIMENSION && height < WEBP_MAX_DIMENSION); assert 900 third_party/libwebp/enc/vp8l.c assert(palette_size >= 1); assert 241 third_party/libwebp/enc/webpenc.c assert(mem <= (uint8_t*)enc + size); assert 316 third_party/libwebp/enc/webpenc.c assert((int)error < VP8_ENC_ERROR_LAST); assert 317 third_party/libwebp/enc/webpenc.c assert((int)error >= VP8_ENC_OK); assert 28 third_party/libwebp/utils/alpha_processing.c assert(v <= 255); // <- 24bit precision is enough to ensure that. assert 27 third_party/libwebp/utils/bit_reader.c assert(br != NULL); assert 28 third_party/libwebp/utils/bit_reader.c assert(start != NULL); assert 29 third_party/libwebp/utils/bit_reader.c assert(start <= end); assert 73 third_party/libwebp/utils/bit_reader.c assert(br != NULL && br->buf_ != NULL); assert 127 third_party/libwebp/utils/bit_reader.c assert(br != NULL); assert 128 third_party/libwebp/utils/bit_reader.c assert(start != NULL); assert 129 third_party/libwebp/utils/bit_reader.c assert(length < 0xfffffff8u); // can't happen with a RIFF chunk. assert 146 third_party/libwebp/utils/bit_reader.c assert(br != NULL); assert 147 third_party/libwebp/utils/bit_reader.c assert(buf != NULL); assert 148 third_party/libwebp/utils/bit_reader.c assert(len < 0xfffffff8u); // can't happen with a RIFF chunk. assert 185 third_party/libwebp/utils/bit_reader.c assert(n_bits >= 0); assert 152 third_party/libwebp/utils/bit_reader.h assert(br != NULL && br->buf_ != NULL); assert 254 third_party/libwebp/utils/bit_reader.h assert(br->range_ < (range_t)128); assert 43 third_party/libwebp/utils/bit_writer.c assert(bw->buf_ != NULL); assert 55 third_party/libwebp/utils/bit_writer.c assert(bw->nb_bits_ >= 0); assert 179 third_party/libwebp/utils/bit_writer.c assert(data); assert 266 third_party/libwebp/utils/bit_writer.c assert(n_bits <= 25); assert 24 third_party/libwebp/utils/color_cache.c assert(cc != NULL); assert 25 third_party/libwebp/utils/color_cache.c assert(hash_bits > 0); assert 34 third_party/libwebp/utils/color_cache.h assert(key <= (~0U >> cc->hash_shift_)); assert 23 third_party/libwebp/utils/filters.c assert(in != NULL); \ assert 24 third_party/libwebp/utils/filters.c assert(out != NULL); \ assert 25 third_party/libwebp/utils/filters.c assert(width > 0); \ assert 26 third_party/libwebp/utils/filters.c assert(height > 0); \ assert 27 third_party/libwebp/utils/filters.c assert(stride >= width); \ assert 28 third_party/libwebp/utils/filters.c assert(row >= 0 && num_rows > 0 && row + num_rows <= height); \ assert 43 third_party/libwebp/utils/huffman.c assert(children - node == (int)(children - node)); assert 50 third_party/libwebp/utils/huffman.c assert(tree != NULL); assert 56 third_party/libwebp/utils/huffman.c assert(tree->max_nodes_ < (1 << 16)); // limit for the lut_jump_ table assert 85 third_party/libwebp/utils/huffman.c assert(code_lengths != NULL); assert 86 third_party/libwebp/utils/huffman.c assert(code_lengths_size > 0); assert 87 third_party/libwebp/utils/huffman.c assert(huff_codes != NULL); assert 129 third_party/libwebp/utils/huffman.c assert(num_bits <= 8); // Not a hard requirement, just for coherency. assert 147 third_party/libwebp/utils/huffman.c assert(num_bits <= 8); assert 159 third_party/libwebp/utils/huffman.c assert(symbol == (int16_t)symbol); assert 203 third_party/libwebp/utils/huffman.c assert(tree != NULL); assert 204 third_party/libwebp/utils/huffman.c assert(code_lengths != NULL); assert 263 third_party/libwebp/utils/huffman.c assert(tree != NULL); assert 264 third_party/libwebp/utils/huffman.c assert(code_lengths != NULL); assert 265 third_party/libwebp/utils/huffman.c assert(codes != NULL); assert 266 third_party/libwebp/utils/huffman.c assert(symbols != NULL); assert 143 third_party/libwebp/utils/huffman_encode.c assert(t1->value_ != t2->value_); assert 209 third_party/libwebp/utils/huffman_encode.c assert(tree_size_orig <= (1 << (tree_depth_limit - 1))); assert 285 third_party/libwebp/utils/huffman_encode.c assert(value <= MAX_ALLOWED_CODE_LENGTH); assert 354 third_party/libwebp/utils/huffman_encode.c assert(tokens != NULL); assert 368 third_party/libwebp/utils/huffman_encode.c assert(tokens <= ending_token); assert 402 third_party/libwebp/utils/huffman_encode.c assert(tree != NULL); assert 406 third_party/libwebp/utils/huffman_encode.c assert(code_length <= MAX_ALLOWED_CODE_LENGTH); assert 71 third_party/libwebp/utils/quant_levels.c assert(inv_q_level[0] == min_s); assert 72 third_party/libwebp/utils/quant_levels.c assert(inv_q_level[num_levels - 1] == max_s); assert 42 third_party/libwebp/utils/random.h assert(num_bits + VP8_RANDOM_DITHER_FIX <= 31); assert 185 third_party/libwebp/utils/thread.c assert(worker->status_ <= OK); assert 208 third_party/libwebp/utils/thread.c assert(!ok || (worker->status_ == OK)); assert 237 third_party/libwebp/utils/thread.c assert(worker->status_ == NOT_OK); assert 31 third_party/libwebp/utils/utils.c assert(nmemb * size > 0); assert 37 third_party/libwebp/utils/utils.c assert(nmemb * size > 0); assert 61 third_party/libwebp/utils/utils.h assert(val < (1 << 16)); assert 67 third_party/libwebp/utils/utils.h assert(val < (1 << 24)); assert 1202 third_party/libxml/src/trio.c assert((arglist != NULL) ^ (argarray != NULL)); assert 2184 third_party/libxml/src/trio.c assert(VALID(self)); assert 2185 third_party/libxml/src/trio.c assert(VALID(self->OutStream)); assert 2186 third_party/libxml/src/trio.c assert(((base >= MIN_BASE) && (base <= MAX_BASE)) || (base == NO_BASE)); assert 2428 third_party/libxml/src/trio.c assert(VALID(self)); assert 2429 third_party/libxml/src/trio.c assert(VALID(self->OutStream)); assert 2534 third_party/libxml/src/trio.c assert(VALID(self)); assert 2535 third_party/libxml/src/trio.c assert(VALID(self->OutStream)); assert 2642 third_party/libxml/src/trio.c assert(VALID(self)); assert 2643 third_party/libxml/src/trio.c assert(VALID(self->OutStream)); assert 2644 third_party/libxml/src/trio.c assert(((base >= MIN_BASE) && (base <= MAX_BASE)) || (base == NO_BASE)); assert 3418 third_party/libxml/src/trio.c assert(VALID(OutStream)); assert 3419 third_party/libxml/src/trio.c assert(VALID(format)); assert 3457 third_party/libxml/src/trio.c assert(VALID(self)); assert 3458 third_party/libxml/src/trio.c assert(VALID(self->location)); assert 3484 third_party/libxml/src/trio.c assert(VALID(self)); assert 3511 third_party/libxml/src/trio.c assert(VALID(self)); assert 3512 third_party/libxml/src/trio.c assert(VALID(self->location)); assert 3544 third_party/libxml/src/trio.c assert(VALID(self)); assert 3545 third_party/libxml/src/trio.c assert(VALID(self->location)); assert 3565 third_party/libxml/src/trio.c assert(VALID(self)); assert 3566 third_party/libxml/src/trio.c assert(VALID(self->location)); assert 3588 third_party/libxml/src/trio.c assert(VALID(self)); assert 3589 third_party/libxml/src/trio.c assert(VALID(self->location)); assert 3634 third_party/libxml/src/trio.c assert(VALID(format)); assert 3655 third_party/libxml/src/trio.c assert(VALID(format)); assert 3673 third_party/libxml/src/trio.c assert(VALID(format)); assert 3700 third_party/libxml/src/trio.c assert(VALID(file)); assert 3701 third_party/libxml/src/trio.c assert(VALID(format)); assert 3724 third_party/libxml/src/trio.c assert(VALID(file)); assert 3725 third_party/libxml/src/trio.c assert(VALID(format)); assert 3745 third_party/libxml/src/trio.c assert(VALID(file)); assert 3746 third_party/libxml/src/trio.c assert(VALID(format)); assert 3773 third_party/libxml/src/trio.c assert(VALID(format)); assert 3796 third_party/libxml/src/trio.c assert(VALID(format)); assert 3816 third_party/libxml/src/trio.c assert(VALID(format)); assert 3836 third_party/libxml/src/trio.c assert(VALID(stream)); assert 3837 third_party/libxml/src/trio.c assert(VALID(format)); assert 3857 third_party/libxml/src/trio.c assert(VALID(stream)); assert 3858 third_party/libxml/src/trio.c assert(VALID(format)); assert 3875 third_party/libxml/src/trio.c assert(VALID(stream)); assert 3876 third_party/libxml/src/trio.c assert(VALID(format)); assert 3905 third_party/libxml/src/trio.c assert(VALID(buffer)); assert 3906 third_party/libxml/src/trio.c assert(VALID(format)); assert 3932 third_party/libxml/src/trio.c assert(VALID(buffer)); assert 3933 third_party/libxml/src/trio.c assert(VALID(format)); assert 3957 third_party/libxml/src/trio.c assert(VALID(buffer)); assert 3958 third_party/libxml/src/trio.c assert(VALID(format)); assert 3989 third_party/libxml/src/trio.c assert(VALID(buffer)); assert 3990 third_party/libxml/src/trio.c assert(VALID(format)); assert 4020 third_party/libxml/src/trio.c assert(VALID(buffer)); assert 4021 third_party/libxml/src/trio.c assert(VALID(format)); assert 4049 third_party/libxml/src/trio.c assert(VALID(buffer)); assert 4050 third_party/libxml/src/trio.c assert(VALID(format)); assert 4078 third_party/libxml/src/trio.c assert(VALID(buffer)); assert 4079 third_party/libxml/src/trio.c assert(VALID(format)); assert 4102 third_party/libxml/src/trio.c assert(VALID(buffer)); assert 4103 third_party/libxml/src/trio.c assert(VALID(format)); assert 4128 third_party/libxml/src/trio.c assert(VALID(format)); assert 4155 third_party/libxml/src/trio.c assert(VALID(format)); assert 4180 third_party/libxml/src/trio.c assert(VALID(format)); assert 4215 third_party/libxml/src/trio.c assert(VALID(format)); assert 4346 third_party/libxml/src/trio.c assert(VALID(self)); assert 4378 third_party/libxml/src/trio.c assert(((trio_reference_t *)ref)->parameter->type == FORMAT_USER_DEFINED); assert 4393 third_party/libxml/src/trio.c assert(((trio_reference_t *)ref)->parameter->type == FORMAT_USER_DEFINED); assert 4926 third_party/libxml/src/trio.c assert(VALID(format)); assert 4944 third_party/libxml/src/trio.c assert(VALID(format)); assert 4959 third_party/libxml/src/trio.c assert(VALID(format)); assert 5436 third_party/libxml/src/trio.c assert(VALID(self)); assert 5437 third_party/libxml/src/trio.c assert(VALID(self->InStream)); assert 5438 third_party/libxml/src/trio.c assert((base >= MIN_BASE && base <= MAX_BASE) || (base == NO_BASE)); assert 5562 third_party/libxml/src/trio.c assert(VALID(self)); assert 5563 third_party/libxml/src/trio.c assert(VALID(self->InStream)); assert 5626 third_party/libxml/src/trio.c assert(VALID(self)); assert 5627 third_party/libxml/src/trio.c assert(VALID(self->InStream)); assert 5667 third_party/libxml/src/trio.c assert(VALID(self)); assert 5668 third_party/libxml/src/trio.c assert(VALID(self->InStream)); assert 5724 third_party/libxml/src/trio.c assert(VALID(self)); assert 5725 third_party/libxml/src/trio.c assert(VALID(self->InStream)); assert 5771 third_party/libxml/src/trio.c assert(VALID(self)); assert 5772 third_party/libxml/src/trio.c assert(VALID(self->InStream)); assert 6380 third_party/libxml/src/trio.c assert(VALID(InStream)); assert 6381 third_party/libxml/src/trio.c assert(VALID(format)); assert 6419 third_party/libxml/src/trio.c assert(VALID(self)); assert 6420 third_party/libxml/src/trio.c assert(VALID(file)); assert 6454 third_party/libxml/src/trio.c assert(VALID(self)); assert 6489 third_party/libxml/src/trio.c assert(VALID(self)); assert 6490 third_party/libxml/src/trio.c assert(VALID(self->location)); assert 6525 third_party/libxml/src/trio.c assert(VALID(self)); assert 6526 third_party/libxml/src/trio.c assert(VALID(self->location)); assert 6580 third_party/libxml/src/trio.c assert(VALID(format)); assert 6596 third_party/libxml/src/trio.c assert(VALID(format)); assert 6609 third_party/libxml/src/trio.c assert(VALID(format)); assert 6629 third_party/libxml/src/trio.c assert(VALID(file)); assert 6630 third_party/libxml/src/trio.c assert(VALID(format)); assert 6647 third_party/libxml/src/trio.c assert(VALID(file)); assert 6648 third_party/libxml/src/trio.c assert(VALID(format)); assert 6662 third_party/libxml/src/trio.c assert(VALID(file)); assert 6663 third_party/libxml/src/trio.c assert(VALID(format)); assert 6683 third_party/libxml/src/trio.c assert(VALID(format)); assert 6700 third_party/libxml/src/trio.c assert(VALID(format)); assert 6714 third_party/libxml/src/trio.c assert(VALID(format)); assert 6736 third_party/libxml/src/trio.c assert(VALID(stream)); assert 6737 third_party/libxml/src/trio.c assert(VALID(format)); assert 6757 third_party/libxml/src/trio.c assert(VALID(stream)); assert 6758 third_party/libxml/src/trio.c assert(VALID(format)); assert 6775 third_party/libxml/src/trio.c assert(VALID(stream)); assert 6776 third_party/libxml/src/trio.c assert(VALID(format)); assert 6796 third_party/libxml/src/trio.c assert(VALID(buffer)); assert 6797 third_party/libxml/src/trio.c assert(VALID(format)); assert 6814 third_party/libxml/src/trio.c assert(VALID(buffer)); assert 6815 third_party/libxml/src/trio.c assert(VALID(format)); assert 6829 third_party/libxml/src/trio.c assert(VALID(buffer)); assert 6830 third_party/libxml/src/trio.c assert(VALID(format)); assert 185 third_party/libxml/src/triostr.c assert(target); assert 186 third_party/libxml/src/triostr.c assert(source); assert 217 third_party/libxml/src/triostr.c assert(target); assert 218 third_party/libxml/src/triostr.c assert(source); assert 245 third_party/libxml/src/triostr.c assert(string); assert 246 third_party/libxml/src/triostr.c assert(substring); assert 273 third_party/libxml/src/triostr.c assert(target); assert 274 third_party/libxml/src/triostr.c assert(source); assert 303 third_party/libxml/src/triostr.c assert(target); assert 304 third_party/libxml/src/triostr.c assert(source); assert 305 third_party/libxml/src/triostr.c assert(max > 0); /* Includes != 0 */ assert 324 third_party/libxml/src/triostr.c assert(source); assert 371 third_party/libxml/src/triostr.c assert(source); assert 372 third_party/libxml/src/triostr.c assert(max > 0); assert 399 third_party/libxml/src/triostr.c assert(first); assert 400 third_party/libxml/src/triostr.c assert(second); assert 438 third_party/libxml/src/triostr.c assert(first); assert 439 third_party/libxml/src/triostr.c assert(second); assert 467 third_party/libxml/src/triostr.c assert(first); assert 468 third_party/libxml/src/triostr.c assert(second); assert 494 third_party/libxml/src/triostr.c assert(first); assert 495 third_party/libxml/src/triostr.c assert(second); assert 522 third_party/libxml/src/triostr.c assert(first); assert 523 third_party/libxml/src/triostr.c assert(second); assert 602 third_party/libxml/src/triostr.c assert(target); assert 603 third_party/libxml/src/triostr.c assert(format); assert 604 third_party/libxml/src/triostr.c assert(datetime); assert 605 third_party/libxml/src/triostr.c assert(max > 0); assert 632 third_party/libxml/src/triostr.c assert(string); assert 644 third_party/libxml/src/triostr.c assert(FALSE); assert 666 third_party/libxml/src/triostr.c assert(string); assert 687 third_party/libxml/src/triostr.c assert(string); assert 706 third_party/libxml/src/triostr.c assert(target); assert 733 third_party/libxml/src/triostr.c assert(string); assert 734 third_party/libxml/src/triostr.c assert(pattern); assert 786 third_party/libxml/src/triostr.c assert(string); assert 787 third_party/libxml/src/triostr.c assert(pattern); assert 837 third_party/libxml/src/triostr.c assert(target); assert 838 third_party/libxml/src/triostr.c assert(source); assert 839 third_party/libxml/src/triostr.c assert(Function); assert 866 third_party/libxml/src/triostr.c assert(string); assert 867 third_party/libxml/src/triostr.c assert(substring); assert 895 third_party/libxml/src/triostr.c assert(string); assert 896 third_party/libxml/src/triostr.c assert(substring); assert 931 third_party/libxml/src/triostr.c assert(delimiters); assert 1147 third_party/libxml/src/triostr.c assert(string); assert 1148 third_party/libxml/src/triostr.c assert((base >= 2) && (base <= 36)); assert 1196 third_party/libxml/src/triostr.c assert(string); assert 1197 third_party/libxml/src/triostr.c assert((base >= 2) && (base <= 36)); assert 1241 third_party/libxml/src/triostr.c assert(target); assert 1378 third_party/libxml/src/triostr.c assert(self); assert 1411 third_party/libxml/src/triostr.c assert(self); assert 1457 third_party/libxml/src/triostr.c assert(self); assert 1487 third_party/libxml/src/triostr.c assert(self); assert 1503 third_party/libxml/src/triostr.c assert(self); assert 1537 third_party/libxml/src/triostr.c assert(self); assert 1538 third_party/libxml/src/triostr.c assert(other); assert 1565 third_party/libxml/src/triostr.c assert(self); assert 1566 third_party/libxml/src/triostr.c assert(other); assert 1590 third_party/libxml/src/triostr.c assert(self); assert 1620 third_party/libxml/src/triostr.c assert(self); assert 1621 third_party/libxml/src/triostr.c assert(other); assert 1638 third_party/libxml/src/triostr.c assert(self); assert 1639 third_party/libxml/src/triostr.c assert(other); assert 1656 third_party/libxml/src/triostr.c assert(self); assert 1657 third_party/libxml/src/triostr.c assert(other); assert 1675 third_party/libxml/src/triostr.c assert(self); assert 1676 third_party/libxml/src/triostr.c assert(other); assert 1695 third_party/libxml/src/triostr.c assert(other); assert 1726 third_party/libxml/src/triostr.c assert(other); assert 1756 third_party/libxml/src/triostr.c assert(self); assert 1757 third_party/libxml/src/triostr.c assert(other); assert 1774 third_party/libxml/src/triostr.c assert(self); assert 1775 third_party/libxml/src/triostr.c assert(other); assert 1793 third_party/libxml/src/triostr.c assert(self); assert 1794 third_party/libxml/src/triostr.c assert(other); assert 1812 third_party/libxml/src/triostr.c assert(self); assert 1813 third_party/libxml/src/triostr.c assert(other); assert 1830 third_party/libxml/src/triostr.c assert(self); assert 1831 third_party/libxml/src/triostr.c assert(other); assert 1848 third_party/libxml/src/triostr.c assert(self); assert 1849 third_party/libxml/src/triostr.c assert(other); assert 1867 third_party/libxml/src/triostr.c assert(self); assert 1868 third_party/libxml/src/triostr.c assert(other); assert 1886 third_party/libxml/src/triostr.c assert(self); assert 1887 third_party/libxml/src/triostr.c assert(other); assert 1906 third_party/libxml/src/triostr.c assert(self); assert 1923 third_party/libxml/src/triostr.c assert(self); assert 1940 third_party/libxml/src/triostr.c assert(self); assert 1956 third_party/libxml/src/triostr.c assert(self); assert 1976 third_party/libxml/src/triostr.c assert(self); assert 1993 third_party/libxml/src/triostr.c assert(self); assert 1994 third_party/libxml/src/triostr.c assert(other); assert 2011 third_party/libxml/src/triostr.c assert(self); assert 2012 third_party/libxml/src/triostr.c assert(other); assert 2029 third_party/libxml/src/triostr.c assert(self); assert 2030 third_party/libxml/src/triostr.c assert(other); assert 2047 third_party/libxml/src/triostr.c assert(self); assert 2048 third_party/libxml/src/triostr.c assert(other); assert 2065 third_party/libxml/src/triostr.c assert(self); assert 2066 third_party/libxml/src/triostr.c assert(other); assert 2083 third_party/libxml/src/triostr.c assert(self); assert 2084 third_party/libxml/src/triostr.c assert(other); assert 2100 third_party/libxml/src/triostr.c assert(self); assert 3072 third_party/libxml/src/xmllint.c assert(node->_private != NULL); assert 3073 third_party/libxml/src/xmllint.c assert(*(long*)node->_private == (long) 0x81726354); assert 35 third_party/mach_override/libudis86/udint.h # define UD_ASSERT(_x) assert(_x) assert 182 third_party/mach_override/mach_override.c assert( originalFunctionAddress ); assert 183 third_party/mach_override/mach_override.c assert( overrideFunctionAddress ); assert 391 third_party/mach_override/mach_override.c assert( island ); assert 399 third_party/mach_override/mach_override.c assert( sizeof( BranchIsland ) <= pageSize ); assert 467 third_party/mach_override/mach_override.c assert( island ); assert 468 third_party/mach_override/mach_override.c assert( (*(long*)&island->instructions[0]) == kIslandTemplate[0] ); assert 469 third_party/mach_override/mach_override.c assert( island->allocatedHigh ); assert 477 third_party/mach_override/mach_override.c assert( sizeof( BranchIsland ) <= pageSize ); assert 399 third_party/npapi/npspy/common/logger.cpp assert(0); assert 39 third_party/npapi/npspy/extern/nspr/md/_os2_errors.h #ifndef assert assert 428 third_party/protobuf/java/src/main/java/com/google/protobuf/ByteString.java assert length >= 1; assert 1638 third_party/protobuf/java/src/main/java/com/google/protobuf/Descriptors.java assert false; assert 3616 third_party/protobuf/src/google/protobuf/descriptor.pb.h assert(::google::protobuf::FieldDescriptorProto_Label_IsValid(value)); assert 3639 third_party/protobuf/src/google/protobuf/descriptor.pb.h assert(::google::protobuf::FieldDescriptorProto_Type_IsValid(value)); assert 4780 third_party/protobuf/src/google/protobuf/descriptor.pb.h assert(::google::protobuf::FileOptions_OptimizeMode_IsValid(value)); assert 5041 third_party/protobuf/src/google/protobuf/descriptor.pb.h assert(::google::protobuf::FieldOptions_CType_IsValid(value)); assert 359 third_party/protobuf/src/google/protobuf/stubs/common.h assert(f == NULL || dynamic_cast<To>(f) != NULL); // RTTI: debug mode only! assert 493 third_party/protobuf/src/google/protobuf/stubs/common.h assert(ptr_ != NULL); assert 497 third_party/protobuf/src/google/protobuf/stubs/common.h assert(ptr_ != NULL); assert 580 third_party/protobuf/src/google/protobuf/stubs/common.h assert(i >= 0); assert 581 third_party/protobuf/src/google/protobuf/stubs/common.h assert(array_ != NULL); assert 286 third_party/protobuf/src/google/protobuf/stubs/strutil.cc assert('0' == 0x30 && 'A' == 0x41 && 'a' == 0x61); assert 287 third_party/protobuf/src/google/protobuf/stubs/strutil.cc assert(isxdigit(c)); assert 68 third_party/protobuf/src/google/protobuf/testing/zcgunzip.cc assert(err == inlen); assert 258 third_party/protobuf/src/google/protobuf/unknown_field_set.h assert(type_ == TYPE_VARINT); assert 262 third_party/protobuf/src/google/protobuf/unknown_field_set.h assert(type_ == TYPE_FIXED32); assert 266 third_party/protobuf/src/google/protobuf/unknown_field_set.h assert(type_ == TYPE_FIXED64); assert 270 third_party/protobuf/src/google/protobuf/unknown_field_set.h assert(type_ == TYPE_LENGTH_DELIMITED); assert 274 third_party/protobuf/src/google/protobuf/unknown_field_set.h assert(type_ == TYPE_GROUP); assert 279 third_party/protobuf/src/google/protobuf/unknown_field_set.h assert(type_ == TYPE_VARINT); assert 283 third_party/protobuf/src/google/protobuf/unknown_field_set.h assert(type_ == TYPE_FIXED32); assert 287 third_party/protobuf/src/google/protobuf/unknown_field_set.h assert(type_ == TYPE_FIXED64); assert 291 third_party/protobuf/src/google/protobuf/unknown_field_set.h assert(type_ == TYPE_LENGTH_DELIMITED); assert 295 third_party/protobuf/src/google/protobuf/unknown_field_set.h assert(type_ == TYPE_LENGTH_DELIMITED); assert 299 third_party/protobuf/src/google/protobuf/unknown_field_set.h assert(type_ == TYPE_GROUP); assert 829 third_party/qcms/src/chain.c assert(0 && "Unsupported output profile workflow."); assert 903 third_party/qcms/src/chain.c assert(0 && "input color space not supported"); assert 943 third_party/qcms/src/chain.c assert(0 && "output color space not supported"); assert 968 third_party/qcms/src/chain.c assert(0 && "Unsupported transform module"); assert 578 third_party/qcms/src/iccread.c assert (num_in_channels == 3); assert 686 third_party/qcms/src/iccread.c assert(0); // the caller checks that this doesn't happen assert 950 third_party/qcms/src/iccread.c assert(0 && "invalid temp"); assert 1089 third_party/qcms/src/iccread.c assert(0 && "read_color_space protects against entering here"); assert 1181 third_party/qcms/src/transform.c assert(0 && "output type"); assert 1200 third_party/qcms/src/transform.c assert(0 && "precacheLUT failed"); assert 1230 third_party/qcms/src/transform.c assert(0 && "input type"); assert 1302 third_party/qcms/src/transform.c assert(0 && "input type"); assert 1327 third_party/qcms/src/transform.c assert(0 && "unexpected colorspace"); assert 181 third_party/qcms/src/transform_util.c assert(0 && "invalid parametric function type."); assert 381 third_party/re2/re2/re2.cc assert(vec[0].begin() >= str->data()); assert 382 third_party/re2/re2/re2.cc assert(vec[0].end() <= str->data()+str->size()); assert 767 third_party/re2/re2/testing/re2_test.cc assert(buf[strlen(buf)-1] != '9'); assert 772 third_party/re2/re2/testing/re2_test.cc assert(buf[strlen(buf)-1] != '9'); assert 788 third_party/re2/re2/testing/re2_test.cc assert(buf[strlen(buf)-1] != '9'); assert 23 third_party/re2/util/arena.cc assert(block_size > kDefaultAlignment); assert 33 third_party/re2/util/arena.cc assert(overflow_blocks_ == NULL); // FreeBlocks() should do that assert 60 third_party/re2/util/arena.cc assert(!(reinterpret_cast<uintptr_t>(freestart_)&(kDefaultAlignment-1))); assert 105 third_party/re2/util/arena.cc assert(align > 0 && 0 == (align & (align - 1))); // must be power of 2 assert 111 third_party/re2/util/arena.cc assert(align <= kDefaultAlignment); // because that's what new gives us assert 136 third_party/re2/util/arena.cc assert((reinterpret_cast<uintptr_t>(last_alloc_) & (align-1)) == 0); assert 19 third_party/re2/util/logging.h #define DCHECK(condition) assert(condition) assert 20 third_party/re2/util/logging.h #define DCHECK_EQ(val1, val2) assert((val1) == (val2)) assert 21 third_party/re2/util/logging.h #define DCHECK_NE(val1, val2) assert((val1) != (val2)) assert 22 third_party/re2/util/logging.h #define DCHECK_LE(val1, val2) assert((val1) <= (val2)) assert 23 third_party/re2/util/logging.h #define DCHECK_LT(val1, val2) assert((val1) < (val2)) assert 24 third_party/re2/util/logging.h #define DCHECK_GE(val1, val2) assert((val1) >= (val2)) assert 25 third_party/re2/util/logging.h #define DCHECK_GT(val1, val2) assert((val1) > (val2)) assert 100 third_party/re2/util/mutex.h Mutex::~Mutex() { assert(mutex_ == 0); } assert 101 third_party/re2/util/mutex.h void Mutex::Lock() { assert(--mutex_ == -1); } assert 102 third_party/re2/util/mutex.h void Mutex::Unlock() { assert(mutex_++ == -1); } assert 104 third_party/re2/util/mutex.h void Mutex::ReaderLock() { assert(++mutex_ > 0); } assert 105 third_party/re2/util/mutex.h void Mutex::ReaderUnlock() { assert(mutex_-- > 0); } assert 343 third_party/re2/util/pcre.cc assert(vec[0] >= 0); assert 344 third_party/re2/util/pcre.cc assert(vec[1] >= 0); assert 386 third_party/re2/util/pcre.cc assert(matchstart >= start); assert 387 third_party/re2/util/pcre.cc assert(matchend >= matchstart); assert 565 third_party/re2/util/pcre.cc assert((1 + n) * 3 <= vecsize); // results + PCRE workspace assert 567 third_party/re2/util/pcre.cc assert(matches >= 0); // TryMatch never returns negatives assert 602 third_party/re2/util/pcre.cc assert(n >= 0); assert 10 third_party/simplejson/_speedups.c assert(endptr == NULL); assert 11 third_party/simplejson/_speedups.c assert(overflow_exception == NULL); assert 989 third_party/simplejson/_speedups.c assert(PyScanner_Check(self)); assert 1006 third_party/simplejson/_speedups.c assert(PyScanner_Check(self)); assert 1892 third_party/simplejson/_speedups.c assert(PyScanner_Check(self)); assert 1938 third_party/simplejson/_speedups.c assert(PyScanner_Check(self)); assert 2078 third_party/simplejson/_speedups.c assert(PyEncoder_Check(self)); assert 2129 third_party/simplejson/_speedups.c assert(PyEncoder_Check(self)); assert 2631 third_party/simplejson/_speedups.c assert(PyEncoder_Check(self)); assert 2651 third_party/simplejson/_speedups.c assert(PyEncoder_Check(self)); assert 514 third_party/sqlite/amalgamation/sqlite3.c # define ALWAYS(X) ((X)?1:(assert(0),0)) assert 515 third_party/sqlite/amalgamation/sqlite3.c # define NEVER(X) ((X)?(assert(0),1):0) assert 12670 third_party/sqlite/amalgamation/sqlite3.c assert( op>=0 && op<ArraySize(wsdStat.nowValue) ); assert 12680 third_party/sqlite/amalgamation/sqlite3.c assert( op>=0 && op<ArraySize(wsdStat.nowValue) ); assert 12692 third_party/sqlite/amalgamation/sqlite3.c assert( op>=0 && op<ArraySize(wsdStat.nowValue) ); assert 12747 third_party/sqlite/amalgamation/sqlite3.c assert( (op-SQLITE_DBSTATUS_LOOKASIDE_HIT)>=0 ); assert 12748 third_party/sqlite/amalgamation/sqlite3.c assert( (op-SQLITE_DBSTATUS_LOOKASIDE_HIT)<3 ); assert 14084 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK || pFile->pMethods==0 ); assert 14168 third_party/sqlite/amalgamation/sqlite3.c assert( pFile ); assert 14222 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MASTER)) ); assert 14259 third_party/sqlite/amalgamation/sqlite3.c assert(vfsList); assert 14466 third_party/sqlite/amalgamation/sqlite3.c assert( nByte>0 ); assert 14489 third_party/sqlite/amalgamation/sqlite3.c assert( pPrior!=0 ); assert 14518 third_party/sqlite/amalgamation/sqlite3.c assert( pPrior!=0 && nByte>0 ); assert 14519 third_party/sqlite/amalgamation/sqlite3.c assert( nByte==ROUND8(nByte) ); /* EV: R-46199-30249 */ assert 14720 third_party/sqlite/amalgamation/sqlite3.c assert( mem.nCurrent[i]>=0 ); assert 14738 third_party/sqlite/amalgamation/sqlite3.c assert( p->iForeGuard==(int)FOREGUARD ); assert 14742 third_party/sqlite/amalgamation/sqlite3.c assert( pInt[nReserve/sizeof(int)]==(int)REARGUARD ); assert 14747 third_party/sqlite/amalgamation/sqlite3.c while( nReserve-- > p->iSize ) assert( pU8[nReserve]==0x65 ); assert 14768 third_party/sqlite/amalgamation/sqlite3.c assert( (sizeof(struct MemBlockHdr)&7) == 0 ); assert 14829 third_party/sqlite/amalgamation/sqlite3.c assert( mem.disallow==0 ); assert 14854 third_party/sqlite/amalgamation/sqlite3.c assert(pBt[0]); assert 14883 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3GlobalConfig.bMemstat || sqlite3GlobalConfig.bCoreMutex==0 assert 14890 third_party/sqlite/amalgamation/sqlite3.c assert( pHdr->pPrev->pNext==pHdr ); assert 14893 third_party/sqlite/amalgamation/sqlite3.c assert( mem.pFirst==pHdr ); assert 14897 third_party/sqlite/amalgamation/sqlite3.c assert( pHdr->pNext->pPrev==pHdr ); assert 14900 third_party/sqlite/amalgamation/sqlite3.c assert( mem.pLast==pHdr ); assert 14924 third_party/sqlite/amalgamation/sqlite3.c assert( mem.disallow==0 ); assert 14925 third_party/sqlite/amalgamation/sqlite3.c assert( (nByte & 7)==0 ); /* EV: R-46199-30249 */ assert 14963 third_party/sqlite/amalgamation/sqlite3.c assert( pHdr->iForeGuard==FOREGUARD ); assert 14982 third_party/sqlite/amalgamation/sqlite3.c assert( pHdr->iForeGuard==FOREGUARD ); /* Allocation is valid */ assert 15004 third_party/sqlite/amalgamation/sqlite3.c assert( pHdr->iForeGuard==FOREGUARD ); /* Allocation is valid */ assert 15258 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(mem3.mutex) ); assert 15277 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(mem3.mutex) ); assert 15278 third_party/sqlite/amalgamation/sqlite3.c assert( (mem3.aPool[i-1].u.hdr.size4x & 1)==0 ); assert 15279 third_party/sqlite/amalgamation/sqlite3.c assert( i>=1 ); assert 15281 third_party/sqlite/amalgamation/sqlite3.c assert( size==mem3.aPool[i+size-1].u.hdr.prevSize ); assert 15282 third_party/sqlite/amalgamation/sqlite3.c assert( size>=2 ); assert 15296 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(mem3.mutex) ); assert 15311 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(mem3.mutex) ); assert 15312 third_party/sqlite/amalgamation/sqlite3.c assert( i>=1 ); assert 15313 third_party/sqlite/amalgamation/sqlite3.c assert( (mem3.aPool[i-1].u.hdr.size4x & 1)==0 ); assert 15315 third_party/sqlite/amalgamation/sqlite3.c assert( size==mem3.aPool[i+size-1].u.hdr.prevSize ); assert 15316 third_party/sqlite/amalgamation/sqlite3.c assert( size>=2 ); assert 15346 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(mem3.mutex) ); assert 15362 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(mem3.mutex) ); assert 15363 third_party/sqlite/amalgamation/sqlite3.c assert( i>=1 ); assert 15364 third_party/sqlite/amalgamation/sqlite3.c assert( mem3.aPool[i-1].u.hdr.size4x/4==nBlock ); assert 15365 third_party/sqlite/amalgamation/sqlite3.c assert( mem3.aPool[i+nBlock-1].u.hdr.prevSize==nBlock ); assert 15379 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(mem3.mutex) ); assert 15380 third_party/sqlite/amalgamation/sqlite3.c assert( mem3.szMaster>=nBlock ); assert 15392 third_party/sqlite/amalgamation/sqlite3.c assert( newi > mem3.iMaster+1 ); assert 15426 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(mem3.mutex) ); assert 15430 third_party/sqlite/amalgamation/sqlite3.c assert( (size&1)==0 ); assert 15433 third_party/sqlite/amalgamation/sqlite3.c assert( i > mem3.aPool[i-1].u.hdr.prevSize ); assert 15467 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(mem3.mutex) ); assert 15468 third_party/sqlite/amalgamation/sqlite3.c assert( sizeof(Mem3Block)==8 ); assert 15474 third_party/sqlite/amalgamation/sqlite3.c assert( nBlock>=2 ); assert 15548 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(mem3.mutex) ); assert 15549 third_party/sqlite/amalgamation/sqlite3.c assert( p>mem3.aPool && p<&mem3.aPool[mem3.nPool] ); assert 15551 third_party/sqlite/amalgamation/sqlite3.c assert( (mem3.aPool[i-1].u.hdr.size4x&1)==1 ); assert 15553 third_party/sqlite/amalgamation/sqlite3.c assert( i+size<=mem3.nPool+1 ); assert 15589 third_party/sqlite/amalgamation/sqlite3.c assert( (pBlock[-1].u.hdr.size4x&1)!=0 ); assert 15609 third_party/sqlite/amalgamation/sqlite3.c assert( nBytes>0 ); /* malloc.c filters out 0 byte requests */ assert 15620 third_party/sqlite/amalgamation/sqlite3.c assert( pPrior ); assert 15667 third_party/sqlite/amalgamation/sqlite3.c assert( sizeof(Mem3Block)==8 ); assert 15718 third_party/sqlite/amalgamation/sqlite3.c assert( 0 ); assert 15723 third_party/sqlite/amalgamation/sqlite3.c assert( 0 ); assert 15728 third_party/sqlite/amalgamation/sqlite3.c assert( 0 ); assert 15946 third_party/sqlite/amalgamation/sqlite3.c assert( i>=0 && i<mem5.nBlock ); assert 15947 third_party/sqlite/amalgamation/sqlite3.c assert( iLogsize>=0 && iLogsize<=LOGMAX ); assert 15948 third_party/sqlite/amalgamation/sqlite3.c assert( (mem5.aCtrl[i] & CTRL_LOGSIZE)==iLogsize ); assert 15968 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(mem5.mutex) ); assert 15969 third_party/sqlite/amalgamation/sqlite3.c assert( i>=0 && i<mem5.nBlock ); assert 15970 third_party/sqlite/amalgamation/sqlite3.c assert( iLogsize>=0 && iLogsize<=LOGMAX ); assert 15971 third_party/sqlite/amalgamation/sqlite3.c assert( (mem5.aCtrl[i] & CTRL_LOGSIZE)==iLogsize ); assert 15976 third_party/sqlite/amalgamation/sqlite3.c assert( x<mem5.nBlock ); assert 16003 third_party/sqlite/amalgamation/sqlite3.c assert( i>=0 && i<mem5.nBlock ); assert 16017 third_party/sqlite/amalgamation/sqlite3.c assert( iLogsize>=0 && iLogsize<=LOGMAX ); assert 16019 third_party/sqlite/amalgamation/sqlite3.c assert( iFirst>=0 ); assert 16045 third_party/sqlite/amalgamation/sqlite3.c assert( nByte>0 ); assert 16110 third_party/sqlite/amalgamation/sqlite3.c assert( iBlock>=0 && iBlock<mem5.nBlock ); assert 16111 third_party/sqlite/amalgamation/sqlite3.c assert( ((u8 *)pOld-mem5.zPool)%mem5.szAtom==0 ); assert 16112 third_party/sqlite/amalgamation/sqlite3.c assert( (mem5.aCtrl[iBlock] & CTRL_FREE)==0 ); assert 16116 third_party/sqlite/amalgamation/sqlite3.c assert( iBlock+size-1<(u32)mem5.nBlock ); assert 16120 third_party/sqlite/amalgamation/sqlite3.c assert( mem5.currentCount>0 ); assert 16121 third_party/sqlite/amalgamation/sqlite3.c assert( mem5.currentOut>=(size*mem5.szAtom) ); assert 16124 third_party/sqlite/amalgamation/sqlite3.c assert( mem5.currentOut>0 || mem5.currentCount==0 ); assert 16125 third_party/sqlite/amalgamation/sqlite3.c assert( mem5.currentCount>0 || mem5.currentOut==0 ); assert 16135 third_party/sqlite/amalgamation/sqlite3.c assert( iBuddy>=0 ); assert 16173 third_party/sqlite/amalgamation/sqlite3.c assert( pPrior!=0 ); assert 16194 third_party/sqlite/amalgamation/sqlite3.c assert( pPrior!=0 ); assert 16195 third_party/sqlite/amalgamation/sqlite3.c assert( (nBytes&(nBytes-1))==0 ); /* EV: R-46199-30249 */ assert 16196 third_party/sqlite/amalgamation/sqlite3.c assert( nBytes>=0 ); assert 16267 third_party/sqlite/amalgamation/sqlite3.c assert( (sizeof(Mem5Link)&(sizeof(Mem5Link)-1))==0 ); assert 16271 third_party/sqlite/amalgamation/sqlite3.c assert( zByte!=0 ); /* sqlite3_config() does not allow otherwise */ assert 16296 third_party/sqlite/amalgamation/sqlite3.c assert((iOffset+nAlloc)>mem5.nBlock); assert 16473 third_party/sqlite/amalgamation/sqlite3.c assert( GLOBAL(int, mutexIsInit) ); assert 16658 third_party/sqlite/amalgamation/sqlite3.c assert( id-2 >= 0 ); assert 16659 third_party/sqlite/amalgamation/sqlite3.c assert( id-2 < (int)(sizeof(aStatic)/sizeof(aStatic[0])) ); assert 16673 third_party/sqlite/amalgamation/sqlite3.c assert( p->cnt==0 ); assert 16674 third_party/sqlite/amalgamation/sqlite3.c assert( p->id==SQLITE_MUTEX_FAST || p->id==SQLITE_MUTEX_RECURSIVE ); assert 16691 third_party/sqlite/amalgamation/sqlite3.c assert( p->id==SQLITE_MUTEX_RECURSIVE || debugMutexNotheld(pX) ); assert 16696 third_party/sqlite/amalgamation/sqlite3.c assert( p->id==SQLITE_MUTEX_RECURSIVE || debugMutexNotheld(pX) ); assert 16709 third_party/sqlite/amalgamation/sqlite3.c assert( debugMutexHeld(pX) ); assert 16711 third_party/sqlite/amalgamation/sqlite3.c assert( p->id==SQLITE_MUTEX_RECURSIVE || debugMutexNotheld(pX) ); assert 16889 third_party/sqlite/amalgamation/sqlite3.c assert( iType-2 >= 0 ); assert 16890 third_party/sqlite/amalgamation/sqlite3.c assert( iType-2 < sizeof(staticMutexes)/sizeof(staticMutexes[0]) ); assert 16910 third_party/sqlite/amalgamation/sqlite3.c assert( ulCount==0 ); assert 16911 third_party/sqlite/amalgamation/sqlite3.c assert( p->id==SQLITE_MUTEX_FAST || p->id==SQLITE_MUTEX_RECURSIVE ); assert 16965 third_party/sqlite/amalgamation/sqlite3.c assert( p->id==SQLITE_MUTEX_RECURSIVE || os2MutexNotheld(p) ); assert 16973 third_party/sqlite/amalgamation/sqlite3.c assert( p->id==SQLITE_MUTEX_RECURSIVE || os2MutexNotheld(p) ); assert 16990 third_party/sqlite/amalgamation/sqlite3.c assert( os2MutexHeld(p) ); assert 17191 third_party/sqlite/amalgamation/sqlite3.c assert( iType-2 >= 0 ); assert 17192 third_party/sqlite/amalgamation/sqlite3.c assert( iType-2 < ArraySize(staticMutexes) ); assert 17210 third_party/sqlite/amalgamation/sqlite3.c assert( p->nRef==0 ); assert 17211 third_party/sqlite/amalgamation/sqlite3.c assert( p->id==SQLITE_MUTEX_FAST || p->id==SQLITE_MUTEX_RECURSIVE ); assert 17228 third_party/sqlite/amalgamation/sqlite3.c assert( p->id==SQLITE_MUTEX_RECURSIVE || pthreadMutexNotheld(p) ); assert 17247 third_party/sqlite/amalgamation/sqlite3.c assert( p->nRef==0 ); assert 17257 third_party/sqlite/amalgamation/sqlite3.c assert( p->nRef>0 || p->owner==0 ); assert 17271 third_party/sqlite/amalgamation/sqlite3.c assert( p->id==SQLITE_MUTEX_RECURSIVE || pthreadMutexNotheld(p) ); assert 17290 third_party/sqlite/amalgamation/sqlite3.c assert( p->nRef==0 ); assert 17327 third_party/sqlite/amalgamation/sqlite3.c assert( pthreadMutexHeld(p) ); assert 17332 third_party/sqlite/amalgamation/sqlite3.c assert( p->nRef==0 || p->id==SQLITE_MUTEX_RECURSIVE ); assert 17574 third_party/sqlite/amalgamation/sqlite3.c assert( winMutex_isInit==1 ); assert 17575 third_party/sqlite/amalgamation/sqlite3.c assert( iType-2 >= 0 ); assert 17576 third_party/sqlite/amalgamation/sqlite3.c assert( iType-2 < ArraySize(winMutex_staticMutexes) ); assert 17594 third_party/sqlite/amalgamation/sqlite3.c assert( p ); assert 17595 third_party/sqlite/amalgamation/sqlite3.c assert( p->nRef==0 && p->owner==0 ); assert 17596 third_party/sqlite/amalgamation/sqlite3.c assert( p->id==SQLITE_MUTEX_FAST || p->id==SQLITE_MUTEX_RECURSIVE ); assert 17615 third_party/sqlite/amalgamation/sqlite3.c assert( p->id==SQLITE_MUTEX_RECURSIVE || winMutexNotheld2(p, tid) ); assert 17619 third_party/sqlite/amalgamation/sqlite3.c assert( p->nRef>0 || p->owner==0 ); assert 17632 third_party/sqlite/amalgamation/sqlite3.c assert( p->id==SQLITE_MUTEX_RECURSIVE || winMutexNotheld2(p, tid) ); assert 17670 third_party/sqlite/amalgamation/sqlite3.c assert( p->nRef>0 ); assert 17671 third_party/sqlite/amalgamation/sqlite3.c assert( p->owner==tid ); assert 17674 third_party/sqlite/amalgamation/sqlite3.c assert( p->nRef==0 || p->id==SQLITE_MUTEX_RECURSIVE ); assert 17969 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(mem0.mutex) ); assert 18019 third_party/sqlite/amalgamation/sqlite3.c assert( EIGHT_BYTE_ALIGNMENT(p) ); /* IMP: R-04675-44850 */ assert 18056 third_party/sqlite/amalgamation/sqlite3.c assert( n>0 ); assert 18078 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_notheld(mem0.mutex) ); assert 18086 third_party/sqlite/amalgamation/sqlite3.c assert( scratchAllocOut<=1 ); assert 18100 third_party/sqlite/amalgamation/sqlite3.c assert( scratchAllocOut>=1 && scratchAllocOut<=2 ); assert 18112 third_party/sqlite/amalgamation/sqlite3.c assert( mem0.nScratchFree <= (u32)sqlite3GlobalConfig.nScratch ); assert 18117 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3MemdebugHasType(p, MEMTYPE_SCRATCH) ); assert 18118 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3MemdebugNoType(p, ~MEMTYPE_SCRATCH) ); assert 18151 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3MemdebugHasType(p, MEMTYPE_HEAP) ); assert 18152 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3MemdebugNoType(p, MEMTYPE_DB) ); assert 18156 third_party/sqlite/amalgamation/sqlite3.c assert( db==0 || sqlite3_mutex_held(db->mutex) ); assert 18160 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3MemdebugHasType(p, MEMTYPE_DB) ); assert 18161 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3MemdebugHasType(p, MEMTYPE_LOOKASIDE|MEMTYPE_HEAP) ); assert 18162 third_party/sqlite/amalgamation/sqlite3.c assert( db!=0 || sqlite3MemdebugNoType(p, MEMTYPE_LOOKASIDE) ); assert 18172 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3MemdebugNoType(p, MEMTYPE_DB) ); assert 18173 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3MemdebugHasType(p, MEMTYPE_HEAP) ); assert 18190 third_party/sqlite/amalgamation/sqlite3.c assert( db==0 || sqlite3_mutex_held(db->mutex) ); assert 18204 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3MemdebugHasType(p, MEMTYPE_DB) ); assert 18205 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3MemdebugHasType(p, MEMTYPE_LOOKASIDE|MEMTYPE_HEAP) ); assert 18206 third_party/sqlite/amalgamation/sqlite3.c assert( db!=0 || sqlite3MemdebugNoType(p, MEMTYPE_LOOKASIDE) ); assert 18242 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3MemdebugHasType(pOld, MEMTYPE_HEAP) ); assert 18243 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3MemdebugNoType(pOld, ~MEMTYPE_HEAP) ); assert 18257 third_party/sqlite/amalgamation/sqlite3.c assert( EIGHT_BYTE_ALIGNMENT(pNew) ); /* IMP: R-04675-44850 */ assert 18316 third_party/sqlite/amalgamation/sqlite3.c assert( db==0 || sqlite3_mutex_held(db->mutex) ); assert 18317 third_party/sqlite/amalgamation/sqlite3.c assert( db==0 || db->pnBytesFreed==0 ); assert 18360 third_party/sqlite/amalgamation/sqlite3.c assert( db!=0 ); assert 18361 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(db->mutex) ); assert 18376 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3MemdebugHasType(p, MEMTYPE_DB) ); assert 18377 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3MemdebugHasType(p, MEMTYPE_LOOKASIDE|MEMTYPE_HEAP) ); assert 18418 third_party/sqlite/amalgamation/sqlite3.c assert( (n&0x7fffffff)==n ); assert 18430 third_party/sqlite/amalgamation/sqlite3.c assert( (n&0x7fffffff)==n ); assert 18474 third_party/sqlite/amalgamation/sqlite3.c assert( !db || sqlite3_mutex_held(db->mutex) ); assert 19044 third_party/sqlite/amalgamation/sqlite3.c assert( precision>0 ); assert 19054 third_party/sqlite/amalgamation/sqlite3.c assert( bufpt>buf ); assert 19186 third_party/sqlite/amalgamation/sqlite3.c assert( k>=0 && k<pSrc->nSrc ); assert 19196 third_party/sqlite/amalgamation/sqlite3.c assert( xtype==etINVALID ); assert 19232 third_party/sqlite/amalgamation/sqlite3.c assert( z!=0 || N==0 ); assert 19342 third_party/sqlite/amalgamation/sqlite3.c assert( db!=0 ); assert 19871 third_party/sqlite/amalgamation/sqlite3.c assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); assert 19872 third_party/sqlite/amalgamation/sqlite3.c assert( pMem->flags&MEM_Str ); assert 19873 third_party/sqlite/amalgamation/sqlite3.c assert( pMem->enc!=desiredEnc ); assert 19874 third_party/sqlite/amalgamation/sqlite3.c assert( pMem->enc!=0 ); assert 19875 third_party/sqlite/amalgamation/sqlite3.c assert( pMem->n>=0 ); assert 19894 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_NOMEM ); assert 19950 third_party/sqlite/amalgamation/sqlite3.c assert( desiredEnc==SQLITE_UTF16BE ); assert 19961 third_party/sqlite/amalgamation/sqlite3.c assert( desiredEnc==SQLITE_UTF8 ); assert 19978 third_party/sqlite/amalgamation/sqlite3.c assert( (pMem->n+(desiredEnc==SQLITE_UTF8?1:2))<=len ); assert 20011 third_party/sqlite/amalgamation/sqlite3.c assert( pMem->n>=0 ); assert 20054 third_party/sqlite/amalgamation/sqlite3.c assert( z<=zTerm ); assert 20109 third_party/sqlite/amalgamation/sqlite3.c assert( (m.flags & MEM_Term)!=0 || db->mallocFailed ); assert 20110 third_party/sqlite/amalgamation/sqlite3.c assert( (m.flags & MEM_Str)!=0 || db->mallocFailed ); assert 20111 third_party/sqlite/amalgamation/sqlite3.c assert( (m.flags & MEM_Dyn)!=0 || db->mallocFailed ); assert 20112 third_party/sqlite/amalgamation/sqlite3.c assert( m.z || db->mallocFailed ); assert 20133 third_party/sqlite/amalgamation/sqlite3.c assert( db->mallocFailed ); assert 20136 third_party/sqlite/amalgamation/sqlite3.c assert( m.z==m.zMalloc ); assert 20183 third_party/sqlite/amalgamation/sqlite3.c assert( n>0 && n<=4 ); assert 20190 third_party/sqlite/amalgamation/sqlite3.c assert( c==t ); assert 20191 third_party/sqlite/amalgamation/sqlite3.c assert( (z-zBuf)==n ); assert 20198 third_party/sqlite/amalgamation/sqlite3.c assert( n>0 && n<=4 ); assert 20202 third_party/sqlite/amalgamation/sqlite3.c assert( c==i ); assert 20203 third_party/sqlite/amalgamation/sqlite3.c assert( (z-zBuf)==n ); assert 20210 third_party/sqlite/amalgamation/sqlite3.c assert( n>0 && n<=4 ); assert 20214 third_party/sqlite/amalgamation/sqlite3.c assert( c==i ); assert 20215 third_party/sqlite/amalgamation/sqlite3.c assert( (z-zBuf)==n ); assert 20719 third_party/sqlite/amalgamation/sqlite3.c assert( u<=LARGEST_INT64 ); assert 20726 third_party/sqlite/amalgamation/sqlite3.c assert( u<=LARGEST_INT64 ); assert 20734 third_party/sqlite/amalgamation/sqlite3.c assert( u-1==LARGEST_INT64 ); assert 20735 third_party/sqlite/amalgamation/sqlite3.c assert( (*pNum)==SMALLEST_INT64 ); assert 20841 third_party/sqlite/amalgamation/sqlite3.c assert( n<=9 ); assert 20912 third_party/sqlite/amalgamation/sqlite3.c assert( SLOT_2_0 == ((0x7f<<14) | (0x7f)) ); assert 20913 third_party/sqlite/amalgamation/sqlite3.c assert( SLOT_4_2_0 == ((0xfU<<28) | (0x7f<<14) | (0x7f)) ); assert 21118 third_party/sqlite/amalgamation/sqlite3.c assert( n>3 && n<=9 ); assert 21170 third_party/sqlite/amalgamation/sqlite3.c assert( n>5 && n<=9 ); assert 21213 third_party/sqlite/amalgamation/sqlite3.c assert( (h>='0' && h<='9') || (h>='a' && h<='f') || (h>='A' && h<='F') ); assert 21349 third_party/sqlite/amalgamation/sqlite3.c assert( iA1*iB0==0 || iA0*iB1==0 ); assert 21395 third_party/sqlite/amalgamation/sqlite3.c assert( pNew!=0 ); assert 21409 third_party/sqlite/amalgamation/sqlite3.c assert( pH!=0 ); assert 21428 third_party/sqlite/amalgamation/sqlite3.c assert( nKey>=0 ); assert 21559 third_party/sqlite/amalgamation/sqlite3.c assert( pEntry->count>=0 ); assert 21564 third_party/sqlite/amalgamation/sqlite3.c assert( pH->first==0 ); assert 21565 third_party/sqlite/amalgamation/sqlite3.c assert( pH->count==0 ); assert 21578 third_party/sqlite/amalgamation/sqlite3.c assert( pH!=0 ); assert 21579 third_party/sqlite/amalgamation/sqlite3.c assert( pKey!=0 ); assert 21580 third_party/sqlite/amalgamation/sqlite3.c assert( nKey>=0 ); assert 21609 third_party/sqlite/amalgamation/sqlite3.c assert( pH!=0 ); assert 21610 third_party/sqlite/amalgamation/sqlite3.c assert( pKey!=0 ); assert 21611 third_party/sqlite/amalgamation/sqlite3.c assert( nKey>=0 ); assert 21625 third_party/sqlite/amalgamation/sqlite3.c assert(nKey==elem->nKey); assert 21638 third_party/sqlite/amalgamation/sqlite3.c assert( pH->htsize>0 ); assert 22111 third_party/sqlite/amalgamation/sqlite3.c assert( id!=0 ); assert 22143 third_party/sqlite/amalgamation/sqlite3.c assert( id!=0 ); assert 22175 third_party/sqlite/amalgamation/sqlite3.c assert( id!=0 ); assert 22182 third_party/sqlite/amalgamation/sqlite3.c assert( amt>0 ); assert 22200 third_party/sqlite/amalgamation/sqlite3.c assert( id!=0 ); assert 22256 third_party/sqlite/amalgamation/sqlite3.c assert( id!=0 ); assert 22339 third_party/sqlite/amalgamation/sqlite3.c assert( pFile!=0 ); assert 22353 third_party/sqlite/amalgamation/sqlite3.c assert( pFile->locktype!=NO_LOCK || locktype==SHARED_LOCK ); assert 22354 third_party/sqlite/amalgamation/sqlite3.c assert( locktype!=PENDING_LOCK ); assert 22355 third_party/sqlite/amalgamation/sqlite3.c assert( locktype!=RESERVED_LOCK || pFile->locktype==SHARED_LOCK ); assert 22381 third_party/sqlite/amalgamation/sqlite3.c assert( pFile->locktype==NO_LOCK ); assert 22392 third_party/sqlite/amalgamation/sqlite3.c assert( pFile->locktype==SHARED_LOCK ); assert 22416 third_party/sqlite/amalgamation/sqlite3.c assert( pFile->locktype>=SHARED_LOCK ); assert 22469 third_party/sqlite/amalgamation/sqlite3.c assert( pFile!=0 ); assert 22521 third_party/sqlite/amalgamation/sqlite3.c assert( pFile!=0 ); assert 22522 third_party/sqlite/amalgamation/sqlite3.c assert( locktype<=SHARED_LOCK ); assert 22853 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pNode->mutex) || pNode->nRef==0 ); assert 23102 third_party/sqlite/amalgamation/sqlite3.c assert( szRegion==pNode->szRegion ); assert 23188 third_party/sqlite/amalgamation/sqlite3.c assert(*ppLink); assert 23231 third_party/sqlite/amalgamation/sqlite3.c assert( ofst>=0 && ofst+n<=SQLITE_SHM_NLOCK ); assert 23232 third_party/sqlite/amalgamation/sqlite3.c assert( n>=1 ); assert 23233 third_party/sqlite/amalgamation/sqlite3.c assert( flags==(SQLITE_SHM_LOCK | SQLITE_SHM_SHARED) assert 23237 third_party/sqlite/amalgamation/sqlite3.c assert( n==1 || (flags & SQLITE_SHM_EXCLUSIVE)!=0 ); assert 23240 third_party/sqlite/amalgamation/sqlite3.c assert( n>1 || mask==(1<<ofst) ); assert 23251 third_party/sqlite/amalgamation/sqlite3.c assert( (pX->exclMask & (p->exclMask|p->sharedMask))==0 ); assert 23312 third_party/sqlite/amalgamation/sqlite3.c assert( (p->sharedMask & mask)==0 ); assert 23503 third_party/sqlite/amalgamation/sqlite3.c assert( id!=0 ); assert 23512 third_party/sqlite/amalgamation/sqlite3.c assert((isReadonly==0 || isReadWrite==0) && (isReadWrite || isReadonly)); assert 23513 third_party/sqlite/amalgamation/sqlite3.c assert(isCreate==0 || isReadWrite); assert 23514 third_party/sqlite/amalgamation/sqlite3.c assert(isExclusive==0 || isCreate); assert 23515 third_party/sqlite/amalgamation/sqlite3.c assert(isDelete==0 || isCreate); assert 23519 third_party/sqlite/amalgamation/sqlite3.c assert( (!isDelete && zName) || eType!=SQLITE_OPEN_MAIN_DB ); assert 23520 third_party/sqlite/amalgamation/sqlite3.c assert( (!isDelete && zName) || eType!=SQLITE_OPEN_MAIN_JOURNAL ); assert 23521 third_party/sqlite/amalgamation/sqlite3.c assert( (!isDelete && zName) || eType!=SQLITE_OPEN_MASTER_JOURNAL ); assert 23522 third_party/sqlite/amalgamation/sqlite3.c assert( (!isDelete && zName) || eType!=SQLITE_OPEN_WAL ); assert 23525 third_party/sqlite/amalgamation/sqlite3.c assert( eType==SQLITE_OPEN_MAIN_DB || eType==SQLITE_OPEN_TEMP_DB assert 23538 third_party/sqlite/amalgamation/sqlite3.c assert(isDelete && !isOpenJournal); assert 23674 third_party/sqlite/amalgamation/sqlite3.c assert( !"Invalid flags argument" ); assert 23893 third_party/sqlite/amalgamation/sqlite3.c assert(zBuf[0]=='\0'); assert 24698 third_party/sqlite/amalgamation/sqlite3.c assert( 0 ); assert 24700 third_party/sqlite/amalgamation/sqlite3.c assert( p->l_whence==SEEK_SET ); assert 24717 third_party/sqlite/amalgamation/sqlite3.c assert( 0 ); assert 24908 third_party/sqlite/amalgamation/sqlite3.c assert( zAbsoluteName[0]=='/' ); assert 24947 third_party/sqlite/amalgamation/sqlite3.c assert( pId->nRef>0 ); assert 24952 third_party/sqlite/amalgamation/sqlite3.c assert( *pp==pId ); assert 25160 third_party/sqlite/amalgamation/sqlite3.c assert( errcode!=SQLITE_OK ); assert 25213 third_party/sqlite/amalgamation/sqlite3.c assert( unixMutexHeld() ); assert 25217 third_party/sqlite/amalgamation/sqlite3.c assert( pInode->pShmNode==0 ); assert 25220 third_party/sqlite/amalgamation/sqlite3.c assert( pInode->pPrev->pNext==pInode ); assert 25223 third_party/sqlite/amalgamation/sqlite3.c assert( inodeList==pInode ); assert 25227 third_party/sqlite/amalgamation/sqlite3.c assert( pInode->pNext->pPrev==pInode ); assert 25255 third_party/sqlite/amalgamation/sqlite3.c assert( unixMutexHeld() ); assert 25339 third_party/sqlite/amalgamation/sqlite3.c assert( pFile ); assert 25394 third_party/sqlite/amalgamation/sqlite3.c assert( unixMutexHeld() ); assert 25395 third_party/sqlite/amalgamation/sqlite3.c assert( pInode!=0 ); assert 25401 third_party/sqlite/amalgamation/sqlite3.c assert( pInode->nLock==0 ); assert 25488 third_party/sqlite/amalgamation/sqlite3.c assert( pFile ); assert 25508 third_party/sqlite/amalgamation/sqlite3.c assert( pFile->eFileLock!=NO_LOCK || eFileLock==SHARED_LOCK ); assert 25509 third_party/sqlite/amalgamation/sqlite3.c assert( eFileLock!=PENDING_LOCK ); assert 25510 third_party/sqlite/amalgamation/sqlite3.c assert( eFileLock!=RESERVED_LOCK || pFile->eFileLock==SHARED_LOCK ); assert 25533 third_party/sqlite/amalgamation/sqlite3.c assert( eFileLock==SHARED_LOCK ); assert 25534 third_party/sqlite/amalgamation/sqlite3.c assert( pFile->eFileLock==0 ); assert 25535 third_party/sqlite/amalgamation/sqlite3.c assert( pInode->nShared>0 ); assert 25569 third_party/sqlite/amalgamation/sqlite3.c assert( pInode->nShared==0 ); assert 25570 third_party/sqlite/amalgamation/sqlite3.c assert( pInode->eFileLock==0 ); assert 25571 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK ); assert 25610 third_party/sqlite/amalgamation/sqlite3.c assert( 0!=pFile->eFileLock ); assert 25613 third_party/sqlite/amalgamation/sqlite3.c assert( eFileLock==RESERVED_LOCK || eFileLock==EXCLUSIVE_LOCK ); assert 25697 third_party/sqlite/amalgamation/sqlite3.c assert( pFile ); assert 25702 third_party/sqlite/amalgamation/sqlite3.c assert( eFileLock<=SHARED_LOCK ); assert 25709 third_party/sqlite/amalgamation/sqlite3.c assert( pInode->nShared!=0 ); assert 25711 third_party/sqlite/amalgamation/sqlite3.c assert( pInode->eFileLock==pFile->eFileLock ); assert 25726 third_party/sqlite/amalgamation/sqlite3.c assert( pFile->inNormalWrite==0 assert 25746 third_party/sqlite/amalgamation/sqlite3.c assert( handleNFSUnlock==0 ); assert 25812 third_party/sqlite/amalgamation/sqlite3.c lock.l_len = 2L; assert( PENDING_BYTE+1==RESERVED_BYTE ); assert 25849 third_party/sqlite/amalgamation/sqlite3.c assert( pInode->nLock>=0 ); assert 25916 third_party/sqlite/amalgamation/sqlite3.c assert( pFile->pInode->nLock>0 || pFile->pInode->bProcessLock==0 ); assert 26020 third_party/sqlite/amalgamation/sqlite3.c assert( pFile ); assert 26118 third_party/sqlite/amalgamation/sqlite3.c assert( pFile ); assert 26121 third_party/sqlite/amalgamation/sqlite3.c assert( eFileLock<=SHARED_LOCK ); assert 26137 third_party/sqlite/amalgamation/sqlite3.c assert( eFileLock==NO_LOCK ); assert 26213 third_party/sqlite/amalgamation/sqlite3.c assert( pFile ); assert 26292 third_party/sqlite/amalgamation/sqlite3.c assert( pFile ); assert 26335 third_party/sqlite/amalgamation/sqlite3.c assert( pFile ); assert 26338 third_party/sqlite/amalgamation/sqlite3.c assert( eFileLock<=SHARED_LOCK ); assert 26403 third_party/sqlite/amalgamation/sqlite3.c assert( pFile ); assert 26502 third_party/sqlite/amalgamation/sqlite3.c assert( pFile ); assert 26503 third_party/sqlite/amalgamation/sqlite3.c assert( pSem ); assert 26506 third_party/sqlite/amalgamation/sqlite3.c assert( eFileLock<=SHARED_LOCK ); assert 26539 third_party/sqlite/amalgamation/sqlite3.c assert( pFile ); assert 26647 third_party/sqlite/amalgamation/sqlite3.c assert( pFile ); assert 26715 third_party/sqlite/amalgamation/sqlite3.c assert( pFile ); assert 26735 third_party/sqlite/amalgamation/sqlite3.c assert( pFile->eFileLock!=NO_LOCK || eFileLock==SHARED_LOCK ); assert 26736 third_party/sqlite/amalgamation/sqlite3.c assert( eFileLock!=PENDING_LOCK ); assert 26737 third_party/sqlite/amalgamation/sqlite3.c assert( eFileLock!=RESERVED_LOCK || pFile->eFileLock==SHARED_LOCK ); assert 26760 third_party/sqlite/amalgamation/sqlite3.c assert( eFileLock==SHARED_LOCK ); assert 26761 third_party/sqlite/amalgamation/sqlite3.c assert( pFile->eFileLock==0 ); assert 26762 third_party/sqlite/amalgamation/sqlite3.c assert( pInode->nShared>0 ); assert 26791 third_party/sqlite/amalgamation/sqlite3.c assert( pInode->nShared==0 ); assert 26792 third_party/sqlite/amalgamation/sqlite3.c assert( pInode->eFileLock==0 ); assert 26831 third_party/sqlite/amalgamation/sqlite3.c assert( 0!=pFile->eFileLock ); assert 26901 third_party/sqlite/amalgamation/sqlite3.c assert( pFile ); assert 26906 third_party/sqlite/amalgamation/sqlite3.c assert( eFileLock<=SHARED_LOCK ); assert 26912 third_party/sqlite/amalgamation/sqlite3.c assert( pInode->nShared!=0 ); assert 26914 third_party/sqlite/amalgamation/sqlite3.c assert( pInode->eFileLock==pFile->eFileLock ); assert 26928 third_party/sqlite/amalgamation/sqlite3.c assert( pFile->inNormalWrite==0 assert 26979 third_party/sqlite/amalgamation/sqlite3.c assert( pInode->nLock>=0 ); assert 27119 third_party/sqlite/amalgamation/sqlite3.c assert( id ); assert 27124 third_party/sqlite/amalgamation/sqlite3.c assert( pFile->pUnused==0 assert 27196 third_party/sqlite/amalgamation/sqlite3.c assert( id ); assert 27197 third_party/sqlite/amalgamation/sqlite3.c assert( amt>0 ); assert 27202 third_party/sqlite/amalgamation/sqlite3.c assert( pFile->pUnused==0 assert 27441 third_party/sqlite/amalgamation/sqlite3.c assert((flags&0x0F)==SQLITE_SYNC_NORMAL assert 27450 third_party/sqlite/amalgamation/sqlite3.c assert( pFile ); assert 27485 third_party/sqlite/amalgamation/sqlite3.c assert( pFile ); assert 27525 third_party/sqlite/amalgamation/sqlite3.c assert( id ); assert 27770 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pShmNode->mutex) || pShmNode->nRef==0 ); assert 27773 third_party/sqlite/amalgamation/sqlite3.c assert( n==1 || lockType!=F_RDLCK ); assert 27776 third_party/sqlite/amalgamation/sqlite3.c assert( n>=1 && n<SQLITE_SHM_NLOCK ); assert 27805 third_party/sqlite/amalgamation/sqlite3.c assert( lockType==F_WRLCK ); assert 27816 third_party/sqlite/amalgamation/sqlite3.c assert( lockType==F_WRLCK ); assert 27837 third_party/sqlite/amalgamation/sqlite3.c assert( unixMutexHeld() ); assert 27840 third_party/sqlite/amalgamation/sqlite3.c assert( p->pInode==pFd->pInode ); assert 27906 third_party/sqlite/amalgamation/sqlite3.c assert( pDbFd->pShm==0 ); assert 28049 third_party/sqlite/amalgamation/sqlite3.c assert( szRegion==pShmNode->szRegion || pShmNode->nRegion==0 ); assert 28050 third_party/sqlite/amalgamation/sqlite3.c assert( pShmNode->pInode==pDbFd->pInode ); assert 28051 third_party/sqlite/amalgamation/sqlite3.c assert( pShmNode->h>=0 || pDbFd->pInode->bProcessLock==1 ); assert 28052 third_party/sqlite/amalgamation/sqlite3.c assert( pShmNode->h<0 || pDbFd->pInode->bProcessLock==0 ); assert 28150 third_party/sqlite/amalgamation/sqlite3.c assert( pShmNode==pDbFd->pInode->pShmNode ); assert 28151 third_party/sqlite/amalgamation/sqlite3.c assert( pShmNode->pInode==pDbFd->pInode ); assert 28152 third_party/sqlite/amalgamation/sqlite3.c assert( ofst>=0 && ofst+n<=SQLITE_SHM_NLOCK ); assert 28153 third_party/sqlite/amalgamation/sqlite3.c assert( n>=1 ); assert 28154 third_party/sqlite/amalgamation/sqlite3.c assert( flags==(SQLITE_SHM_LOCK | SQLITE_SHM_SHARED) assert 28158 third_party/sqlite/amalgamation/sqlite3.c assert( n==1 || (flags & SQLITE_SHM_EXCLUSIVE)!=0 ); assert 28159 third_party/sqlite/amalgamation/sqlite3.c assert( pShmNode->h>=0 || pDbFd->pInode->bProcessLock==1 ); assert 28160 third_party/sqlite/amalgamation/sqlite3.c assert( pShmNode->h<0 || pDbFd->pInode->bProcessLock==0 ); assert 28163 third_party/sqlite/amalgamation/sqlite3.c assert( n>1 || mask==(1<<ofst) ); assert 28171 third_party/sqlite/amalgamation/sqlite3.c assert( (pX->exclMask & (p->exclMask|p->sharedMask))==0 ); assert 28232 third_party/sqlite/amalgamation/sqlite3.c assert( (p->sharedMask & mask)==0 ); assert 28278 third_party/sqlite/amalgamation/sqlite3.c assert( pShmNode==pDbFd->pInode->pShmNode ); assert 28279 third_party/sqlite/amalgamation/sqlite3.c assert( pShmNode->pInode==pDbFd->pInode ); assert 28295 third_party/sqlite/amalgamation/sqlite3.c assert( pShmNode->nRef>0 ); assert 28629 third_party/sqlite/amalgamation/sqlite3.c assert( pNew->pInode==NULL ); assert 28641 third_party/sqlite/amalgamation/sqlite3.c assert( zFilename==0 || zFilename[0]=='/' assert 28644 third_party/sqlite/amalgamation/sqlite3.c assert( zFilename==0 || zFilename[0]=='/' ); assert 29133 third_party/sqlite/amalgamation/sqlite3.c assert((isReadonly==0 || isReadWrite==0) && (isReadWrite || isReadonly)); assert 29134 third_party/sqlite/amalgamation/sqlite3.c assert(isCreate==0 || isReadWrite); assert 29135 third_party/sqlite/amalgamation/sqlite3.c assert(isExclusive==0 || isCreate); assert 29136 third_party/sqlite/amalgamation/sqlite3.c assert(isDelete==0 || isCreate); assert 29140 third_party/sqlite/amalgamation/sqlite3.c assert( (!isDelete && zName) || eType!=SQLITE_OPEN_MAIN_DB ); assert 29141 third_party/sqlite/amalgamation/sqlite3.c assert( (!isDelete && zName) || eType!=SQLITE_OPEN_MAIN_JOURNAL ); assert 29142 third_party/sqlite/amalgamation/sqlite3.c assert( (!isDelete && zName) || eType!=SQLITE_OPEN_MASTER_JOURNAL ); assert 29143 third_party/sqlite/amalgamation/sqlite3.c assert( (!isDelete && zName) || eType!=SQLITE_OPEN_WAL ); assert 29146 third_party/sqlite/amalgamation/sqlite3.c assert( eType==SQLITE_OPEN_MAIN_DB || eType==SQLITE_OPEN_TEMP_DB assert 29161 third_party/sqlite/amalgamation/sqlite3.c assert(isDelete && !syncDir); assert 29183 third_party/sqlite/amalgamation/sqlite3.c assert( !p->pUnused ); assert 29184 third_party/sqlite/amalgamation/sqlite3.c assert( eType==SQLITE_OPEN_WAL || eType==SQLITE_OPEN_MAIN_JOURNAL ); assert 29203 third_party/sqlite/amalgamation/sqlite3.c assert( fd>=0 ); assert 29368 third_party/sqlite/amalgamation/sqlite3.c assert(!"Invalid flags argument"); assert 29404 third_party/sqlite/amalgamation/sqlite3.c assert( pVfs->mxPathname==MAX_PATHNAME ); assert 29489 third_party/sqlite/amalgamation/sqlite3.c assert((size_t)nBuf>=(sizeof(time_t)+sizeof(int))); assert 29514 third_party/sqlite/amalgamation/sqlite3.c assert( sizeof(t)+sizeof(pid)<=(size_t)nBuf ); assert 29851 third_party/sqlite/amalgamation/sqlite3.c assert(lockPath!=NULL); assert 29982 third_party/sqlite/amalgamation/sqlite3.c assert(PROXY_HOSTIDLEN == sizeof(uuid_t)); assert 30110 third_party/sqlite/amalgamation/sqlite3.c assert( nTries>1 ); assert 30136 third_party/sqlite/amalgamation/sqlite3.c assert( nTries==3 ); assert 30436 third_party/sqlite/amalgamation/sqlite3.c assert( (int)strlen(conchPath) == len+7 ); assert 30486 third_party/sqlite/amalgamation/sqlite3.c assert( (int)strlen((char*)pFile->lockingContext)<=MAXPATHLEN ); assert 30497 third_party/sqlite/amalgamation/sqlite3.c assert( strlen((char*)pFile->lockingContext)<=MAXPATHLEN ); assert 30648 third_party/sqlite/amalgamation/sqlite3.c assert( 0 ); /* The call assures that only valid opcodes are sent */ assert 30893 third_party/sqlite/amalgamation/sqlite3.c assert( ArraySize(aSyscall)==18 ); assert 31671 third_party/sqlite/amalgamation/sqlite3.c assert(nNumberOfBytesToUnlockLow == (DWORD)SHARED_SIZE); assert 31679 third_party/sqlite/amalgamation/sqlite3.c assert(nNumberOfBytesToUnlockLow == (DWORD)SHARED_SIZE || nNumberOfBytesToUnlockLow == 1); assert 31794 third_party/sqlite/amalgamation/sqlite3.c assert( id!=0 ); assert 31795 third_party/sqlite/amalgamation/sqlite3.c assert( pFile->pShm==0 ); assert 31835 third_party/sqlite/amalgamation/sqlite3.c assert( id!=0 ); assert 31868 third_party/sqlite/amalgamation/sqlite3.c assert( amt>0 ); assert 31869 third_party/sqlite/amalgamation/sqlite3.c assert( pFile ); assert 31907 third_party/sqlite/amalgamation/sqlite3.c assert( pFile ); assert 31952 third_party/sqlite/amalgamation/sqlite3.c assert( pFile ); assert 31954 third_party/sqlite/amalgamation/sqlite3.c assert((flags&0x0F)==SQLITE_SYNC_NORMAL assert 31999 third_party/sqlite/amalgamation/sqlite3.c assert( id!=0 ); assert 32103 third_party/sqlite/amalgamation/sqlite3.c assert( id!=0 ); assert 32117 third_party/sqlite/amalgamation/sqlite3.c assert( pFile->locktype!=NO_LOCK || locktype==SHARED_LOCK ); assert 32118 third_party/sqlite/amalgamation/sqlite3.c assert( locktype!=PENDING_LOCK ); assert 32119 third_party/sqlite/amalgamation/sqlite3.c assert( locktype!=RESERVED_LOCK || pFile->locktype==SHARED_LOCK ); assert 32147 third_party/sqlite/amalgamation/sqlite3.c assert( pFile->locktype==NO_LOCK ); assert 32159 third_party/sqlite/amalgamation/sqlite3.c assert( pFile->locktype==SHARED_LOCK ); assert 32178 third_party/sqlite/amalgamation/sqlite3.c assert( pFile->locktype>=SHARED_LOCK ); assert 32224 third_party/sqlite/amalgamation/sqlite3.c assert( id!=0 ); assert 32255 third_party/sqlite/amalgamation/sqlite3.c assert( pFile!=0 ); assert 32256 third_party/sqlite/amalgamation/sqlite3.c assert( locktype<=SHARED_LOCK ); assert 32323 third_party/sqlite/amalgamation/sqlite3.c assert( id!=0 ); assert 32468 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pFile->mutex) || pFile->nRef==0 ); assert 32514 third_party/sqlite/amalgamation/sqlite3.c assert( winShmMutexHeld() ); assert 32563 third_party/sqlite/amalgamation/sqlite3.c assert( pDbFd->pShm==0 ); /* Not previously opened */ assert 32696 third_party/sqlite/amalgamation/sqlite3.c assert( pShmNode->nRef>0 ); assert 32722 third_party/sqlite/amalgamation/sqlite3.c assert( ofst>=0 && ofst+n<=SQLITE_SHM_NLOCK ); assert 32723 third_party/sqlite/amalgamation/sqlite3.c assert( n>=1 ); assert 32724 third_party/sqlite/amalgamation/sqlite3.c assert( flags==(SQLITE_SHM_LOCK | SQLITE_SHM_SHARED) assert 32728 third_party/sqlite/amalgamation/sqlite3.c assert( n==1 || (flags & SQLITE_SHM_EXCLUSIVE)!=0 ); assert 32731 third_party/sqlite/amalgamation/sqlite3.c assert( n>1 || mask==(1<<ofst) ); assert 32739 third_party/sqlite/amalgamation/sqlite3.c assert( (pX->exclMask & (p->exclMask|p->sharedMask))==0 ); assert 32800 third_party/sqlite/amalgamation/sqlite3.c assert( (p->sharedMask & mask)==0 ); assert 32866 third_party/sqlite/amalgamation/sqlite3.c assert( szRegion==pShmNode->szRegion || pShmNode->nRegion==0 ); assert 33211 third_party/sqlite/amalgamation/sqlite3.c assert((isReadonly==0 || isReadWrite==0) && (isReadWrite || isReadonly)); assert 33212 third_party/sqlite/amalgamation/sqlite3.c assert(isCreate==0 || isReadWrite); assert 33213 third_party/sqlite/amalgamation/sqlite3.c assert(isExclusive==0 || isCreate); assert 33214 third_party/sqlite/amalgamation/sqlite3.c assert(isDelete==0 || isCreate); assert 33218 third_party/sqlite/amalgamation/sqlite3.c assert( (!isDelete && zName) || eType!=SQLITE_OPEN_MAIN_DB ); assert 33219 third_party/sqlite/amalgamation/sqlite3.c assert( (!isDelete && zName) || eType!=SQLITE_OPEN_MAIN_JOURNAL ); assert 33220 third_party/sqlite/amalgamation/sqlite3.c assert( (!isDelete && zName) || eType!=SQLITE_OPEN_MASTER_JOURNAL ); assert 33221 third_party/sqlite/amalgamation/sqlite3.c assert( (!isDelete && zName) || eType!=SQLITE_OPEN_WAL ); assert 33224 third_party/sqlite/amalgamation/sqlite3.c assert( eType==SQLITE_OPEN_MAIN_DB || eType==SQLITE_OPEN_TEMP_DB assert 33230 third_party/sqlite/amalgamation/sqlite3.c assert( id!=0 ); assert 33239 third_party/sqlite/amalgamation/sqlite3.c assert(isDelete && !isOpenJournal); assert 33495 third_party/sqlite/amalgamation/sqlite3.c assert(!"Invalid flags argument"); assert 33896 third_party/sqlite/amalgamation/sqlite3.c assert(winSysInfo.dwAllocationGranularity > 0); assert 34031 third_party/sqlite/amalgamation/sqlite3.c assert( sizeof(*p)==BITVEC_SZ ); assert 34083 third_party/sqlite/amalgamation/sqlite3.c assert( i>0 ); assert 34084 third_party/sqlite/amalgamation/sqlite3.c assert( i<=p->iSize ); assert 34153 third_party/sqlite/amalgamation/sqlite3.c assert( i>0 ); assert 34365 third_party/sqlite/amalgamation/sqlite3.c # define expensive_assert(X) assert(X) assert 34383 third_party/sqlite/amalgamation/sqlite3.c assert( p->nRef || (p->flags&PGHDR_NEED_SYNC) ); assert 34395 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->pDirtyNext || pPage==p->pDirtyTail ); assert 34396 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->pDirtyPrev || pPage==p->pDirty ); assert 34410 third_party/sqlite/amalgamation/sqlite3.c assert( pPage==p->pDirtyTail ); assert 34416 third_party/sqlite/amalgamation/sqlite3.c assert( pPage==p->pDirty ); assert 34432 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->pDirtyNext==0 && pPage->pDirtyPrev==0 && p->pDirty!=pPage ); assert 34436 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->pDirtyNext->pDirtyPrev==0 ); assert 34517 third_party/sqlite/amalgamation/sqlite3.c assert( pCache->nRef==0 && pCache->pDirty==0 ); assert 34538 third_party/sqlite/amalgamation/sqlite3.c assert( pCache!=0 ); assert 34539 third_party/sqlite/amalgamation/sqlite3.c assert( createFlag==1 || createFlag==0 ); assert 34540 third_party/sqlite/amalgamation/sqlite3.c assert( pgno>0 ); assert 34599 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->pCache==pCache ); assert 34600 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->pgno==pgno ); assert 34601 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->pData==(void *)&pPage[1] ); assert 34602 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->pExtra==(void *)&((char *)&pPage[1])[pCache->szPage] ); assert 34621 third_party/sqlite/amalgamation/sqlite3.c assert( p->nRef>0 ); assert 34640 third_party/sqlite/amalgamation/sqlite3.c assert(p->nRef>0); assert 34651 third_party/sqlite/amalgamation/sqlite3.c assert( p->nRef==1 ); assert 34669 third_party/sqlite/amalgamation/sqlite3.c assert( p->nRef>0 ); assert 34716 third_party/sqlite/amalgamation/sqlite3.c assert( p->nRef>0 ); assert 34717 third_party/sqlite/amalgamation/sqlite3.c assert( newPgno>0 ); assert 34745 third_party/sqlite/amalgamation/sqlite3.c assert( p->pgno>0 ); assert 34747 third_party/sqlite/amalgamation/sqlite3.c assert( p->flags&PGHDR_DIRTY ); assert 35124 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_notheld(pcache1.grp.mutex) ); assert 35133 third_party/sqlite/amalgamation/sqlite3.c assert( pcache1.nFreeSlot>=0 ); assert 35168 third_party/sqlite/amalgamation/sqlite3.c assert( pcache1.nFreeSlot<=pcache1.nSlot ); assert 35172 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3MemdebugHasType(p, MEMTYPE_PCACHE) ); assert 35191 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3MemdebugHasType(p, MEMTYPE_PCACHE) ); assert 35290 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(p->pGroup->mutex) ); assert 35338 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pGroup->mutex) ); assert 35370 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCache->pGroup->mutex) ); assert 35383 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pGroup->mutex) ); assert 35386 third_party/sqlite/amalgamation/sqlite3.c assert( p->pCache->pGroup==pGroup ); assert 35406 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCache->pGroup->mutex) ); assert 35422 third_party/sqlite/amalgamation/sqlite3.c assert( pCache->nPage==nPage ); assert 35433 third_party/sqlite/amalgamation/sqlite3.c assert( pcache1.isInit==0 ); assert 35451 third_party/sqlite/amalgamation/sqlite3.c assert( pcache1.isInit!=0 ); assert 35602 third_party/sqlite/amalgamation/sqlite3.c assert( pCache->bPurgeable || createFlag!=1 ); assert 35603 third_party/sqlite/amalgamation/sqlite3.c assert( pCache->bPurgeable || pCache->nMin==0 ); assert 35604 third_party/sqlite/amalgamation/sqlite3.c assert( pCache->bPurgeable==0 || pCache->nMin==10 ); assert 35605 third_party/sqlite/amalgamation/sqlite3.c assert( pCache->nMin==0 || pCache->bPurgeable ); assert 35634 third_party/sqlite/amalgamation/sqlite3.c assert( nPinned>=0 ); assert 35635 third_party/sqlite/amalgamation/sqlite3.c assert( pGroup->mxPinned == pGroup->nMaxPage + 10 - pGroup->nMinPage ); assert 35636 third_party/sqlite/amalgamation/sqlite3.c assert( pCache->n90pct == pCache->nMax*9/10 ); assert 35710 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->pCache==pCache ); assert 35716 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->pLruPrev==0 && pPage->pLruNext==0 ); assert 35717 third_party/sqlite/amalgamation/sqlite3.c assert( pGroup->pLruHead!=pPage && pGroup->pLruTail!=pPage ); assert 35751 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->iKey==iOld ); assert 35752 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->pCache==pCache ); assert 35799 third_party/sqlite/amalgamation/sqlite3.c assert( pCache->bPurgeable || (pCache->nMax==0 && pCache->nMin==0) ); assert 35845 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_notheld(pcache1.grp.mutex) ); assert 35846 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_notheld(pcache1.mutex) ); assert 36013 third_party/sqlite/amalgamation/sqlite3.c assert( N >= ROUND8(sizeof(*p)) ); assert 36055 third_party/sqlite/amalgamation/sqlite3.c assert( p!=0 ); assert 36078 third_party/sqlite/amalgamation/sqlite3.c assert( p->pEntry==0 ); /* Fires if INSERT after SMALLEST */ assert 36099 third_party/sqlite/amalgamation/sqlite3.c assert( pA->pRight==0 || pA->v<=pA->pRight->v ); assert 36100 third_party/sqlite/amalgamation/sqlite3.c assert( pB->pRight==0 || pB->v<=pB->pRight->v ); assert 36114 third_party/sqlite/amalgamation/sqlite3.c assert( pA->pRight==0 || pA->v<=pA->pRight->v ); assert 36117 third_party/sqlite/amalgamation/sqlite3.c assert( pB==0 || pB->pRight==0 || pB->v<=pB->pRight->v ); assert 36131 third_party/sqlite/amalgamation/sqlite3.c assert( p->isSorted==0 ); assert 36163 third_party/sqlite/amalgamation/sqlite3.c assert( pIn!=0 ); assert 36176 third_party/sqlite/amalgamation/sqlite3.c assert( (*ppLast)->pRight==0 ); assert 36228 third_party/sqlite/amalgamation/sqlite3.c assert( pList!=0 ); assert 37237 third_party/sqlite/amalgamation/sqlite3.c assert( p->eState==PAGER_OPEN assert 37250 third_party/sqlite/amalgamation/sqlite3.c assert( p->tempFile==0 || p->eLock==EXCLUSIVE_LOCK ); assert 37251 third_party/sqlite/amalgamation/sqlite3.c assert( p->tempFile==0 || pPager->changeCountDone ); assert 37256 third_party/sqlite/amalgamation/sqlite3.c assert( p->journalMode==PAGER_JOURNALMODE_OFF || p->useJournal ); assert 37257 third_party/sqlite/amalgamation/sqlite3.c assert( p->journalMode!=PAGER_JOURNALMODE_OFF || !isOpen(p->jfd) ); assert 37268 third_party/sqlite/amalgamation/sqlite3.c assert( p->noSync ); assert 37269 third_party/sqlite/amalgamation/sqlite3.c assert( p->journalMode==PAGER_JOURNALMODE_OFF assert 37272 third_party/sqlite/amalgamation/sqlite3.c assert( p->eState!=PAGER_ERROR && p->eState!=PAGER_OPEN ); assert 37273 third_party/sqlite/amalgamation/sqlite3.c assert( pagerUseWal(p)==0 ); assert 37279 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->changeCountDone==0 || pPager->eLock>=RESERVED_LOCK ); assert 37280 third_party/sqlite/amalgamation/sqlite3.c assert( p->eLock!=PENDING_LOCK ); assert 37284 third_party/sqlite/amalgamation/sqlite3.c assert( !MEMDB ); assert 37285 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->errCode==SQLITE_OK ); assert 37286 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3PcacheRefCount(pPager->pPCache)==0 || pPager->tempFile ); assert 37290 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->errCode==SQLITE_OK ); assert 37291 third_party/sqlite/amalgamation/sqlite3.c assert( p->eLock!=UNKNOWN_LOCK ); assert 37292 third_party/sqlite/amalgamation/sqlite3.c assert( p->eLock>=SHARED_LOCK || p->noReadlock ); assert 37296 third_party/sqlite/amalgamation/sqlite3.c assert( p->eLock!=UNKNOWN_LOCK ); assert 37297 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->errCode==SQLITE_OK ); assert 37299 third_party/sqlite/amalgamation/sqlite3.c assert( p->eLock>=RESERVED_LOCK ); assert 37301 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->dbSize==pPager->dbOrigSize ); assert 37302 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->dbOrigSize==pPager->dbFileSize ); assert 37303 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->dbOrigSize==pPager->dbHintSize ); assert 37304 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->setMaster==0 ); assert 37308 third_party/sqlite/amalgamation/sqlite3.c assert( p->eLock!=UNKNOWN_LOCK ); assert 37309 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->errCode==SQLITE_OK ); assert 37316 third_party/sqlite/amalgamation/sqlite3.c assert( p->eLock>=RESERVED_LOCK ); assert 37317 third_party/sqlite/amalgamation/sqlite3.c assert( isOpen(p->jfd) assert 37322 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->dbOrigSize==pPager->dbFileSize ); assert 37323 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->dbOrigSize==pPager->dbHintSize ); assert 37327 third_party/sqlite/amalgamation/sqlite3.c assert( p->eLock==EXCLUSIVE_LOCK ); assert 37328 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->errCode==SQLITE_OK ); assert 37329 third_party/sqlite/amalgamation/sqlite3.c assert( !pagerUseWal(pPager) ); assert 37330 third_party/sqlite/amalgamation/sqlite3.c assert( p->eLock>=EXCLUSIVE_LOCK ); assert 37331 third_party/sqlite/amalgamation/sqlite3.c assert( isOpen(p->jfd) assert 37335 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->dbOrigSize<=pPager->dbHintSize ); assert 37339 third_party/sqlite/amalgamation/sqlite3.c assert( p->eLock==EXCLUSIVE_LOCK ); assert 37340 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->errCode==SQLITE_OK ); assert 37341 third_party/sqlite/amalgamation/sqlite3.c assert( !pagerUseWal(pPager) ); assert 37342 third_party/sqlite/amalgamation/sqlite3.c assert( isOpen(p->jfd) assert 37353 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->errCode!=SQLITE_OK ); assert 37354 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3PcacheRefCount(pPager->pPCache)>0 ); assert 37486 third_party/sqlite/amalgamation/sqlite3.c assert( !pPager->exclusiveMode || pPager->eLock==eLock ); assert 37487 third_party/sqlite/amalgamation/sqlite3.c assert( eLock==NO_LOCK || eLock==SHARED_LOCK ); assert 37488 third_party/sqlite/amalgamation/sqlite3.c assert( eLock!=NO_LOCK || pagerUseWal(pPager)==0 ); assert 37490 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eLock>=eLock ); assert 37513 third_party/sqlite/amalgamation/sqlite3.c assert( eLock==SHARED_LOCK || eLock==RESERVED_LOCK || eLock==EXCLUSIVE_LOCK ); assert 37543 third_party/sqlite/amalgamation/sqlite3.c assert( !MEMDB ); assert 37549 third_party/sqlite/amalgamation/sqlite3.c assert( isOpen(pPager->fd) ); assert 37554 third_party/sqlite/amalgamation/sqlite3.c assert(SQLITE_IOCAP_ATOMIC512==(512>>8)); assert 37555 third_party/sqlite/amalgamation/sqlite3.c assert(SQLITE_IOCAP_ATOMIC64K==(65536>>8)); assert 37597 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState!=PAGER_ERROR ); assert 37598 third_party/sqlite/amalgamation/sqlite3.c assert( (pPg->flags&PGHDR_DIRTY) || pPg->pageHash==pager_pagehash(pPg) ); assert 37692 third_party/sqlite/amalgamation/sqlite3.c assert( offset%JOURNAL_HDR_SZ(pPager)==0 ); assert 37693 third_party/sqlite/amalgamation/sqlite3.c assert( offset>=c ); assert 37694 third_party/sqlite/amalgamation/sqlite3.c assert( (offset-c)<JOURNAL_HDR_SZ(pPager) ); assert 37721 third_party/sqlite/amalgamation/sqlite3.c assert( isOpen(pPager->jfd) ); assert 37775 third_party/sqlite/amalgamation/sqlite3.c assert( isOpen(pPager->jfd) ); /* Journal file must be open. */ assert 37813 third_party/sqlite/amalgamation/sqlite3.c assert( isOpen(pPager->fd) || pPager->noSync ); assert 37862 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->journalHdr <= pPager->journalOff ); assert 37897 third_party/sqlite/amalgamation/sqlite3.c assert( isOpen(pPager->jfd) ); /* Journal file must be open. */ assert 38018 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->setMaster==0 ); assert 38019 third_party/sqlite/amalgamation/sqlite3.c assert( !pagerUseWal(pPager) ); assert 38028 third_party/sqlite/amalgamation/sqlite3.c assert( isOpen(pPager->jfd) ); assert 38029 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->journalHdr <= pPager->journalOff ); assert 38132 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK || rc==SQLITE_NOMEM ); assert 38157 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState==PAGER_READER assert 38167 third_party/sqlite/amalgamation/sqlite3.c assert( !isOpen(pPager->jfd) ); assert 38179 third_party/sqlite/amalgamation/sqlite3.c assert( (PAGER_JOURNALMODE_MEMORY & 5)!=1 ); assert 38180 third_party/sqlite/amalgamation/sqlite3.c assert( (PAGER_JOURNALMODE_OFF & 5)!=1 ); assert 38181 third_party/sqlite/amalgamation/sqlite3.c assert( (PAGER_JOURNALMODE_WAL & 5)!=1 ); assert 38182 third_party/sqlite/amalgamation/sqlite3.c assert( (PAGER_JOURNALMODE_DELETE & 5)!=1 ); assert 38183 third_party/sqlite/amalgamation/sqlite3.c assert( (PAGER_JOURNALMODE_TRUNCATE & 5)==1 ); assert 38184 third_party/sqlite/amalgamation/sqlite3.c assert( (PAGER_JOURNALMODE_PERSIST & 5)==1 ); assert 38205 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->errCode || pPager->eState!=PAGER_ERROR ); assert 38216 third_party/sqlite/amalgamation/sqlite3.c assert( !MEMDB ); assert 38249 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK || !MEMDB ); assert 38250 third_party/sqlite/amalgamation/sqlite3.c assert( assert 38332 third_party/sqlite/amalgamation/sqlite3.c assert( assert_pager_state(pPager) ); assert 38333 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState!=PAGER_ERROR ); assert 38339 third_party/sqlite/amalgamation/sqlite3.c assert( isOpen(pPager->jfd) || pPager->pInJournal==0 ); assert 38341 third_party/sqlite/amalgamation/sqlite3.c assert( !pagerUseWal(pPager) ); assert 38345 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->journalMode==PAGER_JOURNALMODE_MEMORY ); assert 38365 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->journalMode==PAGER_JOURNALMODE_DELETE assert 38399 third_party/sqlite/amalgamation/sqlite3.c assert( rc2==SQLITE_OK ); assert 38432 third_party/sqlite/amalgamation/sqlite3.c assert( assert_pager_state(pPager) ); assert 38438 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState==PAGER_READER ); assert 38541 third_party/sqlite/amalgamation/sqlite3.c assert( (isMainJrnl&~1)==0 ); /* isMainJrnl is 0 or 1 */ assert 38542 third_party/sqlite/amalgamation/sqlite3.c assert( (isSavepnt&~1)==0 ); /* isSavepnt is 0 or 1 */ assert 38543 third_party/sqlite/amalgamation/sqlite3.c assert( isMainJrnl || pDone ); /* pDone always used on sub-journals */ assert 38544 third_party/sqlite/amalgamation/sqlite3.c assert( isSavepnt || pDone==0 ); /* pDone never used on non-savepoint */ assert 38547 third_party/sqlite/amalgamation/sqlite3.c assert( aData ); /* Temp storage must have already been allocated */ assert 38548 third_party/sqlite/amalgamation/sqlite3.c assert( pagerUseWal(pPager)==0 || (!isMainJrnl && isSavepnt) ); assert 38556 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState>=PAGER_WRITER_CACHEMOD assert 38559 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState>=PAGER_WRITER_CACHEMOD || isMainJrnl ); assert 38577 third_party/sqlite/amalgamation/sqlite3.c assert( !isSavepnt ); assert 38645 third_party/sqlite/amalgamation/sqlite3.c assert( pPg || !MEMDB ); assert 38646 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState!=PAGER_OPEN || pPg==0 ); assert 38662 third_party/sqlite/amalgamation/sqlite3.c assert( !pagerUseWal(pPager) ); assert 38689 third_party/sqlite/amalgamation/sqlite3.c assert( isSavepnt ); assert 38690 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->doNotSpill==0 ); assert 38693 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->doNotSpill==1 ); assert 38730 third_party/sqlite/amalgamation/sqlite3.c assert( !pagerUseWal(pPager) ); assert 38874 third_party/sqlite/amalgamation/sqlite3.c assert( !isOpen(pJournal) ); assert 38903 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState!=PAGER_ERROR ); assert 38904 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState!=PAGER_READER ); assert 38911 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eLock==EXCLUSIVE_LOCK ); assert 38949 third_party/sqlite/amalgamation/sqlite3.c assert( isOpen(pPager->fd) || pPager->tempFile ); assert 38962 third_party/sqlite/amalgamation/sqlite3.c assert( MAX_SECTOR_SIZE>=512 ); assert 39038 third_party/sqlite/amalgamation/sqlite3.c assert( isOpen(pPager->jfd) ); assert 39091 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->journalOff==JOURNAL_HDR_SZ(pPager) ); assert 39159 third_party/sqlite/amalgamation/sqlite3.c assert( 0 ); assert 39167 third_party/sqlite/amalgamation/sqlite3.c assert( assert 39232 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState>=PAGER_READER && !MEMDB ); assert 39233 third_party/sqlite/amalgamation/sqlite3.c assert( isOpen(pPager->fd) ); assert 39236 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->tempFile ); assert 39397 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->pWal ); assert 39401 third_party/sqlite/amalgamation/sqlite3.c assert( p->pgno < p->pDirty->pgno ); assert 39415 third_party/sqlite/amalgamation/sqlite3.c assert( pList ); assert 39451 third_party/sqlite/amalgamation/sqlite3.c assert( pagerUseWal(pPager) ); assert 39452 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState==PAGER_OPEN || pPager->eState==PAGER_READER ); assert 39488 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState==PAGER_OPEN ); assert 39489 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eLock>=SHARED_LOCK || pPager->noReadlock ); assert 39500 third_party/sqlite/amalgamation/sqlite3.c assert( isOpen(pPager->fd) || pPager->tempFile ); assert 39546 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState==PAGER_OPEN ); assert 39547 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eLock>=SHARED_LOCK || pPager->noReadlock ); assert 39618 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState!=PAGER_ERROR ); assert 39619 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState>=PAGER_WRITER_LOCKED ); assert 39645 third_party/sqlite/amalgamation/sqlite3.c assert( pagerUseWal(pPager)==0 || szJ==0 ); assert 39660 third_party/sqlite/amalgamation/sqlite3.c assert( rc!=SQLITE_DONE ); assert 39675 third_party/sqlite/amalgamation/sqlite3.c assert( rc!=SQLITE_DONE ); assert 39690 third_party/sqlite/amalgamation/sqlite3.c assert( rc!=SQLITE_DONE ); assert 39692 third_party/sqlite/amalgamation/sqlite3.c assert( rc!=SQLITE_OK || pPager->journalOff>=szJ ); assert 39706 third_party/sqlite/amalgamation/sqlite3.c assert( offset==ii*(4+pPager->pageSize) ); assert 39709 third_party/sqlite/amalgamation/sqlite3.c assert( rc!=SQLITE_DONE ); assert 39777 third_party/sqlite/amalgamation/sqlite3.c assert( level>=1 && level<=3 ); assert 39834 third_party/sqlite/amalgamation/sqlite3.c assert( rc!=SQLITE_OK || isOpen(pFile) ); assert 39912 third_party/sqlite/amalgamation/sqlite3.c assert( pageSize==0 || (pageSize>=512 && pageSize<=SQLITE_MAX_PAGE_SIZE) ); assert 39941 third_party/sqlite/amalgamation/sqlite3.c assert( nReserve>=0 && nReserve<1000 ); assert 39971 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState!=PAGER_OPEN ); /* Called only by OP_MaxPgcnt */ assert 39972 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->mxPgno>=pPager->dbSize ); /* OP_MaxPgcnt enforces this */ assert 40017 third_party/sqlite/amalgamation/sqlite3.c assert( isOpen(pPager->fd) || pPager->tempFile ); assert 40023 third_party/sqlite/amalgamation/sqlite3.c assert( !pagerUseWal(pPager) ); assert 40043 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState>=PAGER_READER ); assert 40044 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState!=PAGER_WRITER_FINISHED ); assert 40071 third_party/sqlite/amalgamation/sqlite3.c assert( (pPager->eLock>=locktype) assert 40106 third_party/sqlite/amalgamation/sqlite3.c assert( pPg->flags&PGHDR_DIRTY ); assert 40107 third_party/sqlite/amalgamation/sqlite3.c assert( !subjRequiresPage(pPg) || pPg->pgno<=pPg->pPager->dbSize ); assert 40123 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->dbSize>=nPage ); assert 40124 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState>=PAGER_WRITER_CACHEMOD ); assert 40213 third_party/sqlite/amalgamation/sqlite3.c assert( !pPager->aSavepoint && !pPager->pInJournal ); assert 40214 third_party/sqlite/amalgamation/sqlite3.c assert( !isOpen(pPager->jfd) && !isOpen(pPager->sjfd) ); assert 40274 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState==PAGER_WRITER_CACHEMOD assert 40277 third_party/sqlite/amalgamation/sqlite3.c assert( assert_pager_state(pPager) ); assert 40278 third_party/sqlite/amalgamation/sqlite3.c assert( !pagerUseWal(pPager) ); assert 40284 third_party/sqlite/amalgamation/sqlite3.c assert( !pPager->tempFile ); assert 40287 third_party/sqlite/amalgamation/sqlite3.c assert( isOpen(pPager->jfd) ); assert 40378 third_party/sqlite/amalgamation/sqlite3.c assert( assert_pager_state(pPager) ); assert 40418 third_party/sqlite/amalgamation/sqlite3.c assert( !pagerUseWal(pPager) ); assert 40419 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState==PAGER_WRITER_DBMOD ); assert 40420 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eLock==EXCLUSIVE_LOCK ); assert 40427 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->tempFile && rc==SQLITE_OK ); assert 40434 third_party/sqlite/amalgamation/sqlite3.c assert( rc!=SQLITE_OK || isOpen(pPager->fd) ); assert 40456 third_party/sqlite/amalgamation/sqlite3.c assert( (pList->flags&PGHDR_NEED_SYNC)==0 ); assert 40533 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->useJournal ); assert 40534 third_party/sqlite/amalgamation/sqlite3.c assert( isOpen(pPager->jfd) || pagerUseWal(pPager) ); assert 40535 third_party/sqlite/amalgamation/sqlite3.c assert( isOpen(pPager->sjfd) || pPager->nSubRec==0 ); assert 40536 third_party/sqlite/amalgamation/sqlite3.c assert( pagerUseWal(pPager) assert 40559 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->nSavepoint>0 ); assert 40588 third_party/sqlite/amalgamation/sqlite3.c assert( pPg->pPager==pPager ); assert 40589 third_party/sqlite/amalgamation/sqlite3.c assert( pPg->flags&PGHDR_DIRTY ); assert 40665 third_party/sqlite/amalgamation/sqlite3.c assert( (pPg->flags&PGHDR_NEED_SYNC)==0 ); assert 40808 third_party/sqlite/amalgamation/sqlite3.c assert( EIGHT_BYTE_ALIGNMENT(SQLITE_INT_TO_PTR(journalFileSize)) ); assert 40819 third_party/sqlite/amalgamation/sqlite3.c assert( EIGHT_BYTE_ALIGNMENT(pPager->jfd) ); assert 40823 third_party/sqlite/amalgamation/sqlite3.c assert( nPathname>0 ); assert 40843 third_party/sqlite/amalgamation/sqlite3.c assert( !memDb ); assert 40856 third_party/sqlite/amalgamation/sqlite3.c assert(SQLITE_DEFAULT_PAGE_SIZE<=SQLITE_MAX_DEFAULT_PAGE_SIZE); assert 40868 third_party/sqlite/amalgamation/sqlite3.c assert(SQLITE_IOCAP_ATOMIC512==(512>>8)); assert 40869 third_party/sqlite/amalgamation/sqlite3.c assert(SQLITE_IOCAP_ATOMIC64K==(65536>>8)); assert 40870 third_party/sqlite/amalgamation/sqlite3.c assert(SQLITE_MAX_DEFAULT_PAGE_SIZE<=65536); assert 40898 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->memDb==0 ); assert 40907 third_party/sqlite/amalgamation/sqlite3.c assert( !pPager->pTmpSpace ); assert 40914 third_party/sqlite/amalgamation/sqlite3.c assert( nExtra<1000 ); assert 40933 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->state == (tempFile ? PAGER_EXCLUSIVE : PAGER_UNLOCK) ); assert 40937 third_party/sqlite/amalgamation/sqlite3.c assert( tempFile==PAGER_LOCKINGMODE_NORMAL assert 40939 third_party/sqlite/amalgamation/sqlite3.c assert( PAGER_LOCKINGMODE_EXCLUSIVE==1 ); assert 40944 third_party/sqlite/amalgamation/sqlite3.c assert( useJournal || pPager->tempFile ); assert 40954 third_party/sqlite/amalgamation/sqlite3.c assert( isOpen(pPager->fd) || tempFile ); assert 41009 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->useJournal ); assert 41010 third_party/sqlite/amalgamation/sqlite3.c assert( isOpen(pPager->fd) ); assert 41011 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState==PAGER_OPEN ); assert 41013 third_party/sqlite/amalgamation/sqlite3.c assert( jrnlOpen==0 || ( sqlite3OsDeviceCharacteristics(pPager->jfd) & assert 41128 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3PcacheRefCount(pPager->pPCache)==0 ); assert 41129 third_party/sqlite/amalgamation/sqlite3.c assert( assert_pager_state(pPager) ); assert 41130 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState==PAGER_OPEN || pPager->eState==PAGER_READER ); assert 41136 third_party/sqlite/amalgamation/sqlite3.c assert( !MEMDB ); assert 41137 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->noReadlock==0 || pPager->readOnly ); assert 41142 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eLock==NO_LOCK || pPager->eLock==UNKNOWN_LOCK ); assert 41198 third_party/sqlite/amalgamation/sqlite3.c assert( !pPager->tempFile ); assert 41200 third_party/sqlite/amalgamation/sqlite3.c assert( rc!=SQLITE_OK || isOpen(pPager->jfd) ); assert 41217 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK ); assert 41248 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState==PAGER_OPEN ); assert 41249 third_party/sqlite/amalgamation/sqlite3.c assert( (pPager->eLock==SHARED_LOCK) assert 41299 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->pWal==0 || rc==SQLITE_OK ); assert 41304 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK ); assert 41314 third_party/sqlite/amalgamation/sqlite3.c assert( !MEMDB ); assert 41316 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState==PAGER_OPEN ); assert 41396 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState>=PAGER_READER ); assert 41397 third_party/sqlite/amalgamation/sqlite3.c assert( assert_pager_state(pPager) ); assert 41418 third_party/sqlite/amalgamation/sqlite3.c assert( (*ppPage)->pgno==pgno ); assert 41419 third_party/sqlite/amalgamation/sqlite3.c assert( (*ppPage)->pPager==pPager || (*ppPage)->pPager==0 ); assert 41424 third_party/sqlite/amalgamation/sqlite3.c assert( pgno<=PAGER_MAX_PGNO && pgno!=PAGER_MJ_PGNO(pPager) ); assert 41467 third_party/sqlite/amalgamation/sqlite3.c assert( pPg->pPager==pPager ); assert 41479 third_party/sqlite/amalgamation/sqlite3.c assert( rc!=SQLITE_OK ); assert 41502 third_party/sqlite/amalgamation/sqlite3.c assert( pPager!=0 ); assert 41503 third_party/sqlite/amalgamation/sqlite3.c assert( pgno!=0 ); assert 41504 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->pPCache!=0 ); assert 41505 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState>=PAGER_READER && pPager->eState!=PAGER_ERROR ); assert 41566 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState==PAGER_WRITER_LOCKED ); assert 41567 third_party/sqlite/amalgamation/sqlite3.c assert( assert_pager_state(pPager) ); assert 41568 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->pInJournal==0 ); assert 41618 third_party/sqlite/amalgamation/sqlite3.c assert( rc!=SQLITE_OK || isOpen(pPager->jfd) ); assert 41639 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState==PAGER_WRITER_LOCKED ); assert 41667 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState>=PAGER_READER && pPager->eState<PAGER_ERROR ); assert 41671 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->pInJournal==0 ); assert 41720 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK || pPager->eState==PAGER_READER ); assert 41721 third_party/sqlite/amalgamation/sqlite3.c assert( rc!=SQLITE_OK || pPager->eState==PAGER_WRITER_LOCKED ); assert 41722 third_party/sqlite/amalgamation/sqlite3.c assert( assert_pager_state(pPager) ); assert 41745 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState==PAGER_WRITER_LOCKED assert 41749 third_party/sqlite/amalgamation/sqlite3.c assert( assert_pager_state(pPager) ); assert 41774 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState>=PAGER_WRITER_CACHEMOD ); assert 41775 third_party/sqlite/amalgamation/sqlite3.c assert( assert_pager_state(pPager) ); assert 41782 third_party/sqlite/amalgamation/sqlite3.c assert( !pagerUseWal(pPager) ); assert 41790 third_party/sqlite/amalgamation/sqlite3.c assert( pagerUseWal(pPager)==0 ); assert 41799 third_party/sqlite/amalgamation/sqlite3.c assert( pPg->pgno!=PAGER_MJ_PGNO(pPager) ); assert 41801 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->journalHdr<=pPager->journalOff ); assert 41830 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->pInJournal!=0 ); assert 41833 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK || rc==SQLITE_NOMEM ); assert 41836 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_NOMEM ); assert 41888 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState>=PAGER_WRITER_LOCKED ); assert 41889 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState!=PAGER_ERROR ); assert 41890 third_party/sqlite/amalgamation/sqlite3.c assert( assert_pager_state(pPager) ); assert 41903 third_party/sqlite/amalgamation/sqlite3.c assert( !MEMDB ); assert 41904 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->doNotSyncSpill==0 ); assert 41921 third_party/sqlite/amalgamation/sqlite3.c assert(nPage>0); assert 41922 third_party/sqlite/amalgamation/sqlite3.c assert(pg1<=pPg->pgno); assert 41923 third_party/sqlite/amalgamation/sqlite3.c assert((pg1+nPage)>pPg->pgno); assert 41954 third_party/sqlite/amalgamation/sqlite3.c assert( !MEMDB ); assert 41964 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->doNotSyncSpill==1 ); assert 42032 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState==PAGER_WRITER_CACHEMOD assert 42035 third_party/sqlite/amalgamation/sqlite3.c assert( assert_pager_state(pPager) ); assert 42049 third_party/sqlite/amalgamation/sqlite3.c assert( isDirectMode==0 ); assert 42058 third_party/sqlite/amalgamation/sqlite3.c assert( !pPager->tempFile && isOpen(pPager->fd) ); assert 42062 third_party/sqlite/amalgamation/sqlite3.c assert( pPgHdr==0 || rc==SQLITE_OK ); assert 42080 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->dbFileSize>0 ); assert 42109 third_party/sqlite/amalgamation/sqlite3.c assert( !MEMDB ); assert 42112 third_party/sqlite/amalgamation/sqlite3.c assert( !MEMDB ); assert 42131 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState==PAGER_WRITER_CACHEMOD assert 42135 third_party/sqlite/amalgamation/sqlite3.c assert( assert_pager_state(pPager) ); assert 42175 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState==PAGER_WRITER_LOCKED assert 42180 third_party/sqlite/amalgamation/sqlite3.c assert( assert_pager_state(pPager) ); assert 42208 third_party/sqlite/amalgamation/sqlite3.c assert( pList!=0 || rc!=SQLITE_OK ); assert 42244 third_party/sqlite/amalgamation/sqlite3.c assert( isOpen(pPager->jfd) assert 42326 third_party/sqlite/amalgamation/sqlite3.c assert( rc!=SQLITE_IOERR_BLOCKED ); assert 42336 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState==PAGER_WRITER_DBMOD ); assert 42380 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState==PAGER_WRITER_LOCKED assert 42384 third_party/sqlite/amalgamation/sqlite3.c assert( assert_pager_state(pPager) ); assert 42401 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->journalOff==JOURNAL_HDR_SZ(pPager) || !pPager->journalOff ); assert 42445 third_party/sqlite/amalgamation/sqlite3.c assert( assert_pager_state(pPager) ); assert 42470 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState==PAGER_READER || rc!=SQLITE_OK ); assert 42471 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK || rc==SQLITE_FULL || (rc&0xFF)==SQLITE_IOERR ); assert 42555 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState>=PAGER_WRITER_LOCKED ); assert 42556 third_party/sqlite/amalgamation/sqlite3.c assert( assert_pager_state(pPager) ); assert 42593 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->nSavepoint==nSavepoint ); assert 42633 third_party/sqlite/amalgamation/sqlite3.c assert( op==SAVEPOINT_RELEASE || op==SAVEPOINT_ROLLBACK ); assert 42634 third_party/sqlite/amalgamation/sqlite3.c assert( iSavepoint>=0 || op==SAVEPOINT_ROLLBACK ); assert 42657 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK ); assert 42670 third_party/sqlite/amalgamation/sqlite3.c assert(rc!=SQLITE_DONE); assert 42770 third_party/sqlite/amalgamation/sqlite3.c assert( pPg->nRef>0 ); assert 42771 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState==PAGER_WRITER_CACHEMOD assert 42774 third_party/sqlite/amalgamation/sqlite3.c assert( assert_pager_state(pPager) ); assert 42822 third_party/sqlite/amalgamation/sqlite3.c assert( pageInJournal(pPg) || pPg->pgno>pPager->dbOrigSize ); assert 42823 third_party/sqlite/amalgamation/sqlite3.c assert( pPg->flags&PGHDR_DIRTY ); assert 42833 third_party/sqlite/amalgamation/sqlite3.c assert( !pPgOld || pPgOld->nRef==1 ); assert 42854 third_party/sqlite/amalgamation/sqlite3.c assert( pPgOld ); assert 42878 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->pTmpSpace!=0 ); assert 42896 third_party/sqlite/amalgamation/sqlite3.c assert( pPg->nRef>0 || pPg->pPager->memDb ); assert 42919 third_party/sqlite/amalgamation/sqlite3.c assert( eMode==PAGER_LOCKINGMODE_QUERY assert 42922 third_party/sqlite/amalgamation/sqlite3.c assert( PAGER_LOCKINGMODE_QUERY<0 ); assert 42923 third_party/sqlite/amalgamation/sqlite3.c assert( PAGER_LOCKINGMODE_NORMAL>=0 && PAGER_LOCKINGMODE_EXCLUSIVE>=0 ); assert 42924 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->exclusiveMode || 0==sqlite3WalHeapMemory(pPager->pWal) ); assert 42962 third_party/sqlite/amalgamation/sqlite3.c assert( eMode==PAGER_JOURNALMODE_DELETE assert 42973 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->tempFile==0 || eMode!=PAGER_JOURNALMODE_WAL ); assert 42979 third_party/sqlite/amalgamation/sqlite3.c assert( eOld==PAGER_JOURNALMODE_MEMORY || eOld==PAGER_JOURNALMODE_OFF ); assert 42988 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState!=PAGER_ERROR ); assert 42995 third_party/sqlite/amalgamation/sqlite3.c assert( (PAGER_JOURNALMODE_TRUNCATE & 5)==1 ); assert 42996 third_party/sqlite/amalgamation/sqlite3.c assert( (PAGER_JOURNALMODE_PERSIST & 5)==1 ); assert 42997 third_party/sqlite/amalgamation/sqlite3.c assert( (PAGER_JOURNALMODE_DELETE & 5)==0 ); assert 42998 third_party/sqlite/amalgamation/sqlite3.c assert( (PAGER_JOURNALMODE_MEMORY & 5)==4 ); assert 42999 third_party/sqlite/amalgamation/sqlite3.c assert( (PAGER_JOURNALMODE_OFF & 5)==0 ); assert 43000 third_party/sqlite/amalgamation/sqlite3.c assert( (PAGER_JOURNALMODE_WAL & 5)==5 ); assert 43002 third_party/sqlite/amalgamation/sqlite3.c assert( isOpen(pPager->fd) || pPager->exclusiveMode ); assert 43019 third_party/sqlite/amalgamation/sqlite3.c assert( state==PAGER_OPEN || state==PAGER_READER ); assert 43024 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK ); assert 43035 third_party/sqlite/amalgamation/sqlite3.c assert( state==pPager->eState ); assert 43057 third_party/sqlite/amalgamation/sqlite3.c assert( assert_pager_state(pPager) ); assert 43126 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eLock==SHARED_LOCK || pPager->eLock==EXCLUSIVE_LOCK ); assert 43146 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->pWal==0 && pPager->tempFile==0 ); assert 43147 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eLock==SHARED_LOCK || pPager->eLock==EXCLUSIVE_LOCK || pPager->noReadlock); assert 43192 third_party/sqlite/amalgamation/sqlite3.c assert( assert_pager_state(pPager) ); assert 43193 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState==PAGER_OPEN || pbOpen ); assert 43194 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->eState==PAGER_READER || !pbOpen ); assert 43195 third_party/sqlite/amalgamation/sqlite3.c assert( pbOpen==0 || *pbOpen==0 ); assert 43196 third_party/sqlite/amalgamation/sqlite3.c assert( pbOpen!=0 || (!pPager->tempFile && !pPager->pWal) ); assert 43228 third_party/sqlite/amalgamation/sqlite3.c assert( pPager->journalMode==PAGER_JOURNALMODE_WAL ); assert 43815 third_party/sqlite/amalgamation/sqlite3.c assert( iPage==0 || *ppPage || rc!=SQLITE_OK ); assert 43823 third_party/sqlite/amalgamation/sqlite3.c assert( pWal->nWiData>0 && pWal->apWiData[0] ); assert 43831 third_party/sqlite/amalgamation/sqlite3.c assert( pWal->nWiData>0 && pWal->apWiData[0] ); assert 43874 third_party/sqlite/amalgamation/sqlite3.c assert( nByte>=8 ); assert 43875 third_party/sqlite/amalgamation/sqlite3.c assert( (nByte&0x00000007)==0 ); assert 43909 third_party/sqlite/amalgamation/sqlite3.c assert( pWal->writeLock ); assert 43940 third_party/sqlite/amalgamation/sqlite3.c assert( WAL_FRAME_HDRSIZE==24 ); assert 43968 third_party/sqlite/amalgamation/sqlite3.c assert( WAL_FRAME_HDRSIZE==24 ); assert 44077 third_party/sqlite/amalgamation/sqlite3.c assert( iPage>0 ); assert 44078 third_party/sqlite/amalgamation/sqlite3.c assert( (HASHTABLE_NSLOT & (HASHTABLE_NSLOT-1))==0 ); assert 44110 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK || iHash>0 ); assert 44139 third_party/sqlite/amalgamation/sqlite3.c assert( (iHash==0 || iFrame>HASHTABLE_NPAGE_ONE) assert 44179 third_party/sqlite/amalgamation/sqlite3.c assert( pWal->writeLock ); assert 44190 third_party/sqlite/amalgamation/sqlite3.c assert( pWal->nWiData>walFramePage(pWal->hdr.mxFrame) ); assert 44191 third_party/sqlite/amalgamation/sqlite3.c assert( pWal->apWiData[walFramePage(pWal->hdr.mxFrame)] ); assert 44198 third_party/sqlite/amalgamation/sqlite3.c assert( iLimit>0 ); assert 44222 third_party/sqlite/amalgamation/sqlite3.c assert( aHash[iKey]==i ); assert 44250 third_party/sqlite/amalgamation/sqlite3.c assert( idx <= HASHTABLE_NSLOT/2 + 1 ); assert 44268 third_party/sqlite/amalgamation/sqlite3.c assert( !aPgno[idx] ); assert 44287 third_party/sqlite/amalgamation/sqlite3.c assert( nEntry==idx ); assert 44301 third_party/sqlite/amalgamation/sqlite3.c assert( aHash[iKey]==i ); assert 44335 third_party/sqlite/amalgamation/sqlite3.c assert( pWal->ckptLock==1 || pWal->ckptLock==0 ); assert 44336 third_party/sqlite/amalgamation/sqlite3.c assert( WAL_ALL_BUT_WRITE==WAL_WRITE_LOCK+1 ); assert 44337 third_party/sqlite/amalgamation/sqlite3.c assert( WAL_CKPT_LOCK==WAL_ALL_BUT_WRITE ); assert 44338 third_party/sqlite/amalgamation/sqlite3.c assert( pWal->writeLock ); assert 44523 third_party/sqlite/amalgamation/sqlite3.c assert( zWalName && zWalName[0] ); assert 44524 third_party/sqlite/amalgamation/sqlite3.c assert( pDbFd ); assert 44531 third_party/sqlite/amalgamation/sqlite3.c assert( WIN_SHM_BASE==WALINDEX_LOCK_OFFSET ); assert 44534 third_party/sqlite/amalgamation/sqlite3.c assert( UNIX_SHM_BASE==WALINDEX_LOCK_OFFSET ); assert 44590 third_party/sqlite/amalgamation/sqlite3.c assert( iMin<0xffffffff ); assert 44647 third_party/sqlite/amalgamation/sqlite3.c assert( nLeft>0 && nRight>0 ); assert 44664 third_party/sqlite/amalgamation/sqlite3.c assert( iLeft>=nLeft || aContent[aLeft[iLeft]]>dbpage ); assert 44665 third_party/sqlite/amalgamation/sqlite3.c assert( iRight>=nRight || aContent[aRight[iRight]]>dbpage ); assert 44709 third_party/sqlite/amalgamation/sqlite3.c assert( nList<=HASHTABLE_NPAGE && nList>0 ); assert 44710 third_party/sqlite/amalgamation/sqlite3.c assert( HASHTABLE_NPAGE==(1<<(ArraySize(aSub)-1)) ); assert 44717 third_party/sqlite/amalgamation/sqlite3.c assert( p->aList && p->nList<=(1<<iSub) ); assert 44718 third_party/sqlite/amalgamation/sqlite3.c assert( p->aList==&aList[iList&~((2<<iSub)-1)] ); assert 44728 third_party/sqlite/amalgamation/sqlite3.c assert( p->nList<=(1<<iSub) ); assert 44729 third_party/sqlite/amalgamation/sqlite3.c assert( p->aList==&aList[nList&~((2<<iSub)-1)] ); assert 44733 third_party/sqlite/amalgamation/sqlite3.c assert( aMerge==aList ); assert 44740 third_party/sqlite/amalgamation/sqlite3.c assert( aContent[aList[i]] > aContent[aList[i-1]] ); assert 44777 third_party/sqlite/amalgamation/sqlite3.c assert( pWal->ckptLock && pWal->hdr.mxFrame>0 ); assert 44930 third_party/sqlite/amalgamation/sqlite3.c assert( pIter ); assert 44944 third_party/sqlite/amalgamation/sqlite3.c assert( y<=pWal->hdr.mxFrame ); assert 44983 third_party/sqlite/amalgamation/sqlite3.c assert( walFramePgno(pWal, iFrame)==iDbpage ); assert 45026 third_party/sqlite/amalgamation/sqlite3.c assert( pWal->writeLock ); assert 45030 third_party/sqlite/amalgamation/sqlite3.c assert( mxSafeFrame==pWal->hdr.mxFrame ); assert 45112 third_party/sqlite/amalgamation/sqlite3.c assert( pWal->nWiData>0 && pWal->apWiData[0] ); assert 45172 third_party/sqlite/amalgamation/sqlite3.c assert( pChanged ); assert 45177 third_party/sqlite/amalgamation/sqlite3.c assert( page0 || pWal->writeLock==0 ); assert 45189 third_party/sqlite/amalgamation/sqlite3.c assert( badHdr==0 || pWal->writeLock==0 ); assert 45281 third_party/sqlite/amalgamation/sqlite3.c assert( pWal->readLock<0 ); /* Not currently locked */ assert 45384 third_party/sqlite/amalgamation/sqlite3.c assert( thisMark!=READMARK_NOT_USED ); assert 45405 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_BUSY ); assert 45440 third_party/sqlite/amalgamation/sqlite3.c assert( mxReadMark<=pWal->hdr.mxFrame ); assert 45507 third_party/sqlite/amalgamation/sqlite3.c assert( pWal->readLock>=0 || pWal->lockError ); assert 45561 third_party/sqlite/amalgamation/sqlite3.c assert( iFrame>iRead ); assert 45583 third_party/sqlite/amalgamation/sqlite3.c assert( iRead==iRead2 ); assert 45637 third_party/sqlite/amalgamation/sqlite3.c assert( pWal->readLock>=0 ); assert 45715 third_party/sqlite/amalgamation/sqlite3.c assert( walFramePgno(pWal, iFrame)!=1 ); assert 45720 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK ); assert 45731 third_party/sqlite/amalgamation/sqlite3.c assert( pWal->writeLock ); assert 45747 third_party/sqlite/amalgamation/sqlite3.c assert( pWal->writeLock ); assert 45748 third_party/sqlite/amalgamation/sqlite3.c assert( aWalData[3]!=pWal->nCkpt || aWalData[0]<=pWal->hdr.mxFrame ); assert 45787 third_party/sqlite/amalgamation/sqlite3.c assert( pInfo->nBackfill==pWal->hdr.mxFrame ); assert 45812 third_party/sqlite/amalgamation/sqlite3.c assert( pInfo->aReadMark[0]==0 ); assert 45825 third_party/sqlite/amalgamation/sqlite3.c assert( (rc&0xff)!=SQLITE_BUSY ); /* BUSY not possible when useWal==1 */ assert 45852 third_party/sqlite/amalgamation/sqlite3.c assert( pList ); assert 45853 third_party/sqlite/amalgamation/sqlite3.c assert( pWal->writeLock ); assert 45899 third_party/sqlite/amalgamation/sqlite3.c assert( (int)pWal->szPage==szPage ); assert 45936 third_party/sqlite/amalgamation/sqlite3.c assert( isCommit ); assert 45937 third_party/sqlite/amalgamation/sqlite3.c assert( iSegment>0 ); assert 46027 third_party/sqlite/amalgamation/sqlite3.c assert( pWal->ckptLock==0 ); assert 46028 third_party/sqlite/amalgamation/sqlite3.c assert( pWal->writeLock==0 ); assert 46137 third_party/sqlite/amalgamation/sqlite3.c assert( pWal->writeLock==0 ); assert 46138 third_party/sqlite/amalgamation/sqlite3.c assert( pWal->exclusiveMode!=WAL_HEAPMEMORY_MODE || op==-1 ); assert 46146 third_party/sqlite/amalgamation/sqlite3.c assert( pWal->readLock>=0 || pWal->lockError ); assert 46147 third_party/sqlite/amalgamation/sqlite3.c assert( pWal->readLock>=0 || (op<=0 && pWal->exclusiveMode==0) ); assert 46161 third_party/sqlite/amalgamation/sqlite3.c assert( pWal->exclusiveMode==0 ); assert 46162 third_party/sqlite/amalgamation/sqlite3.c assert( pWal->readLock>=0 ); assert 46805 third_party/sqlite/amalgamation/sqlite3.c assert( p->pBt->inTransaction!=TRANS_NONE || p->pBt->nTransaction==0 ); \ assert 46806 third_party/sqlite/amalgamation/sqlite3.c assert( p->pBt->inTransaction>=p->inTrans ); assert 46858 third_party/sqlite/amalgamation/sqlite3.c assert( p->locked==0 ); assert 46859 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_notheld(p->pBt->mutex) ); assert 46860 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(p->db->mutex) ); assert 46873 third_party/sqlite/amalgamation/sqlite3.c assert( p->locked==1 ); assert 46874 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 46875 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(p->db->mutex) ); assert 46876 third_party/sqlite/amalgamation/sqlite3.c assert( p->db==pBt->db ); assert 46905 third_party/sqlite/amalgamation/sqlite3.c assert( p->pNext==0 || p->pNext->pBt>p->pBt ); assert 46906 third_party/sqlite/amalgamation/sqlite3.c assert( p->pPrev==0 || p->pPrev->pBt<p->pBt ); assert 46907 third_party/sqlite/amalgamation/sqlite3.c assert( p->pNext==0 || p->pNext->db==p->db ); assert 46908 third_party/sqlite/amalgamation/sqlite3.c assert( p->pPrev==0 || p->pPrev->db==p->db ); assert 46909 third_party/sqlite/amalgamation/sqlite3.c assert( p->sharable || (p->pNext==0 && p->pPrev==0) ); assert 46912 third_party/sqlite/amalgamation/sqlite3.c assert( !p->locked || p->wantToLock>0 ); assert 46913 third_party/sqlite/amalgamation/sqlite3.c assert( p->sharable || p->wantToLock==0 ); assert 46916 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(p->db->mutex) ); assert 46920 third_party/sqlite/amalgamation/sqlite3.c assert( (p->locked==0 && p->sharable) || p->pBt->db==p->db ); assert 46942 third_party/sqlite/amalgamation/sqlite3.c assert( pLater->sharable ); assert 46943 third_party/sqlite/amalgamation/sqlite3.c assert( pLater->pNext==0 || pLater->pNext->pBt>pLater->pBt ); assert 46944 third_party/sqlite/amalgamation/sqlite3.c assert( !pLater->locked || pLater->wantToLock>0 ); assert 46962 third_party/sqlite/amalgamation/sqlite3.c assert( p->wantToLock>0 ); assert 46978 third_party/sqlite/amalgamation/sqlite3.c assert( p->sharable==0 || p->locked==0 || p->wantToLock>0 ); assert 46979 third_party/sqlite/amalgamation/sqlite3.c assert( p->sharable==0 || p->locked==0 || p->db==p->pBt->db ); assert 46980 third_party/sqlite/amalgamation/sqlite3.c assert( p->sharable==0 || p->locked==0 || sqlite3_mutex_held(p->pBt->mutex) ); assert 46981 third_party/sqlite/amalgamation/sqlite3.c assert( p->sharable==0 || p->locked==0 || sqlite3_mutex_held(p->db->mutex) ); assert 47020 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(db->mutex) ); assert 47029 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(db->mutex) ); assert 47082 third_party/sqlite/amalgamation/sqlite3.c assert( db!=0 ); assert 47084 third_party/sqlite/amalgamation/sqlite3.c assert( iDb>=0 && iDb<db->nDb ); assert 47088 third_party/sqlite/amalgamation/sqlite3.c assert( p!=0 ); assert 47345 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3BtreeHoldsMutex(p) ); assert 47346 third_party/sqlite/amalgamation/sqlite3.c assert( eLock==READ_LOCK || eLock==WRITE_LOCK ); assert 47347 third_party/sqlite/amalgamation/sqlite3.c assert( p->db!=0 ); assert 47348 third_party/sqlite/amalgamation/sqlite3.c assert( !(p->db->flags&SQLITE_ReadUncommitted)||eLock==WRITE_LOCK||iTab==1 ); assert 47354 third_party/sqlite/amalgamation/sqlite3.c assert( eLock==READ_LOCK || (p==pBt->pWriter && p->inTrans==TRANS_WRITE) ); assert 47355 third_party/sqlite/amalgamation/sqlite3.c assert( eLock==READ_LOCK || pBt->inTransaction==TRANS_WRITE ); assert 47380 third_party/sqlite/amalgamation/sqlite3.c assert( pIter->eLock==READ_LOCK || pIter->eLock==WRITE_LOCK ); assert 47381 third_party/sqlite/amalgamation/sqlite3.c assert( eLock==READ_LOCK || pIter->pBtree==p || pIter->eLock==READ_LOCK); assert 47385 third_party/sqlite/amalgamation/sqlite3.c assert( p==pBt->pWriter ); assert 47418 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3BtreeHoldsMutex(p) ); assert 47419 third_party/sqlite/amalgamation/sqlite3.c assert( eLock==READ_LOCK || eLock==WRITE_LOCK ); assert 47420 third_party/sqlite/amalgamation/sqlite3.c assert( p->db!=0 ); assert 47426 third_party/sqlite/amalgamation/sqlite3.c assert( 0==(p->db->flags&SQLITE_ReadUncommitted) || eLock==WRITE_LOCK ); assert 47430 third_party/sqlite/amalgamation/sqlite3.c assert( p->sharable ); assert 47431 third_party/sqlite/amalgamation/sqlite3.c assert( SQLITE_OK==querySharedCacheTableLock(p, iTable, eLock) ); assert 47459 third_party/sqlite/amalgamation/sqlite3.c assert( WRITE_LOCK>READ_LOCK ); assert 47481 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3BtreeHoldsMutex(p) ); assert 47482 third_party/sqlite/amalgamation/sqlite3.c assert( p->sharable || 0==*ppIter ); assert 47483 third_party/sqlite/amalgamation/sqlite3.c assert( p->inTrans>0 ); assert 47487 third_party/sqlite/amalgamation/sqlite3.c assert( pBt->isExclusive==0 || pBt->pWriter==pLock->pBtree ); assert 47488 third_party/sqlite/amalgamation/sqlite3.c assert( pLock->pBtree->inTrans>=pLock->eLock ); assert 47491 third_party/sqlite/amalgamation/sqlite3.c assert( pLock->iTable!=1 || pLock==&p->lock ); assert 47500 third_party/sqlite/amalgamation/sqlite3.c assert( pBt->isPending==0 || pBt->pWriter ); assert 47530 third_party/sqlite/amalgamation/sqlite3.c assert( pLock->eLock==READ_LOCK || pLock->pBtree==p ); assert 47557 third_party/sqlite/amalgamation/sqlite3.c assert( cursorHoldsMutex(pCur) ); assert 47568 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 47594 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3BtreeHoldsMutex(pBtree) ); assert 47647 third_party/sqlite/amalgamation/sqlite3.c assert( pgno<=pBt->nPage ); assert 47690 third_party/sqlite/amalgamation/sqlite3.c assert( CURSOR_VALID==pCur->eState ); assert 47691 third_party/sqlite/amalgamation/sqlite3.c assert( 0==pCur->pKey ); assert 47692 third_party/sqlite/amalgamation/sqlite3.c assert( cursorHoldsMutex(pCur) ); assert 47695 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK ); /* KeySize() cannot fail */ assert 47716 third_party/sqlite/amalgamation/sqlite3.c assert( !pCur->apPage[0]->intKey || !pCur->pKey ); assert 47739 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 47740 third_party/sqlite/amalgamation/sqlite3.c assert( pExcept==0 || pExcept->pBt==pBt ); assert 47757 third_party/sqlite/amalgamation/sqlite3.c assert( cursorHoldsMutex(pCur) ); assert 47780 third_party/sqlite/amalgamation/sqlite3.c assert( nKey==(i64)(int)nKey ); assert 47803 third_party/sqlite/amalgamation/sqlite3.c assert( cursorHoldsMutex(pCur) ); assert 47804 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->eState>=CURSOR_REQUIRESEEK ); assert 47813 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->eState==CURSOR_VALID || pCur->eState==CURSOR_INVALID ); assert 47860 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 47890 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 47892 third_party/sqlite/amalgamation/sqlite3.c assert( 0==PTRMAP_ISPAGE(pBt, PENDING_BYTE_PAGE(pBt)) ); assert 47894 third_party/sqlite/amalgamation/sqlite3.c assert( pBt->autoVacuum ); assert 47939 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 47949 third_party/sqlite/amalgamation/sqlite3.c assert( pEType!=0 ); assert 47980 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pPage->pBt->mutex) ); assert 48013 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pPage->pBt->mutex) ); assert 48016 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->leaf==0 || pPage->leaf==1 ); assert 48018 third_party/sqlite/amalgamation/sqlite3.c assert( n==4-4*pPage->leaf ); assert 48136 third_party/sqlite/amalgamation/sqlite3.c assert( nSize==debuginfo.nSize ); assert 48157 third_party/sqlite/amalgamation/sqlite3.c assert( pCell!=0 ); assert 48159 third_party/sqlite/amalgamation/sqlite3.c assert( (info.nData+(pPage->intKey?0:info.nKey))==info.nPayload ); assert 48189 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3PagerIswriteable(pPage->pDbPage) ); assert 48190 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->pBt!=0 ); assert 48191 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->pBt->usableSize <= SQLITE_MAX_PAGE_SIZE ); assert 48192 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->nOverflow==0 ); assert 48193 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pPage->pBt->mutex) ); assert 48199 third_party/sqlite/amalgamation/sqlite3.c assert( nCell==get2byte(&data[hdr+3]) ); assert 48220 third_party/sqlite/amalgamation/sqlite3.c assert( pc>=iCellFirst && pc<=iCellLast ); assert 48232 third_party/sqlite/amalgamation/sqlite3.c assert( cbrk+size<=usableSize && cbrk>=iCellFirst ); assert 48238 third_party/sqlite/amalgamation/sqlite3.c assert( cbrk>=iCellFirst ); assert 48244 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3PagerIswriteable(pPage->pDbPage) ); assert 48273 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3PagerIswriteable(pPage->pDbPage) ); assert 48274 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->pBt ); assert 48275 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pPage->pBt->mutex) ); assert 48276 third_party/sqlite/amalgamation/sqlite3.c assert( nByte>=0 ); /* Minimum cell size is 4 */ assert 48277 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->nFree>=nByte ); assert 48278 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->nOverflow==0 ); assert 48280 third_party/sqlite/amalgamation/sqlite3.c assert( nByte < usableSize-8 ); assert 48283 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->cellOffset == hdr + 12 - 4*pPage->leaf ); assert 48338 third_party/sqlite/amalgamation/sqlite3.c assert( gap+nByte<=top ); assert 48350 third_party/sqlite/amalgamation/sqlite3.c assert( top+nByte <= (int)pPage->pBt->usableSize ); assert 48368 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->pBt!=0 ); assert 48369 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3PagerIswriteable(pPage->pDbPage) ); assert 48370 third_party/sqlite/amalgamation/sqlite3.c assert( start>=pPage->hdrOffset+6+pPage->childPtrSize ); assert 48371 third_party/sqlite/amalgamation/sqlite3.c assert( (start + size) <= (int)pPage->pBt->usableSize ); assert 48372 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pPage->pBt->mutex) ); assert 48373 third_party/sqlite/amalgamation/sqlite3.c assert( size>=0 ); /* Minimum cell size is 4 */ assert 48393 third_party/sqlite/amalgamation/sqlite3.c assert( start<=iLast ); assert 48403 third_party/sqlite/amalgamation/sqlite3.c assert( pbegin>addr || pbegin==0 ); assert 48413 third_party/sqlite/amalgamation/sqlite3.c assert( pbegin>addr ); assert 48414 third_party/sqlite/amalgamation/sqlite3.c assert( pbegin <= (int)pPage->pBt->usableSize-4 ); assert 48440 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3PagerIswriteable(pPage->pDbPage) ); assert 48459 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->hdrOffset==(pPage->pgno==1 ? 100 : 0) ); assert 48460 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pPage->pBt->mutex) ); assert 48461 third_party/sqlite/amalgamation/sqlite3.c pPage->leaf = (u8)(flagByte>>3); assert( PTF_LEAF == 1<<3 ); assert 48492 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->pBt!=0 ); assert 48493 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pPage->pBt->mutex) ); assert 48494 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->pgno==sqlite3PagerPagenumber(pPage->pDbPage) ); assert 48495 third_party/sqlite/amalgamation/sqlite3.c assert( pPage == sqlite3PagerGetExtra(pPage->pDbPage) ); assert 48496 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->aData == sqlite3PagerGetData(pPage->pDbPage) ); assert 48515 third_party/sqlite/amalgamation/sqlite3.c assert( pBt->pageSize>=512 && pBt->pageSize<=65536 ); assert 48606 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3PagerPagenumber(pPage->pDbPage)==pPage->pgno ); assert 48607 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3PagerGetExtra(pPage->pDbPage) == (void*)pPage ); assert 48608 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3PagerGetData(pPage->pDbPage) == data ); assert 48609 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3PagerIswriteable(pPage->pDbPage) ); assert 48610 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 48624 third_party/sqlite/amalgamation/sqlite3.c assert( pBt->pageSize>=512 && pBt->pageSize<=65536 ); assert 48665 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 48679 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 48695 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3BtreeHoldsMutex(p) ); assert 48696 third_party/sqlite/amalgamation/sqlite3.c assert( ((p->pBt->nPage)&0x8000000)==0 ); assert 48714 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 48729 third_party/sqlite/amalgamation/sqlite3.c assert( pgno!=0 || rc==SQLITE_CORRUPT ); assert 48739 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->aData ); assert 48740 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->pBt ); assert 48741 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3PagerGetExtra(pPage->pDbPage) == (void*)pPage ); assert 48742 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3PagerGetData(pPage->pDbPage)==pPage->aData ); assert 48743 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pPage->pBt->mutex) ); assert 48759 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3PagerPageRefcount(pData)>0 ); assert 48761 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pPage->pBt->mutex) ); assert 48780 third_party/sqlite/amalgamation/sqlite3.c assert( pBt->db ); assert 48781 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pBt->db->mutex) ); assert 48837 third_party/sqlite/amalgamation/sqlite3.c assert( db!=0 ); assert 48838 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(db->mutex) ); assert 48839 third_party/sqlite/amalgamation/sqlite3.c assert( (flags&0xff)==flags ); /* flags fit in 8 bits */ assert 48842 third_party/sqlite/amalgamation/sqlite3.c assert( (flags & BTREE_UNORDERED)==0 || (flags & BTREE_SINGLE)!=0 ); assert 48845 third_party/sqlite/amalgamation/sqlite3.c assert( (flags & BTREE_SINGLE)==0 || isTempDb ); assert 48889 third_party/sqlite/amalgamation/sqlite3.c assert( pBt->nRef>0 ); assert 48929 third_party/sqlite/amalgamation/sqlite3.c assert( sizeof(i64)==8 || sizeof(i64)==4 ); assert 48930 third_party/sqlite/amalgamation/sqlite3.c assert( sizeof(u64)==8 || sizeof(u64)==4 ); assert 48931 third_party/sqlite/amalgamation/sqlite3.c assert( sizeof(u32)==4 ); assert 48932 third_party/sqlite/amalgamation/sqlite3.c assert( sizeof(u16)==2 ); assert 48933 third_party/sqlite/amalgamation/sqlite3.c assert( sizeof(Pgno)==4 ); assert 48987 third_party/sqlite/amalgamation/sqlite3.c assert( (pBt->pageSize & 7)==0 ); /* 8-byte alignment of pageSize */ assert 49063 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(mutexOpen) ); assert 49081 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_notheld(pBt->mutex) ); assert 49135 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(p->db->mutex) ); assert 49157 third_party/sqlite/amalgamation/sqlite3.c assert( p->wantToLock==0 && p->locked==0 ); assert 49164 third_party/sqlite/amalgamation/sqlite3.c assert( !pBt->pCursor ); assert 49175 third_party/sqlite/amalgamation/sqlite3.c assert( p->wantToLock==0 ); assert 49176 third_party/sqlite/amalgamation/sqlite3.c assert( p->locked==0 ); assert 49202 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(p->db->mutex) ); assert 49225 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(p->db->mutex) ); assert 49226 third_party/sqlite/amalgamation/sqlite3.c assert( level>=1 && level<=3 ); assert 49241 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(p->db->mutex) ); assert 49243 third_party/sqlite/amalgamation/sqlite3.c assert( pBt && pBt->pPager ); assert 49272 third_party/sqlite/amalgamation/sqlite3.c assert( nReserve>=-1 && nReserve<=255 ); assert 49281 third_party/sqlite/amalgamation/sqlite3.c assert( nReserve>=0 && nReserve<=255 ); assert 49284 third_party/sqlite/amalgamation/sqlite3.c assert( (pageSize & 7)==0 ); assert 49285 third_party/sqlite/amalgamation/sqlite3.c assert( !pBt->pPage1 && !pBt->pCursor ); assert 49411 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 49412 third_party/sqlite/amalgamation/sqlite3.c assert( pBt->pPage1==0 ); assert 49486 third_party/sqlite/amalgamation/sqlite3.c assert( (pageSize & 7)==0 ); assert 49535 third_party/sqlite/amalgamation/sqlite3.c assert( pBt->maxLeaf + 23 <= MX_CELL_SIZE(pBt) ); assert 49555 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 49556 third_party/sqlite/amalgamation/sqlite3.c assert( pBt->pCursor==0 || pBt->inTransaction>TRANS_NONE ); assert 49558 third_party/sqlite/amalgamation/sqlite3.c assert( pBt->pPage1->aData ); assert 49559 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3PagerRefcount(pBt->pPager)==1 ); assert 49560 third_party/sqlite/amalgamation/sqlite3.c assert( pBt->pPage1->aData ); assert 49576 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 49581 third_party/sqlite/amalgamation/sqlite3.c assert( pP1!=0 ); assert 49586 third_party/sqlite/amalgamation/sqlite3.c assert( sizeof(zMagicHeader)==16 ); assert 49591 third_party/sqlite/amalgamation/sqlite3.c assert( pBt->usableSize<=pBt->pageSize && pBt->usableSize+255>=pBt->pageSize); assert 49600 third_party/sqlite/amalgamation/sqlite3.c assert( pBt->autoVacuum==1 || pBt->autoVacuum==0 ); assert 49601 third_party/sqlite/amalgamation/sqlite3.c assert( pBt->incrVacuum==1 || pBt->incrVacuum==0 ); assert 49729 third_party/sqlite/amalgamation/sqlite3.c assert( p->lock.pBtree==p && p->lock.iTable==1 ); assert 49743 third_party/sqlite/amalgamation/sqlite3.c assert( !pBt->pWriter ); assert 49793 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pPage->pBt->mutex) ); assert 49836 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pPage->pBt->mutex) ); assert 49837 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3PagerIswriteable(pPage->pDbPage) ); assert 49907 third_party/sqlite/amalgamation/sqlite3.c assert( eType==PTRMAP_OVERFLOW2 || eType==PTRMAP_OVERFLOW1 || assert 49909 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 49910 third_party/sqlite/amalgamation/sqlite3.c assert( pDbPage->pBt==pBt ); assert 49992 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 49993 third_party/sqlite/amalgamation/sqlite3.c assert( iLastPg>nFin ); assert 50025 third_party/sqlite/amalgamation/sqlite3.c assert( iFreePg==iLastPg ); assert 50053 third_party/sqlite/amalgamation/sqlite3.c assert( iFreePg<iLastPg ); assert 50102 third_party/sqlite/amalgamation/sqlite3.c assert( pBt->inTransaction==TRANS_WRITE && p->inTrans==TRANS_WRITE ); assert 50131 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 50133 third_party/sqlite/amalgamation/sqlite3.c assert(pBt->autoVacuum); assert 50179 third_party/sqlite/amalgamation/sqlite3.c assert( nRef==sqlite3PagerRefcount(pPager) ); assert 50239 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3BtreeHoldsMutex(p) ); assert 50308 third_party/sqlite/amalgamation/sqlite3.c assert( pBt->inTransaction==TRANS_WRITE ); assert 50309 third_party/sqlite/amalgamation/sqlite3.c assert( pBt->nTransaction>0 ); assert 50424 third_party/sqlite/amalgamation/sqlite3.c assert( TRANS_WRITE==pBt->inTransaction ); assert 50441 third_party/sqlite/amalgamation/sqlite3.c assert( countWriteCursors(pBt)==0 ); assert 50472 third_party/sqlite/amalgamation/sqlite3.c assert( p->inTrans==TRANS_WRITE ); assert 50473 third_party/sqlite/amalgamation/sqlite3.c assert( pBt->readOnly==0 ); assert 50474 third_party/sqlite/amalgamation/sqlite3.c assert( iStatement>0 ); assert 50475 third_party/sqlite/amalgamation/sqlite3.c assert( iStatement>p->db->nSavepoint ); assert 50476 third_party/sqlite/amalgamation/sqlite3.c assert( pBt->inTransaction==TRANS_WRITE ); assert 50503 third_party/sqlite/amalgamation/sqlite3.c assert( op==SAVEPOINT_RELEASE || op==SAVEPOINT_ROLLBACK ); assert 50504 third_party/sqlite/amalgamation/sqlite3.c assert( iSavepoint>=0 || (iSavepoint==-1 && op==SAVEPOINT_ROLLBACK) ); assert 50515 third_party/sqlite/amalgamation/sqlite3.c assert( pBt->nPage>0 ); assert 50563 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3BtreeHoldsMutex(p) ); assert 50564 third_party/sqlite/amalgamation/sqlite3.c assert( wrFlag==0 || wrFlag==1 ); assert 50570 third_party/sqlite/amalgamation/sqlite3.c assert( hasSharedCacheTableLock(p, iTable, pKeyInfo!=0, wrFlag+1) ); assert 50571 third_party/sqlite/amalgamation/sqlite3.c assert( wrFlag==0 || !hasReadConflicts(p, iTable) ); assert 50574 third_party/sqlite/amalgamation/sqlite3.c assert( p->inTrans>TRANS_NONE ); assert 50575 third_party/sqlite/amalgamation/sqlite3.c assert( wrFlag==0 || p->inTrans==TRANS_WRITE ); assert 50576 third_party/sqlite/amalgamation/sqlite3.c assert( pBt->pPage1 && pBt->pPage1->aData ); assert 50657 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->cachedRowid==iRowid ); assert 50721 third_party/sqlite/amalgamation/sqlite3.c assert( memcmp(&info, &pCur->info, sizeof(info))==0 ); assert 50773 third_party/sqlite/amalgamation/sqlite3.c assert( cursorHoldsMutex(pCur) ); assert 50774 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->eState==CURSOR_INVALID || pCur->eState==CURSOR_VALID ); assert 50797 third_party/sqlite/amalgamation/sqlite3.c assert( cursorHoldsMutex(pCur) ); assert 50798 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->eState==CURSOR_VALID ); assert 50833 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 50834 third_party/sqlite/amalgamation/sqlite3.c assert(pPgnoNext); assert 50862 third_party/sqlite/amalgamation/sqlite3.c assert( next==0 || rc==SQLITE_DONE ); assert 50865 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK || pPage==0 ); assert 50954 third_party/sqlite/amalgamation/sqlite3.c assert( pPage ); assert 50955 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->eState==CURSOR_VALID ); assert 50956 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->aiIdx[pCur->iPage]<pPage->nCell ); assert 50957 third_party/sqlite/amalgamation/sqlite3.c assert( cursorHoldsMutex(pCur) ); assert 51024 third_party/sqlite/amalgamation/sqlite3.c assert(!pCur->aOverflow[iIdx] || pCur->aOverflow[iIdx]==nextPage); assert 51085 third_party/sqlite/amalgamation/sqlite3.c assert( cursorHoldsMutex(pCur) ); assert 51086 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->eState==CURSOR_VALID ); assert 51087 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->iPage>=0 && pCur->apPage[pCur->iPage] ); assert 51088 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->aiIdx[pCur->iPage]<pCur->apPage[pCur->iPage]->nCell ); assert 51110 third_party/sqlite/amalgamation/sqlite3.c assert( cursorHoldsMutex(pCur) ); assert 51113 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->eState==CURSOR_VALID ); assert 51114 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->iPage>=0 && pCur->apPage[pCur->iPage] ); assert 51115 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->aiIdx[pCur->iPage]<pCur->apPage[pCur->iPage]->nCell ); assert 51150 third_party/sqlite/amalgamation/sqlite3.c assert( pCur!=0 && pCur->iPage>=0 && pCur->apPage[pCur->iPage]); assert 51151 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->eState==CURSOR_VALID ); assert 51152 third_party/sqlite/amalgamation/sqlite3.c assert( cursorHoldsMutex(pCur) ); assert 51154 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->aiIdx[pCur->iPage]<pPage->nCell ); assert 51171 third_party/sqlite/amalgamation/sqlite3.c assert( nLocal<=nKey ); assert 51194 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCur->pBtree->db->mutex) ); assert 51195 third_party/sqlite/amalgamation/sqlite3.c assert( cursorHoldsMutex(pCur) ); assert 51203 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCur->pBtree->db->mutex) ); assert 51204 third_party/sqlite/amalgamation/sqlite3.c assert( cursorHoldsMutex(pCur) ); assert 51227 third_party/sqlite/amalgamation/sqlite3.c assert( cursorHoldsMutex(pCur) ); assert 51228 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->eState==CURSOR_VALID ); assert 51229 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->iPage<BTCURSOR_MAX_DEPTH ); assert 51256 third_party/sqlite/amalgamation/sqlite3.c assert( iIdx<=pParent->nCell ); assert 51258 third_party/sqlite/amalgamation/sqlite3.c assert( get4byte(&pParent->aData[pParent->hdrOffset+8])==iChild ); assert 51260 third_party/sqlite/amalgamation/sqlite3.c assert( get4byte(findCell(pParent, iIdx))==iChild ); assert 51276 third_party/sqlite/amalgamation/sqlite3.c assert( cursorHoldsMutex(pCur) ); assert 51277 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->eState==CURSOR_VALID ); assert 51278 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->iPage>0 ); assert 51279 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->apPage[pCur->iPage] ); assert 51318 third_party/sqlite/amalgamation/sqlite3.c assert( cursorHoldsMutex(pCur) ); assert 51319 third_party/sqlite/amalgamation/sqlite3.c assert( CURSOR_INVALID < CURSOR_REQUIRESEEK ); assert 51320 third_party/sqlite/amalgamation/sqlite3.c assert( CURSOR_VALID < CURSOR_REQUIRESEEK ); assert 51321 third_party/sqlite/amalgamation/sqlite3.c assert( CURSOR_FAULT > CURSOR_REQUIRESEEK ); assert 51324 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->skipNext!=SQLITE_OK ); assert 51348 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->apPage[0]->intKey==1 || pCur->apPage[0]->intKey==0 ); assert 51361 third_party/sqlite/amalgamation/sqlite3.c assert( pRoot->pgno==pCur->pgnoRoot ); assert 51362 third_party/sqlite/amalgamation/sqlite3.c assert( pRoot->isInit && (pCur->pKeyInfo==0)==pRoot->intKey ); assert 51393 third_party/sqlite/amalgamation/sqlite3.c assert( cursorHoldsMutex(pCur) ); assert 51394 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->eState==CURSOR_VALID ); assert 51396 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->aiIdx[pCur->iPage]<pPage->nCell ); assert 51418 third_party/sqlite/amalgamation/sqlite3.c assert( cursorHoldsMutex(pCur) ); assert 51419 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->eState==CURSOR_VALID ); assert 51440 third_party/sqlite/amalgamation/sqlite3.c assert( cursorHoldsMutex(pCur) ); assert 51441 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCur->pBtree->db->mutex) ); assert 51445 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->apPage[pCur->iPage]->nCell==0 ); assert 51448 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->apPage[pCur->iPage]->nCell>0 ); assert 51463 third_party/sqlite/amalgamation/sqlite3.c assert( cursorHoldsMutex(pCur) ); assert 51464 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCur->pBtree->db->mutex) ); assert 51473 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->aiIdx[ii]==pCur->apPage[ii]->nCell ); assert 51475 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->aiIdx[pCur->iPage]==pCur->apPage[pCur->iPage]->nCell-1 ); assert 51476 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->apPage[pCur->iPage]->leaf ); assert 51484 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->apPage[pCur->iPage]->nCell==0 ); assert 51487 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->eState==CURSOR_VALID ); assert 51533 third_party/sqlite/amalgamation/sqlite3.c assert( cursorHoldsMutex(pCur) ); assert 51534 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCur->pBtree->db->mutex) ); assert 51535 third_party/sqlite/amalgamation/sqlite3.c assert( pRes ); assert 51536 third_party/sqlite/amalgamation/sqlite3.c assert( (pIdxKey==0)==(pCur->pKeyInfo==0) ); assert 51557 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->apPage[pCur->iPage] ); assert 51558 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->apPage[pCur->iPage]->isInit ); assert 51559 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->apPage[pCur->iPage]->nCell>0 || pCur->eState==CURSOR_INVALID ); assert 51562 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->apPage[pCur->iPage]->nCell==0 ); assert 51565 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->apPage[0]->intKey || pIdxKey ); assert 51578 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->nCell>0 ); assert 51579 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->intKey==(pIdxKey==0) ); assert 51605 third_party/sqlite/amalgamation/sqlite3.c assert( nCellKey>intKey ); assert 51675 third_party/sqlite/amalgamation/sqlite3.c assert( lwr==upr+1 ); assert 51676 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->isInit ); assert 51685 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->aiIdx[pCur->iPage]<pCur->apPage[pCur->iPage]->nCell ); assert 51727 third_party/sqlite/amalgamation/sqlite3.c assert( cursorHoldsMutex(pCur) ); assert 51732 third_party/sqlite/amalgamation/sqlite3.c assert( pRes!=0 ); assert 51746 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->isInit ); assert 51747 third_party/sqlite/amalgamation/sqlite3.c assert( idx<=pPage->nCell ); assert 51795 third_party/sqlite/amalgamation/sqlite3.c assert( cursorHoldsMutex(pCur) ); assert 51813 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->isInit ); assert 51881 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 51901 third_party/sqlite/amalgamation/sqlite3.c assert( nearby>0 ); assert 51902 third_party/sqlite/amalgamation/sqlite3.c assert( pBt->autoVacuum ); assert 51946 third_party/sqlite/amalgamation/sqlite3.c assert( pPrevTrunk==0 ); assert 51965 third_party/sqlite/amalgamation/sqlite3.c assert( *pPgno==iTrunk ); assert 52008 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3PagerIswriteable(pPage1->pDbPage) ); assert 52091 third_party/sqlite/amalgamation/sqlite3.c assert( pBt->nPage!=PENDING_BYTE_PAGE(pBt) ); assert 52105 third_party/sqlite/amalgamation/sqlite3.c assert( *pPgno!=PENDING_BYTE_PAGE(pBt) ); assert 52115 third_party/sqlite/amalgamation/sqlite3.c assert( *pPgno!=PENDING_BYTE_PAGE(pBt) ); assert 52129 third_party/sqlite/amalgamation/sqlite3.c assert( rc!=SQLITE_OK || sqlite3PagerIswriteable((*ppPage)->pDbPage) ); assert 52153 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 52154 third_party/sqlite/amalgamation/sqlite3.c assert( iPage>1 ); assert 52155 third_party/sqlite/amalgamation/sqlite3.c assert( !pMemPage || pMemPage->pgno==iPage ); assert 52207 third_party/sqlite/amalgamation/sqlite3.c assert( pBt->usableSize>32 ); assert 52284 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pPage->pBt->mutex) ); assert 52290 third_party/sqlite/amalgamation/sqlite3.c assert( pBt->usableSize > 4 ); assert 52293 third_party/sqlite/amalgamation/sqlite3.c assert( ovflPgno==0 || nOvfl>0 ); assert 52368 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pPage->pBt->mutex) ); assert 52372 third_party/sqlite/amalgamation/sqlite3.c assert( pCell<pPage->aData || pCell>=&pPage->aData[pBt->pageSize] assert 52387 third_party/sqlite/amalgamation/sqlite3.c assert( info.nHeader==nHeader ); assert 52388 third_party/sqlite/amalgamation/sqlite3.c assert( info.nKey==nKey ); assert 52389 third_party/sqlite/amalgamation/sqlite3.c assert( info.nData==(u32)(nData+nZero) ); assert 52449 third_party/sqlite/amalgamation/sqlite3.c assert( pToRelease==0 || sqlite3PagerIswriteable(pToRelease->pDbPage) ); assert 52453 third_party/sqlite/amalgamation/sqlite3.c assert( pPrior<pPage->aData || pPrior>=&pPage->aData[pBt->pageSize] assert 52469 third_party/sqlite/amalgamation/sqlite3.c assert( pToRelease==0 || sqlite3PagerIswriteable(pToRelease->pDbPage) ); assert 52473 third_party/sqlite/amalgamation/sqlite3.c assert( pPayload<pPage->aData || pPayload>=&pPage->aData[pBt->pageSize] assert 52478 third_party/sqlite/amalgamation/sqlite3.c assert( pSrc ); assert 52515 third_party/sqlite/amalgamation/sqlite3.c assert( idx>=0 && idx<pPage->nCell ); assert 52516 third_party/sqlite/amalgamation/sqlite3.c assert( sz==cellSize(pPage, idx) ); assert 52517 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3PagerIswriteable(pPage->pDbPage) ); assert 52518 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pPage->pBt->mutex) ); assert 52581 third_party/sqlite/amalgamation/sqlite3.c assert( i>=0 && i<=pPage->nCell+pPage->nOverflow ); assert 52582 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->nCell<=MX_CELL(pPage->pBt) && MX_CELL(pPage->pBt)<=10921 ); assert 52583 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->nOverflow<=ArraySize(pPage->aOvfl) ); assert 52584 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pPage->pBt->mutex) ); assert 52590 third_party/sqlite/amalgamation/sqlite3.c assert( sz==cellSizePtr(pPage, pCell) || (sz==8 && iChild>0) ); assert 52600 third_party/sqlite/amalgamation/sqlite3.c assert( j<(int)(sizeof(pPage->aOvfl)/sizeof(pPage->aOvfl[0])) ); assert 52609 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3PagerIswriteable(pPage->pDbPage) ); assert 52618 third_party/sqlite/amalgamation/sqlite3.c assert( idx >= end+2 ); assert 52619 third_party/sqlite/amalgamation/sqlite3.c assert( idx+sz <= (int)pPage->pBt->usableSize ); assert 52660 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->nOverflow==0 ); assert 52661 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pPage->pBt->mutex) ); assert 52662 third_party/sqlite/amalgamation/sqlite3.c assert( nCell>=0 && nCell<=(int)MX_CELL(pPage->pBt) assert 52664 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3PagerIswriteable(pPage->pDbPage) ); assert 52667 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->nCell==0 ); assert 52668 third_party/sqlite/amalgamation/sqlite3.c assert( get2byteNotZero(&data[hdr+5])==nUsable ); assert 52730 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pPage->pBt->mutex) ); assert 52731 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3PagerIswriteable(pParent->pDbPage) ); assert 52732 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->nOverflow==1 ); assert 52750 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3PagerIswriteable(pNew->pDbPage) ); assert 52751 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->aData[0]==(PTF_INTKEY|PTF_LEAFDATA|PTF_LEAF) ); assert 52818 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->isInit ); assert 52829 third_party/sqlite/amalgamation/sqlite3.c assert( n==pPage->pgno && e==PTRMAP_OVERFLOW1 ); assert 52834 third_party/sqlite/amalgamation/sqlite3.c assert( n==pPage->pgno && e==PTRMAP_BTREE ); assert 52840 third_party/sqlite/amalgamation/sqlite3.c assert( n==pPage->pgno && e==PTRMAP_BTREE ); assert 52875 third_party/sqlite/amalgamation/sqlite3.c assert( pFrom->isInit ); assert 52876 third_party/sqlite/amalgamation/sqlite3.c assert( pFrom->nFree>=iToHdr ); assert 52877 third_party/sqlite/amalgamation/sqlite3.c assert( get2byte(&aFrom[iFromHdr+5]) <= (int)pBt->usableSize ); assert 52980 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 52981 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3PagerIswriteable(pParent->pDbPage) ); assert 52992 third_party/sqlite/amalgamation/sqlite3.c assert( pParent->nOverflow==0 || pParent->nOverflow==1 ); assert 52993 third_party/sqlite/amalgamation/sqlite3.c assert( pParent->nOverflow==0 || pParent->aOvfl[0].idx==iParentIdx ); assert 53097 third_party/sqlite/amalgamation/sqlite3.c assert( EIGHT_BYTE_ALIGNMENT(aSpace1) ); assert 53131 third_party/sqlite/amalgamation/sqlite3.c assert( nCell<nMaxCells ); assert 53139 third_party/sqlite/amalgamation/sqlite3.c assert( nCell<nMaxCells ); assert 53143 third_party/sqlite/amalgamation/sqlite3.c assert( sz<=pBt->maxLocal+23 ); assert 53144 third_party/sqlite/amalgamation/sqlite3.c assert( iSpace1 <= (int)pBt->pageSize ); assert 53147 third_party/sqlite/amalgamation/sqlite3.c assert( leafCorrection==0 || leafCorrection==4 ); assert 53150 third_party/sqlite/amalgamation/sqlite3.c assert( leafCorrection==0 ); assert 53151 third_party/sqlite/amalgamation/sqlite3.c assert( pOld->hdrOffset==0 ); assert 53156 third_party/sqlite/amalgamation/sqlite3.c assert( leafCorrection==4 ); assert 53184 third_party/sqlite/amalgamation/sqlite3.c assert( i<nMaxCells ); assert 53217 third_party/sqlite/amalgamation/sqlite3.c assert( d<nMaxCells ); assert 53218 third_party/sqlite/amalgamation/sqlite3.c assert( r<nMaxCells ); assert 53234 third_party/sqlite/amalgamation/sqlite3.c assert( cntNew[0]>0 || (pParent->pgno==1 && pParent->nCell==0) ); assert 53259 third_party/sqlite/amalgamation/sqlite3.c assert( i>0 ); assert 53322 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3PagerIswriteable(pParent->pDbPage) ); assert 53333 third_party/sqlite/amalgamation/sqlite3.c assert( j<nMaxCells ); assert 53336 third_party/sqlite/amalgamation/sqlite3.c assert( pNew->nCell>0 || (nNew==1 && cntNew[0]==0) ); assert 53337 third_party/sqlite/amalgamation/sqlite3.c assert( pNew->nOverflow==0 ); assert 53344 third_party/sqlite/amalgamation/sqlite3.c assert( i<nNew-1 || j==nCell ); assert 53350 third_party/sqlite/amalgamation/sqlite3.c assert( j<nMaxCells ); assert 53382 third_party/sqlite/amalgamation/sqlite3.c assert(leafCorrection==4); assert 53387 third_party/sqlite/amalgamation/sqlite3.c assert( sz<=pBt->maxLocal+23 ); assert 53388 third_party/sqlite/amalgamation/sqlite3.c assert( iOvflSpace <= (int)pBt->pageSize ); assert 53391 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3PagerIswriteable(pParent->pDbPage) ); assert 53397 third_party/sqlite/amalgamation/sqlite3.c assert( j==nCell ); assert 53398 third_party/sqlite/amalgamation/sqlite3.c assert( nOld>0 ); assert 53399 third_party/sqlite/amalgamation/sqlite3.c assert( nNew>0 ); assert 53420 third_party/sqlite/amalgamation/sqlite3.c assert( nNew==1 ); assert 53421 third_party/sqlite/amalgamation/sqlite3.c assert( apNew[0]->nFree == assert 53480 third_party/sqlite/amalgamation/sqlite3.c assert(nOverflow>0 || iOverflow<i ); assert 53481 third_party/sqlite/amalgamation/sqlite3.c assert(nOverflow<2 || pOld->aOvfl[0].idx==pOld->aOvfl[1].idx-1); assert 53482 third_party/sqlite/amalgamation/sqlite3.c assert(nOverflow<3 || pOld->aOvfl[1].idx==pOld->aOvfl[2].idx-1); assert 53497 third_party/sqlite/amalgamation/sqlite3.c assert( j<nOld ); assert 53498 third_party/sqlite/amalgamation/sqlite3.c assert( k<nNew ); assert 53531 third_party/sqlite/amalgamation/sqlite3.c assert( pParent->isInit ); assert 53576 third_party/sqlite/amalgamation/sqlite3.c assert( pRoot->nOverflow>0 ); assert 53577 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 53596 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3PagerIswriteable(pChild->pDbPage) ); assert 53597 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3PagerIswriteable(pRoot->pDbPage) ); assert 53598 third_party/sqlite/amalgamation/sqlite3.c assert( pChild->nCell==pRoot->nCell ); assert 53644 third_party/sqlite/amalgamation/sqlite3.c assert( (balance_deeper_called++)==0 ); assert 53650 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->apPage[1]->nOverflow ); assert 53683 third_party/sqlite/amalgamation/sqlite3.c assert( (balance_quick_called++)==0 ); assert 53778 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->skipNext!=SQLITE_OK ); assert 53782 third_party/sqlite/amalgamation/sqlite3.c assert( cursorHoldsMutex(pCur) ); assert 53783 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->wrFlag && pBt->inTransaction==TRANS_WRITE && !pBt->readOnly ); assert 53784 third_party/sqlite/amalgamation/sqlite3.c assert( hasSharedCacheTableLock(p, pCur->pgnoRoot, pCur->pKeyInfo!=0, 2) ); assert 53791 third_party/sqlite/amalgamation/sqlite3.c assert( (pKey==0)==(pCur->pKeyInfo==0) ); assert 53817 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->eState==CURSOR_VALID || (pCur->eState==CURSOR_INVALID && loc) ); assert 53820 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->intKey || nKey>=0 ); assert 53821 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->leaf || !pPage->intKey ); assert 53826 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->isInit ); assert 53832 third_party/sqlite/amalgamation/sqlite3.c assert( szNew==cellSizePtr(pPage, newCell) ); assert 53833 third_party/sqlite/amalgamation/sqlite3.c assert( szNew <= MX_CELL_SIZE(pBt) ); assert 53837 third_party/sqlite/amalgamation/sqlite3.c assert( idx<pPage->nCell ); assert 53851 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->leaf ); assert 53854 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->leaf ); assert 53857 third_party/sqlite/amalgamation/sqlite3.c assert( rc!=SQLITE_OK || pPage->nCell>0 || pPage->nOverflow>0 ); assert 53891 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->apPage[pCur->iPage]->nOverflow==0 ); assert 53910 third_party/sqlite/amalgamation/sqlite3.c assert( cursorHoldsMutex(pCur) ); assert 53911 third_party/sqlite/amalgamation/sqlite3.c assert( pBt->inTransaction==TRANS_WRITE ); assert 53912 third_party/sqlite/amalgamation/sqlite3.c assert( !pBt->readOnly ); assert 53913 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->wrFlag ); assert 53914 third_party/sqlite/amalgamation/sqlite3.c assert( hasSharedCacheTableLock(p, pCur->pgnoRoot, pCur->pKeyInfo!=0, 2) ); assert 53915 third_party/sqlite/amalgamation/sqlite3.c assert( !hasReadConflicts(p, pCur->pgnoRoot) ); assert 53973 third_party/sqlite/amalgamation/sqlite3.c assert( MX_CELL_SIZE(pBt) >= nCell ); assert 54031 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3BtreeHoldsMutex(p) ); assert 54032 third_party/sqlite/amalgamation/sqlite3.c assert( pBt->inTransaction==TRANS_WRITE ); assert 54033 third_party/sqlite/amalgamation/sqlite3.c assert( !pBt->readOnly ); assert 54066 third_party/sqlite/amalgamation/sqlite3.c assert( pgnoRoot>=3 ); assert 54102 third_party/sqlite/amalgamation/sqlite3.c assert( eType!=PTRMAP_ROOTPAGE ); assert 54103 third_party/sqlite/amalgamation/sqlite3.c assert( eType!=PTRMAP_FREEPAGE ); assert 54135 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3PagerIswriteable(pBt->pPage1->pDbPage) ); assert 54147 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3PagerIswriteable(pRoot->pDbPage) ); assert 54155 third_party/sqlite/amalgamation/sqlite3.c assert( (pBt->openFlags & BTREE_SINGLE)==0 || pgnoRoot==2 ); assert 54182 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 54202 third_party/sqlite/amalgamation/sqlite3.c assert( pPage->intKey ); assert 54233 third_party/sqlite/amalgamation/sqlite3.c assert( p->inTrans==TRANS_WRITE ); assert 54273 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3BtreeHoldsMutex(p) ); assert 54274 third_party/sqlite/amalgamation/sqlite3.c assert( p->inTrans==TRANS_WRITE ); assert 54353 third_party/sqlite/amalgamation/sqlite3.c assert( maxRootPgno!=PENDING_BYTE_PAGE(pBt) ); assert 54397 third_party/sqlite/amalgamation/sqlite3.c assert( p->inTrans>TRANS_NONE ); assert 54398 third_party/sqlite/amalgamation/sqlite3.c assert( SQLITE_OK==querySharedCacheTableLock(p, MASTER_ROOT, READ_LOCK) ); assert 54399 third_party/sqlite/amalgamation/sqlite3.c assert( pBt->pPage1 ); assert 54400 third_party/sqlite/amalgamation/sqlite3.c assert( idx>=0 && idx<=15 ); assert 54421 third_party/sqlite/amalgamation/sqlite3.c assert( idx>=1 && idx<=15 ); assert 54423 third_party/sqlite/amalgamation/sqlite3.c assert( p->inTrans==TRANS_WRITE ); assert 54424 third_party/sqlite/amalgamation/sqlite3.c assert( pBt->pPage1!=0 ); assert 54431 third_party/sqlite/amalgamation/sqlite3.c assert( pBt->autoVacuum || iMeta==0 ); assert 54432 third_party/sqlite/amalgamation/sqlite3.c assert( iMeta==0 || iMeta==1 ); assert 54729 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_CORRUPT ); /* The only possible error from InitPage */ assert 54762 third_party/sqlite/amalgamation/sqlite3.c assert( sz==info.nPayload ); assert 54850 third_party/sqlite/amalgamation/sqlite3.c assert( contentOffset<=usableSize ); /* Enforced by btreeInitPage() */ assert 54872 third_party/sqlite/amalgamation/sqlite3.c assert( i<=usableSize-4 ); /* Enforced by btreeInitPage() */ assert 54874 third_party/sqlite/amalgamation/sqlite3.c assert( i+size<=usableSize ); /* Enforced by btreeInitPage() */ assert 54877 third_party/sqlite/amalgamation/sqlite3.c assert( j==0 || j>i+size ); /* Enforced by btreeInitPage() */ assert 54878 third_party/sqlite/amalgamation/sqlite3.c assert( j<=usableSize-4 ); /* Enforced by btreeInitPage() */ assert 54930 third_party/sqlite/amalgamation/sqlite3.c assert( p->inTrans>TRANS_NONE && pBt->inTransaction>TRANS_NONE ); assert 55029 third_party/sqlite/amalgamation/sqlite3.c assert( p->pBt->pPager!=0 ); assert 55042 third_party/sqlite/amalgamation/sqlite3.c assert( p->pBt->pPager!=0 ); assert 55050 third_party/sqlite/amalgamation/sqlite3.c assert( p==0 || sqlite3_mutex_held(p->db->mutex) ); assert 55083 third_party/sqlite/amalgamation/sqlite3.c assert( p ); assert 55084 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(p->db->mutex) ); assert 55089 third_party/sqlite/amalgamation/sqlite3.c assert( p ); assert 55090 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(p->db->mutex) ); assert 55132 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(p->db->mutex) ); assert 55135 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK || rc==SQLITE_LOCKED_SHAREDCACHE ); assert 55149 third_party/sqlite/amalgamation/sqlite3.c assert( p->inTrans!=TRANS_NONE ); assert 55152 third_party/sqlite/amalgamation/sqlite3.c assert( READ_LOCK+1==WRITE_LOCK ); assert 55153 third_party/sqlite/amalgamation/sqlite3.c assert( isWriteLock==0 || isWriteLock==1 ); assert 55179 third_party/sqlite/amalgamation/sqlite3.c assert( cursorHoldsMutex(pCsr) ); assert 55180 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCsr->pBtree->db->mutex) ); assert 55181 third_party/sqlite/amalgamation/sqlite3.c assert( pCsr->isIncrblobHandle ); assert 55187 third_party/sqlite/amalgamation/sqlite3.c assert( pCsr->eState!=CURSOR_REQUIRESEEK ); assert 55202 third_party/sqlite/amalgamation/sqlite3.c assert( !pCsr->pBt->readOnly && pCsr->pBt->inTransaction==TRANS_WRITE ); assert 55203 third_party/sqlite/amalgamation/sqlite3.c assert( hasSharedCacheTableLock(pCsr->pBtree, pCsr->pgnoRoot, 0, 2) ); assert 55204 third_party/sqlite/amalgamation/sqlite3.c assert( !hasReadConflicts(pCsr->pBtree, pCsr->pgnoRoot) ); assert 55205 third_party/sqlite/amalgamation/sqlite3.c assert( pCsr->apPage[pCsr->iPage]->intKey ); assert 55221 third_party/sqlite/amalgamation/sqlite3.c assert( cursorHoldsMutex(pCur) ); assert 55222 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCur->pBtree->db->mutex) ); assert 55237 third_party/sqlite/amalgamation/sqlite3.c assert( pBtree->inTrans==TRANS_NONE ); assert 55238 third_party/sqlite/amalgamation/sqlite3.c assert( iVersion==1 || iVersion==2 ); assert 55493 third_party/sqlite/amalgamation/sqlite3.c assert( p->bDestLocked ); assert 55494 third_party/sqlite/amalgamation/sqlite3.c assert( !isFatalError(p->rc) ); assert 55495 third_party/sqlite/amalgamation/sqlite3.c assert( iSrcPg!=PENDING_BYTE_PAGE(p->pSrc->pBt) ); assert 55496 third_party/sqlite/amalgamation/sqlite3.c assert( zSrcData ); assert 55579 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3BtreeHoldsMutex(p->pSrc) ); assert 55648 third_party/sqlite/amalgamation/sqlite3.c assert( nSrcPage>=0 ); assert 55697 third_party/sqlite/amalgamation/sqlite3.c assert( pgszSrc==sqlite3BtreeGetPageSize(p->pSrc) ); assert 55698 third_party/sqlite/amalgamation/sqlite3.c assert( pgszDest==sqlite3BtreeGetPageSize(p->pDest) ); assert 55725 third_party/sqlite/amalgamation/sqlite3.c assert( pFile ); assert 55726 third_party/sqlite/amalgamation/sqlite3.c assert( (i64)nDestTruncate*(i64)pgszDest >= iSize || ( assert 55784 third_party/sqlite/amalgamation/sqlite3.c assert( rc2==SQLITE_OK ); assert 55882 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(p->pSrc->pBt->mutex) ); assert 55889 third_party/sqlite/amalgamation/sqlite3.c assert( p->pDestDb ); assert 55893 third_party/sqlite/amalgamation/sqlite3.c assert( rc!=SQLITE_BUSY && rc!=SQLITE_LOCKED ); assert 55915 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(p->pSrc->pBt->mutex) ); assert 55954 third_party/sqlite/amalgamation/sqlite3.c assert( b.rc!=SQLITE_OK ); assert 56007 third_party/sqlite/amalgamation/sqlite3.c assert( (pMem->flags&MEM_RowSet)==0 ); assert 56008 third_party/sqlite/amalgamation/sqlite3.c assert( desiredEnc==SQLITE_UTF8 || desiredEnc==SQLITE_UTF16LE assert 56013 third_party/sqlite/amalgamation/sqlite3.c assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); assert 56022 third_party/sqlite/amalgamation/sqlite3.c assert(rc==SQLITE_OK || rc==SQLITE_NOMEM); assert 56023 third_party/sqlite/amalgamation/sqlite3.c assert(rc==SQLITE_OK || pMem->enc!=desiredEnc); assert 56024 third_party/sqlite/amalgamation/sqlite3.c assert(rc==SQLITE_NOMEM || pMem->enc==desiredEnc); assert 56043 third_party/sqlite/amalgamation/sqlite3.c assert( 1 >= assert 56049 third_party/sqlite/amalgamation/sqlite3.c assert( (pMem->flags&MEM_RowSet)==0 ); assert 56089 third_party/sqlite/amalgamation/sqlite3.c assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); assert 56090 third_party/sqlite/amalgamation/sqlite3.c assert( (pMem->flags&MEM_RowSet)==0 ); assert 56116 third_party/sqlite/amalgamation/sqlite3.c assert( pMem->flags&MEM_Blob ); assert 56117 third_party/sqlite/amalgamation/sqlite3.c assert( (pMem->flags&MEM_RowSet)==0 ); assert 56118 third_party/sqlite/amalgamation/sqlite3.c assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); assert 56142 third_party/sqlite/amalgamation/sqlite3.c assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); assert 56173 third_party/sqlite/amalgamation/sqlite3.c assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); assert 56174 third_party/sqlite/amalgamation/sqlite3.c assert( !(fg&MEM_Zero) ); assert 56175 third_party/sqlite/amalgamation/sqlite3.c assert( !(fg&(MEM_Str|MEM_Blob)) ); assert 56176 third_party/sqlite/amalgamation/sqlite3.c assert( fg&(MEM_Int|MEM_Real) ); assert 56177 third_party/sqlite/amalgamation/sqlite3.c assert( (pMem->flags&MEM_RowSet)==0 ); assert 56178 third_party/sqlite/amalgamation/sqlite3.c assert( EIGHT_BYTE_ALIGNMENT(pMem) ); assert 56194 third_party/sqlite/amalgamation/sqlite3.c assert( fg & MEM_Real ); assert 56216 third_party/sqlite/amalgamation/sqlite3.c assert( (pMem->flags & MEM_Null)!=0 || pFunc==pMem->u.pDef ); assert 56217 third_party/sqlite/amalgamation/sqlite3.c assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); assert 56224 third_party/sqlite/amalgamation/sqlite3.c assert( 0==(pMem->flags&MEM_Dyn) && !pMem->xDel ); assert 56238 third_party/sqlite/amalgamation/sqlite3.c assert( p->db==0 || sqlite3_mutex_held(p->db->mutex) ); assert 56246 third_party/sqlite/amalgamation/sqlite3.c assert( (p->flags & MEM_Agg)==0 ); assert 56249 third_party/sqlite/amalgamation/sqlite3.c assert( (p->flags&MEM_RowSet)==0 ); assert 56327 third_party/sqlite/amalgamation/sqlite3.c assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); assert 56328 third_party/sqlite/amalgamation/sqlite3.c assert( EIGHT_BYTE_ALIGNMENT(pMem) ); assert 56336 third_party/sqlite/amalgamation/sqlite3.c assert( pMem->z || pMem->n==0 ); assert 56352 third_party/sqlite/amalgamation/sqlite3.c assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); assert 56353 third_party/sqlite/amalgamation/sqlite3.c assert( EIGHT_BYTE_ALIGNMENT(pMem) ); assert 56374 third_party/sqlite/amalgamation/sqlite3.c assert( pMem->flags & MEM_Real ); assert 56375 third_party/sqlite/amalgamation/sqlite3.c assert( (pMem->flags & MEM_RowSet)==0 ); assert 56376 third_party/sqlite/amalgamation/sqlite3.c assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); assert 56377 third_party/sqlite/amalgamation/sqlite3.c assert( EIGHT_BYTE_ALIGNMENT(pMem) ); assert 56403 third_party/sqlite/amalgamation/sqlite3.c assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); assert 56404 third_party/sqlite/amalgamation/sqlite3.c assert( (pMem->flags & MEM_RowSet)==0 ); assert 56405 third_party/sqlite/amalgamation/sqlite3.c assert( EIGHT_BYTE_ALIGNMENT(pMem) ); assert 56417 third_party/sqlite/amalgamation/sqlite3.c assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); assert 56418 third_party/sqlite/amalgamation/sqlite3.c assert( EIGHT_BYTE_ALIGNMENT(pMem) ); assert 56435 third_party/sqlite/amalgamation/sqlite3.c assert( (pMem->flags & (MEM_Blob|MEM_Str))!=0 ); assert 56436 third_party/sqlite/amalgamation/sqlite3.c assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); assert 56445 third_party/sqlite/amalgamation/sqlite3.c assert( (pMem->flags & (MEM_Int|MEM_Real|MEM_Null))!=0 ); assert 56522 third_party/sqlite/amalgamation/sqlite3.c assert( db!=0 ); assert 56523 third_party/sqlite/amalgamation/sqlite3.c assert( (pMem->flags & MEM_RowSet)==0 ); assert 56529 third_party/sqlite/amalgamation/sqlite3.c assert( pMem->zMalloc ); assert 56532 third_party/sqlite/amalgamation/sqlite3.c assert( pMem->u.pRowSet!=0 ); assert 56542 third_party/sqlite/amalgamation/sqlite3.c assert( p->db!=0 ); assert 56587 third_party/sqlite/amalgamation/sqlite3.c assert( (pFrom->flags & MEM_RowSet)==0 ); assert 56593 third_party/sqlite/amalgamation/sqlite3.c assert( srcType==MEM_Ephem || srcType==MEM_Static ); assert 56605 third_party/sqlite/amalgamation/sqlite3.c assert( (pFrom->flags & MEM_RowSet)==0 ); assert 56627 third_party/sqlite/amalgamation/sqlite3.c assert( pFrom->db==0 || sqlite3_mutex_held(pFrom->db->mutex) ); assert 56628 third_party/sqlite/amalgamation/sqlite3.c assert( pTo->db==0 || sqlite3_mutex_held(pTo->db->mutex) ); assert 56629 third_party/sqlite/amalgamation/sqlite3.c assert( pFrom->db==0 || pTo->db==0 || pFrom->db==pTo->db ); assert 56664 third_party/sqlite/amalgamation/sqlite3.c assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); assert 56665 third_party/sqlite/amalgamation/sqlite3.c assert( (pMem->flags & MEM_RowSet)==0 ); assert 56680 third_party/sqlite/amalgamation/sqlite3.c assert( enc!=0 ); assert 56751 third_party/sqlite/amalgamation/sqlite3.c assert( (combined_flags & MEM_RowSet)==0 ); assert 56787 third_party/sqlite/amalgamation/sqlite3.c assert( f1&MEM_Int ); assert 56788 third_party/sqlite/amalgamation/sqlite3.c assert( f2&MEM_Int ); assert 56806 third_party/sqlite/amalgamation/sqlite3.c assert( pMem1->enc==pMem2->enc ); assert 56807 third_party/sqlite/amalgamation/sqlite3.c assert( pMem1->enc==SQLITE_UTF8 || assert 56814 third_party/sqlite/amalgamation/sqlite3.c assert( !pColl || pColl->xCmp ); assert 56876 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3BtreeCursorIsValid(pCur) ); assert 56880 third_party/sqlite/amalgamation/sqlite3.c assert( (pMem->flags & MEM_RowSet)==0 ); assert 56886 third_party/sqlite/amalgamation/sqlite3.c assert( zData!=0 ); assert 56925 third_party/sqlite/amalgamation/sqlite3.c assert( pVal->db==0 || sqlite3_mutex_held(pVal->db->mutex) ); assert 56926 third_party/sqlite/amalgamation/sqlite3.c assert( (enc&3)==(enc&~SQLITE_UTF16_ALIGNED) ); assert 56927 third_party/sqlite/amalgamation/sqlite3.c assert( (pVal->flags & MEM_RowSet)==0 ); assert 56932 third_party/sqlite/amalgamation/sqlite3.c assert( (MEM_Blob>>3) == MEM_Str ); assert 56938 third_party/sqlite/amalgamation/sqlite3.c assert( (pVal->flags & (MEM_Ephem|MEM_Static))!=0 ); assert 56945 third_party/sqlite/amalgamation/sqlite3.c assert( (pVal->flags&MEM_Blob)==0 ); assert 56947 third_party/sqlite/amalgamation/sqlite3.c assert( 0==(1&SQLITE_PTR_TO_INT(pVal->z)) ); assert 56949 third_party/sqlite/amalgamation/sqlite3.c assert(pVal->enc==(enc & ~SQLITE_UTF16_ALIGNED) || pVal->db==0 assert 57062 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->u.zToken[0]=='x' || pExpr->u.zToken[0]=='X' ); assert 57063 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->u.zToken[1]=='\'' ); assert 57068 third_party/sqlite/amalgamation/sqlite3.c assert( zVal[nVal]=='\'' ); assert 57179 third_party/sqlite/amalgamation/sqlite3.c assert( isPrepareV2==1 || isPrepareV2==0 ); assert 57184 third_party/sqlite/amalgamation/sqlite3.c assert( p->zSql==0 ); assert 57268 third_party/sqlite/amalgamation/sqlite3.c assert( p->magic==VDBE_MAGIC_INIT ); assert 57269 third_party/sqlite/amalgamation/sqlite3.c assert( op>0 && op<0xff ); assert 57362 third_party/sqlite/amalgamation/sqlite3.c assert( p->magic==VDBE_MAGIC_INIT ); assert 57382 third_party/sqlite/amalgamation/sqlite3.c assert( p->magic==VDBE_MAGIC_INIT ); assert 57383 third_party/sqlite/amalgamation/sqlite3.c assert( j>=0 && j<p->nLabel ); assert 57437 third_party/sqlite/amalgamation/sqlite3.c assert( p->iAddr<nOp ); assert 57549 third_party/sqlite/amalgamation/sqlite3.c assert( p->nOp - i >= 3 ); assert 57550 third_party/sqlite/amalgamation/sqlite3.c assert( pOp[-1].opcode==OP_Integer ); assert 57557 third_party/sqlite/amalgamation/sqlite3.c assert( -1-pOp->p2<p->nLabel ); assert 57571 third_party/sqlite/amalgamation/sqlite3.c assert( p->magic==VDBE_MAGIC_INIT ); assert 57588 third_party/sqlite/amalgamation/sqlite3.c assert( aOp && !p->db->mallocFailed ); assert 57591 third_party/sqlite/amalgamation/sqlite3.c assert( p->btreeMask==0 ); assert 57605 third_party/sqlite/amalgamation/sqlite3.c assert( p->magic==VDBE_MAGIC_INIT ); assert 57646 third_party/sqlite/amalgamation/sqlite3.c assert( p!=0 ); assert 57647 third_party/sqlite/amalgamation/sqlite3.c assert( addr>=0 ); assert 57658 third_party/sqlite/amalgamation/sqlite3.c assert( p!=0 ); assert 57659 third_party/sqlite/amalgamation/sqlite3.c assert( addr>=0 ); assert 57669 third_party/sqlite/amalgamation/sqlite3.c assert( p!=0 ); assert 57670 third_party/sqlite/amalgamation/sqlite3.c assert( addr>=0 ); assert 57681 third_party/sqlite/amalgamation/sqlite3.c assert( p!=0 ); assert 57683 third_party/sqlite/amalgamation/sqlite3.c assert( p->nOp>0 ); assert 57693 third_party/sqlite/amalgamation/sqlite3.c assert( addr>=0 ); assert 57715 third_party/sqlite/amalgamation/sqlite3.c assert( db ); assert 57831 third_party/sqlite/amalgamation/sqlite3.c assert( p!=0 ); assert 57833 third_party/sqlite/amalgamation/sqlite3.c assert( p->magic==VDBE_MAGIC_INIT ); assert 57840 third_party/sqlite/amalgamation/sqlite3.c assert( p->nOp>0 ); assert 57841 third_party/sqlite/amalgamation/sqlite3.c assert( addr<p->nOp ); assert 57884 third_party/sqlite/amalgamation/sqlite3.c assert( ((VTable *)zP4)->db==p->db ); assert 57905 third_party/sqlite/amalgamation/sqlite3.c assert( p->nOp>0 || p->aOp==0 ); assert 57906 third_party/sqlite/amalgamation/sqlite3.c assert( p->aOp==0 || p->aOp[p->nOp-1].zComment==0 || p->db->mallocFailed ); assert 57919 third_party/sqlite/amalgamation/sqlite3.c assert( p->nOp>0 || p->aOp==0 ); assert 57920 third_party/sqlite/amalgamation/sqlite3.c assert( p->aOp==0 || p->aOp[p->nOp-1].zComment==0 || p->db->mallocFailed ); assert 57956 third_party/sqlite/amalgamation/sqlite3.c assert( p->magic==VDBE_MAGIC_INIT ); assert 57963 third_party/sqlite/amalgamation/sqlite3.c assert( (addr>=0 && addr<p->nOp) || p->db->mallocFailed ); assert 57979 third_party/sqlite/amalgamation/sqlite3.c assert( nTemp>=20 ); assert 58008 third_party/sqlite/amalgamation/sqlite3.c assert( i<nTemp ); assert 58035 third_party/sqlite/amalgamation/sqlite3.c assert( (pMem->flags & MEM_Null)==0 ); assert 58043 third_party/sqlite/amalgamation/sqlite3.c assert( pMem->flags & MEM_Blob ); assert 58071 third_party/sqlite/amalgamation/sqlite3.c assert( zP4!=0 ); assert 58084 third_party/sqlite/amalgamation/sqlite3.c assert( i>=0 && i<p->db->nDb && i<(int)sizeof(yDbMask)*8 ); assert 58085 third_party/sqlite/amalgamation/sqlite3.c assert( i<(int)sizeof(p->btreeMask)*8 ); assert 58191 third_party/sqlite/amalgamation/sqlite3.c assert( (&p[1])==pEnd || p[0].db==p[1].db ); assert 58261 third_party/sqlite/amalgamation/sqlite3.c assert( p->explain ); assert 58262 third_party/sqlite/amalgamation/sqlite3.c assert( p->magic==VDBE_MAGIC_RUN ); assert 58263 third_party/sqlite/amalgamation/sqlite3.c assert( p->rc==SQLITE_OK || p->rc==SQLITE_BUSY || p->rc==SQLITE_NOMEM ); assert 58291 third_party/sqlite/amalgamation/sqlite3.c assert( p->nMem>9 ); assert 58339 third_party/sqlite/amalgamation/sqlite3.c assert( pMem->z!=0 ); assert 58381 third_party/sqlite/amalgamation/sqlite3.c assert( p->db->mallocFailed ); assert 58389 third_party/sqlite/amalgamation/sqlite3.c assert( pMem->z!=0 ); assert 58398 third_party/sqlite/amalgamation/sqlite3.c assert( p->db->mallocFailed ); assert 58506 third_party/sqlite/amalgamation/sqlite3.c assert( EIGHT_BYTE_ALIGNMENT(*ppFrom) ); assert 58547 third_party/sqlite/amalgamation/sqlite3.c assert( p!=0 ); assert 58548 third_party/sqlite/amalgamation/sqlite3.c assert( p->magic==VDBE_MAGIC_INIT ); assert 58552 third_party/sqlite/amalgamation/sqlite3.c assert( p->nOp>0 ); assert 58585 third_party/sqlite/amalgamation/sqlite3.c assert( EIGHT_BYTE_ALIGNMENT(zCsr) ); assert 58631 third_party/sqlite/amalgamation/sqlite3.c assert( p->aMem[n].db==db ); assert 58751 third_party/sqlite/amalgamation/sqlite3.c for(i=0; i<p->nCursor; i++) assert( p->apCsr==0 || p->apCsr[i]==0 ); assert 58752 third_party/sqlite/amalgamation/sqlite3.c for(i=1; i<=p->nMem; i++) assert( p->aMem==0 || p->aMem[i].flags==MEM_Null ); assert 58803 third_party/sqlite/amalgamation/sqlite3.c assert( idx<p->nResColumn ); assert 58804 third_party/sqlite/amalgamation/sqlite3.c assert( var<COLNAME_N ); assert 58806 third_party/sqlite/amalgamation/sqlite3.c assert( !zName || xDel!=SQLITE_DYNAMIC ); assert 58809 third_party/sqlite/amalgamation/sqlite3.c assert( p->aColName!=0 ); assert 58812 third_party/sqlite/amalgamation/sqlite3.c assert( rc!=0 || !zName || (pColName->flags&MEM_Term)!=0 ); assert 58954 third_party/sqlite/amalgamation/sqlite3.c assert( zFile[0]!=0 ); assert 58999 third_party/sqlite/amalgamation/sqlite3.c assert( rc!=SQLITE_BUSY ); assert 59063 third_party/sqlite/amalgamation/sqlite3.c assert( cnt==db->activeVdbeCnt ); assert 59064 third_party/sqlite/amalgamation/sqlite3.c assert( nWrite==db->writeVdbeCnt ); assert 59119 third_party/sqlite/amalgamation/sqlite3.c assert( eOp==SAVEPOINT_ROLLBACK || eOp==SAVEPOINT_RELEASE); assert 59120 third_party/sqlite/amalgamation/sqlite3.c assert( db->nStatement>0 ); assert 59121 third_party/sqlite/amalgamation/sqlite3.c assert( p->iStatement==(db->nStatement+db->nSavepoint) ); assert 59227 third_party/sqlite/amalgamation/sqlite3.c assert( p->rc!=SQLITE_IOERR_BLOCKED ); /* This error no longer exists */ assert 59329 third_party/sqlite/amalgamation/sqlite3.c assert( eStatementOp==SAVEPOINT_ROLLBACK ); assert 59370 third_party/sqlite/amalgamation/sqlite3.c assert( db->activeVdbeCnt>=db->writeVdbeCnt ); assert 59386 third_party/sqlite/amalgamation/sqlite3.c assert( db->activeVdbeCnt>0 || db->autoCommit==0 || db->nStatement==0 ); assert 59490 third_party/sqlite/amalgamation/sqlite3.c assert( (rc & p->db->errMask)==rc ); assert 59523 third_party/sqlite/amalgamation/sqlite3.c assert( p->db==0 || p->db==db ); assert 59550 third_party/sqlite/amalgamation/sqlite3.c assert( db->pVdbe==p ); assert 59580 third_party/sqlite/amalgamation/sqlite3.c assert( p->isTable ); assert 59680 third_party/sqlite/amalgamation/sqlite3.c assert( pMem->db->mallocFailed || flags&(MEM_Str|MEM_Blob) ); assert 59685 third_party/sqlite/amalgamation/sqlite3.c assert( n>=0 ); assert 59781 third_party/sqlite/amalgamation/sqlite3.c assert( sizeof(v)==sizeof(pMem->r) ); assert 59788 third_party/sqlite/amalgamation/sqlite3.c assert( len<=(u32)nBuf ); assert 59798 third_party/sqlite/amalgamation/sqlite3.c assert( pMem->n + ((pMem->flags & MEM_Zero)?pMem->u.nZero:0) assert 59800 third_party/sqlite/amalgamation/sqlite3.c assert( pMem->n<=nBuf ); assert 59805 third_party/sqlite/amalgamation/sqlite3.c assert( nBuf>=0 ); assert 59876 third_party/sqlite/amalgamation/sqlite3.c assert( sizeof(r1)==sizeof(t2) && memcmp(&r1, &t2, sizeof(r1))==0 ); assert 59886 third_party/sqlite/amalgamation/sqlite3.c assert( sizeof(x)==8 && sizeof(pMem->r)==8 ); assert 59966 third_party/sqlite/amalgamation/sqlite3.c assert( EIGHT_BYTE_ALIGNMENT(pMem) ); assert 59982 third_party/sqlite/amalgamation/sqlite3.c assert( u<=pKeyInfo->nField + 1 ); assert 59994 third_party/sqlite/amalgamation/sqlite3.c assert( p!=0 ); assert 59995 third_party/sqlite/amalgamation/sqlite3.c assert( p->flags & UNPACKED_NEED_DESTROY ); assert 60086 third_party/sqlite/amalgamation/sqlite3.c assert( mem1.zMalloc==0 ); /* See comment below */ assert 60099 third_party/sqlite/amalgamation/sqlite3.c assert( idx1==szHdr1 && rc ); assert 60100 third_party/sqlite/amalgamation/sqlite3.c assert( mem1.flags & MEM_Int ); assert 60114 third_party/sqlite/amalgamation/sqlite3.c assert( mem1.zMalloc==0 ); assert 60124 third_party/sqlite/amalgamation/sqlite3.c assert( rc==0 ); assert 60159 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3BtreeCursorIsValid(pCur) ); assert 60161 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK ); /* pCur is always valid so KeySize cannot fail */ assert 60162 third_party/sqlite/amalgamation/sqlite3.c assert( (nCellKey & SQLITE_MAX_U32)==(u64)nCellKey ); assert 60234 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3BtreeCursorIsValid(pCur) ); assert 60236 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK ); /* pCur is always valid so KeySize cannot fail */ assert 60248 third_party/sqlite/amalgamation/sqlite3.c assert( pUnpacked->flags & UNPACKED_IGNORE_ROWID ); assert 60259 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(db->mutex) ); assert 60305 third_party/sqlite/amalgamation/sqlite3.c assert( iVar>0 ); assert 60327 third_party/sqlite/amalgamation/sqlite3.c assert( iVar>0 ); assert 60440 third_party/sqlite/amalgamation/sqlite3.c assert( (rc & (v->db->errMask))==rc ); assert 60543 third_party/sqlite/amalgamation/sqlite3.c assert( n>=0 ); assert 60544 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); assert 60548 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); assert 60552 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); assert 60558 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); assert 60564 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); assert 60568 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); assert 60572 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); assert 60581 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); assert 60591 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); assert 60600 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); assert 60609 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); assert 60614 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); assert 60618 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); assert 60631 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); assert 60639 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); assert 60679 third_party/sqlite/amalgamation/sqlite3.c assert(p); assert 60729 third_party/sqlite/amalgamation/sqlite3.c assert( db->writeVdbeCnt>0 || db->autoCommit==0 || db->nDeferredCons==0 ); assert 60763 third_party/sqlite/amalgamation/sqlite3.c assert( p->rc==SQLITE_OK ); assert 60782 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_ROW || rc==SQLITE_DONE || rc==SQLITE_ERROR assert 60785 third_party/sqlite/amalgamation/sqlite3.c assert( p->rc!=SQLITE_ROW && p->rc!=SQLITE_DONE ); assert 60848 third_party/sqlite/amalgamation/sqlite3.c assert( p && p->pFunc ); assert 60863 third_party/sqlite/amalgamation/sqlite3.c assert( p && p->pFunc ); assert 60896 third_party/sqlite/amalgamation/sqlite3.c assert( p && p->pFunc && p->pFunc->xStep ); assert 60897 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(p->s.db->mutex) ); assert 60924 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); assert 60947 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); assert 60987 third_party/sqlite/amalgamation/sqlite3.c assert( p && p->pMem && p->pFunc && p->pFunc->xStep ); assert 61188 third_party/sqlite/amalgamation/sqlite3.c assert( db!=0 ); assert 61193 third_party/sqlite/amalgamation/sqlite3.c assert( db->mallocFailed==0 ); assert 61521 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p1>0 && pOp->p1<=p->nVar ); assert 61577 third_party/sqlite/amalgamation/sqlite3.c assert( pTo->db==pFrom->db ); assert 61578 third_party/sqlite/amalgamation/sqlite3.c assert( pTo->nVar==pFrom->nVar ); assert 61696 third_party/sqlite/amalgamation/sqlite3.c assert( n>0 && tokenType!=TK_ILLEGAL ); assert 61754 third_party/sqlite/amalgamation/sqlite3.c assert( n>0 ); assert 61757 third_party/sqlite/amalgamation/sqlite3.c assert( zRawSql[0] || nToken==0 ); assert 61761 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3Isdigit(zRawSql[1]) ); assert 61767 third_party/sqlite/amalgamation/sqlite3.c assert( zRawSql[0]==':' || zRawSql[0]=='$' || zRawSql[0]=='@' ); assert 61772 third_party/sqlite/amalgamation/sqlite3.c assert( idx>0 ); assert 61776 third_party/sqlite/amalgamation/sqlite3.c assert( idx>0 && idx<=p->nVar ); assert 61803 third_party/sqlite/amalgamation/sqlite3.c assert( pVar->flags & MEM_Blob ); assert 62038 third_party/sqlite/amalgamation/sqlite3.c assert( iCur<p->nCursor ); assert 62116 third_party/sqlite/amalgamation/sqlite3.c assert( affinity==SQLITE_AFF_INTEGER || affinity==SQLITE_AFF_REAL assert 62168 third_party/sqlite/amalgamation/sqlite3.c assert( (f & (MEM_Static|MEM_Ephem))==0 ); assert 62171 third_party/sqlite/amalgamation/sqlite3.c assert( (f & (MEM_Dyn|MEM_Ephem))==0 ); assert 62174 third_party/sqlite/amalgamation/sqlite3.c assert( (f & (MEM_Static|MEM_Dyn))==0 ); assert 62205 third_party/sqlite/amalgamation/sqlite3.c assert( (f & (MEM_Static|MEM_Ephem))==0 ); assert 62208 third_party/sqlite/amalgamation/sqlite3.c assert( (f & (MEM_Dyn|MEM_Ephem))==0 ); assert 62211 third_party/sqlite/amalgamation/sqlite3.c assert( (f & (MEM_Static|MEM_Dyn))==0 ); assert 62401 third_party/sqlite/amalgamation/sqlite3.c assert( n==(db->nSavepoint + db->isTransactionSavepoint) ); assert 62885 third_party/sqlite/amalgamation/sqlite3.c assert( p->magic==VDBE_MAGIC_RUN ); /* sqlite3_step() verifies this */ assert 62892 third_party/sqlite/amalgamation/sqlite3.c assert( p->rc==SQLITE_OK || p->rc==SQLITE_BUSY ); assert 62894 third_party/sqlite/amalgamation/sqlite3.c assert( p->explain==0 ); assert 62915 third_party/sqlite/amalgamation/sqlite3.c assert( pc>=0 && pc<p->nOp ); assert 62974 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->opflags==sqlite3OpcodeProperty[pOp->opcode] ); assert 62976 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p2>0 ); assert 62977 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p2<=p->nMem ); assert 62987 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p1>0 ); assert 62988 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p1<=p->nMem ); assert 62989 third_party/sqlite/amalgamation/sqlite3.c assert( memIsValid(&aMem[pOp->p1]) ); assert 62993 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p2>0 ); assert 62994 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p2<=p->nMem ); assert 62995 third_party/sqlite/amalgamation/sqlite3.c assert( memIsValid(&aMem[pOp->p2]) ); assert 62999 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p3>0 ); assert 63000 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p3<=p->nMem ); assert 63001 third_party/sqlite/amalgamation/sqlite3.c assert( memIsValid(&aMem[pOp->p3]) ); assert 63005 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p2>0 ); assert 63006 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p2<=p->nMem ); assert 63010 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p3>0 ); assert 63011 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p3<=p->nMem ); assert 63073 third_party/sqlite/amalgamation/sqlite3.c assert( (pIn1->flags & MEM_Dyn)==0 ); assert 63088 third_party/sqlite/amalgamation/sqlite3.c assert( pIn1->flags & MEM_Int ); assert 63102 third_party/sqlite/amalgamation/sqlite3.c assert( (pIn1->flags & MEM_Dyn)==0 ); assert 63167 third_party/sqlite/amalgamation/sqlite3.c assert( p->rc!=SQLITE_OK ); assert 63176 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_BUSY || rc==SQLITE_OK || rc==SQLITE_ERROR ); assert 63180 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK || p->rc==SQLITE_CONSTRAINT ); assert 63181 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK || db->nDeferredCons>0 ); assert 63202 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p4.pI64!=0 ); assert 63215 third_party/sqlite/amalgamation/sqlite3.c assert( !sqlite3IsNaN(*pOp->p4.pReal) ); assert 63227 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p4.z!=0 ); assert 63236 third_party/sqlite/amalgamation/sqlite3.c assert( pOut->zMalloc==pOut->z ); assert 63237 third_party/sqlite/amalgamation/sqlite3.c assert( pOut->flags & MEM_Dyn ); assert 63260 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p4.z!=0 ); assert 63285 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p1 <= SQLITE_MAX_LENGTH ); assert 63304 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p1>0 && pOp->p1<=p->nVar ); assert 63332 third_party/sqlite/amalgamation/sqlite3.c assert( u.ac.n>0 && u.ac.p1>0 && u.ac.p2>0 ); assert 63333 third_party/sqlite/amalgamation/sqlite3.c assert( u.ac.p1+u.ac.n<=u.ac.p2 || u.ac.p2+u.ac.n<=u.ac.p1 ); assert 63338 third_party/sqlite/amalgamation/sqlite3.c assert( pOut<=&aMem[p->nMem] ); assert 63339 third_party/sqlite/amalgamation/sqlite3.c assert( pIn1<=&aMem[p->nMem] ); assert 63340 third_party/sqlite/amalgamation/sqlite3.c assert( memIsValid(pIn1) ); assert 63363 third_party/sqlite/amalgamation/sqlite3.c assert( pOut!=pIn1 ); assert 63385 third_party/sqlite/amalgamation/sqlite3.c assert( pOut!=pIn1 ); assert 63407 third_party/sqlite/amalgamation/sqlite3.c assert( p->nResColumn==pOp->p2 ); assert 63408 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p1>0 ); assert 63409 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p1+pOp->p2<=p->nMem+1 ); assert 63415 third_party/sqlite/amalgamation/sqlite3.c assert( db->flags&SQLITE_CountRows ); assert 63416 third_party/sqlite/amalgamation/sqlite3.c assert( p->usesStmtJournal ); assert 63435 third_party/sqlite/amalgamation/sqlite3.c assert( p->iStatement==0 || db->flags&SQLITE_CountRows ); assert 63450 third_party/sqlite/amalgamation/sqlite3.c assert( memIsValid(&u.ad.pMem[u.ad.i]) ); assert 63452 third_party/sqlite/amalgamation/sqlite3.c assert( (u.ad.pMem[u.ad.i].flags & MEM_Ephem)==0 assert 63487 third_party/sqlite/amalgamation/sqlite3.c assert( pIn1!=pOut ); assert 63647 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p4type==P4_COLLSEQ ); assert 63678 third_party/sqlite/amalgamation/sqlite3.c assert( u.ag.apVal || u.ag.n==0 ); assert 63679 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p3>0 && pOp->p3<=p->nMem ); assert 63683 third_party/sqlite/amalgamation/sqlite3.c assert( u.ag.n==0 || (pOp->p2>0 && pOp->p2+u.ag.n<=p->nMem+1) ); assert 63684 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p3<pOp->p2 || pOp->p3>=pOp->p2+u.ag.n ); assert 63687 third_party/sqlite/amalgamation/sqlite3.c assert( memIsValid(u.ag.pArg) ); assert 63694 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p4type==P4_FUNCDEF || pOp->p4type==P4_VDBEFUNC ); assert 63717 third_party/sqlite/amalgamation/sqlite3.c assert( pOp>aOp ); assert 63718 third_party/sqlite/amalgamation/sqlite3.c assert( pOp[-1].p4type==P4_COLLSEQ ); assert 63719 third_party/sqlite/amalgamation/sqlite3.c assert( pOp[-1].opcode==OP_CollSeq ); assert 63820 third_party/sqlite/amalgamation/sqlite3.c assert( u.ah.op==OP_ShiftRight || u.ah.op==OP_ShiftLeft ); assert 63824 third_party/sqlite/amalgamation/sqlite3.c assert( OP_ShiftRight==OP_ShiftLeft+1 ); assert 63919 third_party/sqlite/amalgamation/sqlite3.c assert( MEM_Str==(MEM_Blob>>3) ); assert 63923 third_party/sqlite/amalgamation/sqlite3.c assert( pIn1->flags & MEM_Str || db->mallocFailed ); assert 63943 third_party/sqlite/amalgamation/sqlite3.c assert( pIn1->flags & MEM_Str || db->mallocFailed ); assert 64102 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->opcode==OP_Eq || pOp->opcode==OP_Ne ); assert 64127 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p4type==P4_COLLSEQ || pOp->p4.pColl==0 ); assert 64167 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p4type==P4_INTARRAY ); assert 64168 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p4.ai ); assert 64201 third_party/sqlite/amalgamation/sqlite3.c assert( u.aj.n>0 ); assert 64202 third_party/sqlite/amalgamation/sqlite3.c assert( u.aj.pKeyInfo!=0 ); assert 64209 third_party/sqlite/amalgamation/sqlite3.c assert( u.aj.p1>0 && u.aj.p1+mx<=p->nMem+1 ); assert 64210 third_party/sqlite/amalgamation/sqlite3.c assert( u.aj.p2>0 && u.aj.p2+mx<=p->nMem+1 ); assert 64212 third_party/sqlite/amalgamation/sqlite3.c assert( u.aj.p1>0 && u.aj.p1+u.aj.n<=p->nMem+1 ); assert 64213 third_party/sqlite/amalgamation/sqlite3.c assert( u.aj.p2>0 && u.aj.p2+u.aj.n<=p->nMem+1 ); assert 64218 third_party/sqlite/amalgamation/sqlite3.c assert( memIsValid(&aMem[u.aj.p1+u.aj.idx]) ); assert 64219 third_party/sqlite/amalgamation/sqlite3.c assert( memIsValid(&aMem[u.aj.p2+u.aj.idx]) ); assert 64222 third_party/sqlite/amalgamation/sqlite3.c assert( u.aj.i<u.aj.pKeyInfo->nField ); assert 64448 third_party/sqlite/amalgamation/sqlite3.c assert( u.am.p1<p->nCursor ); assert 64449 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p3>0 && pOp->p3<=p->nMem ); assert 64468 third_party/sqlite/amalgamation/sqlite3.c assert( u.am.pC!=0 ); assert 64470 third_party/sqlite/amalgamation/sqlite3.c assert( u.am.pC->pVtabCursor==0 ); assert 64483 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3BtreeCursorIsValid(u.am.pCrsr) ); assert 64485 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK ); /* True because of CursorMoveto() call above */ assert 64489 third_party/sqlite/amalgamation/sqlite3.c assert( (u.am.payloadSize64 & SQLITE_MAX_U32)==(u64)u.am.payloadSize64 ); assert 64492 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3BtreeCursorIsValid(u.am.pCrsr) ); assert 64494 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK ); /* DataSize() cannot fail */ assert 64498 third_party/sqlite/amalgamation/sqlite3.c assert( u.am.pReg->flags & MEM_Blob ); assert 64499 third_party/sqlite/amalgamation/sqlite3.c assert( memIsValid(u.am.pReg) ); assert 64503 third_party/sqlite/amalgamation/sqlite3.c assert( u.am.payloadSize==0 || u.am.zRec!=0 ); assert 64511 third_party/sqlite/amalgamation/sqlite3.c assert( u.am.pDest->flags&MEM_Null ); assert 64514 third_party/sqlite/amalgamation/sqlite3.c assert( db->aLimit[SQLITE_LIMIT_LENGTH]>=0 ); assert 64520 third_party/sqlite/amalgamation/sqlite3.c assert( u.am.p2<u.am.nField ); assert 64529 third_party/sqlite/amalgamation/sqlite3.c assert(u.am.aType); assert 64549 third_party/sqlite/amalgamation/sqlite3.c assert( u.am.avail>=0 ); assert 64658 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK ); assert 64677 third_party/sqlite/amalgamation/sqlite3.c assert( u.am.pDest->flags&MEM_Null ); assert 64687 third_party/sqlite/amalgamation/sqlite3.c assert( u.am.sMem.z==u.am.sMem.zMalloc ); assert 64688 third_party/sqlite/amalgamation/sqlite3.c assert( !(u.am.pDest->flags & MEM_Dyn) ); assert 64689 third_party/sqlite/amalgamation/sqlite3.c assert( !(u.am.pDest->flags & (MEM_Blob|MEM_Str)) || u.am.pDest->z==u.am.sMem.z ); assert 64719 third_party/sqlite/amalgamation/sqlite3.c assert( u.an.zAffinity!=0 ); assert 64720 third_party/sqlite/amalgamation/sqlite3.c assert( u.an.zAffinity[pOp->p2]==0 ); assert 64723 third_party/sqlite/amalgamation/sqlite3.c assert( pIn1 <= &p->aMem[p->nMem] ); assert 64724 third_party/sqlite/amalgamation/sqlite3.c assert( memIsValid(pIn1) ); assert 64786 third_party/sqlite/amalgamation/sqlite3.c assert( u.ao.nField>0 && pOp->p2>0 && pOp->p2+u.ao.nField<=p->nMem+1 ); assert 64793 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p3<pOp->p1 || pOp->p3>=pOp->p1+pOp->p2 ); assert 64801 third_party/sqlite/amalgamation/sqlite3.c assert( memIsValid(u.ao.pRec) ); assert 64850 third_party/sqlite/amalgamation/sqlite3.c assert( u.ao.i==u.ao.nByte ); assert 64852 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p3>0 && pOp->p3<=p->nMem ); assert 64913 third_party/sqlite/amalgamation/sqlite3.c assert( db->pSavepoint==0 || db->autoCommit==0 ); assert 64914 third_party/sqlite/amalgamation/sqlite3.c assert( u.aq.p1==SAVEPOINT_BEGIN||u.aq.p1==SAVEPOINT_RELEASE||u.aq.p1==SAVEPOINT_ROLLBACK ); assert 64915 third_party/sqlite/amalgamation/sqlite3.c assert( db->pSavepoint || db->isTransactionSavepoint==0 ); assert 64916 third_party/sqlite/amalgamation/sqlite3.c assert( checkSavepointCount(db) ); assert 65026 third_party/sqlite/amalgamation/sqlite3.c assert( u.aq.pSavepoint==db->pSavepoint ); assert 65060 third_party/sqlite/amalgamation/sqlite3.c assert( u.ar.desiredAutoCommit==1 || u.ar.desiredAutoCommit==0 ); assert 65061 third_party/sqlite/amalgamation/sqlite3.c assert( u.ar.desiredAutoCommit==1 || u.ar.iRollback==0 ); assert 65062 third_party/sqlite/amalgamation/sqlite3.c assert( db->activeVdbeCnt>0 ); /* At least this one VM is active */ assert 65081 third_party/sqlite/amalgamation/sqlite3.c assert( u.ar.desiredAutoCommit==1 ); assert 65095 third_party/sqlite/amalgamation/sqlite3.c assert( db->nStatement==0 ); assert 65150 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p1>=0 && pOp->p1<db->nDb ); assert 65151 third_party/sqlite/amalgamation/sqlite3.c assert( (p->btreeMask & (((yDbMask)1)<<pOp->p1))!=0 ); assert 65168 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3BtreeIsInTrans(u.as.pBt) ); assert 65170 third_party/sqlite/amalgamation/sqlite3.c assert( db->nStatement>=0 && db->nSavepoint>=0 ); assert 65206 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p3<SQLITE_N_BTREE_META ); assert 65207 third_party/sqlite/amalgamation/sqlite3.c assert( u.at.iDb>=0 && u.at.iDb<db->nDb ); assert 65208 third_party/sqlite/amalgamation/sqlite3.c assert( db->aDb[u.at.iDb].pBt!=0 ); assert 65209 third_party/sqlite/amalgamation/sqlite3.c assert( (p->btreeMask & (((yDbMask)1)<<u.at.iDb))!=0 ); assert 65230 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p2<SQLITE_N_BTREE_META ); assert 65231 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p1>=0 && pOp->p1<db->nDb ); assert 65232 third_party/sqlite/amalgamation/sqlite3.c assert( (p->btreeMask & (((yDbMask)1)<<pOp->p1))!=0 ); assert 65234 third_party/sqlite/amalgamation/sqlite3.c assert( u.au.pDb->pBt!=0 ); assert 65235 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3SchemaMutexHeld(db, pOp->p1, 0) ); assert 65282 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p1>=0 && pOp->p1<db->nDb ); assert 65283 third_party/sqlite/amalgamation/sqlite3.c assert( (p->btreeMask & (((yDbMask)1)<<pOp->p1))!=0 ); assert 65284 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3SchemaMutexHeld(db, pOp->p1, 0) ); assert 65389 third_party/sqlite/amalgamation/sqlite3.c assert( u.aw.iDb>=0 && u.aw.iDb<db->nDb ); assert 65390 third_party/sqlite/amalgamation/sqlite3.c assert( (p->btreeMask & (((yDbMask)1)<<u.aw.iDb))!=0 ); assert 65393 third_party/sqlite/amalgamation/sqlite3.c assert( u.aw.pX!=0 ); assert 65396 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3SchemaMutexHeld(db, u.aw.iDb, 0) ); assert 65404 third_party/sqlite/amalgamation/sqlite3.c assert( u.aw.p2>0 ); assert 65405 third_party/sqlite/amalgamation/sqlite3.c assert( u.aw.p2<=p->nMem ); assert 65407 third_party/sqlite/amalgamation/sqlite3.c assert( memIsValid(pIn2) ); assert 65408 third_party/sqlite/amalgamation/sqlite3.c assert( (pIn2->flags & MEM_Int)!=0 ); assert 65427 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p1>=0 ); assert 65439 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_EMPTY || rc==SQLITE_OK ); assert 65491 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p1>=0 ); assert 65508 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p4type==P4_KEYINFO ); assert 65511 third_party/sqlite/amalgamation/sqlite3.c assert( pgno==MASTER_ROOT+1 ); assert 65548 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p1>=0 ); assert 65564 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 65635 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 65636 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p2!=0 ); assert 65638 third_party/sqlite/amalgamation/sqlite3.c assert( u.az.pC!=0 ); assert 65639 third_party/sqlite/amalgamation/sqlite3.c assert( u.az.pC->pseudoTableReg==0 ); assert 65640 third_party/sqlite/amalgamation/sqlite3.c assert( OP_SeekLe == OP_SeekLt+1 ); assert 65641 third_party/sqlite/amalgamation/sqlite3.c assert( OP_SeekGe == OP_SeekLt+2 ); assert 65642 third_party/sqlite/amalgamation/sqlite3.c assert( OP_SeekGt == OP_SeekLt+3 ); assert 65643 third_party/sqlite/amalgamation/sqlite3.c assert( u.az.pC->isOrdered ); assert 65667 third_party/sqlite/amalgamation/sqlite3.c assert( (pIn3->flags & MEM_Real)!=0 ); assert 65674 third_party/sqlite/amalgamation/sqlite3.c if( u.az.oc>=OP_SeekGe ){ assert( u.az.oc==OP_SeekGe || u.az.oc==OP_SeekGt ); assert 65679 third_party/sqlite/amalgamation/sqlite3.c if( u.az.oc<=OP_SeekLe ){ assert( u.az.oc==OP_SeekLt || u.az.oc==OP_SeekLe ); assert 65693 third_party/sqlite/amalgamation/sqlite3.c assert( u.az.oc==OP_SeekLe || u.az.oc==OP_SeekGt ); assert 65707 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p4type==P4_INT32 ); assert 65708 third_party/sqlite/amalgamation/sqlite3.c assert( u.az.nField>0 ); assert 65720 third_party/sqlite/amalgamation/sqlite3.c assert( u.az.oc!=OP_SeekGt || u.az.r.flags==UNPACKED_INCRKEY ); assert 65721 third_party/sqlite/amalgamation/sqlite3.c assert( u.az.oc!=OP_SeekLe || u.az.r.flags==UNPACKED_INCRKEY ); assert 65722 third_party/sqlite/amalgamation/sqlite3.c assert( u.az.oc!=OP_SeekGe || u.az.r.flags==0 ); assert 65723 third_party/sqlite/amalgamation/sqlite3.c assert( u.az.oc!=OP_SeekLt || u.az.r.flags==0 ); assert 65727 third_party/sqlite/amalgamation/sqlite3.c { int i; for(i=0; i<u.az.r.nField; i++) assert( memIsValid(&u.az.r.aMem[i]) ); } assert 65741 third_party/sqlite/amalgamation/sqlite3.c if( u.az.oc>=OP_SeekGe ){ assert( u.az.oc==OP_SeekGe || u.az.oc==OP_SeekGt ); assert 65750 third_party/sqlite/amalgamation/sqlite3.c assert( u.az.oc==OP_SeekLt || u.az.oc==OP_SeekLe ); assert 65762 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p2>0 ); assert 65790 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 65792 third_party/sqlite/amalgamation/sqlite3.c assert( u.ba.pC!=0 ); assert 65794 third_party/sqlite/amalgamation/sqlite3.c assert( u.ba.pC->isTable ); assert 65845 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 65846 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p4type==P4_INT32 ); assert 65848 third_party/sqlite/amalgamation/sqlite3.c assert( u.bb.pC!=0 ); assert 65852 third_party/sqlite/amalgamation/sqlite3.c assert( u.bb.pC->isTable==0 ); assert 65858 third_party/sqlite/amalgamation/sqlite3.c { int i; for(i=0; i<u.bb.r.nField; i++) assert( memIsValid(&u.bb.r.aMem[i]) ); } assert 65863 third_party/sqlite/amalgamation/sqlite3.c assert( pIn3->flags & MEM_Blob ); assert 65864 third_party/sqlite/amalgamation/sqlite3.c assert( (pIn3->flags & MEM_Zero)==0 ); /* zeroblobs already expanded */ assert 65931 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p4type==P4_INT32 ); assert 65932 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p4.i>0 && pOp->p4.i<=p->nMem ); assert 65933 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 65937 third_party/sqlite/amalgamation/sqlite3.c assert( u.bc.pCx->deferredMoveto==0 ); assert 65951 third_party/sqlite/amalgamation/sqlite3.c assert( (u.bc.aMx[u.bc.nField].flags & MEM_Null)==0 ); assert 65960 third_party/sqlite/amalgamation/sqlite3.c { int i; for(i=0; i<u.bc.r.nField; i++) assert( memIsValid(&u.bc.r.aMem[i]) ); } assert 66003 third_party/sqlite/amalgamation/sqlite3.c assert( pIn3->flags & MEM_Int ); assert 66004 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 66006 third_party/sqlite/amalgamation/sqlite3.c assert( u.bd.pC!=0 ); assert 66007 third_party/sqlite/amalgamation/sqlite3.c assert( u.bd.pC->isTable ); assert 66008 third_party/sqlite/amalgamation/sqlite3.c assert( u.bd.pC->pseudoTableReg==0 ); assert 66021 third_party/sqlite/amalgamation/sqlite3.c assert( u.bd.pC->rowidIsValid==0 ); assert 66029 third_party/sqlite/amalgamation/sqlite3.c assert( u.bd.pC->rowidIsValid==0 ); assert 66043 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 66044 third_party/sqlite/amalgamation/sqlite3.c assert( p->apCsr[pOp->p1]!=0 ); assert 66076 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 66078 third_party/sqlite/amalgamation/sqlite3.c assert( u.be.pC!=0 ); assert 66095 third_party/sqlite/amalgamation/sqlite3.c assert( u.be.pC->isTable ); assert 66117 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3BtreeCursorIsValid(u.be.pC->pCursor) ); assert 66119 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK ); /* Cannot fail following BtreeLast() */ assert 66131 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p3>0 ); assert 66135 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p3<=u.be.pFrame->nMem ); assert 66139 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p3<=p->nMem ); assert 66143 third_party/sqlite/amalgamation/sqlite3.c assert( memIsValid(u.be.pMem) ); assert 66147 third_party/sqlite/amalgamation/sqlite3.c assert( (u.be.pMem->flags & MEM_Int)!=0 ); /* mem(P3) holds an integer */ assert 66166 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p3==0 ); /* We cannot be in random rowid mode if this is assert 66191 third_party/sqlite/amalgamation/sqlite3.c assert( u.be.v>0 ); /* EV: R-40812-03570 */ assert 66260 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 66261 third_party/sqlite/amalgamation/sqlite3.c assert( memIsValid(u.bf.pData) ); assert 66263 third_party/sqlite/amalgamation/sqlite3.c assert( u.bf.pC!=0 ); assert 66264 third_party/sqlite/amalgamation/sqlite3.c assert( u.bf.pC->pCursor!=0 ); assert 66265 third_party/sqlite/amalgamation/sqlite3.c assert( u.bf.pC->pseudoTableReg==0 ); assert 66266 third_party/sqlite/amalgamation/sqlite3.c assert( u.bf.pC->isTable ); assert 66271 third_party/sqlite/amalgamation/sqlite3.c assert( u.bf.pKey->flags & MEM_Int ); assert 66272 third_party/sqlite/amalgamation/sqlite3.c assert( memIsValid(u.bf.pKey) ); assert 66276 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->opcode==OP_InsertInt ); assert 66286 third_party/sqlite/amalgamation/sqlite3.c assert( u.bf.pData->flags & (MEM_Blob|MEM_Str) ); assert 66308 third_party/sqlite/amalgamation/sqlite3.c assert( u.bf.pC->isTable ); assert 66310 third_party/sqlite/amalgamation/sqlite3.c assert( u.bf.pC->iDb>=0 ); assert 66342 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 66344 third_party/sqlite/amalgamation/sqlite3.c assert( u.bg.pC!=0 ); assert 66345 third_party/sqlite/amalgamation/sqlite3.c assert( u.bg.pC->pCursor!=0 ); /* Only valid for real tables, no pseudotables */ assert 66351 third_party/sqlite/amalgamation/sqlite3.c assert( u.bg.pC->isTable ); assert 66352 third_party/sqlite/amalgamation/sqlite3.c assert( u.bg.pC->rowidIsValid ); /* lastRowid set by previous OP_NotFound */ assert 66363 third_party/sqlite/amalgamation/sqlite3.c assert( u.bg.pC->deferredMoveto==0 ); assert 66376 third_party/sqlite/amalgamation/sqlite3.c assert( u.bg.pC->iDb>=0 ); assert 66427 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 66429 third_party/sqlite/amalgamation/sqlite3.c assert( u.bh.pC->isTable || pOp->opcode==OP_RowKey ); assert 66430 third_party/sqlite/amalgamation/sqlite3.c assert( u.bh.pC->isIndex || pOp->opcode==OP_RowData ); assert 66431 third_party/sqlite/amalgamation/sqlite3.c assert( u.bh.pC!=0 ); assert 66432 third_party/sqlite/amalgamation/sqlite3.c assert( u.bh.pC->nullRow==0 ); assert 66433 third_party/sqlite/amalgamation/sqlite3.c assert( u.bh.pC->pseudoTableReg==0 ); assert 66434 third_party/sqlite/amalgamation/sqlite3.c assert( u.bh.pC->pCursor!=0 ); assert 66436 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3BtreeCursorIsValid(u.bh.pCrsr) ); assert 66443 third_party/sqlite/amalgamation/sqlite3.c assert( u.bh.pC->deferredMoveto==0 ); assert 66448 third_party/sqlite/amalgamation/sqlite3.c assert( !u.bh.pC->isTable ); assert 66450 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK ); /* True because of CursorMoveto() call above */ assert 66457 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK ); /* DataSize() cannot fail */ assert 66494 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 66496 third_party/sqlite/amalgamation/sqlite3.c assert( u.bi.pC!=0 ); assert 66497 third_party/sqlite/amalgamation/sqlite3.c assert( u.bi.pC->pseudoTableReg==0 ); assert 66507 third_party/sqlite/amalgamation/sqlite3.c assert( u.bi.pModule->xRowid ); assert 66512 third_party/sqlite/amalgamation/sqlite3.c assert( u.bi.pC->pCursor!=0 ); assert 66519 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK ); /* Always so because of CursorMoveto() above */ assert 66537 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 66539 third_party/sqlite/amalgamation/sqlite3.c assert( u.bj.pC!=0 ); assert 66563 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 66565 third_party/sqlite/amalgamation/sqlite3.c assert( u.bk.pC!=0 ); assert 66618 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 66620 third_party/sqlite/amalgamation/sqlite3.c assert( u.bl.pC!=0 ); assert 66630 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p2>0 && pOp->p2<p->nOp ); assert 66672 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 66673 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p5<=ArraySize(p->aCounter) ); assert 66684 third_party/sqlite/amalgamation/sqlite3.c assert( u.bm.pC->deferredMoveto==0 ); assert 66720 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 66722 third_party/sqlite/amalgamation/sqlite3.c assert( u.bn.pC!=0 ); assert 66724 third_party/sqlite/amalgamation/sqlite3.c assert( pIn2->flags & MEM_Blob ); assert 66727 third_party/sqlite/amalgamation/sqlite3.c assert( u.bn.pC->isTable==0 ); assert 66735 third_party/sqlite/amalgamation/sqlite3.c assert( u.bn.pC->deferredMoveto==0 ); assert 66756 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p3>0 ); assert 66757 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p2>0 && pOp->p2+pOp->p3<=p->nMem+1 ); assert 66758 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 66760 third_party/sqlite/amalgamation/sqlite3.c assert( u.bo.pC!=0 ); assert 66768 third_party/sqlite/amalgamation/sqlite3.c { int i; for(i=0; i<u.bo.r.nField; i++) assert( memIsValid(&u.bo.r.aMem[i]) ); } assert 66774 third_party/sqlite/amalgamation/sqlite3.c assert( u.bo.pC->deferredMoveto==0 ); assert 66795 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 66797 third_party/sqlite/amalgamation/sqlite3.c assert( u.bp.pC!=0 ); assert 66803 third_party/sqlite/amalgamation/sqlite3.c assert( u.bp.pC->deferredMoveto==0 ); assert 66804 third_party/sqlite/amalgamation/sqlite3.c assert( u.bp.pC->isTable==0 ); assert 66851 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 66853 third_party/sqlite/amalgamation/sqlite3.c assert( u.bq.pC!=0 ); assert 66854 third_party/sqlite/amalgamation/sqlite3.c assert( u.bq.pC->isOrdered ); assert 66856 third_party/sqlite/amalgamation/sqlite3.c assert( u.bq.pC->deferredMoveto==0 ); assert 66857 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p5==0 || pOp->p5==1 ); assert 66858 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p4type==P4_INT32 ); assert 66868 third_party/sqlite/amalgamation/sqlite3.c { int i; for(i=0; i<u.bq.r.nField; i++) assert( memIsValid(&u.bq.r.aMem[i]) ); } assert 66874 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->opcode==OP_IdxGE ); assert 66927 third_party/sqlite/amalgamation/sqlite3.c assert( u.br.iCnt==1 ); assert 66928 third_party/sqlite/amalgamation/sqlite3.c assert( (p->btreeMask & (((yDbMask)1)<<u.br.iDb))!=0 ); assert 66936 third_party/sqlite/amalgamation/sqlite3.c assert( resetSchemaOnFault==0 || resetSchemaOnFault==u.br.iDb+1 ); assert 66968 third_party/sqlite/amalgamation/sqlite3.c assert( (p->btreeMask & (((yDbMask)1)<<pOp->p2))!=0 ); assert 66975 third_party/sqlite/amalgamation/sqlite3.c assert( memIsValid(&aMem[pOp->p3]) ); assert 67014 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p1>=0 && pOp->p1<db->nDb ); assert 67015 third_party/sqlite/amalgamation/sqlite3.c assert( (p->btreeMask & (((yDbMask)1)<<pOp->p1))!=0 ); assert 67017 third_party/sqlite/amalgamation/sqlite3.c assert( u.bt.pDb->pBt!=0 ); assert 67051 third_party/sqlite/amalgamation/sqlite3.c assert( u.bu.iDb==1 || sqlite3BtreeHoldsMutex(db->aDb[u.bu.iDb].pBt) ); assert 67056 third_party/sqlite/amalgamation/sqlite3.c assert( u.bu.iDb>=0 && u.bu.iDb<db->nDb ); assert 67057 third_party/sqlite/amalgamation/sqlite3.c assert( DbHasProperty(db, u.bu.iDb, DB_SchemaLoaded) ); assert 67069 third_party/sqlite/amalgamation/sqlite3.c assert( db->init.busy==0 ); assert 67072 third_party/sqlite/amalgamation/sqlite3.c assert( !db->mallocFailed ); assert 67093 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p1>=0 && pOp->p1<db->nDb ); assert 67168 third_party/sqlite/amalgamation/sqlite3.c assert( u.bv.nRoot>0 ); assert 67171 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p3>0 && pOp->p3<=p->nMem ); assert 67173 third_party/sqlite/amalgamation/sqlite3.c assert( (u.bv.pnErr->flags & MEM_Int)!=0 ); assert 67174 third_party/sqlite/amalgamation/sqlite3.c assert( (u.bv.pnErr->flags & (MEM_Str|MEM_Blob))==0 ); assert 67180 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p5<db->nDb ); assert 67181 third_party/sqlite/amalgamation/sqlite3.c assert( (p->btreeMask & (((yDbMask)1)<<pOp->p5))!=0 ); assert 67188 third_party/sqlite/amalgamation/sqlite3.c assert( u.bv.z==0 ); assert 67210 third_party/sqlite/amalgamation/sqlite3.c assert( (pIn2->flags & MEM_Int)!=0 ); assert 67276 third_party/sqlite/amalgamation/sqlite3.c assert( pIn3->flags&MEM_Int ); assert 67286 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p4type==P4_INT32 ); assert 67287 third_party/sqlite/amalgamation/sqlite3.c assert( u.bx.iSet==-1 || u.bx.iSet>=0 ); assert 67333 third_party/sqlite/amalgamation/sqlite3.c assert( memIsValid(u.by.pRt) ); assert 67334 third_party/sqlite/amalgamation/sqlite3.c assert( u.by.pProgram->nOp>0 ); assert 67400 third_party/sqlite/amalgamation/sqlite3.c assert( u.by.pProgram->nMem+u.by.pProgram->nCsr==u.by.pFrame->nChildMem ); assert 67401 third_party/sqlite/amalgamation/sqlite3.c assert( u.by.pProgram->nCsr==u.by.pFrame->nChildCsr ); assert 67402 third_party/sqlite/amalgamation/sqlite3.c assert( pc==u.by.pFrame->pc ); assert 67507 third_party/sqlite/amalgamation/sqlite3.c assert( memIsValid(u.ca.pIn1) ); assert 67527 third_party/sqlite/amalgamation/sqlite3.c assert( pIn1->flags&MEM_Int ); assert 67543 third_party/sqlite/amalgamation/sqlite3.c assert( pIn1->flags&MEM_Int ); assert 67560 third_party/sqlite/amalgamation/sqlite3.c assert( pIn1->flags&MEM_Int ); assert 67589 third_party/sqlite/amalgamation/sqlite3.c assert( u.cb.n>=0 ); assert 67592 third_party/sqlite/amalgamation/sqlite3.c assert( u.cb.apVal || u.cb.n==0 ); assert 67594 third_party/sqlite/amalgamation/sqlite3.c assert( memIsValid(u.cb.pRec) ); assert 67600 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p3>0 && pOp->p3<=p->nMem ); assert 67611 third_party/sqlite/amalgamation/sqlite3.c assert( pOp>p->aOp ); assert 67612 third_party/sqlite/amalgamation/sqlite3.c assert( pOp[-1].p4type==P4_COLLSEQ ); assert 67613 third_party/sqlite/amalgamation/sqlite3.c assert( pOp[-1].opcode==OP_CollSeq ); assert 67643 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p1>0 && pOp->p1<=p->nMem ); assert 67645 third_party/sqlite/amalgamation/sqlite3.c assert( (u.cc.pMem->flags & ~(MEM_Null|MEM_Agg))==0 ); assert 67679 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p2==SQLITE_CHECKPOINT_PASSIVE assert 67717 third_party/sqlite/amalgamation/sqlite3.c assert( u.ce.eNew==PAGER_JOURNALMODE_DELETE assert 67725 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p1>=0 && pOp->p1<db->nDb ); assert 67777 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3BtreeIsInTrans(u.ce.pBt)==0 ); assert 67825 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p1>=0 && pOp->p1<db->nDb ); assert 67826 third_party/sqlite/amalgamation/sqlite3.c assert( (p->btreeMask & (((yDbMask)1)<<pOp->p1))!=0 ); assert 67874 third_party/sqlite/amalgamation/sqlite3.c assert( p1>=0 && p1<db->nDb ); assert 67875 third_party/sqlite/amalgamation/sqlite3.c assert( (p->btreeMask & (((yDbMask)1)<<p1))!=0 ); assert 67876 third_party/sqlite/amalgamation/sqlite3.c assert( isWriteLock==0 || isWriteLock==1 ); assert 67953 third_party/sqlite/amalgamation/sqlite3.c assert(u.ch.pVtab && u.ch.pModule); assert 68011 third_party/sqlite/amalgamation/sqlite3.c assert( memIsValid(u.ci.pQuery) ); assert 68013 third_party/sqlite/amalgamation/sqlite3.c assert( u.ci.pCur->pVtabCursor ); assert 68019 third_party/sqlite/amalgamation/sqlite3.c assert( (u.ci.pQuery->flags&MEM_Int)!=0 && u.ci.pArgc->flags==MEM_Int ); assert 68066 third_party/sqlite/amalgamation/sqlite3.c assert( pCur->pVtabCursor ); assert 68067 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p3>0 && pOp->p3<=p->nMem ); assert 68076 third_party/sqlite/amalgamation/sqlite3.c assert( u.cj.pModule->xColumn ); assert 68126 third_party/sqlite/amalgamation/sqlite3.c assert( u.ck.pCur->pVtabCursor ); assert 68132 third_party/sqlite/amalgamation/sqlite3.c assert( u.ck.pModule->xNext ); assert 68171 third_party/sqlite/amalgamation/sqlite3.c assert( u.cl.pVtab->pModule->xRename ); assert 68172 third_party/sqlite/amalgamation/sqlite3.c assert( memIsValid(u.cl.pName) ); assert 68174 third_party/sqlite/amalgamation/sqlite3.c assert( u.cl.pName->flags & MEM_Str ); assert 68221 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p4type==P4_VTAB ); assert 68226 third_party/sqlite/amalgamation/sqlite3.c assert( memIsValid(u.cm.pX) ); assert 68235 third_party/sqlite/amalgamation/sqlite3.c assert( u.cm.nArg>1 && u.cm.apArg[0] && (u.cm.apArg[0]->flags&MEM_Null) ); assert 68322 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->opcode==OP_Noop || pOp->opcode==OP_Explain ); assert 68352 third_party/sqlite/amalgamation/sqlite3.c assert( pc>=-1 && pc<p->nOp ); assert 68372 third_party/sqlite/amalgamation/sqlite3.c assert( rc ); assert 68411 third_party/sqlite/amalgamation/sqlite3.c assert( p->zErrMsg==0 ); assert 68422 third_party/sqlite/amalgamation/sqlite3.c assert( db->u1.isInterrupted ); assert 68490 third_party/sqlite/amalgamation/sqlite3.c assert( v->aVar[0].flags&MEM_Int ); assert 68526 third_party/sqlite/amalgamation/sqlite3.c assert( rc!=SQLITE_OK || zErr==0 ); assert 68527 third_party/sqlite/amalgamation/sqlite3.c assert( rc!=SQLITE_ROW && rc!=SQLITE_DONE ); assert 68682 third_party/sqlite/amalgamation/sqlite3.c assert( pBlob->pStmt || db->mallocFailed ); assert 68812 third_party/sqlite/amalgamation/sqlite3.c assert( db == v->db ); assert 68885 third_party/sqlite/amalgamation/sqlite3.c assert( rc!=SQLITE_SCHEMA ); assert 68889 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK || p->pStmt==0 ); assert 68955 third_party/sqlite/amalgamation/sqlite3.c assert(p->iSize<=p->nBuf); assert 69221 third_party/sqlite/amalgamation/sqlite3.c assert( iOfst+iAmt<=p->endpoint.iOffset ); assert 69266 third_party/sqlite/amalgamation/sqlite3.c assert( iOfst==p->endpoint.iOffset ); assert 69282 third_party/sqlite/amalgamation/sqlite3.c assert( p->pFirst ); assert 69285 third_party/sqlite/amalgamation/sqlite3.c assert( !p->pFirst ); assert 69306 third_party/sqlite/amalgamation/sqlite3.c assert(size==0); assert 69377 third_party/sqlite/amalgamation/sqlite3.c assert( EIGHT_BYTE_ALIGNMENT(p) ); assert 69590 third_party/sqlite/amalgamation/sqlite3.c assert( iCol>=0 && iCol<pEList->nExpr ); assert 69592 third_party/sqlite/amalgamation/sqlite3.c assert( pOrig!=0 ); assert 69593 third_party/sqlite/amalgamation/sqlite3.c assert( pOrig->flags & EP_Resolved ); assert 69608 third_party/sqlite/amalgamation/sqlite3.c assert( zToken!=0 ); assert 69613 third_party/sqlite/amalgamation/sqlite3.c assert( (pDup->flags & (EP_Reduced|EP_TokenOnly))==0 ); assert 69677 third_party/sqlite/amalgamation/sqlite3.c assert( pNC ); /* the name context cannot be NULL. */ assert 69678 third_party/sqlite/amalgamation/sqlite3.c assert( zCol ); /* The Z in X.Y.Z cannot be NULL */ assert 69679 third_party/sqlite/amalgamation/sqlite3.c assert( ~ExprHasAnyProperty(pExpr, EP_TokenOnly|EP_Reduced) ); assert 69698 third_party/sqlite/amalgamation/sqlite3.c assert( pTab!=0 && pTab->zName!=0 ); assert 69700 third_party/sqlite/amalgamation/sqlite3.c assert( pTab->nCol>0 ); assert 69764 third_party/sqlite/amalgamation/sqlite3.c assert( op==TK_DELETE || op==TK_UPDATE || op==TK_INSERT ); assert 69836 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->pLeft==0 && pExpr->pRight==0 ); assert 69837 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->x.pList==0 ); assert 69838 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->x.pSelect==0 ); assert 69847 third_party/sqlite/amalgamation/sqlite3.c assert( zTab==0 && zDb==0 ); assert 69907 third_party/sqlite/amalgamation/sqlite3.c assert( pMatch->iCursor==pExpr->iTable ); assert 69920 third_party/sqlite/amalgamation/sqlite3.c assert( pNC!=0 ); assert 69925 third_party/sqlite/amalgamation/sqlite3.c assert( pTopNC!=0 ); assert 69975 third_party/sqlite/amalgamation/sqlite3.c assert( pNC!=0 ); assert 69977 third_party/sqlite/amalgamation/sqlite3.c assert( pParse==pWalker->pParse ); assert 69986 third_party/sqlite/amalgamation/sqlite3.c assert( pSrcList->a[i].iCursor>=0 && pSrcList->a[i].iCursor<pParse->nTab); assert 70000 third_party/sqlite/amalgamation/sqlite3.c assert( pSrcList && pSrcList->nSrc==1 ); assert 70033 third_party/sqlite/amalgamation/sqlite3.c assert( pRight->op==TK_DOT ); assert 70057 third_party/sqlite/amalgamation/sqlite3.c assert( !ExprHasProperty(pExpr, EP_xIsSelect) ); assert 70123 third_party/sqlite/amalgamation/sqlite3.c assert( pNC->nRef>=nRef ); assert 70205 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3ExprIsInteger(pE, &i)==0 ); assert 70297 third_party/sqlite/amalgamation/sqlite3.c assert( pEList!=0 ); assert 70313 third_party/sqlite/amalgamation/sqlite3.c assert(pDup); assert 70375 third_party/sqlite/amalgamation/sqlite3.c assert( pEList!=0 ); /* sqlite3SelectNew() guarantees this */ assert 70469 third_party/sqlite/amalgamation/sqlite3.c assert( p!=0 ); assert 70494 third_party/sqlite/amalgamation/sqlite3.c assert( (p->selFlags & SF_Expanded)!=0 ); assert 70495 third_party/sqlite/amalgamation/sqlite3.c assert( (p->selFlags & SF_Resolved)==0 ); assert 70517 third_party/sqlite/amalgamation/sqlite3.c assert( pEList!=0 ); assert 70541 third_party/sqlite/amalgamation/sqlite3.c assert( (p->selFlags & SF_Aggregate)==0 ); assert 70729 third_party/sqlite/amalgamation/sqlite3.c assert( p!=0 ); assert 70773 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->flags&EP_xIsSelect ); assert 70778 third_party/sqlite/amalgamation/sqlite3.c assert( !ExprHasProperty(pExpr, EP_IntValue) ); assert 70789 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->pTab && j<pExpr->pTab->nCol ); assert 70886 third_party/sqlite/amalgamation/sqlite3.c assert( aff1==0 || aff2==0 ); assert 70897 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->op==TK_EQ || pExpr->op==TK_IN || pExpr->op==TK_LT || assert 70900 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->pLeft ); assert 70958 third_party/sqlite/amalgamation/sqlite3.c assert( pLeft ); assert 70960 third_party/sqlite/amalgamation/sqlite3.c assert( pLeft->pColl ); assert 70963 third_party/sqlite/amalgamation/sqlite3.c assert( pRight->pColl ); assert 71129 third_party/sqlite/amalgamation/sqlite3.c assert( iValue>=0 ); assert 71187 third_party/sqlite/amalgamation/sqlite3.c assert( db->mallocFailed ); assert 71254 third_party/sqlite/amalgamation/sqlite3.c assert( pToken ); assert 71261 third_party/sqlite/amalgamation/sqlite3.c assert( !ExprHasProperty(pNew, EP_xIsSelect) ); assert 71287 third_party/sqlite/amalgamation/sqlite3.c assert( !ExprHasAnyProperty(pExpr, EP_IntValue|EP_Reduced|EP_TokenOnly) ); assert 71289 third_party/sqlite/amalgamation/sqlite3.c assert( z!=0 ); assert 71290 third_party/sqlite/amalgamation/sqlite3.c assert( z[0]!=0 ); assert 71293 third_party/sqlite/amalgamation/sqlite3.c assert( z[0]=='?' ); assert 71320 third_party/sqlite/amalgamation/sqlite3.c assert( pE!=0 ); assert 71338 third_party/sqlite/amalgamation/sqlite3.c assert( pParse->apVarExpr!=0 ); assert 71354 third_party/sqlite/amalgamation/sqlite3.c assert( !ExprHasProperty(p, EP_IntValue) || p->u.iValue>=0 ); assert 71419 third_party/sqlite/amalgamation/sqlite3.c assert( flags==EXPRDUP_REDUCE || flags==0 ); /* Only one flag value allowed */ assert 71423 third_party/sqlite/amalgamation/sqlite3.c assert( !ExprHasAnyProperty(p, EP_TokenOnly|EP_Reduced) ); assert 71424 third_party/sqlite/amalgamation/sqlite3.c assert( !ExprHasProperty(p, EP_FromJoin) ); assert 71425 third_party/sqlite/amalgamation/sqlite3.c assert( (p->flags2 & EP2_MallocedToken)==0 ); assert 71426 third_party/sqlite/amalgamation/sqlite3.c assert( (p->flags2 & EP2_Irreducible)==0 ); assert 71488 third_party/sqlite/amalgamation/sqlite3.c assert( pzBuffer==0 || isReduced ); assert 71514 third_party/sqlite/amalgamation/sqlite3.c assert( ExprHasProperty(p, EP_Reduced)==0 ); assert 71702 third_party/sqlite/amalgamation/sqlite3.c assert( p==0 ); assert 71727 third_party/sqlite/amalgamation/sqlite3.c assert( pList->nAlloc==0 ); assert 71739 third_party/sqlite/amalgamation/sqlite3.c assert( pList->a!=0 ); assert 71768 third_party/sqlite/amalgamation/sqlite3.c assert( pList!=0 || pParse->db->mallocFailed!=0 ); assert 71771 third_party/sqlite/amalgamation/sqlite3.c assert( pList->nExpr>0 ); assert 71773 third_party/sqlite/amalgamation/sqlite3.c assert( pItem->zName==0 ); assert 71793 third_party/sqlite/amalgamation/sqlite3.c assert( pList!=0 || db->mallocFailed!=0 ); assert 71796 third_party/sqlite/amalgamation/sqlite3.c assert( pList->nExpr>0 ); assert 71797 third_party/sqlite/amalgamation/sqlite3.c assert( db->mallocFailed || pItem->pExpr==pSpan->pExpr ); assert 71828 third_party/sqlite/amalgamation/sqlite3.c assert( pList->a!=0 || (pList->nExpr==0 && pList->nAlloc==0) ); assert 71829 third_party/sqlite/amalgamation/sqlite3.c assert( pList->nExpr<=pList->nAlloc ); assert 71944 third_party/sqlite/amalgamation/sqlite3.c assert( p->op!=TK_INTEGER || (p->flags & EP_IntValue)!=0 assert 72047 third_party/sqlite/amalgamation/sqlite3.c assert( p->iTable>=0 ); /* p cannot be part of a CHECK constraint */ assert 72091 third_party/sqlite/amalgamation/sqlite3.c assert( p->pGroupBy==0 ); /* Has no GROUP BY clause */ assert 72093 third_party/sqlite/amalgamation/sqlite3.c assert( p->pOffset==0 ); /* No LIMIT means no OFFSET */ assert 72096 third_party/sqlite/amalgamation/sqlite3.c assert( pSrc!=0 ); assert 72101 third_party/sqlite/amalgamation/sqlite3.c assert( pTab->pSelect==0 ); /* FROM clause is not a view */ assert 72171 third_party/sqlite/amalgamation/sqlite3.c assert( pX->op==TK_IN ); assert 72195 third_party/sqlite/amalgamation/sqlite3.c assert(v); assert 72334 third_party/sqlite/amalgamation/sqlite3.c assert( testAddr>0 || pParse->db->mallocFailed ); assert 72388 third_party/sqlite/amalgamation/sqlite3.c assert( !isRowid ); assert 72391 third_party/sqlite/amalgamation/sqlite3.c assert( (pExpr->iTable&0x0000FFFF)==pExpr->iTable ); assert 72476 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->op==TK_EXISTS || pExpr->op==TK_SELECT ); assert 72478 third_party/sqlite/amalgamation/sqlite3.c assert( ExprHasProperty(pExpr, EP_xIsSelect) ); assert 72546 third_party/sqlite/amalgamation/sqlite3.c assert( v!=0 ); /* OOM detected prior to this routine */ assert 72671 third_party/sqlite/amalgamation/sqlite3.c assert( !sqlite3IsNaN(value) ); /* The new AtoF never returns NaN */ assert 72690 third_party/sqlite/amalgamation/sqlite3.c assert( i>=0 ); assert 72697 third_party/sqlite/amalgamation/sqlite3.c assert( z!=0 ); assert 72737 third_party/sqlite/amalgamation/sqlite3.c assert( iReg>0 ); /* Register numbers are always positive */ assert 72738 third_party/sqlite/amalgamation/sqlite3.c assert( iCol>=-1 && iCol<32768 ); /* Finite column numbers */ assert 72762 third_party/sqlite/amalgamation/sqlite3.c assert( p->iReg==0 || p->iTable!=iTab || p->iColumn!=iCol ); assert 72834 third_party/sqlite/amalgamation/sqlite3.c assert( N>0 ); assert 72835 third_party/sqlite/amalgamation/sqlite3.c assert( pParse->iCacheLevel>=N ); assert 72909 third_party/sqlite/amalgamation/sqlite3.c assert( v!=0 ); assert 73006 third_party/sqlite/amalgamation/sqlite3.c assert( target>0 && target<=pParse->nMem ); assert 73008 third_party/sqlite/amalgamation/sqlite3.c assert( pParse->db->mallocFailed ); assert 73022 third_party/sqlite/amalgamation/sqlite3.c assert( pCol->iMem>0 ); assert 73035 third_party/sqlite/amalgamation/sqlite3.c assert( pParse->ckBase>0 ); assert 73049 third_party/sqlite/amalgamation/sqlite3.c assert( !ExprHasProperty(pExpr, EP_IntValue) ); assert 73055 third_party/sqlite/amalgamation/sqlite3.c assert( !ExprHasProperty(pExpr, EP_IntValue) ); assert 73068 third_party/sqlite/amalgamation/sqlite3.c assert( !ExprHasProperty(pExpr, EP_IntValue) ); assert 73069 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->u.zToken[0]=='x' || pExpr->u.zToken[0]=='X' ); assert 73070 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->u.zToken[1]=='\'' ); assert 73073 third_party/sqlite/amalgamation/sqlite3.c assert( z[n]=='\'' ); assert 73080 third_party/sqlite/amalgamation/sqlite3.c assert( !ExprHasProperty(pExpr, EP_IntValue) ); assert 73081 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->u.zToken!=0 ); assert 73082 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->u.zToken[0]!=0 ); assert 73102 third_party/sqlite/amalgamation/sqlite3.c assert( !ExprHasProperty(pExpr, EP_IntValue) ); assert 73105 third_party/sqlite/amalgamation/sqlite3.c assert( to_op==OP_ToText || aff!=SQLITE_AFF_TEXT ); assert 73106 third_party/sqlite/amalgamation/sqlite3.c assert( to_op==OP_ToBlob || aff!=SQLITE_AFF_NONE ); assert 73107 third_party/sqlite/amalgamation/sqlite3.c assert( to_op==OP_ToNumeric || aff!=SQLITE_AFF_NUMERIC ); assert 73108 third_party/sqlite/amalgamation/sqlite3.c assert( to_op==OP_ToInt || aff!=SQLITE_AFF_INTEGER ); assert 73109 third_party/sqlite/amalgamation/sqlite3.c assert( to_op==OP_ToReal || aff!=SQLITE_AFF_REAL ); assert 73131 third_party/sqlite/amalgamation/sqlite3.c assert( TK_LT==OP_Lt ); assert 73132 third_party/sqlite/amalgamation/sqlite3.c assert( TK_LE==OP_Le ); assert 73133 third_party/sqlite/amalgamation/sqlite3.c assert( TK_GT==OP_Gt ); assert 73134 third_party/sqlite/amalgamation/sqlite3.c assert( TK_GE==OP_Ge ); assert 73135 third_party/sqlite/amalgamation/sqlite3.c assert( TK_EQ==OP_Eq ); assert 73136 third_party/sqlite/amalgamation/sqlite3.c assert( TK_NE==OP_Ne ); assert 73176 third_party/sqlite/amalgamation/sqlite3.c assert( TK_AND==OP_And ); assert 73177 third_party/sqlite/amalgamation/sqlite3.c assert( TK_OR==OP_Or ); assert 73178 third_party/sqlite/amalgamation/sqlite3.c assert( TK_PLUS==OP_Add ); assert 73179 third_party/sqlite/amalgamation/sqlite3.c assert( TK_MINUS==OP_Subtract ); assert 73180 third_party/sqlite/amalgamation/sqlite3.c assert( TK_REM==OP_Remainder ); assert 73181 third_party/sqlite/amalgamation/sqlite3.c assert( TK_BITAND==OP_BitAnd ); assert 73182 third_party/sqlite/amalgamation/sqlite3.c assert( TK_BITOR==OP_BitOr ); assert 73183 third_party/sqlite/amalgamation/sqlite3.c assert( TK_SLASH==OP_Divide ); assert 73184 third_party/sqlite/amalgamation/sqlite3.c assert( TK_LSHIFT==OP_ShiftLeft ); assert 73185 third_party/sqlite/amalgamation/sqlite3.c assert( TK_RSHIFT==OP_ShiftRight ); assert 73186 third_party/sqlite/amalgamation/sqlite3.c assert( TK_CONCAT==OP_Concat ); assert 73207 third_party/sqlite/amalgamation/sqlite3.c assert( pLeft ); assert 73212 third_party/sqlite/amalgamation/sqlite3.c assert( !ExprHasProperty(pExpr, EP_IntValue) ); assert 73227 third_party/sqlite/amalgamation/sqlite3.c assert( TK_BITNOT==OP_BitNot ); assert 73228 third_party/sqlite/amalgamation/sqlite3.c assert( TK_NOT==OP_Not ); assert 73240 third_party/sqlite/amalgamation/sqlite3.c assert( TK_ISNULL==OP_IsNull ); assert 73241 third_party/sqlite/amalgamation/sqlite3.c assert( TK_NOTNULL==OP_NotNull ); assert 73255 third_party/sqlite/amalgamation/sqlite3.c assert( !ExprHasProperty(pExpr, EP_IntValue) ); assert 73274 third_party/sqlite/amalgamation/sqlite3.c assert( !ExprHasProperty(pExpr, EP_xIsSelect) ); assert 73283 third_party/sqlite/amalgamation/sqlite3.c assert( !ExprHasProperty(pExpr, EP_IntValue) ); assert 73298 third_party/sqlite/amalgamation/sqlite3.c assert( nFarg>=2 ); assert 73450 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->iTable==0 || pExpr->iTable==1 ); assert 73451 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->iColumn>=-1 && pExpr->iColumn<pTab->nCol ); assert 73452 third_party/sqlite/amalgamation/sqlite3.c assert( pTab->iPKey<0 || pExpr->iColumn!=pTab->iPKey ); assert 73453 third_party/sqlite/amalgamation/sqlite3.c assert( p1>=0 && p1<(pTab->nCol*2+2) ); assert 73496 third_party/sqlite/amalgamation/sqlite3.c default: assert( op==TK_CASE ); { assert 73509 third_party/sqlite/amalgamation/sqlite3.c assert( !ExprHasProperty(pExpr, EP_xIsSelect) && pExpr->x.pList ); assert 73510 third_party/sqlite/amalgamation/sqlite3.c assert((pExpr->x.pList->nExpr % 2) == 0); assert 73511 third_party/sqlite/amalgamation/sqlite3.c assert(pExpr->x.pList->nExpr > 0); assert 73535 third_party/sqlite/amalgamation/sqlite3.c assert( pTest!=0 ); assert 73557 third_party/sqlite/amalgamation/sqlite3.c assert( db->mallocFailed || pParse->nErr>0 assert 73564 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->affinity==OE_Rollback assert 73577 third_party/sqlite/amalgamation/sqlite3.c assert( !ExprHasProperty(pExpr, EP_IntValue) ); assert 73623 third_party/sqlite/amalgamation/sqlite3.c assert( target>0 && target<=pParse->nMem ); assert 73628 third_party/sqlite/amalgamation/sqlite3.c assert( pParse->pVdbe || pParse->db->mallocFailed ); assert 73652 third_party/sqlite/amalgamation/sqlite3.c assert( target>0 ); assert 73750 third_party/sqlite/amalgamation/sqlite3.c assert( !ExprHasProperty(pExpr, EP_xIsSelect) ); assert 73815 third_party/sqlite/amalgamation/sqlite3.c assert( pList!=0 ); assert 73816 third_party/sqlite/amalgamation/sqlite3.c assert( target>0 ); assert 73817 third_party/sqlite/amalgamation/sqlite3.c assert( pParse->pVdbe!=0 ); /* Never gets this far otherwise */ assert 73855 third_party/sqlite/amalgamation/sqlite3.c assert( !ExprHasProperty(pExpr, EP_xIsSelect) ); assert 73907 third_party/sqlite/amalgamation/sqlite3.c assert( jumpIfNull==SQLITE_JUMPIFNULL || jumpIfNull==0 ); assert 73939 third_party/sqlite/amalgamation/sqlite3.c assert( TK_LT==OP_Lt ); assert 73940 third_party/sqlite/amalgamation/sqlite3.c assert( TK_LE==OP_Le ); assert 73941 third_party/sqlite/amalgamation/sqlite3.c assert( TK_GT==OP_Gt ); assert 73942 third_party/sqlite/amalgamation/sqlite3.c assert( TK_GE==OP_Ge ); assert 73943 third_party/sqlite/amalgamation/sqlite3.c assert( TK_EQ==OP_Eq ); assert 73944 third_party/sqlite/amalgamation/sqlite3.c assert( TK_NE==OP_Ne ); assert 73975 third_party/sqlite/amalgamation/sqlite3.c assert( TK_ISNULL==OP_IsNull ); assert 73976 third_party/sqlite/amalgamation/sqlite3.c assert( TK_NOTNULL==OP_NotNull ); assert 74027 third_party/sqlite/amalgamation/sqlite3.c assert( jumpIfNull==SQLITE_JUMPIFNULL || jumpIfNull==0 ); assert 74053 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->op!=TK_ISNULL || op==OP_NotNull ); assert 74054 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->op!=TK_NOTNULL || op==OP_IsNull ); assert 74055 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->op!=TK_NE || op==OP_Eq ); assert 74056 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->op!=TK_EQ || op==OP_Ne ); assert 74057 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->op!=TK_LT || op==OP_Ge ); assert 74058 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->op!=TK_LE || op==OP_Gt ); assert 74059 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->op!=TK_GT || op==OP_Le ); assert 74060 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->op!=TK_GE || op==OP_Lt ); assert 74176 third_party/sqlite/amalgamation/sqlite3.c assert( !ExprHasAnyProperty(pA, EP_TokenOnly|EP_Reduced) ); assert 74177 third_party/sqlite/amalgamation/sqlite3.c assert( !ExprHasAnyProperty(pB, EP_TokenOnly|EP_Reduced) ); assert 74287 third_party/sqlite/amalgamation/sqlite3.c assert( !ExprHasAnyProperty(pExpr, EP_TokenOnly|EP_Reduced) ); assert 74365 third_party/sqlite/amalgamation/sqlite3.c assert( !ExprHasProperty(pExpr, EP_xIsSelect) ); assert 74369 third_party/sqlite/amalgamation/sqlite3.c assert( !ExprHasProperty(pExpr, EP_IntValue) ); assert 74382 third_party/sqlite/amalgamation/sqlite3.c assert( !ExprHasAnyProperty(pExpr, EP_TokenOnly|EP_Reduced) ); assert 74417 third_party/sqlite/amalgamation/sqlite3.c assert( pNC->pSrcList!=0 ); assert 74477 third_party/sqlite/amalgamation/sqlite3.c assert( !usedAsColumnCache(pParse, i, i+n-1) ); assert 74571 third_party/sqlite/amalgamation/sqlite3.c assert( len>0 ); assert 74693 third_party/sqlite/amalgamation/sqlite3.c assert( len>0 ); assert 74836 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3BtreeHoldsAllMutexes(pParse->db) ); assert 74838 third_party/sqlite/amalgamation/sqlite3.c assert( iDb>=0 ); assert 74844 third_party/sqlite/amalgamation/sqlite3.c assert( iTrigDb==iDb || iTrigDb==1 ); assert 74908 third_party/sqlite/amalgamation/sqlite3.c assert( pSrc->nSrc==1 ); assert 74909 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3BtreeHoldsAllMutexes(pParse->db) ); assert 75131 third_party/sqlite/amalgamation/sqlite3.c assert( pNew ); assert 75133 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3BtreeHoldsAllMutexes(db) ); assert 75140 third_party/sqlite/amalgamation/sqlite3.c assert( pTab ); assert 75251 third_party/sqlite/amalgamation/sqlite3.c assert( pParse->pNewTable==0 ); assert 75252 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3BtreeHoldsAllMutexes(db) ); assert 75273 third_party/sqlite/amalgamation/sqlite3.c assert( pTab->addColOffset>0 ); assert 75288 third_party/sqlite/amalgamation/sqlite3.c assert( pNew->nCol>0 ); assert 75290 third_party/sqlite/amalgamation/sqlite3.c assert( nAlloc>=pNew->nCol && nAlloc%8==0 && nAlloc-pNew->nCol<8 ); assert 75380 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3BtreeHoldsAllMutexes(db) ); assert 75381 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3VdbeDb(v)==db ); assert 75471 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3BtreeHoldsAllMutexes(db) ); assert 75473 third_party/sqlite/amalgamation/sqlite3.c assert( iDb>=0 ); assert 75474 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 75499 third_party/sqlite/amalgamation/sqlite3.c assert( iDb==sqlite3SchemaToIndex(db, pIdx->pSchema) ); assert 75572 third_party/sqlite/amalgamation/sqlite3.c assert( regTabname+1==regIdxname assert 75601 third_party/sqlite/amalgamation/sqlite3.c assert( pIdx->azColl!=0 ); assert 75602 third_party/sqlite/amalgamation/sqlite3.c assert( pIdx->azColl[i]!=0 ); assert 75716 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 75733 third_party/sqlite/amalgamation/sqlite3.c assert( pTab!=0 ); assert 75734 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3BtreeHoldsAllMutexes(pParse->db) ); assert 75771 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3BtreeHoldsAllMutexes(pParse->db) ); assert 75776 third_party/sqlite/amalgamation/sqlite3.c assert( pName2!=0 || pName1==0 ); assert 75846 third_party/sqlite/amalgamation/sqlite3.c assert( argc==3 ); assert 75929 third_party/sqlite/amalgamation/sqlite3.c assert( iDb>=0 && iDb<db->nDb ); assert 75930 third_party/sqlite/amalgamation/sqlite3.c assert( db->aDb[iDb].pBt!=0 ); assert 75933 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 75998 third_party/sqlite/amalgamation/sqlite3.c assert( pIdx->aSample ); assert 76144 third_party/sqlite/amalgamation/sqlite3.c assert( z && zName ); assert 76242 third_party/sqlite/amalgamation/sqlite3.c assert( iDb>=2 ); assert 76380 third_party/sqlite/amalgamation/sqlite3.c assert( v || db->mallocFailed ); assert 76383 third_party/sqlite/amalgamation/sqlite3.c assert( pFunc->nArg==-1 || (pFunc->nArg&0xff)==pFunc->nArg ); assert 76463 third_party/sqlite/amalgamation/sqlite3.c assert( db->nDb>iDb ); assert 76743 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->op==TK_COLUMN || pExpr->op==TK_TRIGGER ); assert 76747 third_party/sqlite/amalgamation/sqlite3.c assert( pTabList ); assert 76759 third_party/sqlite/amalgamation/sqlite3.c assert( iCol<pTab->nCol ); assert 76762 third_party/sqlite/amalgamation/sqlite3.c assert( pTab->iPKey<pTab->nCol ); assert 76767 third_party/sqlite/amalgamation/sqlite3.c assert( iDb>=0 && iDb<db->nDb ); assert 76820 third_party/sqlite/amalgamation/sqlite3.c assert( pParse ); assert 76908 third_party/sqlite/amalgamation/sqlite3.c assert( iDb>=0 ); assert 76942 third_party/sqlite/amalgamation/sqlite3.c assert( pVdbe!=0 ); /* sqlite3GetVdbe cannot fail: VDBE already allocated */ assert 76978 third_party/sqlite/amalgamation/sqlite3.c assert( !pParse->isMultiWrite assert 76998 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 77038 third_party/sqlite/amalgamation/sqlite3.c assert( pParse->iCacheLevel==0 ); /* Disables and re-enables match */ assert 77079 third_party/sqlite/amalgamation/sqlite3.c assert( pParse->nested<10 ); /* Nesting should only be of limited depth */ assert 77112 third_party/sqlite/amalgamation/sqlite3.c assert( zName!=0 ); assert 77115 third_party/sqlite/amalgamation/sqlite3.c assert( zDatabase!=0 || sqlite3BtreeHoldsAllMutexes(db) ); assert 77119 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3SchemaMutexHeld(db, j, 0) ); assert 77180 third_party/sqlite/amalgamation/sqlite3.c assert( zDb!=0 || sqlite3BtreeHoldsAllMutexes(db) ); assert 77184 third_party/sqlite/amalgamation/sqlite3.c assert( pSchema ); assert 77186 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3SchemaMutexHeld(db, j, 0) ); assert 77215 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 77250 third_party/sqlite/amalgamation/sqlite3.c assert( iDb<db->nDb ); assert 77255 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 77256 third_party/sqlite/amalgamation/sqlite3.c assert( pDb->pSchema!=0 ); assert 77265 third_party/sqlite/amalgamation/sqlite3.c assert( pDb->pSchema!=0 ); assert 77272 third_party/sqlite/amalgamation/sqlite3.c assert( iDb<0 ); assert 77325 third_party/sqlite/amalgamation/sqlite3.c assert( pTable!=0 ); assert 77350 third_party/sqlite/amalgamation/sqlite3.c assert( !pTable || pTable->nRef>0 ); assert 77359 third_party/sqlite/amalgamation/sqlite3.c assert( pIndex->pSchema==pTable->pSchema ); assert 77365 third_party/sqlite/amalgamation/sqlite3.c assert( db==0 || sqlite3SchemaMutexHeld(db, 0, pIndex->pSchema) ); assert 77366 third_party/sqlite/amalgamation/sqlite3.c assert( pOld==pIndex || pOld==0 ); assert 77397 third_party/sqlite/amalgamation/sqlite3.c assert( db!=0 ); assert 77398 third_party/sqlite/amalgamation/sqlite3.c assert( iDb>=0 && iDb<db->nDb ); assert 77399 third_party/sqlite/amalgamation/sqlite3.c assert( zTabName ); assert 77400 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 77522 third_party/sqlite/amalgamation/sqlite3.c assert( db->init.iDb==0 || db->init.busy ); assert 77613 third_party/sqlite/amalgamation/sqlite3.c assert( (isTemp & 1)==isTemp ); assert 77656 third_party/sqlite/amalgamation/sqlite3.c assert( !db->init.busy ); assert 77679 third_party/sqlite/amalgamation/sqlite3.c assert( pParse->pNewTable==0 ); assert 77688 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 77918 third_party/sqlite/amalgamation/sqlite3.c assert( pCol->zType==0 ); assert 78016 third_party/sqlite/amalgamation/sqlite3.c assert( autoInc==0 || autoInc==1 ); assert 78081 third_party/sqlite/amalgamation/sqlite3.c assert( pIdx->nColumn==1 ); assert 78149 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 78256 third_party/sqlite/amalgamation/sqlite3.c assert( pCol->affinity-SQLITE_AFF_TEXT >= 0 ); assert 78257 third_party/sqlite/amalgamation/sqlite3.c assert( pCol->affinity-SQLITE_AFF_TEXT < ArraySize(azType) ); assert 78266 third_party/sqlite/amalgamation/sqlite3.c assert( pCol->affinity==SQLITE_AFF_NONE assert 78270 third_party/sqlite/amalgamation/sqlite3.c assert( k<=n ); assert 78312 third_party/sqlite/amalgamation/sqlite3.c assert( !db->init.busy || !pSelect ); assert 78398 third_party/sqlite/amalgamation/sqlite3.c assert(pParse->nTab==1); assert 78408 third_party/sqlite/amalgamation/sqlite3.c assert( p->aCol==0 ); assert 78452 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 78473 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 78477 third_party/sqlite/amalgamation/sqlite3.c assert( p==pOld ); /* Malloc must have failed inside HashInsert() */ assert 78489 third_party/sqlite/amalgamation/sqlite3.c assert( !pSelect && pCons && pEnd ); assert 78590 third_party/sqlite/amalgamation/sqlite3.c assert( pTable ); assert 78624 third_party/sqlite/amalgamation/sqlite3.c assert( pTable->nCol>=0 ); assert 78633 third_party/sqlite/amalgamation/sqlite3.c assert( pTable->pSelect ); assert 78652 third_party/sqlite/amalgamation/sqlite3.c assert( pTable->aCol==0 ); assert 78658 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3SchemaMutexHeld(db, 0, pTable->pSchema) ); assert 78679 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3SchemaMutexHeld(db, idx, 0) ); assert 78718 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 78808 third_party/sqlite/amalgamation/sqlite3.c assert( pIdx->pSchema==pTab->pSchema ); assert 78837 third_party/sqlite/amalgamation/sqlite3.c assert( pParse->nErr==0 ); assert 78838 third_party/sqlite/amalgamation/sqlite3.c assert( pName->nSrc==1 ); assert 78849 third_party/sqlite/amalgamation/sqlite3.c assert( iDb>=0 && iDb<db->nDb ); assert 78933 third_party/sqlite/amalgamation/sqlite3.c assert( pTrigger->pSchema==pTab->pSchema || assert 79023 third_party/sqlite/amalgamation/sqlite3.c assert( pTo!=0 ); assert 79094 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3SchemaMutexHeld(db, 0, p->pSchema) ); assert 79103 third_party/sqlite/amalgamation/sqlite3.c assert( pNextTo->pPrevTo==0 ); assert 79132 third_party/sqlite/amalgamation/sqlite3.c assert( isDeferred==0 || isDeferred==1 ); /* EV: R-30323-21917 */ assert 79262 third_party/sqlite/amalgamation/sqlite3.c assert( pStart==0 || pEnd!=0 ); /* pEnd must be non-NULL if pStart is */ assert 79263 third_party/sqlite/amalgamation/sqlite3.c assert( pParse->nErr==0 ); /* Never called with prior errors */ assert 79280 third_party/sqlite/amalgamation/sqlite3.c assert( pName1 && pName2 ); assert 79302 third_party/sqlite/amalgamation/sqlite3.c assert(0); assert 79307 third_party/sqlite/amalgamation/sqlite3.c assert( db->aDb[iDb].pSchema==pTab->pSchema ); assert 79309 third_party/sqlite/amalgamation/sqlite3.c assert( pName==0 ); assert 79316 third_party/sqlite/amalgamation/sqlite3.c assert( pTab!=0 ); assert 79317 third_party/sqlite/amalgamation/sqlite3.c assert( pParse->nErr==0 ); assert 79365 third_party/sqlite/amalgamation/sqlite3.c assert( !db->init.busy ); assert 79453 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 79498 third_party/sqlite/amalgamation/sqlite3.c assert( nExtra>=nColl ); assert 79543 third_party/sqlite/amalgamation/sqlite3.c assert( pIdx->onError!=OE_None ); assert 79544 third_party/sqlite/amalgamation/sqlite3.c assert( pIdx->autoIndex ); assert 79545 third_party/sqlite/amalgamation/sqlite3.c assert( pIndex->onError!=OE_None ); assert 79583 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3SchemaMutexHeld(db, 0, pIndex->pSchema) ); assert 79588 third_party/sqlite/amalgamation/sqlite3.c assert( p==pIndex ); /* Malloc must have failed */ assert 79631 third_party/sqlite/amalgamation/sqlite3.c assert( pEnd!=0 ); assert 79725 third_party/sqlite/amalgamation/sqlite3.c assert( a!=0 ); assert 79748 third_party/sqlite/amalgamation/sqlite3.c assert( pParse->nErr==0 ); /* Never called with prior errors */ assert 79752 third_party/sqlite/amalgamation/sqlite3.c assert( pName->nSrc==1 ); assert 79940 third_party/sqlite/amalgamation/sqlite3.c assert( iStart>=0 ); assert 79941 third_party/sqlite/amalgamation/sqlite3.c assert( nExtra>=1 ); assert 79942 third_party/sqlite/amalgamation/sqlite3.c assert( pSrc!=0 ); assert 79943 third_party/sqlite/amalgamation/sqlite3.c assert( iStart<=pSrc->nSrc ); assert 79953 third_party/sqlite/amalgamation/sqlite3.c assert( db->mallocFailed ); assert 80020 third_party/sqlite/amalgamation/sqlite3.c assert( pDatabase==0 || pTable!=0 ); /* Cannot have C without B */ assert 80051 third_party/sqlite/amalgamation/sqlite3.c assert(pList || pParse->db->mallocFailed ); assert 80122 third_party/sqlite/amalgamation/sqlite3.c assert( pAlias!=0 ); assert 80132 third_party/sqlite/amalgamation/sqlite3.c assert( p==0 ); assert 80144 third_party/sqlite/amalgamation/sqlite3.c assert( pIndexedBy!=0 ); assert 80147 third_party/sqlite/amalgamation/sqlite3.c assert( pItem->notIndexed==0 && pItem->zIndex==0 ); assert 80191 third_party/sqlite/amalgamation/sqlite3.c assert( pParse!=0 ); assert 80193 third_party/sqlite/amalgamation/sqlite3.c assert( db!=0 ); assert 80216 third_party/sqlite/amalgamation/sqlite3.c assert( pParse!=0 ); assert 80218 third_party/sqlite/amalgamation/sqlite3.c assert( db!=0 ); assert 80236 third_party/sqlite/amalgamation/sqlite3.c assert( pParse!=0 ); assert 80238 third_party/sqlite/amalgamation/sqlite3.c assert( db!=0 ); assert 80259 third_party/sqlite/amalgamation/sqlite3.c assert( !SAVEPOINT_BEGIN && SAVEPOINT_RELEASE==1 && SAVEPOINT_ROLLBACK==2 ); assert 80293 third_party/sqlite/amalgamation/sqlite3.c assert( db->aDb[1].pSchema ); assert 80336 third_party/sqlite/amalgamation/sqlite3.c assert( iDb<db->nDb ); assert 80337 third_party/sqlite/amalgamation/sqlite3.c assert( db->aDb[iDb].pBt!=0 || iDb==1 ); assert 80338 third_party/sqlite/amalgamation/sqlite3.c assert( iDb<SQLITE_MAX_ATTACHED+2 ); assert 80339 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 80439 third_party/sqlite/amalgamation/sqlite3.c assert( zColl!=0 ); assert 80442 third_party/sqlite/amalgamation/sqlite3.c assert( z!=0 ); assert 80482 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3BtreeHoldsAllMutexes(db) ); /* Needed for schema access */ assert 80484 third_party/sqlite/amalgamation/sqlite3.c assert( pDb!=0 ); assert 80528 third_party/sqlite/amalgamation/sqlite3.c assert( pName1->z ); assert 80581 third_party/sqlite/amalgamation/sqlite3.c assert( &pKey->aSortOrder[nCol]==&(((u8 *)pKey)[nBytes]) ); assert 80584 third_party/sqlite/amalgamation/sqlite3.c assert( zColl ); assert 80622 third_party/sqlite/amalgamation/sqlite3.c assert( !db->xCollNeeded || !db->xCollNeeded16 ); assert 80702 third_party/sqlite/amalgamation/sqlite3.c assert( !p || p->xCmp ); assert 80727 third_party/sqlite/amalgamation/sqlite3.c assert( p==pColl ); assert 80774 third_party/sqlite/amalgamation/sqlite3.c assert( pDel==0 || pDel==pColl ); assert 80812 third_party/sqlite/amalgamation/sqlite3.c assert( SQLITE_UTF8==1 && SQLITE_UTF16LE==2 && SQLITE_UTF16BE==3 ); assert 80813 third_party/sqlite/amalgamation/sqlite3.c assert( enc>=SQLITE_UTF8 && enc<=SQLITE_UTF16BE ); assert 80891 third_party/sqlite/amalgamation/sqlite3.c assert( pOther!=pDef && pOther->pNext!=pDef ); assert 80937 third_party/sqlite/amalgamation/sqlite3.c assert( enc==SQLITE_UTF8 || enc==SQLITE_UTF16LE || enc==SQLITE_UTF16BE ); assert 81091 third_party/sqlite/amalgamation/sqlite3.c assert( pItem && pSrc->nSrc==1 ); assert 81163 third_party/sqlite/amalgamation/sqlite3.c assert( pFrom->nSrc==1 ); assert 81166 third_party/sqlite/amalgamation/sqlite3.c assert( pFrom->a[0].pOn==0 ); assert 81167 third_party/sqlite/amalgamation/sqlite3.c assert( pFrom->a[0].pUsing==0 ); assert 81217 third_party/sqlite/amalgamation/sqlite3.c assert( pOffset == 0 ); assert 81310 third_party/sqlite/amalgamation/sqlite3.c assert( pTabList->nSrc==1 ); assert 81345 third_party/sqlite/amalgamation/sqlite3.c assert( iDb<db->nDb ); assert 81348 third_party/sqlite/amalgamation/sqlite3.c assert( rcauth==SQLITE_OK || rcauth==SQLITE_DENY || rcauth==SQLITE_IGNORE ); assert 81352 third_party/sqlite/amalgamation/sqlite3.c assert(!isView || pTrigger); assert 81356 third_party/sqlite/amalgamation/sqlite3.c assert( pTabList->nSrc==1 ); assert 81411 third_party/sqlite/amalgamation/sqlite3.c assert( !isView ); assert 81415 third_party/sqlite/amalgamation/sqlite3.c assert( pIdx->pSchema==pTab->pSchema ); assert 81549 third_party/sqlite/amalgamation/sqlite3.c assert( v ); assert 81743 third_party/sqlite/amalgamation/sqlite3.c assert( argc>1 ); assert 81746 third_party/sqlite/amalgamation/sqlite3.c assert( pColl ); assert 81747 third_party/sqlite/amalgamation/sqlite3.c assert( mask==-1 || mask==0 ); assert 81791 third_party/sqlite/amalgamation/sqlite3.c assert( argc==1 ); assert 81825 third_party/sqlite/amalgamation/sqlite3.c assert( argc==1 ); assert 81886 third_party/sqlite/amalgamation/sqlite3.c assert( argc==3 || argc==2 ); assert 81898 third_party/sqlite/amalgamation/sqlite3.c assert( len==sqlite3_value_bytes(argv[0]) ); assert 81937 third_party/sqlite/amalgamation/sqlite3.c assert( p1>=0 && p2>=0 ); assert 81964 third_party/sqlite/amalgamation/sqlite3.c assert( argc==1 || argc==2 ); assert 82004 third_party/sqlite/amalgamation/sqlite3.c assert( nByte>0 ); assert 82030 third_party/sqlite/amalgamation/sqlite3.c assert( z2==(char*)sqlite3_value_text(argv[0]) ); assert 82050 third_party/sqlite/amalgamation/sqlite3.c assert( z2==(char*)sqlite3_value_text(argv[0]) ); assert 82128 third_party/sqlite/amalgamation/sqlite3.c assert( argc==1 ); assert 82281 third_party/sqlite/amalgamation/sqlite3.c assert( esc==0 ); /* This is GLOB, not LIKE */ assert 82282 third_party/sqlite/amalgamation/sqlite3.c assert( matchSet<0x80 ); /* '[' is a single-byte character */ assert 82311 third_party/sqlite/amalgamation/sqlite3.c assert( esc==0 ); /* This only occurs for GLOB, not LIKE */ assert 82403 third_party/sqlite/amalgamation/sqlite3.c assert( zB==sqlite3_value_text(argv[0]) ); /* Encoding did not change */ assert 82488 third_party/sqlite/amalgamation/sqlite3.c assert( argc==1 ); assert 82512 third_party/sqlite/amalgamation/sqlite3.c assert( argc==1 ); assert 82541 third_party/sqlite/amalgamation/sqlite3.c assert( argc==1 ); assert 82553 third_party/sqlite/amalgamation/sqlite3.c assert( zBlob==sqlite3_value_blob(argv[0]) ); /* No encoding change */ assert 82594 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_value_type(argv[0])==SQLITE_NULL ); assert 82613 third_party/sqlite/amalgamation/sqlite3.c assert( argc==1 ); assert 82617 third_party/sqlite/amalgamation/sqlite3.c assert( pBlob==sqlite3_value_blob(argv[0]) ); /* No encoding change */ assert 82640 third_party/sqlite/amalgamation/sqlite3.c assert( argc==1 ); assert 82674 third_party/sqlite/amalgamation/sqlite3.c assert( argc==3 ); assert 82679 third_party/sqlite/amalgamation/sqlite3.c assert( zStr==sqlite3_value_text(argv[0]) ); /* No encoding change */ assert 82682 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_value_type(argv[1])==SQLITE_NULL assert 82687 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_value_type(argv[1])!=SQLITE_NULL ); assert 82692 third_party/sqlite/amalgamation/sqlite3.c assert( zPattern==sqlite3_value_text(argv[1]) ); /* No encoding change */ assert 82696 third_party/sqlite/amalgamation/sqlite3.c assert( zRep==sqlite3_value_text(argv[2]) ); assert 82698 third_party/sqlite/amalgamation/sqlite3.c assert( nOut<SQLITE_MAX_LENGTH ); assert 82730 third_party/sqlite/amalgamation/sqlite3.c assert( j+nStr-i+1==nOut ); assert 82733 third_party/sqlite/amalgamation/sqlite3.c assert( j<=nOut ); assert 82762 third_party/sqlite/amalgamation/sqlite3.c assert( zIn==sqlite3_value_text(argv[0]) ); assert 82852 third_party/sqlite/amalgamation/sqlite3.c assert( argc==1 ); assert 82932 third_party/sqlite/amalgamation/sqlite3.c assert( argc==1 ); assert 83001 third_party/sqlite/amalgamation/sqlite3.c assert( argc==1 || p==0 || p->n>0x7fffffff assert 83071 third_party/sqlite/amalgamation/sqlite3.c assert( argc==1 || argc==2 ); assert 83117 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_NOMEM || rc==SQLITE_OK ); assert 83171 third_party/sqlite/amalgamation/sqlite3.c assert( !ExprHasProperty(pExpr, EP_xIsSelect) ); assert 83184 third_party/sqlite/amalgamation/sqlite3.c assert( (char*)&likeInfoAlt == (char*)&likeInfoAlt.matchAll ); assert 83185 third_party/sqlite/amalgamation/sqlite3.c assert( &((char*)&likeInfoAlt)[1] == (char*)&likeInfoAlt.matchOne ); assert 83186 third_party/sqlite/amalgamation/sqlite3.c assert( &((char*)&likeInfoAlt)[2] == (char*)&likeInfoAlt.matchSet ); assert 83486 third_party/sqlite/amalgamation/sqlite3.c assert( ppIdx && *ppIdx==0 ); assert 83487 third_party/sqlite/amalgamation/sqlite3.c assert( !paiCol || *paiCol==0 ); assert 83488 third_party/sqlite/amalgamation/sqlite3.c assert( pParse ); assert 83511 third_party/sqlite/amalgamation/sqlite3.c assert( nCol>1 ); assert 83706 third_party/sqlite/amalgamation/sqlite3.c assert( nIncr==1 ); assert 83767 third_party/sqlite/amalgamation/sqlite3.c assert( !pIdx || pIdx->pTable==pTab ); assert 83806 third_party/sqlite/amalgamation/sqlite3.c assert( iCol>=0 ); assert 83920 third_party/sqlite/amalgamation/sqlite3.c assert( v ); /* VDBE has already been allocated */ assert 83988 third_party/sqlite/amalgamation/sqlite3.c assert( (regOld==0)!=(regNew==0) ); assert 84020 third_party/sqlite/amalgamation/sqlite3.c assert( pFKey->nCol==1 || (aiFree && pIdx) ); assert 84073 third_party/sqlite/amalgamation/sqlite3.c assert( regOld==0 && regNew!=0 ); assert 84083 third_party/sqlite/amalgamation/sqlite3.c assert( aiCol || pFKey->nCol==1 ); assert 84260 third_party/sqlite/amalgamation/sqlite3.c assert( aiCol || pFKey->nCol==1 ); assert 84271 third_party/sqlite/amalgamation/sqlite3.c assert( iFromCol>=0 ); assert 84449 third_party/sqlite/amalgamation/sqlite3.c assert( db==0 || sqlite3SchemaMutexHeld(db, 0, pTab->pSchema) ); assert 84469 third_party/sqlite/amalgamation/sqlite3.c assert( pFKey->isDeferred==0 || pFKey->isDeferred==1 ); assert 84513 third_party/sqlite/amalgamation/sqlite3.c assert( opcode==OP_OpenWrite || opcode==OP_OpenRead ); assert 84629 third_party/sqlite/amalgamation/sqlite3.c assert( pOp!=0 ); assert 84644 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p4.pVtab!=0 ); assert 84645 third_party/sqlite/amalgamation/sqlite3.c assert( pOp->p4type==P4_VTAB ); assert 84716 third_party/sqlite/amalgamation/sqlite3.c assert( pParse->pTriggerTab==0 ); assert 84717 third_party/sqlite/amalgamation/sqlite3.c assert( pParse==sqlite3ParseToplevel(pParse) ); assert 84719 third_party/sqlite/amalgamation/sqlite3.c assert( v ); /* We failed long ago if this is not so */ assert 84723 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3SchemaMutexHeld(db, 0, pDb->pSchema) ); assert 84766 third_party/sqlite/amalgamation/sqlite3.c assert( v ); assert 84774 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3SchemaMutexHeld(db, 0, pDb->pSchema) ); assert 84970 third_party/sqlite/amalgamation/sqlite3.c assert( pTabList->nSrc==1 ); assert 84978 third_party/sqlite/amalgamation/sqlite3.c assert( iDb<db->nDb ); assert 85000 third_party/sqlite/amalgamation/sqlite3.c assert( (pTrigger && tmask) || (pTrigger==0 && tmask==0) ); assert 85036 third_party/sqlite/amalgamation/sqlite3.c assert( !pTrigger ); assert 85037 third_party/sqlite/amalgamation/sqlite3.c assert( pList==0 ); assert 85088 third_party/sqlite/amalgamation/sqlite3.c assert( pParse->nErr==0 || rc ); assert 85099 third_party/sqlite/amalgamation/sqlite3.c assert( pSelect->pEList ); assert 85101 third_party/sqlite/amalgamation/sqlite3.c assert( dest.nMem==nColumn ); assert 85155 third_party/sqlite/amalgamation/sqlite3.c assert( useTempTable==0 ); assert 85308 third_party/sqlite/amalgamation/sqlite3.c assert( pSelect==0 ); /* Otherwise useTempTable is true */ assert 85320 third_party/sqlite/amalgamation/sqlite3.c assert( !IsVirtual(pTab) ); assert 85337 third_party/sqlite/amalgamation/sqlite3.c assert( pSelect==0 ); /* Otherwise useTempTable is true */ assert 85425 third_party/sqlite/amalgamation/sqlite3.c assert( IsVirtual(pTab) ); assert 85645 third_party/sqlite/amalgamation/sqlite3.c assert( v!=0 ); assert 85646 third_party/sqlite/amalgamation/sqlite3.c assert( pTab->pSelect==0 ); /* This table is not a VIEW */ assert 85666 third_party/sqlite/amalgamation/sqlite3.c assert( onError==OE_Rollback || onError==OE_Abort || onError==OE_Fail assert 85686 third_party/sqlite/amalgamation/sqlite3.c assert( onError==OE_Replace ); assert 85781 third_party/sqlite/amalgamation/sqlite3.c assert( seenReplace==0 ); assert 85842 third_party/sqlite/amalgamation/sqlite3.c assert( onError==OE_Rollback || onError==OE_Abort || onError==OE_Fail assert 85870 third_party/sqlite/amalgamation/sqlite3.c assert( seenReplace==0 ); assert 85876 third_party/sqlite/amalgamation/sqlite3.c assert( onError==OE_Replace ); assert 85925 third_party/sqlite/amalgamation/sqlite3.c assert( v!=0 ); assert 85926 third_party/sqlite/amalgamation/sqlite3.c assert( pTab->pSelect==0 ); /* This table is not a VIEW */ assert 85980 third_party/sqlite/amalgamation/sqlite3.c assert( v!=0 ); assert 85984 third_party/sqlite/amalgamation/sqlite3.c assert( pIdx->pSchema==pTab->pSchema ); assert 86034 third_party/sqlite/amalgamation/sqlite3.c assert( pDest && pSrc ); assert 86035 third_party/sqlite/amalgamation/sqlite3.c assert( pDest->pTable!=pSrc->pTable ); assert 86129 third_party/sqlite/amalgamation/sqlite3.c assert(pSelect->pSrc); /* allocated even if there is no FROM clause */ assert 86150 third_party/sqlite/amalgamation/sqlite3.c assert( pSelect->pOffset==0 ); /* Must be so if pLimit==0 */ assert 86158 third_party/sqlite/amalgamation/sqlite3.c assert( pEList!=0 ); assert 86162 third_party/sqlite/amalgamation/sqlite3.c assert( pEList->a[0].pExpr ); assert 86271 third_party/sqlite/amalgamation/sqlite3.c assert( (pDest->tabFlags & TF_Autoincrement)==0 ); assert 86282 third_party/sqlite/amalgamation/sqlite3.c assert( pSrcIdx ); assert 86370 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK || pStmt==0 ); assert 86400 third_party/sqlite/amalgamation/sqlite3.c assert( azCols[i]!=0 ); assert 86457 third_party/sqlite/amalgamation/sqlite3.c assert( (rc&db->errMask)==rc ); assert 87373 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(db->mutex) ); assert 87472 third_party/sqlite/amalgamation/sqlite3.c assert( (rc&0xff)==rc ); assert 87746 third_party/sqlite/amalgamation/sqlite3.c assert( v!=0 ); /* Already allocated by sqlite3Pragma() */ assert 87791 third_party/sqlite/amalgamation/sqlite3.c assert( action==OE_None ); break; assert 87810 third_party/sqlite/amalgamation/sqlite3.c assert( PAGER_JOURNALMODE_DELETE==0 ); assert 87811 third_party/sqlite/amalgamation/sqlite3.c assert( PAGER_JOURNALMODE_PERSIST==1 ); assert 87812 third_party/sqlite/amalgamation/sqlite3.c assert( PAGER_JOURNALMODE_OFF==2 ); assert 87813 third_party/sqlite/amalgamation/sqlite3.c assert( PAGER_JOURNALMODE_TRUNCATE==3 ); assert 87814 third_party/sqlite/amalgamation/sqlite3.c assert( PAGER_JOURNALMODE_MEMORY==4 ); assert 87815 third_party/sqlite/amalgamation/sqlite3.c assert( PAGER_JOURNALMODE_WAL==5 ); assert 87816 third_party/sqlite/amalgamation/sqlite3.c assert( eMode>=0 && eMode<=ArraySize(azModeName) ); assert 87877 third_party/sqlite/amalgamation/sqlite3.c assert( pId2 ); assert 87927 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 87944 third_party/sqlite/amalgamation/sqlite3.c assert( pBt!=0 ); assert 87970 third_party/sqlite/amalgamation/sqlite3.c assert( pBt!=0 ); assert 88040 third_party/sqlite/amalgamation/sqlite3.c assert(pDb==&db->aDb[0]); assert 88051 third_party/sqlite/amalgamation/sqlite3.c assert(eMode==PAGER_LOCKINGMODE_NORMAL||eMode==PAGER_LOCKINGMODE_EXCLUSIVE); assert 88138 third_party/sqlite/amalgamation/sqlite3.c assert( pBt!=0 ); assert 88152 third_party/sqlite/amalgamation/sqlite3.c assert( eAuto>=0 && eAuto<=2 ); assert 88230 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 88454 third_party/sqlite/amalgamation/sqlite3.c assert( pTab->nCol>cnum ); assert 88498 third_party/sqlite/amalgamation/sqlite3.c assert( db->aDb[i].zName!=0 ); assert 88651 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 88802 third_party/sqlite/amalgamation/sqlite3.c assert( encnames[SQLITE_UTF8].enc==SQLITE_UTF8 ); assert 88803 third_party/sqlite/amalgamation/sqlite3.c assert( encnames[SQLITE_UTF16LE].enc==SQLITE_UTF16LE ); assert 88804 third_party/sqlite/amalgamation/sqlite3.c assert( encnames[SQLITE_UTF16BE].enc==SQLITE_UTF16BE ); assert 89119 third_party/sqlite/amalgamation/sqlite3.c assert( argc==3 ); assert 89121 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(db->mutex) ); assert 89128 third_party/sqlite/amalgamation/sqlite3.c assert( iDb>=0 && iDb<db->nDb ); assert 89142 third_party/sqlite/amalgamation/sqlite3.c assert( db->init.busy ); assert 89148 third_party/sqlite/amalgamation/sqlite3.c assert( (rc&0xFF)==(rcp&0xFF) ); assert 89152 third_party/sqlite/amalgamation/sqlite3.c assert( iDb==1 ); assert 89235 third_party/sqlite/amalgamation/sqlite3.c assert( iDb>=0 && iDb<db->nDb ); assert 89236 third_party/sqlite/amalgamation/sqlite3.c assert( db->aDb[iDb].pSchema ); assert 89237 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(db->mutex) ); assert 89238 third_party/sqlite/amalgamation/sqlite3.c assert( iDb==1 || sqlite3BtreeHoldsMutex(db->aDb[iDb].pBt) ); assert 89376 third_party/sqlite/amalgamation/sqlite3.c assert( db->init.busy ); assert 89449 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(db->mutex) ); assert 89489 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(db->mutex) ); assert 89512 third_party/sqlite/amalgamation/sqlite3.c assert( pParse->checkSchema ); assert 89513 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(db->mutex) ); assert 89535 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 89568 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(db->mutex) ); assert 89575 third_party/sqlite/amalgamation/sqlite3.c assert( i>=0 && i<db->nDb ); assert 89604 third_party/sqlite/amalgamation/sqlite3.c assert( ppStmt && *ppStmt==0 ); assert 89605 third_party/sqlite/amalgamation/sqlite3.c assert( !db->mallocFailed ); assert 89606 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(db->mutex) ); assert 89634 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3BtreeHoldsMutex(pBt) ); assert 89670 third_party/sqlite/amalgamation/sqlite3.c assert( 1==(int)pParse->nQueryLoop ); assert 89710 third_party/sqlite/amalgamation/sqlite3.c assert( db->init.busy==0 || saveSqlFlag==0 ); assert 89717 third_party/sqlite/amalgamation/sqlite3.c assert(!(*ppStmt)); assert 89740 third_party/sqlite/amalgamation/sqlite3.c assert( (rc&db->errMask)==rc ); assert 89753 third_party/sqlite/amalgamation/sqlite3.c assert( ppStmt!=0 ); assert 89784 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(sqlite3VdbeDb(p)->mutex) ); assert 89786 third_party/sqlite/amalgamation/sqlite3.c assert( zSql!=0 ); /* Reprepare only called for prepare_v2() statements */ assert 89788 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(db->mutex) ); assert 89794 third_party/sqlite/amalgamation/sqlite3.c assert( pNew==0 ); assert 89797 third_party/sqlite/amalgamation/sqlite3.c assert( pNew!=0 ); assert 89824 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK || ppStmt==0 || *ppStmt==0 ); /* VERIFY: F13021 */ assert 89836 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK || ppStmt==0 || *ppStmt==0 ); /* VERIFY: F13021 */ assert 89861 third_party/sqlite/amalgamation/sqlite3.c assert( ppStmt ); assert 89904 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK || ppStmt==0 || *ppStmt==0 ); /* VERIFY: F13021 */ assert 89916 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK || ppStmt==0 || *ppStmt==0 ); /* VERIFY: F13021 */ assert 89988 third_party/sqlite/amalgamation/sqlite3.c assert( db->mallocFailed || !pOffset || pLimit ); /* OFFSET implies LIMIT */ assert 90006 third_party/sqlite/amalgamation/sqlite3.c assert( pOffset==0 || pLimit!=0 ); assert 90088 third_party/sqlite/amalgamation/sqlite3.c assert( pB!=0 ); assert 90133 third_party/sqlite/amalgamation/sqlite3.c assert( (piTab==0)==(piCol==0) ); /* Both or neither are NULL */ assert 90173 third_party/sqlite/amalgamation/sqlite3.c assert( iLeft<iRight ); assert 90174 third_party/sqlite/amalgamation/sqlite3.c assert( pSrc->nSrc>iRight ); assert 90175 third_party/sqlite/amalgamation/sqlite3.c assert( pSrc->a[iLeft].pTab ); assert 90176 third_party/sqlite/amalgamation/sqlite3.c assert( pSrc->a[iRight].pTab ); assert 90184 third_party/sqlite/amalgamation/sqlite3.c assert( !ExprHasAnyProperty(pEq, EP_TokenOnly|EP_Reduced) ); assert 90220 third_party/sqlite/amalgamation/sqlite3.c assert( !ExprHasAnyProperty(p, EP_TokenOnly|EP_Reduced) ); assert 90468 third_party/sqlite/amalgamation/sqlite3.c assert( v ); assert 90470 third_party/sqlite/amalgamation/sqlite3.c assert( pEList!=0 ); assert 90488 third_party/sqlite/amalgamation/sqlite3.c assert( pDest->nMem==nResultCol ); assert 90509 third_party/sqlite/amalgamation/sqlite3.c assert( pEList!=0 ); assert 90510 third_party/sqlite/amalgamation/sqlite3.c assert( pEList->nExpr==nColumn ); assert 90568 third_party/sqlite/amalgamation/sqlite3.c assert( nColumn==1 ); assert 90599 third_party/sqlite/amalgamation/sqlite3.c assert( nColumn==1 ); assert 90639 third_party/sqlite/amalgamation/sqlite3.c assert( eDest==SRT_Discard ); assert 90768 third_party/sqlite/amalgamation/sqlite3.c assert( op==TK_UNION || op==TK_EXCEPT || op==TK_INTERSECT || op==TK_ALL ); assert 90833 third_party/sqlite/amalgamation/sqlite3.c assert( nColumn==1 ); assert 90840 third_party/sqlite/amalgamation/sqlite3.c assert( nColumn==1 ); assert 90848 third_party/sqlite/amalgamation/sqlite3.c assert( eDest==SRT_Output || eDest==SRT_Coroutine ); assert 90852 third_party/sqlite/amalgamation/sqlite3.c assert( regRow!=pDest->iMem+i ); assert 90956 third_party/sqlite/amalgamation/sqlite3.c assert( pTab && pExpr->pTab==pTab ); assert 90976 third_party/sqlite/amalgamation/sqlite3.c assert( !pS ); assert 90978 third_party/sqlite/amalgamation/sqlite3.c assert( iCol==-1 || (iCol>=0 && iCol<pTab->nCol) ); assert 91003 third_party/sqlite/amalgamation/sqlite3.c assert( ExprHasProperty(pExpr, EP_xIsSelect) ); assert 91014 third_party/sqlite/amalgamation/sqlite3.c assert( pzOriginTab && pzOriginCol ); assert 91102 third_party/sqlite/amalgamation/sqlite3.c assert( j<pTabList->nSrc ); assert 91105 third_party/sqlite/amalgamation/sqlite3.c assert( iCol==-1 || (iCol>=0 && iCol<pTab->nCol) ); assert 91164 third_party/sqlite/amalgamation/sqlite3.c assert( p->pRight==0 || ExprHasProperty(p->pRight, EP_IntValue) assert 91181 third_party/sqlite/amalgamation/sqlite3.c assert( !ExprHasProperty(pColExpr, EP_IntValue) ); assert 91247 third_party/sqlite/amalgamation/sqlite3.c assert( pSelect!=0 ); assert 91248 third_party/sqlite/amalgamation/sqlite3.c assert( (pSelect->selFlags & SF_Resolved)!=0 ); assert 91249 third_party/sqlite/amalgamation/sqlite3.c assert( nCol==pSelect->pEList->nExpr || db->mallocFailed ); assert 91288 third_party/sqlite/amalgamation/sqlite3.c assert( db->lookaside.bEnabled==0 ); assert 91352 third_party/sqlite/amalgamation/sqlite3.c assert( p->pOffset==0 || p->pLimit!=0 ); assert 91405 third_party/sqlite/amalgamation/sqlite3.c assert( iCol>=0 ); assert 91472 third_party/sqlite/amalgamation/sqlite3.c assert( p && p->pPrior ); /* Calling function guarantees this much */ assert 91475 third_party/sqlite/amalgamation/sqlite3.c assert( pPrior->pRightmost!=pPrior ); assert 91476 third_party/sqlite/amalgamation/sqlite3.c assert( pPrior->pRightmost==p->pRightmost ); assert 91492 third_party/sqlite/amalgamation/sqlite3.c assert( v!=0 ); /* The VDBE already created by calling function */ assert 91497 third_party/sqlite/amalgamation/sqlite3.c assert( p->pEList ); assert 91506 third_party/sqlite/amalgamation/sqlite3.c assert( p->pEList && pPrior->pEList ); assert 91526 third_party/sqlite/amalgamation/sqlite3.c assert( !pPrior->pLimit ); assert 91576 third_party/sqlite/amalgamation/sqlite3.c assert( p->pRightmost!=p ); /* Can only happen for leftward elements assert 91578 third_party/sqlite/amalgamation/sqlite3.c assert( p->pLimit==0 ); /* Not allowed on leftward elements */ assert 91579 third_party/sqlite/amalgamation/sqlite3.c assert( p->pOffset==0 ); /* Not allowed on leftward elements */ assert 91586 third_party/sqlite/amalgamation/sqlite3.c assert( p->pOrderBy==0 ); assert 91588 third_party/sqlite/amalgamation/sqlite3.c assert( p->addrOpenEphm[0] == -1 ); assert 91591 third_party/sqlite/amalgamation/sqlite3.c assert( p->pEList ); assert 91596 third_party/sqlite/amalgamation/sqlite3.c assert( !pPrior->pOrderBy ); assert 91609 third_party/sqlite/amalgamation/sqlite3.c assert( p->op==TK_UNION ); assert 91637 third_party/sqlite/amalgamation/sqlite3.c assert( unionTab==dest.iParm || dest.eDest!=priorOp ); assert 91640 third_party/sqlite/amalgamation/sqlite3.c assert( p->pEList ); assert 91660 third_party/sqlite/amalgamation/sqlite3.c default: assert( p->op==TK_INTERSECT ); { assert 91674 third_party/sqlite/amalgamation/sqlite3.c assert( p->pOrderBy==0 ); assert 91677 third_party/sqlite/amalgamation/sqlite3.c assert( p->addrOpenEphm[0] == -1 ); assert 91680 third_party/sqlite/amalgamation/sqlite3.c assert( p->pEList ); assert 91694 third_party/sqlite/amalgamation/sqlite3.c assert( p->addrOpenEphm[1] == -1 ); assert 91715 third_party/sqlite/amalgamation/sqlite3.c assert( p->pEList ); assert 91758 third_party/sqlite/amalgamation/sqlite3.c assert( p->pRightmost==p ); assert 91783 third_party/sqlite/amalgamation/sqlite3.c assert( pLoop->addrOpenEphm[1]<0 ); assert 91883 third_party/sqlite/amalgamation/sqlite3.c assert( pIn->nMem==1 ); assert 91909 third_party/sqlite/amalgamation/sqlite3.c assert( pIn->nMem==1 ); assert 91938 third_party/sqlite/amalgamation/sqlite3.c assert( pDest->eDest==SRT_Output ); assert 92090 third_party/sqlite/amalgamation/sqlite3.c assert( p->pOrderBy!=0 ); assert 92091 third_party/sqlite/amalgamation/sqlite3.c assert( pKeyDup==0 ); /* "Managed" code needs this. Ticket #3382. */ assert 92094 third_party/sqlite/amalgamation/sqlite3.c assert( v!=0 ); /* Already thrown the error if VDBE alloc failed */ assert 92103 third_party/sqlite/amalgamation/sqlite3.c assert( pPrior->pOrderBy==0 ); assert 92105 third_party/sqlite/amalgamation/sqlite3.c assert( pOrderBy ); assert 92116 third_party/sqlite/amalgamation/sqlite3.c assert( pItem->iCol>0 ); assert 92141 third_party/sqlite/amalgamation/sqlite3.c assert( pItem->iCol>0 && pItem->iCol<=p->pEList->nExpr ); assert 92181 third_party/sqlite/amalgamation/sqlite3.c assert( nOrderBy>=nExpr || db->mallocFailed ); assert 92425 third_party/sqlite/amalgamation/sqlite3.c assert( pEList!=0 && pExpr->iColumn<pEList->nExpr ); assert 92426 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->pLeft==0 && pExpr->pRight==0 ); assert 92474 third_party/sqlite/amalgamation/sqlite3.c assert( pSrc ); /* Even for (SELECT 1) we have: pSrc!=0 but pSrc->nSrc==0 */ assert 92616 third_party/sqlite/amalgamation/sqlite3.c assert( p!=0 ); assert 92617 third_party/sqlite/amalgamation/sqlite3.c assert( p->pPrior==0 ); /* Unable to flatten compound queries */ assert 92620 third_party/sqlite/amalgamation/sqlite3.c assert( pSrc && iFrom>=0 && iFrom<pSrc->nSrc ); assert 92624 third_party/sqlite/amalgamation/sqlite3.c assert( pSub!=0 ); assert 92628 third_party/sqlite/amalgamation/sqlite3.c assert( pSubSrc ); assert 92845 third_party/sqlite/amalgamation/sqlite3.c assert( pParent==p ); /* First time through the loop */ assert 92848 third_party/sqlite/amalgamation/sqlite3.c assert( pParent!=p ); /* 2nd and subsequent times through the loop */ assert 92851 third_party/sqlite/amalgamation/sqlite3.c assert( db->mallocFailed ); assert 92915 third_party/sqlite/amalgamation/sqlite3.c assert( pParent->pOrderBy==0 ); assert 92927 third_party/sqlite/amalgamation/sqlite3.c assert( pParent->pHaving==0 ); assert 92933 third_party/sqlite/amalgamation/sqlite3.c assert( pParent->pGroupBy==0 ); assert 92988 third_party/sqlite/amalgamation/sqlite3.c assert( !ExprHasProperty(pExpr, EP_IntValue) ); assert 93012 third_party/sqlite/amalgamation/sqlite3.c assert( !p->pGroupBy ); assert 93021 third_party/sqlite/amalgamation/sqlite3.c assert( pTab && !pTab->pSelect && pExpr ); assert 93113 third_party/sqlite/amalgamation/sqlite3.c assert( i==0 ); assert 93120 third_party/sqlite/amalgamation/sqlite3.c assert( pSel!=0 ); assert 93121 third_party/sqlite/amalgamation/sqlite3.c assert( pFrom->pTab==0 ); assert 93135 third_party/sqlite/amalgamation/sqlite3.c assert( pFrom->pTab==0 ); assert 93144 third_party/sqlite/amalgamation/sqlite3.c assert( pFrom->pSelect==0 ); assert 93176 third_party/sqlite/amalgamation/sqlite3.c assert( pE->op!=TK_DOT || pE->pRight!=0 ); assert 93177 third_party/sqlite/amalgamation/sqlite3.c assert( pE->op!=TK_DOT || (pE->pLeft!=0 && pE->pLeft->op==TK_ID) ); assert 93194 third_party/sqlite/amalgamation/sqlite3.c assert( pE->op!=TK_DOT || pE->pRight!=0 ); assert 93212 third_party/sqlite/amalgamation/sqlite3.c assert( pE->pLeft!=0 ); assert 93213 third_party/sqlite/amalgamation/sqlite3.c assert( !ExprHasProperty(pE->pLeft, EP_IntValue) ); assert 93241 third_party/sqlite/amalgamation/sqlite3.c assert(IsVirtual(pTab)); assert 93356 third_party/sqlite/amalgamation/sqlite3.c assert( p->selFlags & SF_Resolved ); assert 93366 third_party/sqlite/amalgamation/sqlite3.c assert( pSel ); assert 93444 third_party/sqlite/amalgamation/sqlite3.c assert( !ExprHasProperty(pE, EP_xIsSelect) ); assert 93468 third_party/sqlite/amalgamation/sqlite3.c assert( !ExprHasProperty(pF->pExpr, EP_xIsSelect) ); assert 93491 third_party/sqlite/amalgamation/sqlite3.c assert( !ExprHasProperty(pF->pExpr, EP_xIsSelect) ); assert 93502 third_party/sqlite/amalgamation/sqlite3.c assert( nArg==1 ); assert 93509 third_party/sqlite/amalgamation/sqlite3.c assert( pList!=0 ); /* pList!=0 if pF->pFunc has NEEDCOLL */ assert 93663 third_party/sqlite/amalgamation/sqlite3.c assert(pDest->eDest==SRT_Exists || pDest->eDest==SRT_Union || assert 93679 third_party/sqlite/amalgamation/sqlite3.c assert( pEList!=0 ); assert 93725 third_party/sqlite/amalgamation/sqlite3.c assert( pItem->isPopulated==0 ); assert 93775 third_party/sqlite/amalgamation/sqlite3.c assert( p->pGroupBy==0 || (p->selFlags & SF_Aggregate)!=0 ); assert 93829 third_party/sqlite/amalgamation/sqlite3.c assert( isAgg || pGroupBy ); assert 93859 third_party/sqlite/amalgamation/sqlite3.c assert(!isDistinct); assert 93917 third_party/sqlite/amalgamation/sqlite3.c assert( !ExprHasProperty(sAggInfo.aFunc[i].pExpr, EP_xIsSelect) ); assert 94216 third_party/sqlite/amalgamation/sqlite3.c assert( !ExprHasProperty(p->pEList->a[0].pExpr, EP_xIsSelect) ); assert 94533 third_party/sqlite/amalgamation/sqlite3.c assert( sizeof(res.azResult[0])>= sizeof(res.nData) ); assert 94577 third_party/sqlite/amalgamation/sqlite3.c assert( azResult!=0 ); assert 94643 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3SchemaMutexHeld(pParse->db, 0, pTmpSchema) ); assert 94687 third_party/sqlite/amalgamation/sqlite3.c assert( pName1!=0 ); /* pName1->z might be NULL, but not pName1 itself */ assert 94688 third_party/sqlite/amalgamation/sqlite3.c assert( pName2!=0 ); assert 94689 third_party/sqlite/amalgamation/sqlite3.c assert( op==TK_INSERT || op==TK_UPDATE || op==TK_DELETE ); assert 94690 third_party/sqlite/amalgamation/sqlite3.c assert( op>0 && op<0xff ); assert 94723 third_party/sqlite/amalgamation/sqlite3.c assert( pTableName->nSrc==1 ); assert 94755 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 94761 third_party/sqlite/amalgamation/sqlite3.c assert( !db->init.busy ); assert 94825 third_party/sqlite/amalgamation/sqlite3.c assert( pParse->pNewTrigger==0 ); assert 94836 third_party/sqlite/amalgamation/sqlite3.c assert( pParse->pNewTrigger==pTrigger ); assert 94898 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 94906 third_party/sqlite/amalgamation/sqlite3.c assert( pTab!=0 ); assert 94914 third_party/sqlite/amalgamation/sqlite3.c assert( !pParse->pNewTrigger ); assert 94978 third_party/sqlite/amalgamation/sqlite3.c assert(pEList == 0 || pSelect == 0); assert 94979 third_party/sqlite/amalgamation/sqlite3.c assert(pEList != 0 || pSelect != 0 || db->mallocFailed); assert 95076 third_party/sqlite/amalgamation/sqlite3.c assert( pName->nSrc==1 ); assert 95080 third_party/sqlite/amalgamation/sqlite3.c assert( zDb!=0 || sqlite3BtreeHoldsAllMutexes(db) ); assert 95084 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3SchemaMutexHeld(db, j, 0) ); assert 95123 third_party/sqlite/amalgamation/sqlite3.c assert( iDb>=0 && iDb<db->nDb ); assert 95125 third_party/sqlite/amalgamation/sqlite3.c assert( pTable ); assert 95126 third_party/sqlite/amalgamation/sqlite3.c assert( pTable->pSchema==pTrigger->pSchema || iDb==1 ); assert 95142 third_party/sqlite/amalgamation/sqlite3.c assert( pTable!=0 ); assert 95178 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 95231 third_party/sqlite/amalgamation/sqlite3.c assert( pList==0 || IsVirtual(pTab)==0 ); assert 95262 third_party/sqlite/amalgamation/sqlite3.c assert( pSrc->nSrc>0 ); assert 95263 third_party/sqlite/amalgamation/sqlite3.c assert( pSrc->a!=0 ); assert 95267 third_party/sqlite/amalgamation/sqlite3.c assert( iDb<pParse->db->nDb ); assert 95287 third_party/sqlite/amalgamation/sqlite3.c assert( pParse->pTriggerTab && pParse->pToplevel ); assert 95288 third_party/sqlite/amalgamation/sqlite3.c assert( pStepList ); assert 95289 third_party/sqlite/amalgamation/sqlite3.c assert( v!=0 ); assert 95333 third_party/sqlite/amalgamation/sqlite3.c default: assert( pStep->op==TK_SELECT ); { assert 95374 third_party/sqlite/amalgamation/sqlite3.c assert( pFrom->zErrMsg==0 || pFrom->nErr ); assert 95375 third_party/sqlite/amalgamation/sqlite3.c assert( pTo->zErrMsg==0 || pTo->nErr ); assert 95404 third_party/sqlite/amalgamation/sqlite3.c assert( pTrigger->zName==0 || pTab==tableOfTrigger(pTrigger) ); assert 95405 third_party/sqlite/amalgamation/sqlite3.c assert( pTop->pVdbe ); assert 95487 third_party/sqlite/amalgamation/sqlite3.c assert( !pSubParse->pAinc && !pSubParse->pZombieTab ); assert 95488 third_party/sqlite/amalgamation/sqlite3.c assert( !pSubParse->pTriggerPrg && !pSubParse->nMaxArg ); assert 95509 third_party/sqlite/amalgamation/sqlite3.c assert( pTrigger->zName==0 || pTab==tableOfTrigger(pTrigger) ); assert 95545 third_party/sqlite/amalgamation/sqlite3.c assert( pPrg || pParse->nErr || pParse->db->mallocFailed ); assert 95619 third_party/sqlite/amalgamation/sqlite3.c assert( op==TK_UPDATE || op==TK_INSERT || op==TK_DELETE ); assert 95620 third_party/sqlite/amalgamation/sqlite3.c assert( tr_tm==TRIGGER_BEFORE || tr_tm==TRIGGER_AFTER ); assert 95621 third_party/sqlite/amalgamation/sqlite3.c assert( (op==TK_UPDATE)==(pChanges!=0) ); assert 95628 third_party/sqlite/amalgamation/sqlite3.c assert( p->pSchema!=0 ); assert 95629 third_party/sqlite/amalgamation/sqlite3.c assert( p->pTabSchema!=0 ); assert 95630 third_party/sqlite/amalgamation/sqlite3.c assert( p->pSchema==p->pTabSchema assert 95681 third_party/sqlite/amalgamation/sqlite3.c assert( isNew==1 || isNew==0 ); assert 95760 third_party/sqlite/amalgamation/sqlite3.c assert( pTab!=0 ); assert 95766 third_party/sqlite/amalgamation/sqlite3.c assert( i<pTab->nCol ); assert 95836 third_party/sqlite/amalgamation/sqlite3.c assert( pTabList->nSrc==1 ); assert 95850 third_party/sqlite/amalgamation/sqlite3.c assert( pTrigger || tmask==0 ); assert 96059 third_party/sqlite/amalgamation/sqlite3.c assert( pParse->nTab>iCur+i+1 ); assert 96082 third_party/sqlite/amalgamation/sqlite3.c assert( chngRowid || pTrigger || hasFK || regOldRowid==regNewRowid ); assert 96321 third_party/sqlite/amalgamation/sqlite3.c assert( pTab->iPKey<0 ); assert 96335 third_party/sqlite/amalgamation/sqlite3.c assert( v ); assert 96413 third_party/sqlite/amalgamation/sqlite3.c assert( rc!=SQLITE_ROW ); assert 96520 third_party/sqlite/amalgamation/sqlite3.c assert( strcmp(pDb->zName,"vacuum_db")==0 ); assert 96656 third_party/sqlite/amalgamation/sqlite3.c assert( 1==sqlite3BtreeIsInTrans(pTemp) ); assert 96657 third_party/sqlite/amalgamation/sqlite3.c assert( 1==sqlite3BtreeIsInTrans(pMain) ); assert 96677 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK ); assert 96818 third_party/sqlite/amalgamation/sqlite3.c assert( IsVirtual(pTab) ); assert 96830 third_party/sqlite/amalgamation/sqlite3.c assert( db ); assert 96831 third_party/sqlite/amalgamation/sqlite3.c assert( pVTab->nRef>0 ); assert 96832 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3SafetyCheckOk(db) ); assert 96862 third_party/sqlite/amalgamation/sqlite3.c assert( db==0 || sqlite3SchemaMutexHeld(db, 0, p->pSchema) ); assert 96867 third_party/sqlite/amalgamation/sqlite3.c assert( db2 ); assert 96879 third_party/sqlite/amalgamation/sqlite3.c assert( !db || pRet ); assert 96908 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3BtreeHoldsAllMutexes(db) ); assert 96909 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(db->mutex) ); assert 96990 third_party/sqlite/amalgamation/sqlite3.c assert( 0==pTable->pIndex ); assert 96994 third_party/sqlite/amalgamation/sqlite3.c assert( iDb>=0 ); assert 97101 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3SchemaMutexHeld(db, 0, pSchema) ); assert 97105 third_party/sqlite/amalgamation/sqlite3.c assert( pTab==pOld ); /* Malloc must have failed inside HashInsert() */ assert 97132 third_party/sqlite/amalgamation/sqlite3.c assert(pArg->z < p->z); assert 97168 third_party/sqlite/amalgamation/sqlite3.c assert( !db->pVTab ); assert 97169 third_party/sqlite/amalgamation/sqlite3.c assert( xConstruct ); assert 97227 third_party/sqlite/amalgamation/sqlite3.c assert(zType[i-1]==' '); assert 97254 third_party/sqlite/amalgamation/sqlite3.c assert( pTab ); assert 97318 third_party/sqlite/amalgamation/sqlite3.c assert( pTab && (pTab->tabFlags & TF_Virtual)!=0 && !pTab->pVTable ); assert 97363 third_party/sqlite/amalgamation/sqlite3.c assert( (pTab->tabFlags & TF_Virtual)!=0 ); assert 97400 third_party/sqlite/amalgamation/sqlite3.c assert( (rc&0xff)==rc ); assert 97421 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK ); assert 97426 third_party/sqlite/amalgamation/sqlite3.c assert( pTab->pVTable==p && p->pNext==0 ); assert 97591 third_party/sqlite/amalgamation/sqlite3.c assert( pVtab!=0 ); assert 97592 third_party/sqlite/amalgamation/sqlite3.c assert( pVtab->pModule!=0 ); assert 97638 third_party/sqlite/amalgamation/sqlite3.c assert( IsVirtual(pTab) ); assert 98056 third_party/sqlite/amalgamation/sqlite3.c assert( pMaskSet->n<=(int)sizeof(Bitmask)*8 ); assert 98074 third_party/sqlite/amalgamation/sqlite3.c assert( pMaskSet->n < ArraySize(pMaskSet->ix) ); assert 98146 third_party/sqlite/amalgamation/sqlite3.c assert( TK_GT>TK_EQ && TK_GT<TK_GE ); assert 98147 third_party/sqlite/amalgamation/sqlite3.c assert( TK_LT>TK_EQ && TK_LT<TK_GE ); assert 98148 third_party/sqlite/amalgamation/sqlite3.c assert( TK_LE>TK_EQ && TK_LE<TK_GE ); assert 98149 third_party/sqlite/amalgamation/sqlite3.c assert( TK_GE==TK_EQ+4 ); assert 98173 third_party/sqlite/amalgamation/sqlite3.c assert( allowedOp(pExpr->op) && pExpr->op!=TK_IN ); assert 98181 third_party/sqlite/amalgamation/sqlite3.c assert( TK_LT==TK_GT+2 ); assert 98182 third_party/sqlite/amalgamation/sqlite3.c assert( TK_GE==TK_LE+2 ); assert 98183 third_party/sqlite/amalgamation/sqlite3.c assert( TK_GT>TK_EQ ); assert 98184 third_party/sqlite/amalgamation/sqlite3.c assert( TK_GT<TK_LE ); assert 98185 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->op>=TK_GT && pExpr->op<=TK_GE ); assert 98195 third_party/sqlite/amalgamation/sqlite3.c assert( allowedOp(op) ); assert 98201 third_party/sqlite/amalgamation/sqlite3.c assert( (WO_EQ<<(op-TK_EQ)) < 0x7fff ); assert 98204 third_party/sqlite/amalgamation/sqlite3.c assert( op!=TK_ISNULL || c==WO_ISNULL ); assert 98205 third_party/sqlite/amalgamation/sqlite3.c assert( op!=TK_IN || c==WO_IN ); assert 98206 third_party/sqlite/amalgamation/sqlite3.c assert( op!=TK_EQ || c==WO_EQ ); assert 98207 third_party/sqlite/amalgamation/sqlite3.c assert( op!=TK_LT || c==WO_LT ); assert 98208 third_party/sqlite/amalgamation/sqlite3.c assert( op!=TK_LE || c==WO_LE ); assert 98209 third_party/sqlite/amalgamation/sqlite3.c assert( op!=TK_GT || c==WO_GT ); assert 98210 third_party/sqlite/amalgamation/sqlite3.c assert( op!=TK_GE || c==WO_GE ); assert 98230 third_party/sqlite/amalgamation/sqlite3.c assert( iCur>=0 ); assert 98252 third_party/sqlite/amalgamation/sqlite3.c assert(pX->pLeft); assert 98254 third_party/sqlite/amalgamation/sqlite3.c assert(pColl || pParse->nErr); assert 98324 third_party/sqlite/amalgamation/sqlite3.c assert( pLeft->iColumn!=(-1) ); /* Because IPK never has AFF_TEXT */ assert 98339 third_party/sqlite/amalgamation/sqlite3.c assert( pRight->op==TK_VARIABLE || pRight->op==TK_REGISTER ); assert 98519 third_party/sqlite/amalgamation/sqlite3.c assert( (pTerm->wtFlags & (TERM_DYNAMIC|TERM_ORINFO|TERM_ANDINFO))==0 ); assert 98520 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->op==TK_OR ); assert 98529 third_party/sqlite/amalgamation/sqlite3.c assert( pOrWc->nTerm>=2 ); assert 98539 third_party/sqlite/amalgamation/sqlite3.c assert( pOrTerm->eOperator==0 ); assert 98540 third_party/sqlite/amalgamation/sqlite3.c assert( (pOrTerm->wtFlags & (TERM_ANDINFO|TERM_ORINFO))==0 ); assert 98558 third_party/sqlite/amalgamation/sqlite3.c assert( pAndTerm->pExpr ); assert 98628 third_party/sqlite/amalgamation/sqlite3.c assert( pOrTerm->eOperator==WO_EQ ); assert 98633 third_party/sqlite/amalgamation/sqlite3.c assert( j==1 ); assert 98643 third_party/sqlite/amalgamation/sqlite3.c assert( pOrTerm->wtFlags & (TERM_COPIED|TERM_VIRTUAL) ); assert 98653 third_party/sqlite/amalgamation/sqlite3.c assert( j==1 ); assert 98654 third_party/sqlite/amalgamation/sqlite3.c assert( (chngToIN&(chngToIN-1))==0 ); assert 98655 third_party/sqlite/amalgamation/sqlite3.c assert( chngToIN==getMask(pMaskSet, iCursor) ); assert 98664 third_party/sqlite/amalgamation/sqlite3.c assert( pOrTerm->eOperator==WO_EQ ); assert 98700 third_party/sqlite/amalgamation/sqlite3.c assert( pOrTerm->eOperator==WO_EQ ); assert 98701 third_party/sqlite/amalgamation/sqlite3.c assert( pOrTerm->leftCursor==iCursor ); assert 98702 third_party/sqlite/amalgamation/sqlite3.c assert( pOrTerm->u.leftColumn==iColumn ); assert 98707 third_party/sqlite/amalgamation/sqlite3.c assert( pLeft!=0 ); assert 98713 third_party/sqlite/amalgamation/sqlite3.c assert( !ExprHasProperty(pNew, EP_xIsSelect) ); assert 98776 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->pRight==0 ); assert 98858 third_party/sqlite/amalgamation/sqlite3.c assert( pList!=0 ); assert 98859 third_party/sqlite/amalgamation/sqlite3.c assert( pList->nExpr==2 ); assert 98881 third_party/sqlite/amalgamation/sqlite3.c assert( pWC->op==TK_AND ); assert 99090 third_party/sqlite/amalgamation/sqlite3.c assert( pOrderBy!=0 ); assert 99092 third_party/sqlite/amalgamation/sqlite3.c assert( nTerm>0 ); assert 99097 third_party/sqlite/amalgamation/sqlite3.c assert( pIdx->zName || (pIdx->nColumn==1 && pIdx->aiColumn[0]==-1) ); assert 99154 third_party/sqlite/amalgamation/sqlite3.c assert( pIdx->aSortOrder!=0 || iColumn==-1 ); assert 99155 third_party/sqlite/amalgamation/sqlite3.c assert( pTerm->sortOrder==0 || pTerm->sortOrder==1 ); assert 99156 third_party/sqlite/amalgamation/sqlite3.c assert( iSortOrder==0 || iSortOrder==1 ); assert 99416 third_party/sqlite/amalgamation/sqlite3.c assert( pParse->nQueryLoop >= (double)1 ); assert 99481 third_party/sqlite/amalgamation/sqlite3.c assert( v!=0 ); assert 99504 third_party/sqlite/amalgamation/sqlite3.c assert( nColumn>0 ); assert 99557 third_party/sqlite/amalgamation/sqlite3.c assert( (u32)n==pLevel->plan.nEq ); assert 99575 third_party/sqlite/amalgamation/sqlite3.c assert( n==nColumn ); assert 99579 third_party/sqlite/amalgamation/sqlite3.c assert( pLevel->iIdxCur>=0 ); assert 99627 third_party/sqlite/amalgamation/sqlite3.c assert( (pTerm->eOperator&(pTerm->eOperator-1))==0 ); assert 99677 third_party/sqlite/amalgamation/sqlite3.c assert( (pTerm->eOperator&(pTerm->eOperator-1))==0 ); assert 99687 third_party/sqlite/amalgamation/sqlite3.c assert( WO_EQ==SQLITE_INDEX_CONSTRAINT_EQ ); assert 99688 third_party/sqlite/amalgamation/sqlite3.c assert( WO_LT==SQLITE_INDEX_CONSTRAINT_LT ); assert 99689 third_party/sqlite/amalgamation/sqlite3.c assert( WO_LE==SQLITE_INDEX_CONSTRAINT_LE ); assert 99690 third_party/sqlite/amalgamation/sqlite3.c assert( WO_GT==SQLITE_INDEX_CONSTRAINT_GT ); assert 99691 third_party/sqlite/amalgamation/sqlite3.c assert( WO_GE==SQLITE_INDEX_CONSTRAINT_GE ); assert 99692 third_party/sqlite/amalgamation/sqlite3.c assert( WO_MATCH==SQLITE_INDEX_CONSTRAINT_MATCH ); assert 99693 third_party/sqlite/amalgamation/sqlite3.c assert( pTerm->eOperator & (WO_EQ|WO_LT|WO_LE|WO_GT|WO_GE|WO_MATCH) ); assert 99816 third_party/sqlite/amalgamation/sqlite3.c assert( pTab->azModuleArg && pTab->azModuleArg[0] ); assert 99817 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3GetVTable(pParse->db, pTab) ); assert 99937 third_party/sqlite/amalgamation/sqlite3.c assert( roundUp==0 || roundUp==1 ); assert 99966 third_party/sqlite/amalgamation/sqlite3.c assert( eType==SQLITE_TEXT || eType==SQLITE_BLOB ); assert 99971 third_party/sqlite/amalgamation/sqlite3.c assert( pColl->enc==SQLITE_UTF8 ); assert 99983 third_party/sqlite/amalgamation/sqlite3.c assert( z && pColl && pColl->xCmp ); assert 99999 third_party/sqlite/amalgamation/sqlite3.c assert( db->mallocFailed ); assert 100013 third_party/sqlite/amalgamation/sqlite3.c assert( i>=0 && i<=SQLITE_INDEX_SAMPLES ); assert 100121 third_party/sqlite/amalgamation/sqlite3.c assert( pLower->eOperator==WO_GT || pLower->eOperator==WO_GE ); assert 100127 third_party/sqlite/amalgamation/sqlite3.c assert( pUpper->eOperator==WO_LT || pUpper->eOperator==WO_LE ); assert 100151 third_party/sqlite/amalgamation/sqlite3.c assert( iEst<=SQLITE_INDEX_SAMPLES ); assert 100167 third_party/sqlite/amalgamation/sqlite3.c assert( pLower || pUpper ); assert 100204 third_party/sqlite/amalgamation/sqlite3.c assert( p->aSample!=0 ); assert 100267 third_party/sqlite/amalgamation/sqlite3.c assert( p->aSample!=0 ); assert 100286 third_party/sqlite/amalgamation/sqlite3.c assert( iLower>=0 && iUpper<=SQLITE_INDEX_SAMPLES ); assert 100779 third_party/sqlite/amalgamation/sqlite3.c assert( pOrderBy || (pCost->plan.wsFlags&WHERE_ORDERBY)==0 ); assert 100780 third_party/sqlite/amalgamation/sqlite3.c assert( pCost->plan.u.pIdx==0 || (pCost->plan.wsFlags&WHERE_ROWID_EQ)==0 ); assert 100781 third_party/sqlite/amalgamation/sqlite3.c assert( pSrc->pIndex==0 assert 100881 third_party/sqlite/amalgamation/sqlite3.c assert( pParse->db->mallocFailed ); assert 100884 third_party/sqlite/amalgamation/sqlite3.c assert( v!=0 ); assert 100928 third_party/sqlite/amalgamation/sqlite3.c assert( iTarget>0 ); assert 100940 third_party/sqlite/amalgamation/sqlite3.c assert( pX->op==TK_IN ); assert 100945 third_party/sqlite/amalgamation/sqlite3.c assert( pLevel->plan.wsFlags & WHERE_IN_ABLE ); assert 101030 third_party/sqlite/amalgamation/sqlite3.c assert( pLevel->plan.wsFlags & WHERE_INDEXED ); assert 101046 third_party/sqlite/amalgamation/sqlite3.c assert( pIdx->nColumn>=nEq ); assert 101350 third_party/sqlite/amalgamation/sqlite3.c assert( pTerm!=0 ); assert 101351 third_party/sqlite/amalgamation/sqlite3.c assert( pTerm->pExpr!=0 ); assert 101352 third_party/sqlite/amalgamation/sqlite3.c assert( pTerm->leftCursor==iCur ); assert 101353 third_party/sqlite/amalgamation/sqlite3.c assert( omitTable==0 ); assert 101370 third_party/sqlite/amalgamation/sqlite3.c assert( omitTable==0 ); assert 101391 third_party/sqlite/amalgamation/sqlite3.c assert( TK_LE==TK_GT+1 ); /* Make sure the ordering.. */ assert 101392 third_party/sqlite/amalgamation/sqlite3.c assert( TK_LT==TK_GT+2 ); /* ... of the TK_xx values... */ assert 101393 third_party/sqlite/amalgamation/sqlite3.c assert( TK_GE==TK_GT+3 ); /* ... is correcct. */ assert 101397 third_party/sqlite/amalgamation/sqlite3.c assert( pX!=0 ); assert 101398 third_party/sqlite/amalgamation/sqlite3.c assert( pStart->leftCursor==iCur ); assert 101411 third_party/sqlite/amalgamation/sqlite3.c assert( pX!=0 ); assert 101412 third_party/sqlite/amalgamation/sqlite3.c assert( pEnd->leftCursor==iCur ); assert 101430 third_party/sqlite/amalgamation/sqlite3.c assert( pLevel->p5==0 ); assert 101592 third_party/sqlite/amalgamation/sqlite3.c assert( op!=0 ); assert 101732 third_party/sqlite/amalgamation/sqlite3.c assert( pTerm!=0 ); assert 101733 third_party/sqlite/amalgamation/sqlite3.c assert( pTerm->eOperator==WO_OR ); assert 101734 third_party/sqlite/amalgamation/sqlite3.c assert( (pTerm->wtFlags & TERM_ORINFO)!=0 ); assert 101828 third_party/sqlite/amalgamation/sqlite3.c assert( bRev==0 || bRev==1 ); assert 101829 third_party/sqlite/amalgamation/sqlite3.c assert( omitTable==0 ); assert 101856 third_party/sqlite/amalgamation/sqlite3.c assert( pE!=0 ); assert 101877 third_party/sqlite/amalgamation/sqlite3.c assert( pWInfo->untestedTerms ); assert 101880 third_party/sqlite/amalgamation/sqlite3.c assert( pTerm->pExpr ); assert 102122 third_party/sqlite/amalgamation/sqlite3.c assert( pWC->vmask==0 && pMaskSet->n==0 ); assert 102136 third_party/sqlite/amalgamation/sqlite3.c assert( (m-1)==toTheLeft ); assert 102249 third_party/sqlite/amalgamation/sqlite3.c assert( pTabItem->pTab ); assert 102261 third_party/sqlite/amalgamation/sqlite3.c assert( isOptimal || (sCost.used¬Ready)==0 ); assert 102265 third_party/sqlite/amalgamation/sqlite3.c assert( pTabItem->pIndex==0 assert 102312 third_party/sqlite/amalgamation/sqlite3.c assert( bestJ>=0 ); assert 102313 third_party/sqlite/amalgamation/sqlite3.c assert( notReady & getMask(pMaskSet, pTabList->a[bestJ].iCursor) ); assert 102349 third_party/sqlite/amalgamation/sqlite3.c assert( bestPlan.plan.u.pIdx==pIdx ); assert 102370 third_party/sqlite/amalgamation/sqlite3.c assert( (wctrlFlags & WHERE_ONEPASS_DESIRED)==0 || pWInfo->nLevel==1 ); assert 102413 third_party/sqlite/amalgamation/sqlite3.c assert( n<=pTab->nCol ); assert 102427 third_party/sqlite/amalgamation/sqlite3.c assert( pIx->pSchema==pTab->pSchema ); assert 102428 third_party/sqlite/amalgamation/sqlite3.c assert( iIdxCur>=0 ); assert 102551 third_party/sqlite/amalgamation/sqlite3.c assert( (pLevel->plan.wsFlags & WHERE_IDX_ONLY)==0 assert 102575 third_party/sqlite/amalgamation/sqlite3.c assert( pWInfo->nLevel==1 || pWInfo->nLevel==pTabList->nSrc ); assert 102579 third_party/sqlite/amalgamation/sqlite3.c assert( pTab!=0 ); assert 102611 third_party/sqlite/amalgamation/sqlite3.c assert( pIdx!=0 ); assert 102624 third_party/sqlite/amalgamation/sqlite3.c assert( (pLevel->plan.wsFlags & WHERE_IDX_ONLY)==0 assert 104179 third_party/sqlite/amalgamation/sqlite3.c assert( iLookAhead!=YYNOCODE ); assert 104243 third_party/sqlite/amalgamation/sqlite3.c assert( stateno<=YY_REDUCE_COUNT ); assert 104246 third_party/sqlite/amalgamation/sqlite3.c assert( i!=YY_REDUCE_USE_DFLT ); assert 104247 third_party/sqlite/amalgamation/sqlite3.c assert( iLookAhead!=YYNOCODE ); assert 104254 third_party/sqlite/amalgamation/sqlite3.c assert( i>=0 && i<YY_ACTTAB_COUNT ); assert 104255 third_party/sqlite/amalgamation/sqlite3.c assert( yy_lookahead[i]==iLookAhead ); assert 105636 third_party/sqlite/amalgamation/sqlite3.c assert( yymsp[-2].minor.yy203!=0 ); assert 105644 third_party/sqlite/amalgamation/sqlite3.c assert( yymsp[-1].minor.yy203!=0 ); assert 105839 third_party/sqlite/amalgamation/sqlite3.c assert( yyact == YYNSTATE + YYNRULE + 1 ); assert 105876 third_party/sqlite/amalgamation/sqlite3.c assert( TOKEN.z[0] ); /* The tokenizer always gives us a token */ assert 105962 third_party/sqlite/amalgamation/sqlite3.c assert( !yyendofinput ); /* Impossible to shift the $ token */ assert 105969 third_party/sqlite/amalgamation/sqlite3.c assert( yyact == YY_ERROR_ACTION ); assert 106749 third_party/sqlite/amalgamation/sqlite3.c assert( pzErrMsg!=0 ); assert 106755 third_party/sqlite/amalgamation/sqlite3.c assert( pParse->pNewTable==0 ); assert 106756 third_party/sqlite/amalgamation/sqlite3.c assert( pParse->pNewTrigger==0 ); assert 106757 third_party/sqlite/amalgamation/sqlite3.c assert( pParse->nVar==0 ); assert 106758 third_party/sqlite/amalgamation/sqlite3.c assert( pParse->nVarExpr==0 ); assert 106759 third_party/sqlite/amalgamation/sqlite3.c assert( pParse->nVarExprAlloc==0 ); assert 106760 third_party/sqlite/amalgamation/sqlite3.c assert( pParse->apVarExpr==0 ); assert 106764 third_party/sqlite/amalgamation/sqlite3.c assert( i>=0 ); assert 106823 third_party/sqlite/amalgamation/sqlite3.c assert( pzErrMsg!=0 ); assert 107457 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3GlobalConfig.nRefInitMutex==0 ); assert 107474 third_party/sqlite/amalgamation/sqlite3.c assert(sizeof(x)==8); assert 107475 third_party/sqlite/amalgamation/sqlite3.c assert(sizeof(x)==sizeof(y)); assert 107477 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3IsNaN(y) ); assert 107729 third_party/sqlite/amalgamation/sqlite3.c assert( sz > (int)sizeof(LookasideSlot*) ); assert 107954 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3SafetyCheckSickOrOk(db) ); assert 107986 third_party/sqlite/amalgamation/sqlite3.c assert( db->nDb<=2 ); assert 107987 third_party/sqlite/amalgamation/sqlite3.c assert( db->aDb==db->aDbStatic ); assert 108040 third_party/sqlite/amalgamation/sqlite3.c assert( db->lookaside.nOut==0 ); /* Fails on a lookaside memory leak */ assert 108054 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(db->mutex) ); assert 108144 third_party/sqlite/amalgamation/sqlite3.c assert( count>=0 ); assert 108274 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(db->mutex) ); assert 108321 third_party/sqlite/amalgamation/sqlite3.c assert( !db->mallocFailed ); assert 108329 third_party/sqlite/amalgamation/sqlite3.c assert(p || db->mallocFailed); assert 108393 third_party/sqlite/amalgamation/sqlite3.c assert( rc!=SQLITE_OK ); assert 108418 third_party/sqlite/amalgamation/sqlite3.c assert( !db->mallocFailed ); assert 108644 third_party/sqlite/amalgamation/sqlite3.c assert( SQLITE_CHECKPOINT_FULL>SQLITE_CHECKPOINT_PASSIVE ); assert 108645 third_party/sqlite/amalgamation/sqlite3.c assert( SQLITE_CHECKPOINT_FULL<SQLITE_CHECKPOINT_RESTART ); assert 108646 third_party/sqlite/amalgamation/sqlite3.c assert( SQLITE_CHECKPOINT_PASSIVE+2==SQLITE_CHECKPOINT_RESTART ); assert 108703 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(db->mutex) ); assert 108704 third_party/sqlite/amalgamation/sqlite3.c assert( !pnLog || *pnLog==-1 ); assert 108705 third_party/sqlite/amalgamation/sqlite3.c assert( !pnCkpt || *pnCkpt==-1 ); assert 108774 third_party/sqlite/amalgamation/sqlite3.c assert( !db->mallocFailed ); assert 108870 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(db->mutex) ); assert 109005 third_party/sqlite/amalgamation/sqlite3.c assert( aHardLimit[SQLITE_LIMIT_LENGTH]==SQLITE_MAX_LENGTH ); assert 109006 third_party/sqlite/amalgamation/sqlite3.c assert( aHardLimit[SQLITE_LIMIT_SQL_LENGTH]==SQLITE_MAX_SQL_LENGTH ); assert 109007 third_party/sqlite/amalgamation/sqlite3.c assert( aHardLimit[SQLITE_LIMIT_COLUMN]==SQLITE_MAX_COLUMN ); assert 109008 third_party/sqlite/amalgamation/sqlite3.c assert( aHardLimit[SQLITE_LIMIT_EXPR_DEPTH]==SQLITE_MAX_EXPR_DEPTH ); assert 109009 third_party/sqlite/amalgamation/sqlite3.c assert( aHardLimit[SQLITE_LIMIT_COMPOUND_SELECT]==SQLITE_MAX_COMPOUND_SELECT); assert 109010 third_party/sqlite/amalgamation/sqlite3.c assert( aHardLimit[SQLITE_LIMIT_VDBE_OP]==SQLITE_MAX_VDBE_OP ); assert 109011 third_party/sqlite/amalgamation/sqlite3.c assert( aHardLimit[SQLITE_LIMIT_FUNCTION_ARG]==SQLITE_MAX_FUNCTION_ARG ); assert 109012 third_party/sqlite/amalgamation/sqlite3.c assert( aHardLimit[SQLITE_LIMIT_ATTACHED]==SQLITE_MAX_ATTACHED ); assert 109013 third_party/sqlite/amalgamation/sqlite3.c assert( aHardLimit[SQLITE_LIMIT_LIKE_PATTERN_LENGTH]== assert 109015 third_party/sqlite/amalgamation/sqlite3.c assert( aHardLimit[SQLITE_LIMIT_VARIABLE_NUMBER]==SQLITE_MAX_VARIABLE_NUMBER); assert 109016 third_party/sqlite/amalgamation/sqlite3.c assert( aHardLimit[SQLITE_LIMIT_TRIGGER_DEPTH]==SQLITE_MAX_TRIGGER_DEPTH ); assert 109017 third_party/sqlite/amalgamation/sqlite3.c assert( SQLITE_LIMIT_TRIGGER_DEPTH==(SQLITE_N_LIMIT-1) ); assert 109064 third_party/sqlite/amalgamation/sqlite3.c assert( SQLITE_OPEN_READONLY == 0x01 ); assert 109065 third_party/sqlite/amalgamation/sqlite3.c assert( SQLITE_OPEN_READWRITE == 0x02 ); assert 109066 third_party/sqlite/amalgamation/sqlite3.c assert( SQLITE_OPEN_CREATE == 0x04 ); assert 109127 third_party/sqlite/amalgamation/sqlite3.c assert( sizeof(db->aLimit)==sizeof(aHardLimit) ); assert 109174 third_party/sqlite/amalgamation/sqlite3.c assert( db->pDfltColl!=0 ); assert 109276 third_party/sqlite/amalgamation/sqlite3.c assert( db->mutex!=0 || isThreadsafe==0 || sqlite3GlobalConfig.bFullMutex==0 ); assert 109321 third_party/sqlite/amalgamation/sqlite3.c assert( zFilename ); assert 109322 third_party/sqlite/amalgamation/sqlite3.c assert( ppDb ); assert 109334 third_party/sqlite/amalgamation/sqlite3.c assert( *ppDb || rc==SQLITE_NOMEM ); assert 109359 third_party/sqlite/amalgamation/sqlite3.c assert( !db->mallocFailed ); assert 109379 third_party/sqlite/amalgamation/sqlite3.c assert( !db->mallocFailed ); assert 109400 third_party/sqlite/amalgamation/sqlite3.c assert( !db->mallocFailed ); assert 109676 third_party/sqlite/amalgamation/sqlite3.c assert( pPager!=0 ); assert 109678 third_party/sqlite/amalgamation/sqlite3.c assert( fd!=0 ); assert 109799 third_party/sqlite/amalgamation/sqlite3.c assert( (x = va_arg(ap,int))!=0 ); assert 109948 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_mutex_held(sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MASTER)) ) assert 109980 third_party/sqlite/amalgamation/sqlite3.c assert( p->pUnlockConnection || p->pBlockingConnection ); assert 109985 third_party/sqlite/amalgamation/sqlite3.c assert( p2->xUnlockNotify==p->xUnlockNotify || !seen ); assert 109986 third_party/sqlite/amalgamation/sqlite3.c assert( db==0 || p->pUnlockConnection!=db ); assert 109987 third_party/sqlite/amalgamation/sqlite3.c assert( db==0 || p->pBlockingConnection!=db ); assert 110102 third_party/sqlite/amalgamation/sqlite3.c assert( !db->mallocFailed ); assert 110164 third_party/sqlite/amalgamation/sqlite3.c assert( p->xUnlockNotify ); assert 110171 third_party/sqlite/amalgamation/sqlite3.c assert( aArg==aDyn || (aDyn==0 && aArg==aStatic) ); assert 110172 third_party/sqlite/amalgamation/sqlite3.c assert( nArg<=(int)ArraySize(aStatic) || aArg==aDyn ); assert 110526 third_party/sqlite/amalgamation/sqlite3.c assert( sizeof(r1)==sizeof(t2) && memcmp(&r1, &t2, sizeof(r1))==0 ); assert 110620 third_party/sqlite/amalgamation/sqlite3.c assert( iOffset<=pPage->nPageSize ); assert 110678 third_party/sqlite/amalgamation/sqlite3.c case 10 : case 11 : assert( !"RESERVED TYPE"); return 0; assert 110685 third_party/sqlite/amalgamation/sqlite3.c assert( iSerialType>=12 ); assert 110704 third_party/sqlite/amalgamation/sqlite3.c case 10 : assert( !"RESERVED TYPE"); return 0; assert 110705 third_party/sqlite/amalgamation/sqlite3.c case 11 : assert( !"RESERVED TYPE"); return 0; assert 110892 third_party/sqlite/amalgamation/sqlite3.c assert( PageHeader(pPage)[kiPageTypeOffset]==kTableInteriorPage ); assert 110933 third_party/sqlite/amalgamation/sqlite3.c assert( pCursor->iChild<pCursor->nChildren ); assert 111042 third_party/sqlite/amalgamation/sqlite3.c assert(NULL); /* NOTREACHED() */ assert 111261 third_party/sqlite/amalgamation/sqlite3.c assert(NULL); /* NOTREACHED */ assert 111297 third_party/sqlite/amalgamation/sqlite3.c assert(NULL); /* NOTREACHED */ assert 111302 third_party/sqlite/amalgamation/sqlite3.c assert( nBase==nRequestBytes ); assert 111418 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_DONE ); assert 111540 third_party/sqlite/amalgamation/sqlite3.c assert( pCursor->iCell<pCursor->nCells ); assert 111570 third_party/sqlite/amalgamation/sqlite3.c assert( iCellOffset+nRead<=pCursor->nPageSize ); assert 111574 third_party/sqlite/amalgamation/sqlite3.c assert( iCellOffset+nRead<=pCursor->nPageSize ); assert 111600 third_party/sqlite/amalgamation/sqlite3.c assert( nRecordHeaderBytes<=nRecordBytes ); assert 111689 third_party/sqlite/amalgamation/sqlite3.c assert( nRecordHeaderBytes==pCursor->nRecordHeaderBytes ); assert 111744 third_party/sqlite/amalgamation/sqlite3.c assert( pCursor->iCell==0 ); assert 111930 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK ); assert 111960 third_party/sqlite/amalgamation/sqlite3.c assert( rc!=SQLITE_OK ); assert 112045 third_party/sqlite/amalgamation/sqlite3.c case 10 : assert( iColType!=10 ); break; assert 112046 third_party/sqlite/amalgamation/sqlite3.c case 11 : assert( iColType!=11 ); break; assert 113380 third_party/sqlite/amalgamation/sqlite3.c assert( q - (unsigned char *)p <= FTS3_VARINT_MAX ); assert 113494 third_party/sqlite/amalgamation/sqlite3.c assert( p->nPendingData==0 ); assert 113495 third_party/sqlite/amalgamation/sqlite3.c assert( p->pSegments==0 ); assert 113688 third_party/sqlite/amalgamation/sqlite3.c assert( p->nPgsz>0 || rc!=SQLITE_OK ); assert 113898 third_party/sqlite/amalgamation/sqlite3.c assert( strlen(argv[0])==4 ); assert 113899 third_party/sqlite/amalgamation/sqlite3.c assert( (sqlite3_strnicmp(argv[0], "fts4", 4)==0 && isFts4) assert 113970 third_party/sqlite/amalgamation/sqlite3.c assert( nString==0 ); assert 113980 third_party/sqlite/amalgamation/sqlite3.c assert( pTokenizer ); assert 114025 third_party/sqlite/amalgamation/sqlite3.c assert( zCsr <= &((char *)p)[nByte] ); assert 114178 third_party/sqlite/amalgamation/sqlite3.c assert( ((Fts3Table *)pCsr->base.pVtab)->pSegments==0 ); assert 114372 third_party/sqlite/amalgamation/sqlite3.c assert( piLeaf || piLeaf2 ); assert 114376 third_party/sqlite/amalgamation/sqlite3.c assert( !piLeaf2 || !piLeaf || rc!=SQLITE_OK || (*piLeaf<=*piLeaf2) ); assert 114413 third_party/sqlite/amalgamation/sqlite3.c assert( iVal-*piPrev > 0 || (*piPrev==0 && iVal==0) ); assert 114668 third_party/sqlite/amalgamation/sqlite3.c assert( isSaveLeft==0 || isExact==0 ); assert 114670 third_party/sqlite/amalgamation/sqlite3.c assert( *p1!=0 && *p2!=0 ); assert 114692 third_party/sqlite/amalgamation/sqlite3.c assert( *p1!=POS_END && *p1!=POS_COLUMN ); assert 114693 third_party/sqlite/amalgamation/sqlite3.c assert( *p2!=POS_END && *p2!=POS_COLUMN ); assert 114723 third_party/sqlite/amalgamation/sqlite3.c assert( pp && p ); assert 114729 third_party/sqlite/amalgamation/sqlite3.c assert( (*p1&0xFE)==0 && (*p2&0xFE)==0 ); assert 114857 third_party/sqlite/amalgamation/sqlite3.c assert( mergetype==MERGE_OR || mergetype==MERGE_POS_OR assert 114949 third_party/sqlite/amalgamation/sqlite3.c default: assert( mergetype==MERGE_POS_NEAR || mergetype==MERGE_NEAR ); { assert 115092 third_party/sqlite/amalgamation/sqlite3.c assert( iOut>0 ); assert 115169 third_party/sqlite/amalgamation/sqlite3.c assert( iLevel==FTS3_SEGCURSOR_ALL assert 115173 third_party/sqlite/amalgamation/sqlite3.c assert( FTS3_SEGCURSOR_PENDING<0 ); assert 115174 third_party/sqlite/amalgamation/sqlite3.c assert( FTS3_SEGCURSOR_ALL<0 ); assert 115175 third_party/sqlite/amalgamation/sqlite3.c assert( iLevel==FTS3_SEGCURSOR_ALL || (zTerm==0 && isPrefix==1) ); assert 115176 third_party/sqlite/amalgamation/sqlite3.c assert( isPrefix==0 || isScan==0 ); assert 115182 third_party/sqlite/amalgamation/sqlite3.c assert( isScan==0 || fts3HashCount(&p->pendingTerms)==0 ); assert 115489 third_party/sqlite/amalgamation/sqlite3.c assert( isReqPos ); assert 115529 third_party/sqlite/amalgamation/sqlite3.c assert( rc!=SQLITE_OK || pCsr->eEvalmode || pTok->pSegcsr==0 ); assert 115554 third_party/sqlite/amalgamation/sqlite3.c assert( iPrevTok!=iTok ); assert 115575 third_party/sqlite/amalgamation/sqlite3.c assert( nOut==0 || pOut!=0 ); assert 115580 third_party/sqlite/amalgamation/sqlite3.c assert( pCsr->eEvalmode==FTS3_EVAL_FILTER && isReqPos==0 ); assert 115614 third_party/sqlite/amalgamation/sqlite3.c assert( mergetype==MERGE_POS_NEAR || MERGE_NEAR ); assert 115646 third_party/sqlite/amalgamation/sqlite3.c assert( pLeft->eType==FTSQUERY_PHRASE ); assert 115647 third_party/sqlite/amalgamation/sqlite3.c assert( pRight->eType==FTSQUERY_PHRASE ); assert 115648 third_party/sqlite/amalgamation/sqlite3.c assert( pLeft->isLoaded && pRight->isLoaded ); assert 115695 third_party/sqlite/amalgamation/sqlite3.c assert( pCsr->eEvalmode==FTS3_EVAL_FILTER ); assert 115842 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->eType==FTSQUERY_NEAR || pExpr->eType==FTSQUERY_OR assert 115846 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->eType==FTSQUERY_PHRASE || isReqPos==0 ); assert 115861 third_party/sqlite/amalgamation/sqlite3.c assert( !isReqPos ); assert 115865 third_party/sqlite/amalgamation/sqlite3.c assert( nExpr>1 ); assert 115912 third_party/sqlite/amalgamation/sqlite3.c assert( *paOut==0 ); assert 115924 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->eType==FTSQUERY_NEAR assert 115946 third_party/sqlite/amalgamation/sqlite3.c assert( pRight->eType==FTSQUERY_PHRASE ); assert 115947 third_party/sqlite/amalgamation/sqlite3.c assert( pLeft->eType==FTSQUERY_PHRASE ); assert 115974 third_party/sqlite/amalgamation/sqlite3.c assert( FTSQUERY_NOT==MERGE_NOT && FTSQUERY_AND==MERGE_AND ); assert 115987 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK || *paOut==0 ); assert 116025 third_party/sqlite/amalgamation/sqlite3.c assert( n>=0 ); assert 116108 third_party/sqlite/amalgamation/sqlite3.c assert( idxNum>=0 && idxNum<=(FTS3_FULLTEXT_SEARCH+p->nColumn) ); assert 116109 third_party/sqlite/amalgamation/sqlite3.c assert( nVal==0 || nVal==1 ); assert 116110 third_party/sqlite/amalgamation/sqlite3.c assert( (nVal==0)==(idxNum==FTS3_FULLSCAN_SEARCH) ); assert 116111 third_party/sqlite/amalgamation/sqlite3.c assert( p->pSegments==0 ); assert 116193 third_party/sqlite/amalgamation/sqlite3.c assert( pCsr->isRequireSeek==0 ); assert 116213 third_party/sqlite/amalgamation/sqlite3.c assert( iCol>=0 && iCol<=p->nColumn+1 ); assert 116266 third_party/sqlite/amalgamation/sqlite3.c assert( ((Fts3Table *)pVtab)->nPendingData==0 ); assert 116277 third_party/sqlite/amalgamation/sqlite3.c assert( ((Fts3Table *)pVtab)->nPendingData==0 ); assert 116298 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->eType==FTSQUERY_PHRASE && pExpr->pPhrase ); assert 116299 third_party/sqlite/amalgamation/sqlite3.c assert( pCsr->eEvalmode==FTS3_EVAL_NEXT ); assert 116311 third_party/sqlite/amalgamation/sqlite3.c assert( pCsr->eEvalmode==FTS3_EVAL_NEXT ); assert 116312 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->eType==FTSQUERY_PHRASE && pExpr->pPhrase ); assert 116329 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->isLoaded ); assert 116340 third_party/sqlite/amalgamation/sqlite3.c assert( pCsr ); assert 116423 third_party/sqlite/amalgamation/sqlite3.c assert( nVal>=1 ); assert 116458 third_party/sqlite/amalgamation/sqlite3.c assert( nVal==1 ); assert 116460 third_party/sqlite/amalgamation/sqlite3.c assert( pCsr ); assert 116486 third_party/sqlite/amalgamation/sqlite3.c assert( nVal==1 ); assert 116489 third_party/sqlite/amalgamation/sqlite3.c assert( p ); assert 116515 third_party/sqlite/amalgamation/sqlite3.c assert( nVal==1 || nVal==2 ); assert 116736 third_party/sqlite/amalgamation/sqlite3.c assert( rc!=SQLITE_OK ); assert 117048 third_party/sqlite/amalgamation/sqlite3.c assert( iCol==0 ); assert 117067 third_party/sqlite/amalgamation/sqlite3.c default: assert( eState==3 ); assert 117101 third_party/sqlite/amalgamation/sqlite3.c assert( idxStr==0 ); assert 117102 third_party/sqlite/amalgamation/sqlite3.c assert( idxNum==FTS4AUX_EQ_CONSTRAINT || idxNum==0 assert 117162 third_party/sqlite/amalgamation/sqlite3.c assert( p->isEof==0 ); assert 117595 third_party/sqlite/amalgamation/sqlite3.c assert( nKey==4 ); assert 117714 third_party/sqlite/amalgamation/sqlite3.c assert( p->eType!=FTSQUERY_PHRASE ); assert 117722 third_party/sqlite/amalgamation/sqlite3.c assert( p->eType==FTSQUERY_AND ); assert 117745 third_party/sqlite/amalgamation/sqlite3.c assert( pSplit->pParent->pRight==pSplit ); assert 117805 third_party/sqlite/amalgamation/sqlite3.c assert( eType!=FTSQUERY_PHRASE || !p->pPhrase->isNot ); assert 117822 third_party/sqlite/amalgamation/sqlite3.c assert( pRet && pPrev ); assert 117854 third_party/sqlite/amalgamation/sqlite3.c assert( pPrev && pPrev->pLeft && pPrev->pRight==0 ); assert 117865 third_party/sqlite/amalgamation/sqlite3.c assert( nByte>0 ); assert 117867 third_party/sqlite/amalgamation/sqlite3.c assert( rc!=SQLITE_OK || (nByte>0 && nByte<=nIn) ); assert 118110 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_NOMEM || rc==SQLITE_OK ); assert 118219 third_party/sqlite/amalgamation/sqlite3.c assert( pNew!=0 ); assert 118220 third_party/sqlite/amalgamation/sqlite3.c assert( keyClass>=FTS3_HASH_STRING && keyClass<=FTS3_HASH_BINARY ); assert 118236 third_party/sqlite/amalgamation/sqlite3.c assert( pH!=0 ); assert 118303 third_party/sqlite/amalgamation/sqlite3.c assert( keyClass==FTS3_HASH_BINARY ); assert 118318 third_party/sqlite/amalgamation/sqlite3.c assert( keyClass==FTS3_HASH_BINARY ); assert 118360 third_party/sqlite/amalgamation/sqlite3.c assert( (new_size & (new_size-1))==0 ); assert 118435 third_party/sqlite/amalgamation/sqlite3.c assert( pH->first==0 ); assert 118436 third_party/sqlite/amalgamation/sqlite3.c assert( pH->count==0 ); assert 118451 third_party/sqlite/amalgamation/sqlite3.c assert( xHash!=0 ); assert 118453 third_party/sqlite/amalgamation/sqlite3.c assert( (pH->htsize & (pH->htsize-1))==0 ); assert 118496 third_party/sqlite/amalgamation/sqlite3.c assert( pH!=0 ); assert 118498 third_party/sqlite/amalgamation/sqlite3.c assert( xHash!=0 ); assert 118500 third_party/sqlite/amalgamation/sqlite3.c assert( (pH->htsize & (pH->htsize-1))==0 ); assert 118519 third_party/sqlite/amalgamation/sqlite3.c assert( pH->htsize>0 ); assert 118534 third_party/sqlite/amalgamation/sqlite3.c assert( pH->htsize>0 ); assert 118535 third_party/sqlite/amalgamation/sqlite3.c assert( (pH->htsize & (pH->htsize-1))==0 ); assert 118694 third_party/sqlite/amalgamation/sqlite3.c assert( x>='a' && x<='z' ); assert 118703 third_party/sqlite/amalgamation/sqlite3.c assert( x>='a' && x<='z' ); assert 119251 third_party/sqlite/amalgamation/sqlite3.c assert( argc==1 || argc==2 ); assert 119379 third_party/sqlite/amalgamation/sqlite3.c assert( rc!=SQLITE_OK || *ppTok ); assert 119449 third_party/sqlite/amalgamation/sqlite3.c assert( argc==2 || argc==3 ); assert 119594 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK ); assert 119595 third_party/sqlite/amalgamation/sqlite3.c assert( p1==p2 ); assert 119597 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_ERROR ); assert 119598 third_party/sqlite/amalgamation/sqlite3.c assert( p2==0 ); assert 119599 third_party/sqlite/amalgamation/sqlite3.c assert( 0==strcmp(sqlite3_errmsg(db), "unknown tokenizer: nosuchtokenizer") ); assert 119603 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK ); assert 119605 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK ); assert 119606 third_party/sqlite/amalgamation/sqlite3.c assert( p2==p1 ); assert 120148 third_party/sqlite/amalgamation/sqlite3.c assert( SizeofArray(azSql)==SizeofArray(p->aStmt) ); assert 120149 third_party/sqlite/amalgamation/sqlite3.c assert( eStmt<SizeofArray(azSql) && eStmt>=0 ); assert 120166 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK || pStmt==0 ); assert 120190 third_party/sqlite/amalgamation/sqlite3.c assert( eStmt==SQL_SELECT_DOCSIZE || eStmt==SQL_SELECT_DOCTOTAL ); assert 120379 third_party/sqlite/amalgamation/sqlite3.c assert( !p || p->iLastDocid<=iDocid ); assert 120384 third_party/sqlite/amalgamation/sqlite3.c assert( p->nData<p->nSpace ); assert 120385 third_party/sqlite/amalgamation/sqlite3.c assert( p->aData[p->nData]==0 ); assert 120405 third_party/sqlite/amalgamation/sqlite3.c assert( iPos>p->iLastPos || (iPos==0 && p->iLastPos==0) ); assert 120449 third_party/sqlite/amalgamation/sqlite3.c assert( pTokenizer && pModule ); assert 120482 third_party/sqlite/amalgamation/sqlite3.c assert( 0==fts3HashFind(&p->pendingTerms, zToken, nToken) ); assert 120768 third_party/sqlite/amalgamation/sqlite3.c assert( pnBlob); assert 120843 third_party/sqlite/amalgamation/sqlite3.c assert( pReader->aNode ); assert 120855 third_party/sqlite/amalgamation/sqlite3.c assert( pReader->iCurrentBlock<=pReader->iLeafEndBlock ); assert 120912 third_party/sqlite/amalgamation/sqlite3.c assert( pReader->aDoclist ); assert 120913 third_party/sqlite/amalgamation/sqlite3.c assert( !pReader->pOffsetList ); assert 121017 third_party/sqlite/amalgamation/sqlite3.c assert( a ); assert 121030 third_party/sqlite/amalgamation/sqlite3.c assert( pCsr->nRowAvg>0 ); assert 121083 third_party/sqlite/amalgamation/sqlite3.c assert( iStartLeaf<=iEndLeaf ); assert 121242 third_party/sqlite/amalgamation/sqlite3.c assert( rc!=0 ); assert 121266 third_party/sqlite/amalgamation/sqlite3.c assert( pLhs->aNode && pRhs->aNode ); assert 121311 third_party/sqlite/amalgamation/sqlite3.c assert( nSuspect<=nSegment ); assert 121328 third_party/sqlite/amalgamation/sqlite3.c assert( xCmp(apSegment[i], apSegment[i+1])<0 ); assert 121439 third_party/sqlite/amalgamation/sqlite3.c assert( pTree->aData==(char *)&pTree[1] ); assert 121522 third_party/sqlite/amalgamation/sqlite3.c assert( iHeight>=1 && iHeight<128 ); assert 121573 third_party/sqlite/amalgamation/sqlite3.c assert( iNextLeaf==iFree ); assert 121595 third_party/sqlite/amalgamation/sqlite3.c assert( pRight==0 || p->zMalloc==0 ); assert 121682 third_party/sqlite/amalgamation/sqlite3.c assert( nPrefix<nTerm ); assert 121707 third_party/sqlite/amalgamation/sqlite3.c assert( nData+nReq<=pWriter->nSize ); assert 121733 third_party/sqlite/amalgamation/sqlite3.c assert( pWriter->zTerm==pWriter->zMalloc ); assert 121879 third_party/sqlite/amalgamation/sqlite3.c assert( iLevel>=0 ); assert 121911 third_party/sqlite/amalgamation/sqlite3.c assert( iCol>=0 ); assert 121998 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK ); assert 122029 third_party/sqlite/amalgamation/sqlite3.c assert( isIgnoreEmpty || (isRequirePos && !isColFilter) ); assert 122161 third_party/sqlite/amalgamation/sqlite3.c assert( csr.nSegment>0 ); assert 122162 third_party/sqlite/amalgamation/sqlite3.c assert( iNewLevel>=0 ); assert 122176 third_party/sqlite/amalgamation/sqlite3.c assert( pWriter ); assert 122226 third_party/sqlite/amalgamation/sqlite3.c assert(j<=nBuf); assert 122465 third_party/sqlite/amalgamation/sqlite3.c assert( pCsr->isRequireSeek==0 ); assert 122524 third_party/sqlite/amalgamation/sqlite3.c assert( pToken->pDeferred==0 ); assert 122549 third_party/sqlite/amalgamation/sqlite3.c assert( p->pSegments==0 ); assert 122781 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->pLeft && pExpr->pRight ); assert 122830 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->eType==FTSQUERY_PHRASE ); assert 122843 third_party/sqlite/amalgamation/sqlite3.c assert( pLeft->eType==FTSQUERY_NEAR ); assert 122844 third_party/sqlite/amalgamation/sqlite3.c assert( pLeft->pRight->eType==FTSQUERY_PHRASE ); assert 123015 third_party/sqlite/amalgamation/sqlite3.c assert( iCsr>=iStart ); assert 123061 third_party/sqlite/amalgamation/sqlite3.c assert( pPhrase->pList==0 && pPhrase->pHead==0 && pPhrase->pTail==0 ); assert 123145 third_party/sqlite/amalgamation/sqlite3.c assert( iScore>=0 ); assert 123267 third_party/sqlite/amalgamation/sqlite3.c assert( nShift<=nDesired ); assert 123418 third_party/sqlite/amalgamation/sqlite3.c assert( nHit>0 ); assert 123467 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->isLoaded ); assert 123468 third_party/sqlite/amalgamation/sqlite3.c assert( pExpr->eType==FTSQUERY_PHRASE ); assert 123569 third_party/sqlite/amalgamation/sqlite3.c assert( cArg==FTS3_MATCHINFO_HITS ); assert 123592 third_party/sqlite/amalgamation/sqlite3.c assert( sqlite3_data_count(pStmt)==1 ); assert 123708 third_party/sqlite/amalgamation/sqlite3.c assert( aIter[i].iCol>=iCol ); assert 123838 third_party/sqlite/amalgamation/sqlite3.c assert( zArg[i]==FTS3_MATCHINFO_HITS ); assert 123884 third_party/sqlite/amalgamation/sqlite3.c assert( pCsr->aMatchinfo ); assert 124011 third_party/sqlite/amalgamation/sqlite3.c assert( (mCovered&mSeen)==mCovered ); assert 124015 third_party/sqlite/amalgamation/sqlite3.c assert( nFToken>0 ); assert 124065 third_party/sqlite/amalgamation/sqlite3.c assert( iPos>=0 ); assert 124101 third_party/sqlite/amalgamation/sqlite3.c assert( pCsr->isRequireSeek==0 ); assert 124173 third_party/sqlite/amalgamation/sqlite3.c assert( iCurrent<=iMinPos ); assert 124203 third_party/sqlite/amalgamation/sqlite3.c assert( rc!=SQLITE_DONE ); assert 124614 third_party/sqlite/amalgamation/sqlite3.c assert( sizeof(RtreeCoord)==4 ); assert 124615 third_party/sqlite/amalgamation/sqlite3.c assert( sizeof(u32)==4 ); assert 124678 third_party/sqlite/amalgamation/sqlite3.c assert( pNode->pNext==0 ); assert 124691 third_party/sqlite/amalgamation/sqlite3.c for( ; (*pp)!=pNode; pp = &(*pp)->pNext){ assert(*pp); } assert 124735 third_party/sqlite/amalgamation/sqlite3.c assert( !pParent || !pNode->pParent || pNode->pParent==pParent ); assert 124854 third_party/sqlite/amalgamation/sqlite3.c assert( nCell<=nMaxCell ); assert 124897 third_party/sqlite/amalgamation/sqlite3.c assert( pNode->nRef>0 ); assert 124926 third_party/sqlite/amalgamation/sqlite3.c assert( iCell<NCELL(pNode) ); assert 125131 third_party/sqlite/amalgamation/sqlite3.c assert( pConstraint->op==RTREE_MATCH ); assert 125132 third_party/sqlite/amalgamation/sqlite3.c assert( pConstraint->pGeom ); assert 125161 third_party/sqlite/amalgamation/sqlite3.c assert(p->op==RTREE_LE || p->op==RTREE_LT || p->op==RTREE_GE assert 125179 third_party/sqlite/amalgamation/sqlite3.c assert( p->op==RTREE_MATCH ); assert 125213 third_party/sqlite/amalgamation/sqlite3.c assert(p->op==RTREE_LE || p->op==RTREE_LT || p->op==RTREE_GE assert 125224 third_party/sqlite/amalgamation/sqlite3.c assert( p->op==RTREE_MATCH ); assert 125263 third_party/sqlite/amalgamation/sqlite3.c assert( iHeight>=0 ); assert 125292 third_party/sqlite/amalgamation/sqlite3.c assert( pCursor->pNode==pChild ); assert 125350 third_party/sqlite/amalgamation/sqlite3.c assert( pCsr->pNode ); assert 125390 third_party/sqlite/amalgamation/sqlite3.c assert(pCsr->pNode); assert 125412 third_party/sqlite/amalgamation/sqlite3.c assert( pRtree->eCoordType==RTREE_COORD_INT32 ); assert 125514 third_party/sqlite/amalgamation/sqlite3.c assert( rc==SQLITE_OK ); assert 125528 third_party/sqlite/amalgamation/sqlite3.c assert( (idxStr==0 && argc==0) || (int)strlen(idxStr)==argc*2 ); assert 125558 third_party/sqlite/amalgamation/sqlite3.c assert( pCsr->pNode==pRoot ); assert 125565 third_party/sqlite/amalgamation/sqlite3.c assert( pCsr->pNode==pRoot ); assert 125569 third_party/sqlite/amalgamation/sqlite3.c assert( rc!=SQLITE_OK || !pCsr->pNode || pCsr->iCell<NCELL(pCsr->pNode) ); assert 125620 third_party/sqlite/amalgamation/sqlite3.c assert( pIdxInfo->idxStr==0 ); assert 125653 third_party/sqlite/amalgamation/sqlite3.c assert( p->op==SQLITE_INDEX_CONSTRAINT_MATCH ); assert 125669 third_party/sqlite/amalgamation/sqlite3.c assert( iIdx>=0 ); assert 125762 third_party/sqlite/amalgamation/sqlite3.c assert( iExclude==-1 ); assert 126168 third_party/sqlite/amalgamation/sqlite3.c assert( left<=right ); assert 126235 third_party/sqlite/amalgamation/sqlite3.c assert( xleft1<=xright1 && (xleft1<xright1 || xleft2<=xright2) ); assert 126603 third_party/sqlite/amalgamation/sqlite3.c assert( pNode->nRef==1 ); assert 126692 third_party/sqlite/amalgamation/sqlite3.c assert( pParent || pNode->iNode==1 ); assert 126899 third_party/sqlite/amalgamation/sqlite3.c assert(nData>=1); assert 126995 third_party/sqlite/amalgamation/sqlite3.c assert( nData==(pRtree->nDim*2 + 3) ); assert 127581 third_party/sqlite/amalgamation/sqlite3.c assert(uPattern!=0); assert 127765 third_party/sqlite/amalgamation/sqlite3.c assert(!pExpr); assert 127831 third_party/sqlite/amalgamation/sqlite3.c assert(nArg==1 || nArg==2); assert 127890 third_party/sqlite/amalgamation/sqlite3.c assert(!"Unexpected return value from ucol_strcoll()"); assert 127919 third_party/sqlite/amalgamation/sqlite3.c assert(nArg==2); assert 127932 third_party/sqlite/amalgamation/sqlite3.c assert(p); assert 128202 third_party/sqlite/amalgamation/sqlite3.c assert(iStart<=iEnd); assert 288 third_party/sqlite/src/ext/async/sqlite3async.c assert( eMutex==0 || eMutex==1 || eMutex==2 ); assert 289 third_party/sqlite/src/ext/async/sqlite3async.c assert( eMutex!=2 || (!mutex_held(0) && !mutex_held(1) && !mutex_held(2)) ); assert 290 third_party/sqlite/src/ext/async/sqlite3async.c assert( eMutex!=1 || (!mutex_held(0) && !mutex_held(1)) ); assert 291 third_party/sqlite/src/ext/async/sqlite3async.c assert( eMutex!=0 || (!mutex_held(0)) ); assert 296 third_party/sqlite/src/ext/async/sqlite3async.c assert( eMutex==0 || eMutex==1 || eMutex==2 ); assert 297 third_party/sqlite/src/ext/async/sqlite3async.c assert( mutex_held(eMutex) ); assert 308 third_party/sqlite/src/ext/async/sqlite3async.c assert( mutex_held(ASYNC_MUTEX_QUEUE) ); assert 339 third_party/sqlite/src/ext/async/sqlite3async.c assert( eMutex==0 || eMutex==1 || eMutex==2 ); assert 340 third_party/sqlite/src/ext/async/sqlite3async.c assert( eMutex!=2 || (!mutex_held(0) && !mutex_held(1) && !mutex_held(2)) ); assert 341 third_party/sqlite/src/ext/async/sqlite3async.c assert( eMutex!=1 || (!mutex_held(0) && !mutex_held(1)) ); assert 342 third_party/sqlite/src/ext/async/sqlite3async.c assert( eMutex!=0 || (!mutex_held(0)) ); assert 347 third_party/sqlite/src/ext/async/sqlite3async.c assert( eMutex==0 || eMutex==1 || eMutex==2 ); assert 348 third_party/sqlite/src/ext/async/sqlite3async.c assert( mutex_held(eMutex) ); assert 353 third_party/sqlite/src/ext/async/sqlite3async.c assert( eMutex==0 || eMutex==1 || eMutex==2 ); assert 354 third_party/sqlite/src/ext/async/sqlite3async.c assert( mutex_held(eMutex) ); assert 360 third_party/sqlite/src/ext/async/sqlite3async.c assert( mutex_held(ASYNC_MUTEX_QUEUE) ); assert 371 third_party/sqlite/src/ext/async/sqlite3async.c #define assert_mutex_is_held(X) assert( mutex_held(X) ) assert 545 third_party/sqlite/src/ext/async/sqlite3async.c assert( !pWrite->pNext ); assert 547 third_party/sqlite/src/ext/async/sqlite3async.c assert( async.pQueueFirst ); assert 820 third_party/sqlite/src/ext/async/sqlite3async.c assert(pIter->eAsyncLock>=pIter->eLock); assert 823 third_party/sqlite/src/ext/async/sqlite3async.c assert(eRequired>=0 && eRequired<=SQLITE_LOCK_EXCLUSIVE); assert 871 third_party/sqlite/src/ext/async/sqlite3async.c assert(pLock && pLock->pList); assert 886 third_party/sqlite/src/ext/async/sqlite3async.c assert(p->lock.eAsyncLock>=p->lock.eLock); assert 1193 third_party/sqlite/src/ext/async/sqlite3async.c assert(flags==SQLITE_ACCESS_READWRITE assert 1407 third_party/sqlite/src/ext/async/sqlite3async.c assert( pBase ); assert 1414 third_party/sqlite/src/ext/async/sqlite3async.c assert( pBase ); assert 1420 third_party/sqlite/src/ext/async/sqlite3async.c assert( pBase ); assert 1490 third_party/sqlite/src/ext/async/sqlite3async.c assert( holdingMutex==1 ); assert 1491 third_party/sqlite/src/ext/async/sqlite3async.c assert( async.pQueueFirst==p ); assert 1500 third_party/sqlite/src/ext/async/sqlite3async.c assert(pData->lock.eAsyncLock>=pData->lock.eLock); assert 1516 third_party/sqlite/src/ext/async/sqlite3async.c assert(pData->pBaseRead->pMethods==0 && pData->pBaseWrite->pMethods==0); assert 1518 third_party/sqlite/src/ext/async/sqlite3async.c assert( holdingMutex==0 ); assert 1524 third_party/sqlite/src/ext/async/sqlite3async.c default: assert(!"Illegal value for AsyncWrite.op"); assert 1544 third_party/sqlite/src/ext/async/sqlite3async.c assert( holdingMutex ); assert 43 third_party/sqlite/src/ext/fts1/ft_hash.c assert( pNew!=0 ); assert 44 third_party/sqlite/src/ext/fts1/ft_hash.c assert( keyClass>=HASH_STRING && keyClass<=HASH_BINARY ); assert 65 third_party/sqlite/src/ext/fts1/ft_hash.c assert( pH!=0 ); assert 169 third_party/sqlite/src/ext/fts1/ft_hash.c assert( keyClass==HASH_BINARY ); assert 195 third_party/sqlite/src/ext/fts1/ft_hash.c assert( keyClass==HASH_BINARY ); assert 236 third_party/sqlite/src/ext/fts1/ft_hash.c assert( (new_size & (new_size-1))==0 ); assert 310 third_party/sqlite/src/ext/fts1/ft_hash.c assert( pH->first==0 ); assert 311 third_party/sqlite/src/ext/fts1/ft_hash.c assert( pH->count==0 ); assert 327 third_party/sqlite/src/ext/fts1/ft_hash.c assert( xHash!=0 ); assert 329 third_party/sqlite/src/ext/fts1/ft_hash.c assert( (pH->htsize & (pH->htsize-1))==0 ); assert 356 third_party/sqlite/src/ext/fts1/ft_hash.c assert( pH!=0 ); assert 358 third_party/sqlite/src/ext/fts1/ft_hash.c assert( xHash!=0 ); assert 360 third_party/sqlite/src/ext/fts1/ft_hash.c assert( (pH->htsize & (pH->htsize-1))==0 ); assert 398 third_party/sqlite/src/ext/fts1/ft_hash.c assert( pH->htsize>0 ); assert 399 third_party/sqlite/src/ext/fts1/ft_hash.c assert( (pH->htsize & (pH->htsize-1))==0 ); assert 122 third_party/sqlite/src/ext/fts1/fts1.c assert( q - (unsigned char *)p <= VARINT_MAX ); assert 136 third_party/sqlite/src/ext/fts1/fts1.c assert( 0 ); assert 149 third_party/sqlite/src/ext/fts1/fts1.c assert( *pi==i ); assert 307 third_party/sqlite/src/ext/fts1/fts1.c assert( d->nData>0 ); assert 310 third_party/sqlite/src/ext/fts1/fts1.c assert( iColumn>d->iLastColumn ); assert 316 third_party/sqlite/src/ext/fts1/fts1.c assert( iPos>=d->iLastPos ); assert 323 third_party/sqlite/src/ext/fts1/fts1.c assert( d->iType==DL_POSITIONS ); assert 341 third_party/sqlite/src/ext/fts1/fts1.c assert( d->iType>=DL_POSITIONS ); assert 344 third_party/sqlite/src/ext/fts1/fts1.c assert( iStartOffset>=d->iLastOffset ); assert 347 third_party/sqlite/src/ext/fts1/fts1.c assert( iEndOffset>=iStartOffset ); assert 398 third_party/sqlite/src/ext/fts1/fts1.c assert( !atEnd(pReader) ); assert 399 third_party/sqlite/src/ext/fts1/fts1.c assert( pReader->iLastPos==-1 ); assert 408 third_party/sqlite/src/ext/fts1/fts1.c assert( !atEnd(pReader) ); assert 409 third_party/sqlite/src/ext/fts1/fts1.c assert( pReader->iLastPos==-1 ); assert 427 third_party/sqlite/src/ext/fts1/fts1.c assert( !atEnd(pReader) ); assert 442 third_party/sqlite/src/ext/fts1/fts1.c assert( i>=POS_BASE ); assert 530 third_party/sqlite/src/ext/fts1/fts1.c assert( in->iType>=DL_POSITIONS ); assert 558 third_party/sqlite/src/ext/fts1/fts1.c assert( in->iType>=DL_POSITIONS ); assert 626 third_party/sqlite/src/ext/fts1/fts1.c assert( d!=NULL && pUpdate!=NULL ); assert 627 third_party/sqlite/src/ext/fts1/fts1.c assert( d->iType==pUpdate->iType); assert 641 third_party/sqlite/src/ext/fts1/fts1.c assert( pAcc!=NULL ); assert 770 third_party/sqlite/src/ext/fts1/fts1.c assert( pOut->iType<DL_POSITIONS ); assert 919 third_party/sqlite/src/ext/fts1/fts1.c assert( r == result + len ); assert 1175 third_party/sqlite/src/ext/fts1/fts1.c assert( iStmt<MAX_STMT ); assert 1210 third_party/sqlite/src/ext/fts1/fts1.c assert( iStmt<MAX_STMT ); assert 1211 third_party/sqlite/src/ext/fts1/fts1.c assert( s==v->pFulltextStatements[iStmt] ); assert 1821 third_party/sqlite/src/ext/fts1/fts1.c assert( argc>=3 ); assert 2755 third_party/sqlite/src/ext/fts1/fts1.c assert( zInput[i]=='"' ); assert 2910 third_party/sqlite/src/ext/fts1/fts1.c assert( idxNum<=QUERY_FULLTEXT+v->nColumn); assert 2911 third_party/sqlite/src/ext/fts1/fts1.c assert( argc==1 ); assert 3176 third_party/sqlite/src/ext/fts1/fts1.c assert( nArg==2+v->nColumn+1); assert 3185 third_party/sqlite/src/ext/fts1/fts1.c assert( nArg==2+v->nColumn+1); assert 53 third_party/sqlite/src/ext/fts1/fts1_hash.c assert( pNew!=0 ); assert 54 third_party/sqlite/src/ext/fts1/fts1_hash.c assert( keyClass>=FTS1_HASH_STRING && keyClass<=FTS1_HASH_BINARY ); assert 72 third_party/sqlite/src/ext/fts1/fts1_hash.c assert( pH!=0 ); assert 139 third_party/sqlite/src/ext/fts1/fts1_hash.c assert( keyClass==FTS1_HASH_BINARY ); assert 154 third_party/sqlite/src/ext/fts1/fts1_hash.c assert( keyClass==FTS1_HASH_BINARY ); assert 194 third_party/sqlite/src/ext/fts1/fts1_hash.c assert( (new_size & (new_size-1))==0 ); assert 268 third_party/sqlite/src/ext/fts1/fts1_hash.c assert( pH->first==0 ); assert 269 third_party/sqlite/src/ext/fts1/fts1_hash.c assert( pH->count==0 ); assert 285 third_party/sqlite/src/ext/fts1/fts1_hash.c assert( xHash!=0 ); assert 287 third_party/sqlite/src/ext/fts1/fts1_hash.c assert( (pH->htsize & (pH->htsize-1))==0 ); assert 319 third_party/sqlite/src/ext/fts1/fts1_hash.c assert( pH!=0 ); assert 321 third_party/sqlite/src/ext/fts1/fts1_hash.c assert( xHash!=0 ); assert 323 third_party/sqlite/src/ext/fts1/fts1_hash.c assert( (pH->htsize & (pH->htsize-1))==0 ); assert 361 third_party/sqlite/src/ext/fts1/fts1_hash.c assert( pH->htsize>0 ); assert 362 third_party/sqlite/src/ext/fts1/fts1_hash.c assert( (pH->htsize & (pH->htsize-1))==0 ); assert 153 third_party/sqlite/src/ext/fts1/fts1_porter.c assert( x>='a' && x<='z' ); assert 162 third_party/sqlite/src/ext/fts1/fts1_porter.c assert( x>='a' && x<='z' ); assert 52 third_party/sqlite/src/ext/fts1/fulltext.c assert( q - (unsigned char *)p <= VARINT_MAX ); assert 66 third_party/sqlite/src/ext/fts1/fulltext.c assert( 0 ); assert 79 third_party/sqlite/src/ext/fts1/fulltext.c assert( *pi==i ); assert 191 third_party/sqlite/src/ext/fts1/fulltext.c assert( d->iType>=DL_POSITIONS ); assert 198 third_party/sqlite/src/ext/fts1/fulltext.c assert( d->iType==DL_POSITIONS_OFFSETS ); assert 231 third_party/sqlite/src/ext/fts1/fulltext.c assert( !readerAtEnd(pReader) ); assert 239 third_party/sqlite/src/ext/fts1/fulltext.c assert( !readerAtEnd(pReader) ); assert 250 third_party/sqlite/src/ext/fts1/fulltext.c assert( iType>=DL_POSITIONS ); assert 251 third_party/sqlite/src/ext/fts1/fulltext.c assert( !readerAtEnd(pReader) ); assert 298 third_party/sqlite/src/ext/fts1/fulltext.c assert( d->iType==pUpdate->iType); assert 299 third_party/sqlite/src/ext/fts1/fulltext.c assert( iDocid==firstDocid(pUpdate) ); assert 387 third_party/sqlite/src/ext/fts1/fulltext.c assert( pIn==NULL || pIn->iType <= DL_POSITIONS ); assert 388 third_party/sqlite/src/ext/fts1/fulltext.c assert( pOut->iType <= DL_POSITIONS ); assert 425 third_party/sqlite/src/ext/fts1/fulltext.c assert( pBlock->iType >= DL_POSITIONS ); assert 501 third_party/sqlite/src/ext/fts1/fulltext.c assert( r == result + len ); assert 598 third_party/sqlite/src/ext/fts1/fulltext.c assert( iStmt<MAX_STMT ); assert 622 third_party/sqlite/src/ext/fts1/fulltext.c assert( iStmt<MAX_STMT ); assert 623 third_party/sqlite/src/ext/fts1/fulltext.c assert( s==v->pFulltextStatements[iStmt] ); assert 861 third_party/sqlite/src/ext/fts1/fulltext.c assert( argc>=3 ); assert 875 third_party/sqlite/src/ext/fts1/fulltext.c assert( "unrecognized tokenizer"==NULL ); assert 904 third_party/sqlite/src/ext/fts1/fulltext.c assert( argc>=3 ); assert 1039 third_party/sqlite/src/ext/fts1/fulltext.c assert( 0 ); assert 1245 third_party/sqlite/src/ext/fts1/fulltext.c assert( argc==1 ); assert 1254 third_party/sqlite/src/ext/fts1/fulltext.c assert( 0 ); assert 1273 third_party/sqlite/src/ext/fts1/fulltext.c assert( idxCol==0 ); assert 1464 third_party/sqlite/src/ext/fts1/fulltext.c assert( nArg==3 ); /* ppArg[1] = rowid, ppArg[2] = content */ assert 73 third_party/sqlite/src/ext/fts1/simple_tokenizer.c assert( j<=sizeof(zDelim) ); assert 443 third_party/sqlite/src/ext/fts2/fts2.c assert( q - (unsigned char *)p <= VARINT_MAX ); assert 460 third_party/sqlite/src/ext/fts2/fts2.c assert( 0 ); assert 477 third_party/sqlite/src/ext/fts2/fts2.c assert( *pi==i ); assert 506 third_party/sqlite/src/ext/fts2/fts2.c assert( nCapacity>=0 ); assert 524 third_party/sqlite/src/ext/fts2/fts2.c assert( nAddCapacity>0 ); assert 536 third_party/sqlite/src/ext/fts2/fts2.c assert( nSource>0 && pSource!=NULL ); assert 544 third_party/sqlite/src/ext/fts2/fts2.c assert( nSource1>0 && pSource1!=NULL ); assert 545 third_party/sqlite/src/ext/fts2/fts2.c assert( nSource2>0 && pSource2!=NULL ); assert 577 third_party/sqlite/src/ext/fts2/fts2.c assert( sb->b.nData>0 ); assert 652 third_party/sqlite/src/ext/fts2/fts2.c assert( pReader->nData>=0 ); assert 656 third_party/sqlite/src/ext/fts2/fts2.c assert( !dlrAtEnd(pReader) ); assert 660 third_party/sqlite/src/ext/fts2/fts2.c assert( !dlrAtEnd(pReader) ); assert 664 third_party/sqlite/src/ext/fts2/fts2.c assert( !dlrAtEnd(pReader) ); assert 668 third_party/sqlite/src/ext/fts2/fts2.c assert( !dlrAtEnd(pReader) ); assert 679 third_party/sqlite/src/ext/fts2/fts2.c assert( !dlrAtEnd(pReader) ); assert 685 third_party/sqlite/src/ext/fts2/fts2.c assert( !dlrAtEnd(pReader) ); assert 689 third_party/sqlite/src/ext/fts2/fts2.c assert( !dlrAtEnd(pReader) ); assert 692 third_party/sqlite/src/ext/fts2/fts2.c assert( pReader->nElement<=pReader->nData ); assert 729 third_party/sqlite/src/ext/fts2/fts2.c assert( pReader->nElement<=pReader->nData ); assert 739 third_party/sqlite/src/ext/fts2/fts2.c assert( pData!=NULL && nData!=0 ); assert 760 third_party/sqlite/src/ext/fts2/fts2.c assert( nData>0 ); assert 761 third_party/sqlite/src/ext/fts2/fts2.c assert( pData!=0 ); assert 762 third_party/sqlite/src/ext/fts2/fts2.c assert( pData+nData>pData ); assert 778 third_party/sqlite/src/ext/fts2/fts2.c assert( n<=nData ); assert 781 third_party/sqlite/src/ext/fts2/fts2.c assert( n<=nData ); assert 789 third_party/sqlite/src/ext/fts2/fts2.c #define ASSERT_VALID_DOCLIST(i, p, n, o) assert( 1 ) assert 849 third_party/sqlite/src/ext/fts2/fts2.c assert( nFirstOld<nData || (nFirstOld==nData && pWriter->iType==DL_DOCIDS) ); assert 857 third_party/sqlite/src/ext/fts2/fts2.c assert( iLastDocid==iFirstDocid-iDocid+iLastDocidDelta ); assert 880 third_party/sqlite/src/ext/fts2/fts2.c assert( !pWriter->has_iPrevDocid || iDocid>pWriter->iPrevDocid ); assert 881 third_party/sqlite/src/ext/fts2/fts2.c assert( pWriter->iType==DL_DOCIDS ); assert 919 third_party/sqlite/src/ext/fts2/fts2.c assert( !plrAtEnd(pReader) ); assert 923 third_party/sqlite/src/ext/fts2/fts2.c assert( !plrAtEnd(pReader) ); assert 927 third_party/sqlite/src/ext/fts2/fts2.c assert( !plrAtEnd(pReader) ); assert 931 third_party/sqlite/src/ext/fts2/fts2.c assert( !plrAtEnd(pReader) ); assert 937 third_party/sqlite/src/ext/fts2/fts2.c assert( !plrAtEnd(pReader) ); assert 959 third_party/sqlite/src/ext/fts2/fts2.c assert( i!=POS_COLUMN ); assert 962 third_party/sqlite/src/ext/fts2/fts2.c assert( nTotal<=pReader->nData ); assert 979 third_party/sqlite/src/ext/fts2/fts2.c assert( nTotal<=pReader->nData ); assert 1048 third_party/sqlite/src/ext/fts2/fts2.c assert( pWriter->iPos!=-1 ); assert 1059 third_party/sqlite/src/ext/fts2/fts2.c assert( iPos>=pWriter->iPos ); assert 1063 third_party/sqlite/src/ext/fts2/fts2.c assert( iStartOffset>=pWriter->iOffset ); assert 1066 third_party/sqlite/src/ext/fts2/fts2.c assert( iEndOffset>=iStartOffset ); assert 1082 third_party/sqlite/src/ext/fts2/fts2.c assert( !pWriter->dlw->has_iPrevDocid || iDocid>pWriter->dlw->iPrevDocid ); assert 1192 third_party/sqlite/src/ext/fts2/fts2.c assert( iOutType<=iType ); assert 1300 third_party/sqlite/src/ext/fts2/fts2.c assert( nReaders>0 ); assert 1306 third_party/sqlite/src/ext/fts2/fts2.c assert( nReaders<=MERGE_COUNT ); assert 1309 third_party/sqlite/src/ext/fts2/fts2.c assert( pReaders[i].iType==pReaders[0].iType ); assert 1375 third_party/sqlite/src/ext/fts2/fts2.c assert( pLeft->iType==pRight->iType ); assert 1407 third_party/sqlite/src/ext/fts2/fts2.c assert( dlrDocid(pLeft)==dlrDocid(pRight) ); assert 1408 third_party/sqlite/src/ext/fts2/fts2.c assert( pLeft->iType==pRight->iType ); assert 1409 third_party/sqlite/src/ext/fts2/fts2.c assert( pLeft->iType==pOut->iType ); assert 1533 third_party/sqlite/src/ext/fts2/fts2.c assert( dlrDocid(pLeft)==dlrDocid(pRight) ); assert 1534 third_party/sqlite/src/ext/fts2/fts2.c assert( pOut->iType!=DL_POSITIONS_OFFSETS ); assert 1601 third_party/sqlite/src/ext/fts2/fts2.c assert( iType!=DL_POSITIONS_OFFSETS ); assert 1838 third_party/sqlite/src/ext/fts2/fts2.c assert( r == result + len ); assert 2125 third_party/sqlite/src/ext/fts2/fts2.c assert( iStmt<MAX_STMT ); assert 2168 third_party/sqlite/src/ext/fts2/fts2.c assert( idx>=-1 && idx<MERGE_COUNT ); assert 2866 third_party/sqlite/src/ext/fts2/fts2.c assert( argc>=3 ); assert 3306 third_party/sqlite/src/ext/fts2/fts2.c assert( aTerm[i].nTerm<=nToken ); assert 3634 third_party/sqlite/src/ext/fts2/fts2.c assert( pQTerm->nPhrase==0 || DL_DEFAULT!=DL_DOCIDS ); assert 3637 third_party/sqlite/src/ext/fts2/fts2.c assert( v->nPendingData<0 ); assert 3821 third_party/sqlite/src/ext/fts2/fts2.c assert( zInput[i]=='"' ); assert 4025 third_party/sqlite/src/ext/fts2/fts2.c assert( c->iCursorType==idxNum ); assert 4040 third_party/sqlite/src/ext/fts2/fts2.c assert( idxNum<=QUERY_FULLTEXT+v->nColumn); assert 4041 third_party/sqlite/src/ext/fts2/fts2.c assert( argc==1 ); assert 4323 third_party/sqlite/src/ext/fts2/fts2.c assert( nData>0 ); assert 4324 third_party/sqlite/src/ext/fts2/fts2.c assert( pData!=0 ); assert 4325 third_party/sqlite/src/ext/fts2/fts2.c assert( pData+nData>pData ); assert 4329 third_party/sqlite/src/ext/fts2/fts2.c assert( n>0 ); assert 4330 third_party/sqlite/src/ext/fts2/fts2.c assert( iDummy>0 ); assert 4331 third_party/sqlite/src/ext/fts2/fts2.c assert( n<nData ); assert 4337 third_party/sqlite/src/ext/fts2/fts2.c assert( n>0 ); assert 4338 third_party/sqlite/src/ext/fts2/fts2.c assert( n<=nData ); assert 4346 third_party/sqlite/src/ext/fts2/fts2.c assert( n>0 ); assert 4347 third_party/sqlite/src/ext/fts2/fts2.c assert( iDummy>0 ); assert 4348 third_party/sqlite/src/ext/fts2/fts2.c assert( n+iDummy>0); assert 4349 third_party/sqlite/src/ext/fts2/fts2.c assert( n+iDummy<=nData ); assert 4357 third_party/sqlite/src/ext/fts2/fts2.c assert( n>0 ); assert 4358 third_party/sqlite/src/ext/fts2/fts2.c assert( iDummy>=0 ); assert 4359 third_party/sqlite/src/ext/fts2/fts2.c assert( n<nData ); assert 4365 third_party/sqlite/src/ext/fts2/fts2.c assert( n>0 ); assert 4366 third_party/sqlite/src/ext/fts2/fts2.c assert( iDummy>0 ); assert 4367 third_party/sqlite/src/ext/fts2/fts2.c assert( n+iDummy>0); assert 4368 third_party/sqlite/src/ext/fts2/fts2.c assert( n+iDummy<=nData ); assert 4376 third_party/sqlite/src/ext/fts2/fts2.c #define ASSERT_VALID_INTERIOR_BLOCK(x) assert( 1 ) assert 4399 third_party/sqlite/src/ext/fts2/fts2.c assert( iHeight>0 ); assert 4445 third_party/sqlite/src/ext/fts2/fts2.c assert( pWriter->iLastChildBlock==iChildBlock ); assert 4560 third_party/sqlite/src/ext/fts2/fts2.c assert( nData>0 ); assert 4561 third_party/sqlite/src/ext/fts2/fts2.c assert( pData[0]!='\0' ); assert 4597 third_party/sqlite/src/ext/fts2/fts2.c assert( !interiorReaderAtEnd(pReader) ); assert 4601 third_party/sqlite/src/ext/fts2/fts2.c assert( !interiorReaderAtEnd(pReader) ); assert 4607 third_party/sqlite/src/ext/fts2/fts2.c assert( !interiorReaderAtEnd(pReader) ); assert 4726 third_party/sqlite/src/ext/fts2/fts2.c assert( nData>0 ); assert 4727 third_party/sqlite/src/ext/fts2/fts2.c assert( pData!=0 ); assert 4728 third_party/sqlite/src/ext/fts2/fts2.c assert( pData+nData>pData ); assert 4732 third_party/sqlite/src/ext/fts2/fts2.c assert( iDummy==0 ); assert 4733 third_party/sqlite/src/ext/fts2/fts2.c assert( n>0 ); assert 4734 third_party/sqlite/src/ext/fts2/fts2.c assert( n<nData ); assert 4740 third_party/sqlite/src/ext/fts2/fts2.c assert( n>0 ); assert 4741 third_party/sqlite/src/ext/fts2/fts2.c assert( iDummy>0 ); assert 4742 third_party/sqlite/src/ext/fts2/fts2.c assert( n+iDummy>0 ); assert 4743 third_party/sqlite/src/ext/fts2/fts2.c assert( n+iDummy<nData ); assert 4749 third_party/sqlite/src/ext/fts2/fts2.c assert( n>0 ); assert 4750 third_party/sqlite/src/ext/fts2/fts2.c assert( iDummy>0 ); assert 4751 third_party/sqlite/src/ext/fts2/fts2.c assert( n+iDummy>0 ); assert 4752 third_party/sqlite/src/ext/fts2/fts2.c assert( n+iDummy<=nData ); assert 4760 third_party/sqlite/src/ext/fts2/fts2.c assert( n>0 ); assert 4761 third_party/sqlite/src/ext/fts2/fts2.c assert( iDummy>=0 ); assert 4762 third_party/sqlite/src/ext/fts2/fts2.c assert( n<nData ); assert 4766 third_party/sqlite/src/ext/fts2/fts2.c assert( n>0 ); assert 4767 third_party/sqlite/src/ext/fts2/fts2.c assert( iDummy>0 ); assert 4768 third_party/sqlite/src/ext/fts2/fts2.c assert( n+iDummy>0 ); assert 4769 third_party/sqlite/src/ext/fts2/fts2.c assert( n+iDummy<nData ); assert 4774 third_party/sqlite/src/ext/fts2/fts2.c assert( n>0 ); assert 4775 third_party/sqlite/src/ext/fts2/fts2.c assert( iDummy>0 ); assert 4776 third_party/sqlite/src/ext/fts2/fts2.c assert( n+iDummy>0 ); assert 4777 third_party/sqlite/src/ext/fts2/fts2.c assert( n+iDummy<=nData ); assert 4785 third_party/sqlite/src/ext/fts2/fts2.c #define ASSERT_VALID_LEAF_NODE(p, n) assert( 1 ) assert 4801 third_party/sqlite/src/ext/fts2/fts2.c assert( nData>2 ); assert 4802 third_party/sqlite/src/ext/fts2/fts2.c assert( iData>=0 ); assert 4803 third_party/sqlite/src/ext/fts2/fts2.c assert( iData+nData<=pWriter->data.nData ); assert 4808 third_party/sqlite/src/ext/fts2/fts2.c assert( iBlockid!=0 ); assert 4815 third_party/sqlite/src/ext/fts2/fts2.c assert( pWriter->data.nData>iData+1+n+nStartingTerm ); assert 4816 third_party/sqlite/src/ext/fts2/fts2.c assert( pWriter->nTermDistinct>0 ); assert 4817 third_party/sqlite/src/ext/fts2/fts2.c assert( pWriter->nTermDistinct<=nStartingTerm ); assert 4834 third_party/sqlite/src/ext/fts2/fts2.c assert( iBlockid==pWriter->iEndBlockid ); assert 4874 third_party/sqlite/src/ext/fts2/fts2.c assert( pWriter->has_parent ); assert 4923 third_party/sqlite/src/ext/fts2/fts2.c assert( nTerm>0 ); assert 4928 third_party/sqlite/src/ext/fts2/fts2.c assert( nPrefix<nTerm ); assert 4972 third_party/sqlite/src/ext/fts2/fts2.c assert( iDoclistData>=n+nTerm ); assert 5021 third_party/sqlite/src/ext/fts2/fts2.c assert( nActualData<=nData ); assert 5022 third_party/sqlite/src/ext/fts2/fts2.c assert( nActual<=n ); assert 5091 third_party/sqlite/src/ext/fts2/fts2.c assert( n<iDoclistData ); assert 5095 third_party/sqlite/src/ext/fts2/fts2.c assert( 2*STANDALONE_MIN<=LEAF_MAX ); assert 5096 third_party/sqlite/src/ext/fts2/fts2.c assert( n+pWriter->data.nData-iDoclistData<iDoclistData ); assert 5151 third_party/sqlite/src/ext/fts2/fts2.c assert( pReader->term.nData>0 ); assert 5158 third_party/sqlite/src/ext/fts2/fts2.c assert( pReader->term.nData>0 ); assert 5164 third_party/sqlite/src/ext/fts2/fts2.c assert( pReader->term.nData>0 ); assert 5174 third_party/sqlite/src/ext/fts2/fts2.c assert( nData>0 ); assert 5175 third_party/sqlite/src/ext/fts2/fts2.c assert( pData[0]=='\0' ); assert 5194 third_party/sqlite/src/ext/fts2/fts2.c assert( !leafReaderAtEnd(pReader) ); assert 5260 third_party/sqlite/src/ext/fts2/fts2.c assert( !pReader->eof ); assert 5264 third_party/sqlite/src/ext/fts2/fts2.c assert( !pReader->eof ); assert 5270 third_party/sqlite/src/ext/fts2/fts2.c assert( !pReader->eof ); assert 5274 third_party/sqlite/src/ext/fts2/fts2.c assert( !pReader->eof ); assert 5399 third_party/sqlite/src/ext/fts2/fts2.c assert( !leavesReaderAtEnd(pReader) ); assert 5541 third_party/sqlite/src/ext/fts2/fts2.c assert( nReaders<=MERGE_COUNT ); assert 5699 third_party/sqlite/src/ext/fts2/fts2.c assert( nTerm>0 ); assert 5738 third_party/sqlite/src/ext/fts2/fts2.c assert(pBuffers!=NULL); assert 5749 third_party/sqlite/src/ext/fts2/fts2.c assert(iBuffer<nBuffers && pBuffers[iBuffer].nData==0); assert 5818 third_party/sqlite/src/ext/fts2/fts2.c assert( nData>1 ); assert 5819 third_party/sqlite/src/ext/fts2/fts2.c assert( *pData=='\0' ); assert 5840 third_party/sqlite/src/ext/fts2/fts2.c assert( iStartLeaf<=iEndLeaf ); assert 5868 third_party/sqlite/src/ext/fts2/fts2.c assert( nData>1 ); assert 5869 third_party/sqlite/src/ext/fts2/fts2.c assert( *pData!='\0' ); assert 5901 third_party/sqlite/src/ext/fts2/fts2.c assert( *piEndChild>=*piStartChild ); assert 5902 third_party/sqlite/src/ext/fts2/fts2.c assert( isPrefix || *piStartChild==*piEndChild ); assert 5918 third_party/sqlite/src/ext/fts2/fts2.c assert( iBlockid!=0 ); assert 5919 third_party/sqlite/src/ext/fts2/fts2.c assert( pTerm!=NULL ); assert 5920 third_party/sqlite/src/ext/fts2/fts2.c assert( nTerm!=0 ); /* TODO(shess) Why not allow this? */ assert 5921 third_party/sqlite/src/ext/fts2/fts2.c assert( piStartChild!=NULL ); assert 5922 third_party/sqlite/src/ext/fts2/fts2.c assert( piEndChild!=NULL ); assert 6002 third_party/sqlite/src/ext/fts2/fts2.c assert( iNextStart<=iNextEnd ); assert 6006 third_party/sqlite/src/ext/fts2/fts2.c assert( iStartChild<=iLeavesEnd ); assert 6007 third_party/sqlite/src/ext/fts2/fts2.c assert( iEndChild<=iLeavesEnd ); assert 6043 third_party/sqlite/src/ext/fts2/fts2.c assert( v->nPendingData<0 ); assert 6088 third_party/sqlite/src/ext/fts2/fts2.c assert( v->nPendingData<0 ); assert 6169 third_party/sqlite/src/ext/fts2/fts2.c assert( i<n ); assert 6174 third_party/sqlite/src/ext/fts2/fts2.c assert( i==n ); assert 6289 third_party/sqlite/src/ext/fts2/fts2.c assert( nArg==2+v->nColumn+1); assert 6298 third_party/sqlite/src/ext/fts2/fts2.c assert( nArg==2+v->nColumn+1); assert 6317 third_party/sqlite/src/ext/fts2/fts2.c assert( v->nPendingData<0 ); assert 6326 third_party/sqlite/src/ext/fts2/fts2.c assert( v->nPendingData<0 ); assert 6517 third_party/sqlite/src/ext/fts2/fts2.c assert( iReader<i ); /* Must execute the loop at least once. */ assert 6648 third_party/sqlite/src/ext/fts2/fts2.c assert( i<nReaders ); assert 6659 third_party/sqlite/src/ext/fts2/fts2.c assert( i==nReaders ); assert 6771 third_party/sqlite/src/ext/fts2/fts2.c assert( nTerms>0 ); assert 6778 third_party/sqlite/src/ext/fts2/fts2.c assert( iTerm<nTerms ); assert 6783 third_party/sqlite/src/ext/fts2/fts2.c assert( iTerm==nTerms ); assert 6785 third_party/sqlite/src/ext/fts2/fts2.c assert( nResultBytes>0 ); /* nTerms>0, nResultsBytes must be, too. */ assert 6801 third_party/sqlite/src/ext/fts2/fts2.c assert( iByte==nResultBytes ); assert 6802 third_party/sqlite/src/ext/fts2/fts2.c assert( result[nResultBytes-1]==' ' ); assert 6874 third_party/sqlite/src/ext/fts2/fts2.c assert( rc==SQLITE_OK ); assert 6901 third_party/sqlite/src/ext/fts2/fts2.c assert( pData!=NULL && nData>0 ); assert 6927 third_party/sqlite/src/ext/fts2/fts2.c assert( dump.nData>0 ); assert 6929 third_party/sqlite/src/ext/fts2/fts2.c assert( dump.pData[dump.nData]==' '); assert 6939 third_party/sqlite/src/ext/fts2/fts2.c assert( NULL=="Unhandled DL_DEFAULT value"); assert 6946 third_party/sqlite/src/ext/fts2/fts2.c assert( dump.nData>0 ); assert 6948 third_party/sqlite/src/ext/fts2/fts2.c assert( dump.pData[dump.nData]==' '); assert 6958 third_party/sqlite/src/ext/fts2/fts2.c assert( dump.nData>0 ); assert 6960 third_party/sqlite/src/ext/fts2/fts2.c assert( dump.pData[dump.nData]==' '); assert 6962 third_party/sqlite/src/ext/fts2/fts2.c assert( dump.nData>0 ); assert 7270 third_party/sqlite/src/ext/fts2/fts2.c assert( rc!=SQLITE_OK ); assert 60 third_party/sqlite/src/ext/fts2/fts2_hash.c assert( pNew!=0 ); assert 61 third_party/sqlite/src/ext/fts2/fts2_hash.c assert( keyClass>=FTS2_HASH_STRING && keyClass<=FTS2_HASH_BINARY ); assert 77 third_party/sqlite/src/ext/fts2/fts2_hash.c assert( pH!=0 ); assert 144 third_party/sqlite/src/ext/fts2/fts2_hash.c assert( keyClass==FTS2_HASH_BINARY ); assert 159 third_party/sqlite/src/ext/fts2/fts2_hash.c assert( keyClass==FTS2_HASH_BINARY ); assert 199 third_party/sqlite/src/ext/fts2/fts2_hash.c assert( (new_size & (new_size-1))==0 ); assert 273 third_party/sqlite/src/ext/fts2/fts2_hash.c assert( pH->first==0 ); assert 274 third_party/sqlite/src/ext/fts2/fts2_hash.c assert( pH->count==0 ); assert 290 third_party/sqlite/src/ext/fts2/fts2_hash.c assert( xHash!=0 ); assert 292 third_party/sqlite/src/ext/fts2/fts2_hash.c assert( (pH->htsize & (pH->htsize-1))==0 ); assert 324 third_party/sqlite/src/ext/fts2/fts2_hash.c assert( pH!=0 ); assert 326 third_party/sqlite/src/ext/fts2/fts2_hash.c assert( xHash!=0 ); assert 328 third_party/sqlite/src/ext/fts2/fts2_hash.c assert( (pH->htsize & (pH->htsize-1))==0 ); assert 366 third_party/sqlite/src/ext/fts2/fts2_hash.c assert( pH->htsize>0 ); assert 367 third_party/sqlite/src/ext/fts2/fts2_hash.c assert( (pH->htsize & (pH->htsize-1))==0 ); assert 208 third_party/sqlite/src/ext/fts2/fts2_icu.c assert(iStart<=iEnd); assert 152 third_party/sqlite/src/ext/fts2/fts2_porter.c assert( x>='a' && x<='z' ); assert 161 third_party/sqlite/src/ext/fts2/fts2_porter.c assert( x>='a' && x<='z' ); assert 70 third_party/sqlite/src/ext/fts2/fts2_tokenizer.c assert( argc==1 || argc==2 ); assert 161 third_party/sqlite/src/ext/fts2/fts2_tokenizer.c assert( argc==2 || argc==3 ); assert 303 third_party/sqlite/src/ext/fts2/fts2_tokenizer.c assert( rc==SQLITE_OK ); assert 304 third_party/sqlite/src/ext/fts2/fts2_tokenizer.c assert( p1==p2 ); assert 306 third_party/sqlite/src/ext/fts2/fts2_tokenizer.c assert( rc==SQLITE_ERROR ); assert 307 third_party/sqlite/src/ext/fts2/fts2_tokenizer.c assert( p2==0 ); assert 308 third_party/sqlite/src/ext/fts2/fts2_tokenizer.c assert( 0==strcmp(sqlite3_errmsg(db), "unknown tokenizer: nosuchtokenizer") ); assert 312 third_party/sqlite/src/ext/fts2/fts2_tokenizer.c assert( rc==SQLITE_OK ); assert 314 third_party/sqlite/src/ext/fts2/fts2_tokenizer.c assert( rc==SQLITE_OK ); assert 315 third_party/sqlite/src/ext/fts2/fts2_tokenizer.c assert( p2==p1 ); assert 330 third_party/sqlite/src/ext/fts3/fts3.c assert( q - (unsigned char *)p <= FTS3_VARINT_MAX ); assert 444 third_party/sqlite/src/ext/fts3/fts3.c assert( p->nPendingData==0 ); assert 445 third_party/sqlite/src/ext/fts3/fts3.c assert( p->pSegments==0 ); assert 638 third_party/sqlite/src/ext/fts3/fts3.c assert( p->nPgsz>0 || rc!=SQLITE_OK ); assert 848 third_party/sqlite/src/ext/fts3/fts3.c assert( strlen(argv[0])==4 ); assert 849 third_party/sqlite/src/ext/fts3/fts3.c assert( (sqlite3_strnicmp(argv[0], "fts4", 4)==0 && isFts4) assert 920 third_party/sqlite/src/ext/fts3/fts3.c assert( nString==0 ); assert 930 third_party/sqlite/src/ext/fts3/fts3.c assert( pTokenizer ); assert 975 third_party/sqlite/src/ext/fts3/fts3.c assert( zCsr <= &((char *)p)[nByte] ); assert 1128 third_party/sqlite/src/ext/fts3/fts3.c assert( ((Fts3Table *)pCsr->base.pVtab)->pSegments==0 ); assert 1322 third_party/sqlite/src/ext/fts3/fts3.c assert( piLeaf || piLeaf2 ); assert 1326 third_party/sqlite/src/ext/fts3/fts3.c assert( !piLeaf2 || !piLeaf || rc!=SQLITE_OK || (*piLeaf<=*piLeaf2) ); assert 1363 third_party/sqlite/src/ext/fts3/fts3.c assert( iVal-*piPrev > 0 || (*piPrev==0 && iVal==0) ); assert 1618 third_party/sqlite/src/ext/fts3/fts3.c assert( isSaveLeft==0 || isExact==0 ); assert 1620 third_party/sqlite/src/ext/fts3/fts3.c assert( *p1!=0 && *p2!=0 ); assert 1642 third_party/sqlite/src/ext/fts3/fts3.c assert( *p1!=POS_END && *p1!=POS_COLUMN ); assert 1643 third_party/sqlite/src/ext/fts3/fts3.c assert( *p2!=POS_END && *p2!=POS_COLUMN ); assert 1673 third_party/sqlite/src/ext/fts3/fts3.c assert( pp && p ); assert 1679 third_party/sqlite/src/ext/fts3/fts3.c assert( (*p1&0xFE)==0 && (*p2&0xFE)==0 ); assert 1807 third_party/sqlite/src/ext/fts3/fts3.c assert( mergetype==MERGE_OR || mergetype==MERGE_POS_OR assert 1899 third_party/sqlite/src/ext/fts3/fts3.c default: assert( mergetype==MERGE_POS_NEAR || mergetype==MERGE_NEAR ); { assert 2042 third_party/sqlite/src/ext/fts3/fts3.c assert( iOut>0 ); assert 2119 third_party/sqlite/src/ext/fts3/fts3.c assert( iLevel==FTS3_SEGCURSOR_ALL assert 2123 third_party/sqlite/src/ext/fts3/fts3.c assert( FTS3_SEGCURSOR_PENDING<0 ); assert 2124 third_party/sqlite/src/ext/fts3/fts3.c assert( FTS3_SEGCURSOR_ALL<0 ); assert 2125 third_party/sqlite/src/ext/fts3/fts3.c assert( iLevel==FTS3_SEGCURSOR_ALL || (zTerm==0 && isPrefix==1) ); assert 2126 third_party/sqlite/src/ext/fts3/fts3.c assert( isPrefix==0 || isScan==0 ); assert 2132 third_party/sqlite/src/ext/fts3/fts3.c assert( isScan==0 || fts3HashCount(&p->pendingTerms)==0 ); assert 2439 third_party/sqlite/src/ext/fts3/fts3.c assert( isReqPos ); assert 2479 third_party/sqlite/src/ext/fts3/fts3.c assert( rc!=SQLITE_OK || pCsr->eEvalmode || pTok->pSegcsr==0 ); assert 2504 third_party/sqlite/src/ext/fts3/fts3.c assert( iPrevTok!=iTok ); assert 2525 third_party/sqlite/src/ext/fts3/fts3.c assert( nOut==0 || pOut!=0 ); assert 2530 third_party/sqlite/src/ext/fts3/fts3.c assert( pCsr->eEvalmode==FTS3_EVAL_FILTER && isReqPos==0 ); assert 2564 third_party/sqlite/src/ext/fts3/fts3.c assert( mergetype==MERGE_POS_NEAR || MERGE_NEAR ); assert 2596 third_party/sqlite/src/ext/fts3/fts3.c assert( pLeft->eType==FTSQUERY_PHRASE ); assert 2597 third_party/sqlite/src/ext/fts3/fts3.c assert( pRight->eType==FTSQUERY_PHRASE ); assert 2598 third_party/sqlite/src/ext/fts3/fts3.c assert( pLeft->isLoaded && pRight->isLoaded ); assert 2645 third_party/sqlite/src/ext/fts3/fts3.c assert( pCsr->eEvalmode==FTS3_EVAL_FILTER ); assert 2792 third_party/sqlite/src/ext/fts3/fts3.c assert( pExpr->eType==FTSQUERY_NEAR || pExpr->eType==FTSQUERY_OR assert 2796 third_party/sqlite/src/ext/fts3/fts3.c assert( pExpr->eType==FTSQUERY_PHRASE || isReqPos==0 ); assert 2811 third_party/sqlite/src/ext/fts3/fts3.c assert( !isReqPos ); assert 2815 third_party/sqlite/src/ext/fts3/fts3.c assert( nExpr>1 ); assert 2862 third_party/sqlite/src/ext/fts3/fts3.c assert( *paOut==0 ); assert 2874 third_party/sqlite/src/ext/fts3/fts3.c assert( pExpr->eType==FTSQUERY_NEAR assert 2896 third_party/sqlite/src/ext/fts3/fts3.c assert( pRight->eType==FTSQUERY_PHRASE ); assert 2897 third_party/sqlite/src/ext/fts3/fts3.c assert( pLeft->eType==FTSQUERY_PHRASE ); assert 2924 third_party/sqlite/src/ext/fts3/fts3.c assert( FTSQUERY_NOT==MERGE_NOT && FTSQUERY_AND==MERGE_AND ); assert 2937 third_party/sqlite/src/ext/fts3/fts3.c assert( rc==SQLITE_OK || *paOut==0 ); assert 2975 third_party/sqlite/src/ext/fts3/fts3.c assert( n>=0 ); assert 3058 third_party/sqlite/src/ext/fts3/fts3.c assert( idxNum>=0 && idxNum<=(FTS3_FULLTEXT_SEARCH+p->nColumn) ); assert 3059 third_party/sqlite/src/ext/fts3/fts3.c assert( nVal==0 || nVal==1 ); assert 3060 third_party/sqlite/src/ext/fts3/fts3.c assert( (nVal==0)==(idxNum==FTS3_FULLSCAN_SEARCH) ); assert 3061 third_party/sqlite/src/ext/fts3/fts3.c assert( p->pSegments==0 ); assert 3143 third_party/sqlite/src/ext/fts3/fts3.c assert( pCsr->isRequireSeek==0 ); assert 3163 third_party/sqlite/src/ext/fts3/fts3.c assert( iCol>=0 && iCol<=p->nColumn+1 ); assert 3216 third_party/sqlite/src/ext/fts3/fts3.c assert( ((Fts3Table *)pVtab)->nPendingData==0 ); assert 3227 third_party/sqlite/src/ext/fts3/fts3.c assert( ((Fts3Table *)pVtab)->nPendingData==0 ); assert 3248 third_party/sqlite/src/ext/fts3/fts3.c assert( pExpr->eType==FTSQUERY_PHRASE && pExpr->pPhrase ); assert 3249 third_party/sqlite/src/ext/fts3/fts3.c assert( pCsr->eEvalmode==FTS3_EVAL_NEXT ); assert 3261 third_party/sqlite/src/ext/fts3/fts3.c assert( pCsr->eEvalmode==FTS3_EVAL_NEXT ); assert 3262 third_party/sqlite/src/ext/fts3/fts3.c assert( pExpr->eType==FTSQUERY_PHRASE && pExpr->pPhrase ); assert 3279 third_party/sqlite/src/ext/fts3/fts3.c assert( pExpr->isLoaded ); assert 3290 third_party/sqlite/src/ext/fts3/fts3.c assert( pCsr ); assert 3373 third_party/sqlite/src/ext/fts3/fts3.c assert( nVal>=1 ); assert 3408 third_party/sqlite/src/ext/fts3/fts3.c assert( nVal==1 ); assert 3410 third_party/sqlite/src/ext/fts3/fts3.c assert( pCsr ); assert 3436 third_party/sqlite/src/ext/fts3/fts3.c assert( nVal==1 ); assert 3439 third_party/sqlite/src/ext/fts3/fts3.c assert( p ); assert 3465 third_party/sqlite/src/ext/fts3/fts3.c assert( nVal==1 || nVal==2 ); assert 3686 third_party/sqlite/src/ext/fts3/fts3.c assert( rc!=SQLITE_OK ); assert 293 third_party/sqlite/src/ext/fts3/fts3_aux.c assert( iCol==0 ); assert 312 third_party/sqlite/src/ext/fts3/fts3_aux.c default: assert( eState==3 ); assert 346 third_party/sqlite/src/ext/fts3/fts3_aux.c assert( idxStr==0 ); assert 347 third_party/sqlite/src/ext/fts3/fts3_aux.c assert( idxNum==FTS4AUX_EQ_CONSTRAINT || idxNum==0 assert 407 third_party/sqlite/src/ext/fts3/fts3_aux.c assert( p->isEof==0 ); assert 370 third_party/sqlite/src/ext/fts3/fts3_expr.c assert( nKey==4 ); assert 489 third_party/sqlite/src/ext/fts3/fts3_expr.c assert( p->eType!=FTSQUERY_PHRASE ); assert 497 third_party/sqlite/src/ext/fts3/fts3_expr.c assert( p->eType==FTSQUERY_AND ); assert 520 third_party/sqlite/src/ext/fts3/fts3_expr.c assert( pSplit->pParent->pRight==pSplit ); assert 580 third_party/sqlite/src/ext/fts3/fts3_expr.c assert( eType!=FTSQUERY_PHRASE || !p->pPhrase->isNot ); assert 597 third_party/sqlite/src/ext/fts3/fts3_expr.c assert( pRet && pPrev ); assert 629 third_party/sqlite/src/ext/fts3/fts3_expr.c assert( pPrev && pPrev->pLeft && pPrev->pRight==0 ); assert 640 third_party/sqlite/src/ext/fts3/fts3_expr.c assert( nByte>0 ); assert 642 third_party/sqlite/src/ext/fts3/fts3_expr.c assert( rc!=SQLITE_OK || (nByte>0 && nByte<=nIn) ); assert 886 third_party/sqlite/src/ext/fts3/fts3_expr.c assert( rc==SQLITE_NOMEM || rc==SQLITE_OK ); assert 60 third_party/sqlite/src/ext/fts3/fts3_hash.c assert( pNew!=0 ); assert 61 third_party/sqlite/src/ext/fts3/fts3_hash.c assert( keyClass>=FTS3_HASH_STRING && keyClass<=FTS3_HASH_BINARY ); assert 77 third_party/sqlite/src/ext/fts3/fts3_hash.c assert( pH!=0 ); assert 144 third_party/sqlite/src/ext/fts3/fts3_hash.c assert( keyClass==FTS3_HASH_BINARY ); assert 159 third_party/sqlite/src/ext/fts3/fts3_hash.c assert( keyClass==FTS3_HASH_BINARY ); assert 201 third_party/sqlite/src/ext/fts3/fts3_hash.c assert( (new_size & (new_size-1))==0 ); assert 276 third_party/sqlite/src/ext/fts3/fts3_hash.c assert( pH->first==0 ); assert 277 third_party/sqlite/src/ext/fts3/fts3_hash.c assert( pH->count==0 ); assert 292 third_party/sqlite/src/ext/fts3/fts3_hash.c assert( xHash!=0 ); assert 294 third_party/sqlite/src/ext/fts3/fts3_hash.c assert( (pH->htsize & (pH->htsize-1))==0 ); assert 337 third_party/sqlite/src/ext/fts3/fts3_hash.c assert( pH!=0 ); assert 339 third_party/sqlite/src/ext/fts3/fts3_hash.c assert( xHash!=0 ); assert 341 third_party/sqlite/src/ext/fts3/fts3_hash.c assert( (pH->htsize & (pH->htsize-1))==0 ); assert 360 third_party/sqlite/src/ext/fts3/fts3_hash.c assert( pH->htsize>0 ); assert 375 third_party/sqlite/src/ext/fts3/fts3_hash.c assert( pH->htsize>0 ); assert 376 third_party/sqlite/src/ext/fts3/fts3_hash.c assert( (pH->htsize & (pH->htsize-1))==0 ); assert 208 third_party/sqlite/src/ext/fts3/fts3_icu.c assert(iStart<=iEnd); assert 155 third_party/sqlite/src/ext/fts3/fts3_porter.c assert( x>='a' && x<='z' ); assert 164 third_party/sqlite/src/ext/fts3/fts3_porter.c assert( x>='a' && x<='z' ); assert 148 third_party/sqlite/src/ext/fts3/fts3_snippet.c assert( pExpr->pLeft && pExpr->pRight ); assert 197 third_party/sqlite/src/ext/fts3/fts3_snippet.c assert( pExpr->eType==FTSQUERY_PHRASE ); assert 210 third_party/sqlite/src/ext/fts3/fts3_snippet.c assert( pLeft->eType==FTSQUERY_NEAR ); assert 211 third_party/sqlite/src/ext/fts3/fts3_snippet.c assert( pLeft->pRight->eType==FTSQUERY_PHRASE ); assert 382 third_party/sqlite/src/ext/fts3/fts3_snippet.c assert( iCsr>=iStart ); assert 428 third_party/sqlite/src/ext/fts3/fts3_snippet.c assert( pPhrase->pList==0 && pPhrase->pHead==0 && pPhrase->pTail==0 ); assert 512 third_party/sqlite/src/ext/fts3/fts3_snippet.c assert( iScore>=0 ); assert 634 third_party/sqlite/src/ext/fts3/fts3_snippet.c assert( nShift<=nDesired ); assert 785 third_party/sqlite/src/ext/fts3/fts3_snippet.c assert( nHit>0 ); assert 834 third_party/sqlite/src/ext/fts3/fts3_snippet.c assert( pExpr->isLoaded ); assert 835 third_party/sqlite/src/ext/fts3/fts3_snippet.c assert( pExpr->eType==FTSQUERY_PHRASE ); assert 936 third_party/sqlite/src/ext/fts3/fts3_snippet.c assert( cArg==FTS3_MATCHINFO_HITS ); assert 959 third_party/sqlite/src/ext/fts3/fts3_snippet.c assert( sqlite3_data_count(pStmt)==1 ); assert 1075 third_party/sqlite/src/ext/fts3/fts3_snippet.c assert( aIter[i].iCol>=iCol ); assert 1205 third_party/sqlite/src/ext/fts3/fts3_snippet.c assert( zArg[i]==FTS3_MATCHINFO_HITS ); assert 1251 third_party/sqlite/src/ext/fts3/fts3_snippet.c assert( pCsr->aMatchinfo ); assert 1378 third_party/sqlite/src/ext/fts3/fts3_snippet.c assert( (mCovered&mSeen)==mCovered ); assert 1382 third_party/sqlite/src/ext/fts3/fts3_snippet.c assert( nFToken>0 ); assert 1432 third_party/sqlite/src/ext/fts3/fts3_snippet.c assert( iPos>=0 ); assert 1468 third_party/sqlite/src/ext/fts3/fts3_snippet.c assert( pCsr->isRequireSeek==0 ); assert 1540 third_party/sqlite/src/ext/fts3/fts3_snippet.c assert( iCurrent<=iMinPos ); assert 1570 third_party/sqlite/src/ext/fts3/fts3_snippet.c assert( rc!=SQLITE_DONE ); assert 67 third_party/sqlite/src/ext/fts3/fts3_tokenizer.c assert( argc==1 || argc==2 ); assert 195 third_party/sqlite/src/ext/fts3/fts3_tokenizer.c assert( rc!=SQLITE_OK || *ppTok ); assert 267 third_party/sqlite/src/ext/fts3/fts3_tokenizer.c assert( argc==2 || argc==3 ); assert 412 third_party/sqlite/src/ext/fts3/fts3_tokenizer.c assert( rc==SQLITE_OK ); assert 413 third_party/sqlite/src/ext/fts3/fts3_tokenizer.c assert( p1==p2 ); assert 415 third_party/sqlite/src/ext/fts3/fts3_tokenizer.c assert( rc==SQLITE_ERROR ); assert 416 third_party/sqlite/src/ext/fts3/fts3_tokenizer.c assert( p2==0 ); assert 417 third_party/sqlite/src/ext/fts3/fts3_tokenizer.c assert( 0==strcmp(sqlite3_errmsg(db), "unknown tokenizer: nosuchtokenizer") ); assert 421 third_party/sqlite/src/ext/fts3/fts3_tokenizer.c assert( rc==SQLITE_OK ); assert 423 third_party/sqlite/src/ext/fts3/fts3_tokenizer.c assert( rc==SQLITE_OK ); assert 424 third_party/sqlite/src/ext/fts3/fts3_tokenizer.c assert( p2==p1 ); assert 242 third_party/sqlite/src/ext/fts3/fts3_write.c assert( SizeofArray(azSql)==SizeofArray(p->aStmt) ); assert 243 third_party/sqlite/src/ext/fts3/fts3_write.c assert( eStmt<SizeofArray(azSql) && eStmt>=0 ); assert 260 third_party/sqlite/src/ext/fts3/fts3_write.c assert( rc==SQLITE_OK || pStmt==0 ); assert 284 third_party/sqlite/src/ext/fts3/fts3_write.c assert( eStmt==SQL_SELECT_DOCSIZE || eStmt==SQL_SELECT_DOCTOTAL ); assert 473 third_party/sqlite/src/ext/fts3/fts3_write.c assert( !p || p->iLastDocid<=iDocid ); assert 478 third_party/sqlite/src/ext/fts3/fts3_write.c assert( p->nData<p->nSpace ); assert 479 third_party/sqlite/src/ext/fts3/fts3_write.c assert( p->aData[p->nData]==0 ); assert 499 third_party/sqlite/src/ext/fts3/fts3_write.c assert( iPos>p->iLastPos || (iPos==0 && p->iLastPos==0) ); assert 543 third_party/sqlite/src/ext/fts3/fts3_write.c assert( pTokenizer && pModule ); assert 576 third_party/sqlite/src/ext/fts3/fts3_write.c assert( 0==fts3HashFind(&p->pendingTerms, zToken, nToken) ); assert 862 third_party/sqlite/src/ext/fts3/fts3_write.c assert( pnBlob); assert 937 third_party/sqlite/src/ext/fts3/fts3_write.c assert( pReader->aNode ); assert 949 third_party/sqlite/src/ext/fts3/fts3_write.c assert( pReader->iCurrentBlock<=pReader->iLeafEndBlock ); assert 1006 third_party/sqlite/src/ext/fts3/fts3_write.c assert( pReader->aDoclist ); assert 1007 third_party/sqlite/src/ext/fts3/fts3_write.c assert( !pReader->pOffsetList ); assert 1111 third_party/sqlite/src/ext/fts3/fts3_write.c assert( a ); assert 1124 third_party/sqlite/src/ext/fts3/fts3_write.c assert( pCsr->nRowAvg>0 ); assert 1177 third_party/sqlite/src/ext/fts3/fts3_write.c assert( iStartLeaf<=iEndLeaf ); assert 1336 third_party/sqlite/src/ext/fts3/fts3_write.c assert( rc!=0 ); assert 1360 third_party/sqlite/src/ext/fts3/fts3_write.c assert( pLhs->aNode && pRhs->aNode ); assert 1405 third_party/sqlite/src/ext/fts3/fts3_write.c assert( nSuspect<=nSegment ); assert 1422 third_party/sqlite/src/ext/fts3/fts3_write.c assert( xCmp(apSegment[i], apSegment[i+1])<0 ); assert 1533 third_party/sqlite/src/ext/fts3/fts3_write.c assert( pTree->aData==(char *)&pTree[1] ); assert 1616 third_party/sqlite/src/ext/fts3/fts3_write.c assert( iHeight>=1 && iHeight<128 ); assert 1667 third_party/sqlite/src/ext/fts3/fts3_write.c assert( iNextLeaf==iFree ); assert 1689 third_party/sqlite/src/ext/fts3/fts3_write.c assert( pRight==0 || p->zMalloc==0 ); assert 1776 third_party/sqlite/src/ext/fts3/fts3_write.c assert( nPrefix<nTerm ); assert 1801 third_party/sqlite/src/ext/fts3/fts3_write.c assert( nData+nReq<=pWriter->nSize ); assert 1827 third_party/sqlite/src/ext/fts3/fts3_write.c assert( pWriter->zTerm==pWriter->zMalloc ); assert 1973 third_party/sqlite/src/ext/fts3/fts3_write.c assert( iLevel>=0 ); assert 2005 third_party/sqlite/src/ext/fts3/fts3_write.c assert( iCol>=0 ); assert 2092 third_party/sqlite/src/ext/fts3/fts3_write.c assert( rc==SQLITE_OK ); assert 2123 third_party/sqlite/src/ext/fts3/fts3_write.c assert( isIgnoreEmpty || (isRequirePos && !isColFilter) ); assert 2255 third_party/sqlite/src/ext/fts3/fts3_write.c assert( csr.nSegment>0 ); assert 2256 third_party/sqlite/src/ext/fts3/fts3_write.c assert( iNewLevel>=0 ); assert 2270 third_party/sqlite/src/ext/fts3/fts3_write.c assert( pWriter ); assert 2320 third_party/sqlite/src/ext/fts3/fts3_write.c assert(j<=nBuf); assert 2559 third_party/sqlite/src/ext/fts3/fts3_write.c assert( pCsr->isRequireSeek==0 ); assert 2618 third_party/sqlite/src/ext/fts3/fts3_write.c assert( pToken->pDeferred==0 ); assert 2643 third_party/sqlite/src/ext/fts3/fts3_write.c assert( p->pSegments==0 ); assert 86 third_party/sqlite/src/ext/icu/icu.c assert(uPattern!=0); assert 270 third_party/sqlite/src/ext/icu/icu.c assert(!pExpr); assert 336 third_party/sqlite/src/ext/icu/icu.c assert(nArg==1 || nArg==2); assert 395 third_party/sqlite/src/ext/icu/icu.c assert(!"Unexpected return value from ucol_strcoll()"); assert 424 third_party/sqlite/src/ext/icu/icu.c assert(nArg==2); assert 437 third_party/sqlite/src/ext/icu/icu.c assert(p); assert 357 third_party/sqlite/src/ext/rtree/rtree.c assert( sizeof(RtreeCoord)==4 ); assert 358 third_party/sqlite/src/ext/rtree/rtree.c assert( sizeof(u32)==4 ); assert 421 third_party/sqlite/src/ext/rtree/rtree.c assert( pNode->pNext==0 ); assert 434 third_party/sqlite/src/ext/rtree/rtree.c for( ; (*pp)!=pNode; pp = &(*pp)->pNext){ assert(*pp); } assert 478 third_party/sqlite/src/ext/rtree/rtree.c assert( !pParent || !pNode->pParent || pNode->pParent==pParent ); assert 597 third_party/sqlite/src/ext/rtree/rtree.c assert( nCell<=nMaxCell ); assert 640 third_party/sqlite/src/ext/rtree/rtree.c assert( pNode->nRef>0 ); assert 669 third_party/sqlite/src/ext/rtree/rtree.c assert( iCell<NCELL(pNode) ); assert 874 third_party/sqlite/src/ext/rtree/rtree.c assert( pConstraint->op==RTREE_MATCH ); assert 875 third_party/sqlite/src/ext/rtree/rtree.c assert( pConstraint->pGeom ); assert 904 third_party/sqlite/src/ext/rtree/rtree.c assert(p->op==RTREE_LE || p->op==RTREE_LT || p->op==RTREE_GE assert 922 third_party/sqlite/src/ext/rtree/rtree.c assert( p->op==RTREE_MATCH ); assert 956 third_party/sqlite/src/ext/rtree/rtree.c assert(p->op==RTREE_LE || p->op==RTREE_LT || p->op==RTREE_GE assert 967 third_party/sqlite/src/ext/rtree/rtree.c assert( p->op==RTREE_MATCH ); assert 1006 third_party/sqlite/src/ext/rtree/rtree.c assert( iHeight>=0 ); assert 1035 third_party/sqlite/src/ext/rtree/rtree.c assert( pCursor->pNode==pChild ); assert 1093 third_party/sqlite/src/ext/rtree/rtree.c assert( pCsr->pNode ); assert 1133 third_party/sqlite/src/ext/rtree/rtree.c assert(pCsr->pNode); assert 1155 third_party/sqlite/src/ext/rtree/rtree.c assert( pRtree->eCoordType==RTREE_COORD_INT32 ); assert 1257 third_party/sqlite/src/ext/rtree/rtree.c assert( rc==SQLITE_OK ); assert 1271 third_party/sqlite/src/ext/rtree/rtree.c assert( (idxStr==0 && argc==0) || (int)strlen(idxStr)==argc*2 ); assert 1301 third_party/sqlite/src/ext/rtree/rtree.c assert( pCsr->pNode==pRoot ); assert 1308 third_party/sqlite/src/ext/rtree/rtree.c assert( pCsr->pNode==pRoot ); assert 1312 third_party/sqlite/src/ext/rtree/rtree.c assert( rc!=SQLITE_OK || !pCsr->pNode || pCsr->iCell<NCELL(pCsr->pNode) ); assert 1363 third_party/sqlite/src/ext/rtree/rtree.c assert( pIdxInfo->idxStr==0 ); assert 1396 third_party/sqlite/src/ext/rtree/rtree.c assert( p->op==SQLITE_INDEX_CONSTRAINT_MATCH ); assert 1412 third_party/sqlite/src/ext/rtree/rtree.c assert( iIdx>=0 ); assert 1505 third_party/sqlite/src/ext/rtree/rtree.c assert( iExclude==-1 ); assert 1911 third_party/sqlite/src/ext/rtree/rtree.c assert( left<=right ); assert 1978 third_party/sqlite/src/ext/rtree/rtree.c assert( xleft1<=xright1 && (xleft1<xright1 || xleft2<=xright2) ); assert 2346 third_party/sqlite/src/ext/rtree/rtree.c assert( pNode->nRef==1 ); assert 2435 third_party/sqlite/src/ext/rtree/rtree.c assert( pParent || pNode->iNode==1 ); assert 2642 third_party/sqlite/src/ext/rtree/rtree.c assert(nData>=1); assert 2738 third_party/sqlite/src/ext/rtree/rtree.c assert( nData==(pRtree->nDim*2 + 3) ); assert 77 third_party/sqlite/src/src/alter.c assert( len>0 ); assert 199 third_party/sqlite/src/src/alter.c assert( len>0 ); assert 342 third_party/sqlite/src/src/alter.c assert( sqlite3BtreeHoldsAllMutexes(pParse->db) ); assert 344 third_party/sqlite/src/src/alter.c assert( iDb>=0 ); assert 350 third_party/sqlite/src/src/alter.c assert( iTrigDb==iDb || iTrigDb==1 ); assert 414 third_party/sqlite/src/src/alter.c assert( pSrc->nSrc==1 ); assert 415 third_party/sqlite/src/src/alter.c assert( sqlite3BtreeHoldsAllMutexes(pParse->db) ); assert 637 third_party/sqlite/src/src/alter.c assert( pNew ); assert 639 third_party/sqlite/src/src/alter.c assert( sqlite3BtreeHoldsAllMutexes(db) ); assert 646 third_party/sqlite/src/src/alter.c assert( pTab ); assert 757 third_party/sqlite/src/src/alter.c assert( pParse->pNewTable==0 ); assert 758 third_party/sqlite/src/src/alter.c assert( sqlite3BtreeHoldsAllMutexes(db) ); assert 779 third_party/sqlite/src/src/alter.c assert( pTab->addColOffset>0 ); assert 794 third_party/sqlite/src/src/alter.c assert( pNew->nCol>0 ); assert 796 third_party/sqlite/src/src/alter.c assert( nAlloc>=pNew->nCol && nAlloc%8==0 && nAlloc-pNew->nCol<8 ); assert 58 third_party/sqlite/src/src/analyze.c assert( sqlite3BtreeHoldsAllMutexes(db) ); assert 59 third_party/sqlite/src/src/analyze.c assert( sqlite3VdbeDb(v)==db ); assert 149 third_party/sqlite/src/src/analyze.c assert( sqlite3BtreeHoldsAllMutexes(db) ); assert 151 third_party/sqlite/src/src/analyze.c assert( iDb>=0 ); assert 152 third_party/sqlite/src/src/analyze.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 177 third_party/sqlite/src/src/analyze.c assert( iDb==sqlite3SchemaToIndex(db, pIdx->pSchema) ); assert 250 third_party/sqlite/src/src/analyze.c assert( regTabname+1==regIdxname assert 279 third_party/sqlite/src/src/analyze.c assert( pIdx->azColl!=0 ); assert 280 third_party/sqlite/src/src/analyze.c assert( pIdx->azColl[i]!=0 ); assert 394 third_party/sqlite/src/src/analyze.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 411 third_party/sqlite/src/src/analyze.c assert( pTab!=0 ); assert 412 third_party/sqlite/src/src/analyze.c assert( sqlite3BtreeHoldsAllMutexes(pParse->db) ); assert 449 third_party/sqlite/src/src/analyze.c assert( sqlite3BtreeHoldsAllMutexes(pParse->db) ); assert 454 third_party/sqlite/src/src/analyze.c assert( pName2!=0 || pName1==0 ); assert 524 third_party/sqlite/src/src/analyze.c assert( argc==3 ); assert 607 third_party/sqlite/src/src/analyze.c assert( iDb>=0 && iDb<db->nDb ); assert 608 third_party/sqlite/src/src/analyze.c assert( db->aDb[iDb].pBt!=0 ); assert 611 third_party/sqlite/src/src/analyze.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 676 third_party/sqlite/src/src/analyze.c assert( pIdx->aSample ); assert 101 third_party/sqlite/src/src/attach.c assert( z && zName ); assert 199 third_party/sqlite/src/src/attach.c assert( iDb>=2 ); assert 337 third_party/sqlite/src/src/attach.c assert( v || db->mallocFailed ); assert 340 third_party/sqlite/src/src/attach.c assert( pFunc->nArg==-1 || (pFunc->nArg&0xff)==pFunc->nArg ); assert 420 third_party/sqlite/src/src/attach.c assert( db->nDb>iDb ); assert 155 third_party/sqlite/src/src/auth.c assert( pExpr->op==TK_COLUMN || pExpr->op==TK_TRIGGER ); assert 159 third_party/sqlite/src/src/auth.c assert( pTabList ); assert 171 third_party/sqlite/src/src/auth.c assert( iCol<pTab->nCol ); assert 174 third_party/sqlite/src/src/auth.c assert( pTab->iPKey<pTab->nCol ); assert 179 third_party/sqlite/src/src/auth.c assert( iDb>=0 && iDb<db->nDb ); assert 232 third_party/sqlite/src/src/auth.c assert( pParse ); assert 230 third_party/sqlite/src/src/backup.c assert( p->bDestLocked ); assert 231 third_party/sqlite/src/src/backup.c assert( !isFatalError(p->rc) ); assert 232 third_party/sqlite/src/src/backup.c assert( iSrcPg!=PENDING_BYTE_PAGE(p->pSrc->pBt) ); assert 233 third_party/sqlite/src/src/backup.c assert( zSrcData ); assert 316 third_party/sqlite/src/src/backup.c assert( sqlite3BtreeHoldsMutex(p->pSrc) ); assert 385 third_party/sqlite/src/src/backup.c assert( nSrcPage>=0 ); assert 434 third_party/sqlite/src/src/backup.c assert( pgszSrc==sqlite3BtreeGetPageSize(p->pSrc) ); assert 435 third_party/sqlite/src/src/backup.c assert( pgszDest==sqlite3BtreeGetPageSize(p->pDest) ); assert 462 third_party/sqlite/src/src/backup.c assert( pFile ); assert 463 third_party/sqlite/src/src/backup.c assert( (i64)nDestTruncate*(i64)pgszDest >= iSize || ( assert 521 third_party/sqlite/src/src/backup.c assert( rc2==SQLITE_OK ); assert 619 third_party/sqlite/src/src/backup.c assert( sqlite3_mutex_held(p->pSrc->pBt->mutex) ); assert 626 third_party/sqlite/src/src/backup.c assert( p->pDestDb ); assert 630 third_party/sqlite/src/src/backup.c assert( rc!=SQLITE_BUSY && rc!=SQLITE_LOCKED ); assert 652 third_party/sqlite/src/src/backup.c assert( sqlite3_mutex_held(p->pSrc->pBt->mutex) ); assert 691 third_party/sqlite/src/src/backup.c assert( b.rc!=SQLITE_OK ); assert 116 third_party/sqlite/src/src/bitvec.c assert( sizeof(*p)==BITVEC_SZ ); assert 168 third_party/sqlite/src/src/bitvec.c assert( i>0 ); assert 169 third_party/sqlite/src/src/bitvec.c assert( i<=p->iSize ); assert 238 third_party/sqlite/src/src/bitvec.c assert( i>0 ); assert 28 third_party/sqlite/src/src/btmutex.c assert( p->locked==0 ); assert 29 third_party/sqlite/src/src/btmutex.c assert( sqlite3_mutex_notheld(p->pBt->mutex) ); assert 30 third_party/sqlite/src/src/btmutex.c assert( sqlite3_mutex_held(p->db->mutex) ); assert 43 third_party/sqlite/src/src/btmutex.c assert( p->locked==1 ); assert 44 third_party/sqlite/src/src/btmutex.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 45 third_party/sqlite/src/src/btmutex.c assert( sqlite3_mutex_held(p->db->mutex) ); assert 46 third_party/sqlite/src/src/btmutex.c assert( p->db==pBt->db ); assert 75 third_party/sqlite/src/src/btmutex.c assert( p->pNext==0 || p->pNext->pBt>p->pBt ); assert 76 third_party/sqlite/src/src/btmutex.c assert( p->pPrev==0 || p->pPrev->pBt<p->pBt ); assert 77 third_party/sqlite/src/src/btmutex.c assert( p->pNext==0 || p->pNext->db==p->db ); assert 78 third_party/sqlite/src/src/btmutex.c assert( p->pPrev==0 || p->pPrev->db==p->db ); assert 79 third_party/sqlite/src/src/btmutex.c assert( p->sharable || (p->pNext==0 && p->pPrev==0) ); assert 82 third_party/sqlite/src/src/btmutex.c assert( !p->locked || p->wantToLock>0 ); assert 83 third_party/sqlite/src/src/btmutex.c assert( p->sharable || p->wantToLock==0 ); assert 86 third_party/sqlite/src/src/btmutex.c assert( sqlite3_mutex_held(p->db->mutex) ); assert 90 third_party/sqlite/src/src/btmutex.c assert( (p->locked==0 && p->sharable) || p->pBt->db==p->db ); assert 112 third_party/sqlite/src/src/btmutex.c assert( pLater->sharable ); assert 113 third_party/sqlite/src/src/btmutex.c assert( pLater->pNext==0 || pLater->pNext->pBt>pLater->pBt ); assert 114 third_party/sqlite/src/src/btmutex.c assert( !pLater->locked || pLater->wantToLock>0 ); assert 132 third_party/sqlite/src/src/btmutex.c assert( p->wantToLock>0 ); assert 148 third_party/sqlite/src/src/btmutex.c assert( p->sharable==0 || p->locked==0 || p->wantToLock>0 ); assert 149 third_party/sqlite/src/src/btmutex.c assert( p->sharable==0 || p->locked==0 || p->db==p->pBt->db ); assert 150 third_party/sqlite/src/src/btmutex.c assert( p->sharable==0 || p->locked==0 || sqlite3_mutex_held(p->pBt->mutex) ); assert 151 third_party/sqlite/src/src/btmutex.c assert( p->sharable==0 || p->locked==0 || sqlite3_mutex_held(p->db->mutex) ); assert 190 third_party/sqlite/src/src/btmutex.c assert( sqlite3_mutex_held(db->mutex) ); assert 199 third_party/sqlite/src/src/btmutex.c assert( sqlite3_mutex_held(db->mutex) ); assert 252 third_party/sqlite/src/src/btmutex.c assert( db!=0 ); assert 254 third_party/sqlite/src/src/btmutex.c assert( iDb>=0 && iDb<db->nDb ); assert 258 third_party/sqlite/src/src/btmutex.c assert( p!=0 ); assert 226 third_party/sqlite/src/src/btree.c assert( sqlite3BtreeHoldsMutex(p) ); assert 227 third_party/sqlite/src/src/btree.c assert( eLock==READ_LOCK || eLock==WRITE_LOCK ); assert 228 third_party/sqlite/src/src/btree.c assert( p->db!=0 ); assert 229 third_party/sqlite/src/src/btree.c assert( !(p->db->flags&SQLITE_ReadUncommitted)||eLock==WRITE_LOCK||iTab==1 ); assert 235 third_party/sqlite/src/src/btree.c assert( eLock==READ_LOCK || (p==pBt->pWriter && p->inTrans==TRANS_WRITE) ); assert 236 third_party/sqlite/src/src/btree.c assert( eLock==READ_LOCK || pBt->inTransaction==TRANS_WRITE ); assert 261 third_party/sqlite/src/src/btree.c assert( pIter->eLock==READ_LOCK || pIter->eLock==WRITE_LOCK ); assert 262 third_party/sqlite/src/src/btree.c assert( eLock==READ_LOCK || pIter->pBtree==p || pIter->eLock==READ_LOCK); assert 266 third_party/sqlite/src/src/btree.c assert( p==pBt->pWriter ); assert 299 third_party/sqlite/src/src/btree.c assert( sqlite3BtreeHoldsMutex(p) ); assert 300 third_party/sqlite/src/src/btree.c assert( eLock==READ_LOCK || eLock==WRITE_LOCK ); assert 301 third_party/sqlite/src/src/btree.c assert( p->db!=0 ); assert 307 third_party/sqlite/src/src/btree.c assert( 0==(p->db->flags&SQLITE_ReadUncommitted) || eLock==WRITE_LOCK ); assert 311 third_party/sqlite/src/src/btree.c assert( p->sharable ); assert 312 third_party/sqlite/src/src/btree.c assert( SQLITE_OK==querySharedCacheTableLock(p, iTable, eLock) ); assert 340 third_party/sqlite/src/src/btree.c assert( WRITE_LOCK>READ_LOCK ); assert 362 third_party/sqlite/src/src/btree.c assert( sqlite3BtreeHoldsMutex(p) ); assert 363 third_party/sqlite/src/src/btree.c assert( p->sharable || 0==*ppIter ); assert 364 third_party/sqlite/src/src/btree.c assert( p->inTrans>0 ); assert 368 third_party/sqlite/src/src/btree.c assert( pBt->isExclusive==0 || pBt->pWriter==pLock->pBtree ); assert 369 third_party/sqlite/src/src/btree.c assert( pLock->pBtree->inTrans>=pLock->eLock ); assert 372 third_party/sqlite/src/src/btree.c assert( pLock->iTable!=1 || pLock==&p->lock ); assert 381 third_party/sqlite/src/src/btree.c assert( pBt->isPending==0 || pBt->pWriter ); assert 411 third_party/sqlite/src/src/btree.c assert( pLock->eLock==READ_LOCK || pLock->pBtree==p ); assert 438 third_party/sqlite/src/src/btree.c assert( cursorHoldsMutex(pCur) ); assert 449 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 475 third_party/sqlite/src/src/btree.c assert( sqlite3BtreeHoldsMutex(pBtree) ); assert 528 third_party/sqlite/src/src/btree.c assert( pgno<=pBt->nPage ); assert 571 third_party/sqlite/src/src/btree.c assert( CURSOR_VALID==pCur->eState ); assert 572 third_party/sqlite/src/src/btree.c assert( 0==pCur->pKey ); assert 573 third_party/sqlite/src/src/btree.c assert( cursorHoldsMutex(pCur) ); assert 576 third_party/sqlite/src/src/btree.c assert( rc==SQLITE_OK ); /* KeySize() cannot fail */ assert 597 third_party/sqlite/src/src/btree.c assert( !pCur->apPage[0]->intKey || !pCur->pKey ); assert 620 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 621 third_party/sqlite/src/src/btree.c assert( pExcept==0 || pExcept->pBt==pBt ); assert 638 third_party/sqlite/src/src/btree.c assert( cursorHoldsMutex(pCur) ); assert 661 third_party/sqlite/src/src/btree.c assert( nKey==(i64)(int)nKey ); assert 684 third_party/sqlite/src/src/btree.c assert( cursorHoldsMutex(pCur) ); assert 685 third_party/sqlite/src/src/btree.c assert( pCur->eState>=CURSOR_REQUIRESEEK ); assert 694 third_party/sqlite/src/src/btree.c assert( pCur->eState==CURSOR_VALID || pCur->eState==CURSOR_INVALID ); assert 741 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 771 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 773 third_party/sqlite/src/src/btree.c assert( 0==PTRMAP_ISPAGE(pBt, PENDING_BYTE_PAGE(pBt)) ); assert 775 third_party/sqlite/src/src/btree.c assert( pBt->autoVacuum ); assert 820 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 830 third_party/sqlite/src/src/btree.c assert( pEType!=0 ); assert 861 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pPage->pBt->mutex) ); assert 894 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pPage->pBt->mutex) ); assert 897 third_party/sqlite/src/src/btree.c assert( pPage->leaf==0 || pPage->leaf==1 ); assert 899 third_party/sqlite/src/src/btree.c assert( n==4-4*pPage->leaf ); assert 1017 third_party/sqlite/src/src/btree.c assert( nSize==debuginfo.nSize ); assert 1038 third_party/sqlite/src/src/btree.c assert( pCell!=0 ); assert 1040 third_party/sqlite/src/src/btree.c assert( (info.nData+(pPage->intKey?0:info.nKey))==info.nPayload ); assert 1070 third_party/sqlite/src/src/btree.c assert( sqlite3PagerIswriteable(pPage->pDbPage) ); assert 1071 third_party/sqlite/src/src/btree.c assert( pPage->pBt!=0 ); assert 1072 third_party/sqlite/src/src/btree.c assert( pPage->pBt->usableSize <= SQLITE_MAX_PAGE_SIZE ); assert 1073 third_party/sqlite/src/src/btree.c assert( pPage->nOverflow==0 ); assert 1074 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pPage->pBt->mutex) ); assert 1080 third_party/sqlite/src/src/btree.c assert( nCell==get2byte(&data[hdr+3]) ); assert 1101 third_party/sqlite/src/src/btree.c assert( pc>=iCellFirst && pc<=iCellLast ); assert 1113 third_party/sqlite/src/src/btree.c assert( cbrk+size<=usableSize && cbrk>=iCellFirst ); assert 1119 third_party/sqlite/src/src/btree.c assert( cbrk>=iCellFirst ); assert 1125 third_party/sqlite/src/src/btree.c assert( sqlite3PagerIswriteable(pPage->pDbPage) ); assert 1154 third_party/sqlite/src/src/btree.c assert( sqlite3PagerIswriteable(pPage->pDbPage) ); assert 1155 third_party/sqlite/src/src/btree.c assert( pPage->pBt ); assert 1156 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pPage->pBt->mutex) ); assert 1157 third_party/sqlite/src/src/btree.c assert( nByte>=0 ); /* Minimum cell size is 4 */ assert 1158 third_party/sqlite/src/src/btree.c assert( pPage->nFree>=nByte ); assert 1159 third_party/sqlite/src/src/btree.c assert( pPage->nOverflow==0 ); assert 1161 third_party/sqlite/src/src/btree.c assert( nByte < usableSize-8 ); assert 1164 third_party/sqlite/src/src/btree.c assert( pPage->cellOffset == hdr + 12 - 4*pPage->leaf ); assert 1219 third_party/sqlite/src/src/btree.c assert( gap+nByte<=top ); assert 1231 third_party/sqlite/src/src/btree.c assert( top+nByte <= (int)pPage->pBt->usableSize ); assert 1249 third_party/sqlite/src/src/btree.c assert( pPage->pBt!=0 ); assert 1250 third_party/sqlite/src/src/btree.c assert( sqlite3PagerIswriteable(pPage->pDbPage) ); assert 1251 third_party/sqlite/src/src/btree.c assert( start>=pPage->hdrOffset+6+pPage->childPtrSize ); assert 1252 third_party/sqlite/src/src/btree.c assert( (start + size) <= (int)pPage->pBt->usableSize ); assert 1253 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pPage->pBt->mutex) ); assert 1254 third_party/sqlite/src/src/btree.c assert( size>=0 ); /* Minimum cell size is 4 */ assert 1274 third_party/sqlite/src/src/btree.c assert( start<=iLast ); assert 1284 third_party/sqlite/src/src/btree.c assert( pbegin>addr || pbegin==0 ); assert 1294 third_party/sqlite/src/src/btree.c assert( pbegin>addr ); assert 1295 third_party/sqlite/src/src/btree.c assert( pbegin <= (int)pPage->pBt->usableSize-4 ); assert 1321 third_party/sqlite/src/src/btree.c assert( sqlite3PagerIswriteable(pPage->pDbPage) ); assert 1340 third_party/sqlite/src/src/btree.c assert( pPage->hdrOffset==(pPage->pgno==1 ? 100 : 0) ); assert 1341 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pPage->pBt->mutex) ); assert 1342 third_party/sqlite/src/src/btree.c pPage->leaf = (u8)(flagByte>>3); assert( PTF_LEAF == 1<<3 ); assert 1373 third_party/sqlite/src/src/btree.c assert( pPage->pBt!=0 ); assert 1374 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pPage->pBt->mutex) ); assert 1375 third_party/sqlite/src/src/btree.c assert( pPage->pgno==sqlite3PagerPagenumber(pPage->pDbPage) ); assert 1376 third_party/sqlite/src/src/btree.c assert( pPage == sqlite3PagerGetExtra(pPage->pDbPage) ); assert 1377 third_party/sqlite/src/src/btree.c assert( pPage->aData == sqlite3PagerGetData(pPage->pDbPage) ); assert 1396 third_party/sqlite/src/src/btree.c assert( pBt->pageSize>=512 && pBt->pageSize<=65536 ); assert 1487 third_party/sqlite/src/src/btree.c assert( sqlite3PagerPagenumber(pPage->pDbPage)==pPage->pgno ); assert 1488 third_party/sqlite/src/src/btree.c assert( sqlite3PagerGetExtra(pPage->pDbPage) == (void*)pPage ); assert 1489 third_party/sqlite/src/src/btree.c assert( sqlite3PagerGetData(pPage->pDbPage) == data ); assert 1490 third_party/sqlite/src/src/btree.c assert( sqlite3PagerIswriteable(pPage->pDbPage) ); assert 1491 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 1505 third_party/sqlite/src/src/btree.c assert( pBt->pageSize>=512 && pBt->pageSize<=65536 ); assert 1546 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 1560 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 1576 third_party/sqlite/src/src/btree.c assert( sqlite3BtreeHoldsMutex(p) ); assert 1577 third_party/sqlite/src/src/btree.c assert( ((p->pBt->nPage)&0x8000000)==0 ); assert 1595 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 1610 third_party/sqlite/src/src/btree.c assert( pgno!=0 || rc==SQLITE_CORRUPT ); assert 1620 third_party/sqlite/src/src/btree.c assert( pPage->aData ); assert 1621 third_party/sqlite/src/src/btree.c assert( pPage->pBt ); assert 1622 third_party/sqlite/src/src/btree.c assert( sqlite3PagerGetExtra(pPage->pDbPage) == (void*)pPage ); assert 1623 third_party/sqlite/src/src/btree.c assert( sqlite3PagerGetData(pPage->pDbPage)==pPage->aData ); assert 1624 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pPage->pBt->mutex) ); assert 1640 third_party/sqlite/src/src/btree.c assert( sqlite3PagerPageRefcount(pData)>0 ); assert 1642 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pPage->pBt->mutex) ); assert 1661 third_party/sqlite/src/src/btree.c assert( pBt->db ); assert 1662 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pBt->db->mutex) ); assert 1718 third_party/sqlite/src/src/btree.c assert( db!=0 ); assert 1719 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(db->mutex) ); assert 1720 third_party/sqlite/src/src/btree.c assert( (flags&0xff)==flags ); /* flags fit in 8 bits */ assert 1723 third_party/sqlite/src/src/btree.c assert( (flags & BTREE_UNORDERED)==0 || (flags & BTREE_SINGLE)!=0 ); assert 1726 third_party/sqlite/src/src/btree.c assert( (flags & BTREE_SINGLE)==0 || isTempDb ); assert 1770 third_party/sqlite/src/src/btree.c assert( pBt->nRef>0 ); assert 1810 third_party/sqlite/src/src/btree.c assert( sizeof(i64)==8 || sizeof(i64)==4 ); assert 1811 third_party/sqlite/src/src/btree.c assert( sizeof(u64)==8 || sizeof(u64)==4 ); assert 1812 third_party/sqlite/src/src/btree.c assert( sizeof(u32)==4 ); assert 1813 third_party/sqlite/src/src/btree.c assert( sizeof(u16)==2 ); assert 1814 third_party/sqlite/src/src/btree.c assert( sizeof(Pgno)==4 ); assert 1868 third_party/sqlite/src/src/btree.c assert( (pBt->pageSize & 7)==0 ); /* 8-byte alignment of pageSize */ assert 1944 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(mutexOpen) ); assert 1962 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_notheld(pBt->mutex) ); assert 2016 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(p->db->mutex) ); assert 2038 third_party/sqlite/src/src/btree.c assert( p->wantToLock==0 && p->locked==0 ); assert 2045 third_party/sqlite/src/src/btree.c assert( !pBt->pCursor ); assert 2056 third_party/sqlite/src/src/btree.c assert( p->wantToLock==0 ); assert 2057 third_party/sqlite/src/src/btree.c assert( p->locked==0 ); assert 2083 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(p->db->mutex) ); assert 2106 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(p->db->mutex) ); assert 2107 third_party/sqlite/src/src/btree.c assert( level>=1 && level<=3 ); assert 2122 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(p->db->mutex) ); assert 2124 third_party/sqlite/src/src/btree.c assert( pBt && pBt->pPager ); assert 2153 third_party/sqlite/src/src/btree.c assert( nReserve>=-1 && nReserve<=255 ); assert 2162 third_party/sqlite/src/src/btree.c assert( nReserve>=0 && nReserve<=255 ); assert 2165 third_party/sqlite/src/src/btree.c assert( (pageSize & 7)==0 ); assert 2166 third_party/sqlite/src/src/btree.c assert( !pBt->pPage1 && !pBt->pCursor ); assert 2292 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 2293 third_party/sqlite/src/src/btree.c assert( pBt->pPage1==0 ); assert 2367 third_party/sqlite/src/src/btree.c assert( (pageSize & 7)==0 ); assert 2416 third_party/sqlite/src/src/btree.c assert( pBt->maxLeaf + 23 <= MX_CELL_SIZE(pBt) ); assert 2436 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 2437 third_party/sqlite/src/src/btree.c assert( pBt->pCursor==0 || pBt->inTransaction>TRANS_NONE ); assert 2439 third_party/sqlite/src/src/btree.c assert( pBt->pPage1->aData ); assert 2440 third_party/sqlite/src/src/btree.c assert( sqlite3PagerRefcount(pBt->pPager)==1 ); assert 2441 third_party/sqlite/src/src/btree.c assert( pBt->pPage1->aData ); assert 2457 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 2462 third_party/sqlite/src/src/btree.c assert( pP1!=0 ); assert 2467 third_party/sqlite/src/src/btree.c assert( sizeof(zMagicHeader)==16 ); assert 2472 third_party/sqlite/src/src/btree.c assert( pBt->usableSize<=pBt->pageSize && pBt->usableSize+255>=pBt->pageSize); assert 2481 third_party/sqlite/src/src/btree.c assert( pBt->autoVacuum==1 || pBt->autoVacuum==0 ); assert 2482 third_party/sqlite/src/src/btree.c assert( pBt->incrVacuum==1 || pBt->incrVacuum==0 ); assert 2610 third_party/sqlite/src/src/btree.c assert( p->lock.pBtree==p && p->lock.iTable==1 ); assert 2624 third_party/sqlite/src/src/btree.c assert( !pBt->pWriter ); assert 2674 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pPage->pBt->mutex) ); assert 2717 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pPage->pBt->mutex) ); assert 2718 third_party/sqlite/src/src/btree.c assert( sqlite3PagerIswriteable(pPage->pDbPage) ); assert 2788 third_party/sqlite/src/src/btree.c assert( eType==PTRMAP_OVERFLOW2 || eType==PTRMAP_OVERFLOW1 || assert 2790 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 2791 third_party/sqlite/src/src/btree.c assert( pDbPage->pBt==pBt ); assert 2873 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 2874 third_party/sqlite/src/src/btree.c assert( iLastPg>nFin ); assert 2906 third_party/sqlite/src/src/btree.c assert( iFreePg==iLastPg ); assert 2934 third_party/sqlite/src/src/btree.c assert( iFreePg<iLastPg ); assert 2983 third_party/sqlite/src/src/btree.c assert( pBt->inTransaction==TRANS_WRITE && p->inTrans==TRANS_WRITE ); assert 3012 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 3014 third_party/sqlite/src/src/btree.c assert(pBt->autoVacuum); assert 3060 third_party/sqlite/src/src/btree.c assert( nRef==sqlite3PagerRefcount(pPager) ); assert 3120 third_party/sqlite/src/src/btree.c assert( sqlite3BtreeHoldsMutex(p) ); assert 3189 third_party/sqlite/src/src/btree.c assert( pBt->inTransaction==TRANS_WRITE ); assert 3190 third_party/sqlite/src/src/btree.c assert( pBt->nTransaction>0 ); assert 3305 third_party/sqlite/src/src/btree.c assert( TRANS_WRITE==pBt->inTransaction ); assert 3322 third_party/sqlite/src/src/btree.c assert( countWriteCursors(pBt)==0 ); assert 3353 third_party/sqlite/src/src/btree.c assert( p->inTrans==TRANS_WRITE ); assert 3354 third_party/sqlite/src/src/btree.c assert( pBt->readOnly==0 ); assert 3355 third_party/sqlite/src/src/btree.c assert( iStatement>0 ); assert 3356 third_party/sqlite/src/src/btree.c assert( iStatement>p->db->nSavepoint ); assert 3357 third_party/sqlite/src/src/btree.c assert( pBt->inTransaction==TRANS_WRITE ); assert 3384 third_party/sqlite/src/src/btree.c assert( op==SAVEPOINT_RELEASE || op==SAVEPOINT_ROLLBACK ); assert 3385 third_party/sqlite/src/src/btree.c assert( iSavepoint>=0 || (iSavepoint==-1 && op==SAVEPOINT_ROLLBACK) ); assert 3396 third_party/sqlite/src/src/btree.c assert( pBt->nPage>0 ); assert 3444 third_party/sqlite/src/src/btree.c assert( sqlite3BtreeHoldsMutex(p) ); assert 3445 third_party/sqlite/src/src/btree.c assert( wrFlag==0 || wrFlag==1 ); assert 3451 third_party/sqlite/src/src/btree.c assert( hasSharedCacheTableLock(p, iTable, pKeyInfo!=0, wrFlag+1) ); assert 3452 third_party/sqlite/src/src/btree.c assert( wrFlag==0 || !hasReadConflicts(p, iTable) ); assert 3455 third_party/sqlite/src/src/btree.c assert( p->inTrans>TRANS_NONE ); assert 3456 third_party/sqlite/src/src/btree.c assert( wrFlag==0 || p->inTrans==TRANS_WRITE ); assert 3457 third_party/sqlite/src/src/btree.c assert( pBt->pPage1 && pBt->pPage1->aData ); assert 3538 third_party/sqlite/src/src/btree.c assert( pCur->cachedRowid==iRowid ); assert 3602 third_party/sqlite/src/src/btree.c assert( memcmp(&info, &pCur->info, sizeof(info))==0 ); assert 3654 third_party/sqlite/src/src/btree.c assert( cursorHoldsMutex(pCur) ); assert 3655 third_party/sqlite/src/src/btree.c assert( pCur->eState==CURSOR_INVALID || pCur->eState==CURSOR_VALID ); assert 3678 third_party/sqlite/src/src/btree.c assert( cursorHoldsMutex(pCur) ); assert 3679 third_party/sqlite/src/src/btree.c assert( pCur->eState==CURSOR_VALID ); assert 3714 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 3715 third_party/sqlite/src/src/btree.c assert(pPgnoNext); assert 3743 third_party/sqlite/src/src/btree.c assert( next==0 || rc==SQLITE_DONE ); assert 3746 third_party/sqlite/src/src/btree.c assert( rc==SQLITE_OK || pPage==0 ); assert 3835 third_party/sqlite/src/src/btree.c assert( pPage ); assert 3836 third_party/sqlite/src/src/btree.c assert( pCur->eState==CURSOR_VALID ); assert 3837 third_party/sqlite/src/src/btree.c assert( pCur->aiIdx[pCur->iPage]<pPage->nCell ); assert 3838 third_party/sqlite/src/src/btree.c assert( cursorHoldsMutex(pCur) ); assert 3905 third_party/sqlite/src/src/btree.c assert(!pCur->aOverflow[iIdx] || pCur->aOverflow[iIdx]==nextPage); assert 3966 third_party/sqlite/src/src/btree.c assert( cursorHoldsMutex(pCur) ); assert 3967 third_party/sqlite/src/src/btree.c assert( pCur->eState==CURSOR_VALID ); assert 3968 third_party/sqlite/src/src/btree.c assert( pCur->iPage>=0 && pCur->apPage[pCur->iPage] ); assert 3969 third_party/sqlite/src/src/btree.c assert( pCur->aiIdx[pCur->iPage]<pCur->apPage[pCur->iPage]->nCell ); assert 3991 third_party/sqlite/src/src/btree.c assert( cursorHoldsMutex(pCur) ); assert 3994 third_party/sqlite/src/src/btree.c assert( pCur->eState==CURSOR_VALID ); assert 3995 third_party/sqlite/src/src/btree.c assert( pCur->iPage>=0 && pCur->apPage[pCur->iPage] ); assert 3996 third_party/sqlite/src/src/btree.c assert( pCur->aiIdx[pCur->iPage]<pCur->apPage[pCur->iPage]->nCell ); assert 4031 third_party/sqlite/src/src/btree.c assert( pCur!=0 && pCur->iPage>=0 && pCur->apPage[pCur->iPage]); assert 4032 third_party/sqlite/src/src/btree.c assert( pCur->eState==CURSOR_VALID ); assert 4033 third_party/sqlite/src/src/btree.c assert( cursorHoldsMutex(pCur) ); assert 4035 third_party/sqlite/src/src/btree.c assert( pCur->aiIdx[pCur->iPage]<pPage->nCell ); assert 4052 third_party/sqlite/src/src/btree.c assert( nLocal<=nKey ); assert 4075 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pCur->pBtree->db->mutex) ); assert 4076 third_party/sqlite/src/src/btree.c assert( cursorHoldsMutex(pCur) ); assert 4084 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pCur->pBtree->db->mutex) ); assert 4085 third_party/sqlite/src/src/btree.c assert( cursorHoldsMutex(pCur) ); assert 4108 third_party/sqlite/src/src/btree.c assert( cursorHoldsMutex(pCur) ); assert 4109 third_party/sqlite/src/src/btree.c assert( pCur->eState==CURSOR_VALID ); assert 4110 third_party/sqlite/src/src/btree.c assert( pCur->iPage<BTCURSOR_MAX_DEPTH ); assert 4137 third_party/sqlite/src/src/btree.c assert( iIdx<=pParent->nCell ); assert 4139 third_party/sqlite/src/src/btree.c assert( get4byte(&pParent->aData[pParent->hdrOffset+8])==iChild ); assert 4141 third_party/sqlite/src/src/btree.c assert( get4byte(findCell(pParent, iIdx))==iChild ); assert 4157 third_party/sqlite/src/src/btree.c assert( cursorHoldsMutex(pCur) ); assert 4158 third_party/sqlite/src/src/btree.c assert( pCur->eState==CURSOR_VALID ); assert 4159 third_party/sqlite/src/src/btree.c assert( pCur->iPage>0 ); assert 4160 third_party/sqlite/src/src/btree.c assert( pCur->apPage[pCur->iPage] ); assert 4199 third_party/sqlite/src/src/btree.c assert( cursorHoldsMutex(pCur) ); assert 4200 third_party/sqlite/src/src/btree.c assert( CURSOR_INVALID < CURSOR_REQUIRESEEK ); assert 4201 third_party/sqlite/src/src/btree.c assert( CURSOR_VALID < CURSOR_REQUIRESEEK ); assert 4202 third_party/sqlite/src/src/btree.c assert( CURSOR_FAULT > CURSOR_REQUIRESEEK ); assert 4205 third_party/sqlite/src/src/btree.c assert( pCur->skipNext!=SQLITE_OK ); assert 4229 third_party/sqlite/src/src/btree.c assert( pCur->apPage[0]->intKey==1 || pCur->apPage[0]->intKey==0 ); assert 4242 third_party/sqlite/src/src/btree.c assert( pRoot->pgno==pCur->pgnoRoot ); assert 4243 third_party/sqlite/src/src/btree.c assert( pRoot->isInit && (pCur->pKeyInfo==0)==pRoot->intKey ); assert 4274 third_party/sqlite/src/src/btree.c assert( cursorHoldsMutex(pCur) ); assert 4275 third_party/sqlite/src/src/btree.c assert( pCur->eState==CURSOR_VALID ); assert 4277 third_party/sqlite/src/src/btree.c assert( pCur->aiIdx[pCur->iPage]<pPage->nCell ); assert 4299 third_party/sqlite/src/src/btree.c assert( cursorHoldsMutex(pCur) ); assert 4300 third_party/sqlite/src/src/btree.c assert( pCur->eState==CURSOR_VALID ); assert 4321 third_party/sqlite/src/src/btree.c assert( cursorHoldsMutex(pCur) ); assert 4322 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pCur->pBtree->db->mutex) ); assert 4326 third_party/sqlite/src/src/btree.c assert( pCur->apPage[pCur->iPage]->nCell==0 ); assert 4329 third_party/sqlite/src/src/btree.c assert( pCur->apPage[pCur->iPage]->nCell>0 ); assert 4344 third_party/sqlite/src/src/btree.c assert( cursorHoldsMutex(pCur) ); assert 4345 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pCur->pBtree->db->mutex) ); assert 4354 third_party/sqlite/src/src/btree.c assert( pCur->aiIdx[ii]==pCur->apPage[ii]->nCell ); assert 4356 third_party/sqlite/src/src/btree.c assert( pCur->aiIdx[pCur->iPage]==pCur->apPage[pCur->iPage]->nCell-1 ); assert 4357 third_party/sqlite/src/src/btree.c assert( pCur->apPage[pCur->iPage]->leaf ); assert 4365 third_party/sqlite/src/src/btree.c assert( pCur->apPage[pCur->iPage]->nCell==0 ); assert 4368 third_party/sqlite/src/src/btree.c assert( pCur->eState==CURSOR_VALID ); assert 4414 third_party/sqlite/src/src/btree.c assert( cursorHoldsMutex(pCur) ); assert 4415 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pCur->pBtree->db->mutex) ); assert 4416 third_party/sqlite/src/src/btree.c assert( pRes ); assert 4417 third_party/sqlite/src/src/btree.c assert( (pIdxKey==0)==(pCur->pKeyInfo==0) ); assert 4438 third_party/sqlite/src/src/btree.c assert( pCur->apPage[pCur->iPage] ); assert 4439 third_party/sqlite/src/src/btree.c assert( pCur->apPage[pCur->iPage]->isInit ); assert 4440 third_party/sqlite/src/src/btree.c assert( pCur->apPage[pCur->iPage]->nCell>0 || pCur->eState==CURSOR_INVALID ); assert 4443 third_party/sqlite/src/src/btree.c assert( pCur->apPage[pCur->iPage]->nCell==0 ); assert 4446 third_party/sqlite/src/src/btree.c assert( pCur->apPage[0]->intKey || pIdxKey ); assert 4459 third_party/sqlite/src/src/btree.c assert( pPage->nCell>0 ); assert 4460 third_party/sqlite/src/src/btree.c assert( pPage->intKey==(pIdxKey==0) ); assert 4486 third_party/sqlite/src/src/btree.c assert( nCellKey>intKey ); assert 4556 third_party/sqlite/src/src/btree.c assert( lwr==upr+1 ); assert 4557 third_party/sqlite/src/src/btree.c assert( pPage->isInit ); assert 4566 third_party/sqlite/src/src/btree.c assert( pCur->aiIdx[pCur->iPage]<pCur->apPage[pCur->iPage]->nCell ); assert 4608 third_party/sqlite/src/src/btree.c assert( cursorHoldsMutex(pCur) ); assert 4613 third_party/sqlite/src/src/btree.c assert( pRes!=0 ); assert 4627 third_party/sqlite/src/src/btree.c assert( pPage->isInit ); assert 4628 third_party/sqlite/src/src/btree.c assert( idx<=pPage->nCell ); assert 4676 third_party/sqlite/src/src/btree.c assert( cursorHoldsMutex(pCur) ); assert 4694 third_party/sqlite/src/src/btree.c assert( pPage->isInit ); assert 4762 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 4782 third_party/sqlite/src/src/btree.c assert( nearby>0 ); assert 4783 third_party/sqlite/src/src/btree.c assert( pBt->autoVacuum ); assert 4827 third_party/sqlite/src/src/btree.c assert( pPrevTrunk==0 ); assert 4846 third_party/sqlite/src/src/btree.c assert( *pPgno==iTrunk ); assert 4889 third_party/sqlite/src/src/btree.c assert( sqlite3PagerIswriteable(pPage1->pDbPage) ); assert 4972 third_party/sqlite/src/src/btree.c assert( pBt->nPage!=PENDING_BYTE_PAGE(pBt) ); assert 4986 third_party/sqlite/src/src/btree.c assert( *pPgno!=PENDING_BYTE_PAGE(pBt) ); assert 4996 third_party/sqlite/src/src/btree.c assert( *pPgno!=PENDING_BYTE_PAGE(pBt) ); assert 5010 third_party/sqlite/src/src/btree.c assert( rc!=SQLITE_OK || sqlite3PagerIswriteable((*ppPage)->pDbPage) ); assert 5034 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 5035 third_party/sqlite/src/src/btree.c assert( iPage>1 ); assert 5036 third_party/sqlite/src/src/btree.c assert( !pMemPage || pMemPage->pgno==iPage ); assert 5088 third_party/sqlite/src/src/btree.c assert( pBt->usableSize>32 ); assert 5165 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pPage->pBt->mutex) ); assert 5171 third_party/sqlite/src/src/btree.c assert( pBt->usableSize > 4 ); assert 5174 third_party/sqlite/src/src/btree.c assert( ovflPgno==0 || nOvfl>0 ); assert 5249 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pPage->pBt->mutex) ); assert 5253 third_party/sqlite/src/src/btree.c assert( pCell<pPage->aData || pCell>=&pPage->aData[pBt->pageSize] assert 5268 third_party/sqlite/src/src/btree.c assert( info.nHeader==nHeader ); assert 5269 third_party/sqlite/src/src/btree.c assert( info.nKey==nKey ); assert 5270 third_party/sqlite/src/src/btree.c assert( info.nData==(u32)(nData+nZero) ); assert 5330 third_party/sqlite/src/src/btree.c assert( pToRelease==0 || sqlite3PagerIswriteable(pToRelease->pDbPage) ); assert 5334 third_party/sqlite/src/src/btree.c assert( pPrior<pPage->aData || pPrior>=&pPage->aData[pBt->pageSize] assert 5350 third_party/sqlite/src/src/btree.c assert( pToRelease==0 || sqlite3PagerIswriteable(pToRelease->pDbPage) ); assert 5354 third_party/sqlite/src/src/btree.c assert( pPayload<pPage->aData || pPayload>=&pPage->aData[pBt->pageSize] assert 5359 third_party/sqlite/src/src/btree.c assert( pSrc ); assert 5396 third_party/sqlite/src/src/btree.c assert( idx>=0 && idx<pPage->nCell ); assert 5397 third_party/sqlite/src/src/btree.c assert( sz==cellSize(pPage, idx) ); assert 5398 third_party/sqlite/src/src/btree.c assert( sqlite3PagerIswriteable(pPage->pDbPage) ); assert 5399 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pPage->pBt->mutex) ); assert 5462 third_party/sqlite/src/src/btree.c assert( i>=0 && i<=pPage->nCell+pPage->nOverflow ); assert 5463 third_party/sqlite/src/src/btree.c assert( pPage->nCell<=MX_CELL(pPage->pBt) && MX_CELL(pPage->pBt)<=10921 ); assert 5464 third_party/sqlite/src/src/btree.c assert( pPage->nOverflow<=ArraySize(pPage->aOvfl) ); assert 5465 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pPage->pBt->mutex) ); assert 5471 third_party/sqlite/src/src/btree.c assert( sz==cellSizePtr(pPage, pCell) || (sz==8 && iChild>0) ); assert 5481 third_party/sqlite/src/src/btree.c assert( j<(int)(sizeof(pPage->aOvfl)/sizeof(pPage->aOvfl[0])) ); assert 5490 third_party/sqlite/src/src/btree.c assert( sqlite3PagerIswriteable(pPage->pDbPage) ); assert 5499 third_party/sqlite/src/src/btree.c assert( idx >= end+2 ); assert 5500 third_party/sqlite/src/src/btree.c assert( idx+sz <= (int)pPage->pBt->usableSize ); assert 5541 third_party/sqlite/src/src/btree.c assert( pPage->nOverflow==0 ); assert 5542 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pPage->pBt->mutex) ); assert 5543 third_party/sqlite/src/src/btree.c assert( nCell>=0 && nCell<=(int)MX_CELL(pPage->pBt) assert 5545 third_party/sqlite/src/src/btree.c assert( sqlite3PagerIswriteable(pPage->pDbPage) ); assert 5548 third_party/sqlite/src/src/btree.c assert( pPage->nCell==0 ); assert 5549 third_party/sqlite/src/src/btree.c assert( get2byteNotZero(&data[hdr+5])==nUsable ); assert 5611 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pPage->pBt->mutex) ); assert 5612 third_party/sqlite/src/src/btree.c assert( sqlite3PagerIswriteable(pParent->pDbPage) ); assert 5613 third_party/sqlite/src/src/btree.c assert( pPage->nOverflow==1 ); assert 5631 third_party/sqlite/src/src/btree.c assert( sqlite3PagerIswriteable(pNew->pDbPage) ); assert 5632 third_party/sqlite/src/src/btree.c assert( pPage->aData[0]==(PTF_INTKEY|PTF_LEAFDATA|PTF_LEAF) ); assert 5699 third_party/sqlite/src/src/btree.c assert( pPage->isInit ); assert 5710 third_party/sqlite/src/src/btree.c assert( n==pPage->pgno && e==PTRMAP_OVERFLOW1 ); assert 5715 third_party/sqlite/src/src/btree.c assert( n==pPage->pgno && e==PTRMAP_BTREE ); assert 5721 third_party/sqlite/src/src/btree.c assert( n==pPage->pgno && e==PTRMAP_BTREE ); assert 5756 third_party/sqlite/src/src/btree.c assert( pFrom->isInit ); assert 5757 third_party/sqlite/src/src/btree.c assert( pFrom->nFree>=iToHdr ); assert 5758 third_party/sqlite/src/src/btree.c assert( get2byte(&aFrom[iFromHdr+5]) <= (int)pBt->usableSize ); assert 5861 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 5862 third_party/sqlite/src/src/btree.c assert( sqlite3PagerIswriteable(pParent->pDbPage) ); assert 5873 third_party/sqlite/src/src/btree.c assert( pParent->nOverflow==0 || pParent->nOverflow==1 ); assert 5874 third_party/sqlite/src/src/btree.c assert( pParent->nOverflow==0 || pParent->aOvfl[0].idx==iParentIdx ); assert 5978 third_party/sqlite/src/src/btree.c assert( EIGHT_BYTE_ALIGNMENT(aSpace1) ); assert 6012 third_party/sqlite/src/src/btree.c assert( nCell<nMaxCells ); assert 6020 third_party/sqlite/src/src/btree.c assert( nCell<nMaxCells ); assert 6024 third_party/sqlite/src/src/btree.c assert( sz<=pBt->maxLocal+23 ); assert 6025 third_party/sqlite/src/src/btree.c assert( iSpace1 <= (int)pBt->pageSize ); assert 6028 third_party/sqlite/src/src/btree.c assert( leafCorrection==0 || leafCorrection==4 ); assert 6031 third_party/sqlite/src/src/btree.c assert( leafCorrection==0 ); assert 6032 third_party/sqlite/src/src/btree.c assert( pOld->hdrOffset==0 ); assert 6037 third_party/sqlite/src/src/btree.c assert( leafCorrection==4 ); assert 6065 third_party/sqlite/src/src/btree.c assert( i<nMaxCells ); assert 6098 third_party/sqlite/src/src/btree.c assert( d<nMaxCells ); assert 6099 third_party/sqlite/src/src/btree.c assert( r<nMaxCells ); assert 6115 third_party/sqlite/src/src/btree.c assert( cntNew[0]>0 || (pParent->pgno==1 && pParent->nCell==0) ); assert 6140 third_party/sqlite/src/src/btree.c assert( i>0 ); assert 6203 third_party/sqlite/src/src/btree.c assert( sqlite3PagerIswriteable(pParent->pDbPage) ); assert 6214 third_party/sqlite/src/src/btree.c assert( j<nMaxCells ); assert 6217 third_party/sqlite/src/src/btree.c assert( pNew->nCell>0 || (nNew==1 && cntNew[0]==0) ); assert 6218 third_party/sqlite/src/src/btree.c assert( pNew->nOverflow==0 ); assert 6225 third_party/sqlite/src/src/btree.c assert( i<nNew-1 || j==nCell ); assert 6231 third_party/sqlite/src/src/btree.c assert( j<nMaxCells ); assert 6263 third_party/sqlite/src/src/btree.c assert(leafCorrection==4); assert 6268 third_party/sqlite/src/src/btree.c assert( sz<=pBt->maxLocal+23 ); assert 6269 third_party/sqlite/src/src/btree.c assert( iOvflSpace <= (int)pBt->pageSize ); assert 6272 third_party/sqlite/src/src/btree.c assert( sqlite3PagerIswriteable(pParent->pDbPage) ); assert 6278 third_party/sqlite/src/src/btree.c assert( j==nCell ); assert 6279 third_party/sqlite/src/src/btree.c assert( nOld>0 ); assert 6280 third_party/sqlite/src/src/btree.c assert( nNew>0 ); assert 6301 third_party/sqlite/src/src/btree.c assert( nNew==1 ); assert 6302 third_party/sqlite/src/src/btree.c assert( apNew[0]->nFree == assert 6361 third_party/sqlite/src/src/btree.c assert(nOverflow>0 || iOverflow<i ); assert 6362 third_party/sqlite/src/src/btree.c assert(nOverflow<2 || pOld->aOvfl[0].idx==pOld->aOvfl[1].idx-1); assert 6363 third_party/sqlite/src/src/btree.c assert(nOverflow<3 || pOld->aOvfl[1].idx==pOld->aOvfl[2].idx-1); assert 6378 third_party/sqlite/src/src/btree.c assert( j<nOld ); assert 6379 third_party/sqlite/src/src/btree.c assert( k<nNew ); assert 6412 third_party/sqlite/src/src/btree.c assert( pParent->isInit ); assert 6457 third_party/sqlite/src/src/btree.c assert( pRoot->nOverflow>0 ); assert 6458 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 6477 third_party/sqlite/src/src/btree.c assert( sqlite3PagerIswriteable(pChild->pDbPage) ); assert 6478 third_party/sqlite/src/src/btree.c assert( sqlite3PagerIswriteable(pRoot->pDbPage) ); assert 6479 third_party/sqlite/src/src/btree.c assert( pChild->nCell==pRoot->nCell ); assert 6525 third_party/sqlite/src/src/btree.c assert( (balance_deeper_called++)==0 ); assert 6531 third_party/sqlite/src/src/btree.c assert( pCur->apPage[1]->nOverflow ); assert 6564 third_party/sqlite/src/src/btree.c assert( (balance_quick_called++)==0 ); assert 6659 third_party/sqlite/src/src/btree.c assert( pCur->skipNext!=SQLITE_OK ); assert 6663 third_party/sqlite/src/src/btree.c assert( cursorHoldsMutex(pCur) ); assert 6664 third_party/sqlite/src/src/btree.c assert( pCur->wrFlag && pBt->inTransaction==TRANS_WRITE && !pBt->readOnly ); assert 6665 third_party/sqlite/src/src/btree.c assert( hasSharedCacheTableLock(p, pCur->pgnoRoot, pCur->pKeyInfo!=0, 2) ); assert 6672 third_party/sqlite/src/src/btree.c assert( (pKey==0)==(pCur->pKeyInfo==0) ); assert 6698 third_party/sqlite/src/src/btree.c assert( pCur->eState==CURSOR_VALID || (pCur->eState==CURSOR_INVALID && loc) ); assert 6701 third_party/sqlite/src/src/btree.c assert( pPage->intKey || nKey>=0 ); assert 6702 third_party/sqlite/src/src/btree.c assert( pPage->leaf || !pPage->intKey ); assert 6707 third_party/sqlite/src/src/btree.c assert( pPage->isInit ); assert 6713 third_party/sqlite/src/src/btree.c assert( szNew==cellSizePtr(pPage, newCell) ); assert 6714 third_party/sqlite/src/src/btree.c assert( szNew <= MX_CELL_SIZE(pBt) ); assert 6718 third_party/sqlite/src/src/btree.c assert( idx<pPage->nCell ); assert 6732 third_party/sqlite/src/src/btree.c assert( pPage->leaf ); assert 6735 third_party/sqlite/src/src/btree.c assert( pPage->leaf ); assert 6738 third_party/sqlite/src/src/btree.c assert( rc!=SQLITE_OK || pPage->nCell>0 || pPage->nOverflow>0 ); assert 6772 third_party/sqlite/src/src/btree.c assert( pCur->apPage[pCur->iPage]->nOverflow==0 ); assert 6791 third_party/sqlite/src/src/btree.c assert( cursorHoldsMutex(pCur) ); assert 6792 third_party/sqlite/src/src/btree.c assert( pBt->inTransaction==TRANS_WRITE ); assert 6793 third_party/sqlite/src/src/btree.c assert( !pBt->readOnly ); assert 6794 third_party/sqlite/src/src/btree.c assert( pCur->wrFlag ); assert 6795 third_party/sqlite/src/src/btree.c assert( hasSharedCacheTableLock(p, pCur->pgnoRoot, pCur->pKeyInfo!=0, 2) ); assert 6796 third_party/sqlite/src/src/btree.c assert( !hasReadConflicts(p, pCur->pgnoRoot) ); assert 6854 third_party/sqlite/src/src/btree.c assert( MX_CELL_SIZE(pBt) >= nCell ); assert 6912 third_party/sqlite/src/src/btree.c assert( sqlite3BtreeHoldsMutex(p) ); assert 6913 third_party/sqlite/src/src/btree.c assert( pBt->inTransaction==TRANS_WRITE ); assert 6914 third_party/sqlite/src/src/btree.c assert( !pBt->readOnly ); assert 6947 third_party/sqlite/src/src/btree.c assert( pgnoRoot>=3 ); assert 6983 third_party/sqlite/src/src/btree.c assert( eType!=PTRMAP_ROOTPAGE ); assert 6984 third_party/sqlite/src/src/btree.c assert( eType!=PTRMAP_FREEPAGE ); assert 7016 third_party/sqlite/src/src/btree.c assert( sqlite3PagerIswriteable(pBt->pPage1->pDbPage) ); assert 7028 third_party/sqlite/src/src/btree.c assert( sqlite3PagerIswriteable(pRoot->pDbPage) ); assert 7036 third_party/sqlite/src/src/btree.c assert( (pBt->openFlags & BTREE_SINGLE)==0 || pgnoRoot==2 ); assert 7063 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pBt->mutex) ); assert 7083 third_party/sqlite/src/src/btree.c assert( pPage->intKey ); assert 7114 third_party/sqlite/src/src/btree.c assert( p->inTrans==TRANS_WRITE ); assert 7154 third_party/sqlite/src/src/btree.c assert( sqlite3BtreeHoldsMutex(p) ); assert 7155 third_party/sqlite/src/src/btree.c assert( p->inTrans==TRANS_WRITE ); assert 7234 third_party/sqlite/src/src/btree.c assert( maxRootPgno!=PENDING_BYTE_PAGE(pBt) ); assert 7278 third_party/sqlite/src/src/btree.c assert( p->inTrans>TRANS_NONE ); assert 7279 third_party/sqlite/src/src/btree.c assert( SQLITE_OK==querySharedCacheTableLock(p, MASTER_ROOT, READ_LOCK) ); assert 7280 third_party/sqlite/src/src/btree.c assert( pBt->pPage1 ); assert 7281 third_party/sqlite/src/src/btree.c assert( idx>=0 && idx<=15 ); assert 7302 third_party/sqlite/src/src/btree.c assert( idx>=1 && idx<=15 ); assert 7304 third_party/sqlite/src/src/btree.c assert( p->inTrans==TRANS_WRITE ); assert 7305 third_party/sqlite/src/src/btree.c assert( pBt->pPage1!=0 ); assert 7312 third_party/sqlite/src/src/btree.c assert( pBt->autoVacuum || iMeta==0 ); assert 7313 third_party/sqlite/src/src/btree.c assert( iMeta==0 || iMeta==1 ); assert 7610 third_party/sqlite/src/src/btree.c assert( rc==SQLITE_CORRUPT ); /* The only possible error from InitPage */ assert 7643 third_party/sqlite/src/src/btree.c assert( sz==info.nPayload ); assert 7731 third_party/sqlite/src/src/btree.c assert( contentOffset<=usableSize ); /* Enforced by btreeInitPage() */ assert 7753 third_party/sqlite/src/src/btree.c assert( i<=usableSize-4 ); /* Enforced by btreeInitPage() */ assert 7755 third_party/sqlite/src/src/btree.c assert( i+size<=usableSize ); /* Enforced by btreeInitPage() */ assert 7758 third_party/sqlite/src/src/btree.c assert( j==0 || j>i+size ); /* Enforced by btreeInitPage() */ assert 7759 third_party/sqlite/src/src/btree.c assert( j<=usableSize-4 ); /* Enforced by btreeInitPage() */ assert 7811 third_party/sqlite/src/src/btree.c assert( p->inTrans>TRANS_NONE && pBt->inTransaction>TRANS_NONE ); assert 7910 third_party/sqlite/src/src/btree.c assert( p->pBt->pPager!=0 ); assert 7923 third_party/sqlite/src/src/btree.c assert( p->pBt->pPager!=0 ); assert 7931 third_party/sqlite/src/src/btree.c assert( p==0 || sqlite3_mutex_held(p->db->mutex) ); assert 7964 third_party/sqlite/src/src/btree.c assert( p ); assert 7965 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(p->db->mutex) ); assert 7970 third_party/sqlite/src/src/btree.c assert( p ); assert 7971 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(p->db->mutex) ); assert 8013 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(p->db->mutex) ); assert 8016 third_party/sqlite/src/src/btree.c assert( rc==SQLITE_OK || rc==SQLITE_LOCKED_SHAREDCACHE ); assert 8030 third_party/sqlite/src/src/btree.c assert( p->inTrans!=TRANS_NONE ); assert 8033 third_party/sqlite/src/src/btree.c assert( READ_LOCK+1==WRITE_LOCK ); assert 8034 third_party/sqlite/src/src/btree.c assert( isWriteLock==0 || isWriteLock==1 ); assert 8060 third_party/sqlite/src/src/btree.c assert( cursorHoldsMutex(pCsr) ); assert 8061 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pCsr->pBtree->db->mutex) ); assert 8062 third_party/sqlite/src/src/btree.c assert( pCsr->isIncrblobHandle ); assert 8068 third_party/sqlite/src/src/btree.c assert( pCsr->eState!=CURSOR_REQUIRESEEK ); assert 8083 third_party/sqlite/src/src/btree.c assert( !pCsr->pBt->readOnly && pCsr->pBt->inTransaction==TRANS_WRITE ); assert 8084 third_party/sqlite/src/src/btree.c assert( hasSharedCacheTableLock(pCsr->pBtree, pCsr->pgnoRoot, 0, 2) ); assert 8085 third_party/sqlite/src/src/btree.c assert( !hasReadConflicts(pCsr->pBtree, pCsr->pgnoRoot) ); assert 8086 third_party/sqlite/src/src/btree.c assert( pCsr->apPage[pCsr->iPage]->intKey ); assert 8102 third_party/sqlite/src/src/btree.c assert( cursorHoldsMutex(pCur) ); assert 8103 third_party/sqlite/src/src/btree.c assert( sqlite3_mutex_held(pCur->pBtree->db->mutex) ); assert 8118 third_party/sqlite/src/src/btree.c assert( pBtree->inTrans==TRANS_NONE ); assert 8119 third_party/sqlite/src/src/btree.c assert( iVersion==1 || iVersion==2 ); assert 603 third_party/sqlite/src/src/btreeInt.h assert( p->pBt->inTransaction!=TRANS_NONE || p->pBt->nTransaction==0 ); \ assert 604 third_party/sqlite/src/src/btreeInt.h assert( p->pBt->inTransaction>=p->inTrans ); assert 69 third_party/sqlite/src/src/build.c assert( iDb>=0 ); assert 103 third_party/sqlite/src/src/build.c assert( pVdbe!=0 ); /* sqlite3GetVdbe cannot fail: VDBE already allocated */ assert 139 third_party/sqlite/src/src/build.c assert( !pParse->isMultiWrite assert 159 third_party/sqlite/src/src/build.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 199 third_party/sqlite/src/src/build.c assert( pParse->iCacheLevel==0 ); /* Disables and re-enables match */ assert 240 third_party/sqlite/src/src/build.c assert( pParse->nested<10 ); /* Nesting should only be of limited depth */ assert 273 third_party/sqlite/src/src/build.c assert( zName!=0 ); assert 276 third_party/sqlite/src/src/build.c assert( zDatabase!=0 || sqlite3BtreeHoldsAllMutexes(db) ); assert 280 third_party/sqlite/src/src/build.c assert( sqlite3SchemaMutexHeld(db, j, 0) ); assert 341 third_party/sqlite/src/src/build.c assert( zDb!=0 || sqlite3BtreeHoldsAllMutexes(db) ); assert 345 third_party/sqlite/src/src/build.c assert( pSchema ); assert 347 third_party/sqlite/src/src/build.c assert( sqlite3SchemaMutexHeld(db, j, 0) ); assert 376 third_party/sqlite/src/src/build.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 411 third_party/sqlite/src/src/build.c assert( iDb<db->nDb ); assert 416 third_party/sqlite/src/src/build.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 417 third_party/sqlite/src/src/build.c assert( pDb->pSchema!=0 ); assert 426 third_party/sqlite/src/src/build.c assert( pDb->pSchema!=0 ); assert 433 third_party/sqlite/src/src/build.c assert( iDb<0 ); assert 486 third_party/sqlite/src/src/build.c assert( pTable!=0 ); assert 511 third_party/sqlite/src/src/build.c assert( !pTable || pTable->nRef>0 ); assert 520 third_party/sqlite/src/src/build.c assert( pIndex->pSchema==pTable->pSchema ); assert 526 third_party/sqlite/src/src/build.c assert( db==0 || sqlite3SchemaMutexHeld(db, 0, pIndex->pSchema) ); assert 527 third_party/sqlite/src/src/build.c assert( pOld==pIndex || pOld==0 ); assert 558 third_party/sqlite/src/src/build.c assert( db!=0 ); assert 559 third_party/sqlite/src/src/build.c assert( iDb>=0 && iDb<db->nDb ); assert 560 third_party/sqlite/src/src/build.c assert( zTabName ); assert 561 third_party/sqlite/src/src/build.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 683 third_party/sqlite/src/src/build.c assert( db->init.iDb==0 || db->init.busy ); assert 774 third_party/sqlite/src/src/build.c assert( (isTemp & 1)==isTemp ); assert 817 third_party/sqlite/src/src/build.c assert( !db->init.busy ); assert 840 third_party/sqlite/src/src/build.c assert( pParse->pNewTable==0 ); assert 849 third_party/sqlite/src/src/build.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 1079 third_party/sqlite/src/src/build.c assert( pCol->zType==0 ); assert 1177 third_party/sqlite/src/src/build.c assert( autoInc==0 || autoInc==1 ); assert 1242 third_party/sqlite/src/src/build.c assert( pIdx->nColumn==1 ); assert 1310 third_party/sqlite/src/src/build.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 1417 third_party/sqlite/src/src/build.c assert( pCol->affinity-SQLITE_AFF_TEXT >= 0 ); assert 1418 third_party/sqlite/src/src/build.c assert( pCol->affinity-SQLITE_AFF_TEXT < ArraySize(azType) ); assert 1427 third_party/sqlite/src/src/build.c assert( pCol->affinity==SQLITE_AFF_NONE assert 1431 third_party/sqlite/src/src/build.c assert( k<=n ); assert 1473 third_party/sqlite/src/src/build.c assert( !db->init.busy || !pSelect ); assert 1559 third_party/sqlite/src/src/build.c assert(pParse->nTab==1); assert 1569 third_party/sqlite/src/src/build.c assert( p->aCol==0 ); assert 1613 third_party/sqlite/src/src/build.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 1634 third_party/sqlite/src/src/build.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 1638 third_party/sqlite/src/src/build.c assert( p==pOld ); /* Malloc must have failed inside HashInsert() */ assert 1650 third_party/sqlite/src/src/build.c assert( !pSelect && pCons && pEnd ); assert 1751 third_party/sqlite/src/src/build.c assert( pTable ); assert 1785 third_party/sqlite/src/src/build.c assert( pTable->nCol>=0 ); assert 1794 third_party/sqlite/src/src/build.c assert( pTable->pSelect ); assert 1813 third_party/sqlite/src/src/build.c assert( pTable->aCol==0 ); assert 1819 third_party/sqlite/src/src/build.c assert( sqlite3SchemaMutexHeld(db, 0, pTable->pSchema) ); assert 1840 third_party/sqlite/src/src/build.c assert( sqlite3SchemaMutexHeld(db, idx, 0) ); assert 1879 third_party/sqlite/src/src/build.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 1969 third_party/sqlite/src/src/build.c assert( pIdx->pSchema==pTab->pSchema ); assert 1998 third_party/sqlite/src/src/build.c assert( pParse->nErr==0 ); assert 1999 third_party/sqlite/src/src/build.c assert( pName->nSrc==1 ); assert 2010 third_party/sqlite/src/src/build.c assert( iDb>=0 && iDb<db->nDb ); assert 2094 third_party/sqlite/src/src/build.c assert( pTrigger->pSchema==pTab->pSchema || assert 2184 third_party/sqlite/src/src/build.c assert( pTo!=0 ); assert 2255 third_party/sqlite/src/src/build.c assert( sqlite3SchemaMutexHeld(db, 0, p->pSchema) ); assert 2264 third_party/sqlite/src/src/build.c assert( pNextTo->pPrevTo==0 ); assert 2293 third_party/sqlite/src/src/build.c assert( isDeferred==0 || isDeferred==1 ); /* EV: R-30323-21917 */ assert 2423 third_party/sqlite/src/src/build.c assert( pStart==0 || pEnd!=0 ); /* pEnd must be non-NULL if pStart is */ assert 2424 third_party/sqlite/src/src/build.c assert( pParse->nErr==0 ); /* Never called with prior errors */ assert 2441 third_party/sqlite/src/src/build.c assert( pName1 && pName2 ); assert 2463 third_party/sqlite/src/src/build.c assert(0); assert 2468 third_party/sqlite/src/src/build.c assert( db->aDb[iDb].pSchema==pTab->pSchema ); assert 2470 third_party/sqlite/src/src/build.c assert( pName==0 ); assert 2477 third_party/sqlite/src/src/build.c assert( pTab!=0 ); assert 2478 third_party/sqlite/src/src/build.c assert( pParse->nErr==0 ); assert 2526 third_party/sqlite/src/src/build.c assert( !db->init.busy ); assert 2614 third_party/sqlite/src/src/build.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 2659 third_party/sqlite/src/src/build.c assert( nExtra>=nColl ); assert 2704 third_party/sqlite/src/src/build.c assert( pIdx->onError!=OE_None ); assert 2705 third_party/sqlite/src/src/build.c assert( pIdx->autoIndex ); assert 2706 third_party/sqlite/src/src/build.c assert( pIndex->onError!=OE_None ); assert 2744 third_party/sqlite/src/src/build.c assert( sqlite3SchemaMutexHeld(db, 0, pIndex->pSchema) ); assert 2749 third_party/sqlite/src/src/build.c assert( p==pIndex ); /* Malloc must have failed */ assert 2792 third_party/sqlite/src/src/build.c assert( pEnd!=0 ); assert 2886 third_party/sqlite/src/src/build.c assert( a!=0 ); assert 2909 third_party/sqlite/src/src/build.c assert( pParse->nErr==0 ); /* Never called with prior errors */ assert 2913 third_party/sqlite/src/src/build.c assert( pName->nSrc==1 ); assert 3101 third_party/sqlite/src/src/build.c assert( iStart>=0 ); assert 3102 third_party/sqlite/src/src/build.c assert( nExtra>=1 ); assert 3103 third_party/sqlite/src/src/build.c assert( pSrc!=0 ); assert 3104 third_party/sqlite/src/src/build.c assert( iStart<=pSrc->nSrc ); assert 3114 third_party/sqlite/src/src/build.c assert( db->mallocFailed ); assert 3181 third_party/sqlite/src/src/build.c assert( pDatabase==0 || pTable!=0 ); /* Cannot have C without B */ assert 3212 third_party/sqlite/src/src/build.c assert(pList || pParse->db->mallocFailed ); assert 3283 third_party/sqlite/src/src/build.c assert( pAlias!=0 ); assert 3293 third_party/sqlite/src/src/build.c assert( p==0 ); assert 3305 third_party/sqlite/src/src/build.c assert( pIndexedBy!=0 ); assert 3308 third_party/sqlite/src/src/build.c assert( pItem->notIndexed==0 && pItem->zIndex==0 ); assert 3352 third_party/sqlite/src/src/build.c assert( pParse!=0 ); assert 3354 third_party/sqlite/src/src/build.c assert( db!=0 ); assert 3377 third_party/sqlite/src/src/build.c assert( pParse!=0 ); assert 3379 third_party/sqlite/src/src/build.c assert( db!=0 ); assert 3397 third_party/sqlite/src/src/build.c assert( pParse!=0 ); assert 3399 third_party/sqlite/src/src/build.c assert( db!=0 ); assert 3420 third_party/sqlite/src/src/build.c assert( !SAVEPOINT_BEGIN && SAVEPOINT_RELEASE==1 && SAVEPOINT_ROLLBACK==2 ); assert 3454 third_party/sqlite/src/src/build.c assert( db->aDb[1].pSchema ); assert 3497 third_party/sqlite/src/src/build.c assert( iDb<db->nDb ); assert 3498 third_party/sqlite/src/src/build.c assert( db->aDb[iDb].pBt!=0 || iDb==1 ); assert 3499 third_party/sqlite/src/src/build.c assert( iDb<SQLITE_MAX_ATTACHED+2 ); assert 3500 third_party/sqlite/src/src/build.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 3600 third_party/sqlite/src/src/build.c assert( zColl!=0 ); assert 3603 third_party/sqlite/src/src/build.c assert( z!=0 ); assert 3643 third_party/sqlite/src/src/build.c assert( sqlite3BtreeHoldsAllMutexes(db) ); /* Needed for schema access */ assert 3645 third_party/sqlite/src/src/build.c assert( pDb!=0 ); assert 3689 third_party/sqlite/src/src/build.c assert( pName1->z ); assert 3742 third_party/sqlite/src/src/build.c assert( &pKey->aSortOrder[nCol]==&(((u8 *)pKey)[nBytes]) ); assert 3745 third_party/sqlite/src/src/build.c assert( zColl ); assert 24 third_party/sqlite/src/src/callback.c assert( !db->xCollNeeded || !db->xCollNeeded16 ); assert 104 third_party/sqlite/src/src/callback.c assert( !p || p->xCmp ); assert 129 third_party/sqlite/src/src/callback.c assert( p==pColl ); assert 176 third_party/sqlite/src/src/callback.c assert( pDel==0 || pDel==pColl ); assert 214 third_party/sqlite/src/src/callback.c assert( SQLITE_UTF8==1 && SQLITE_UTF16LE==2 && SQLITE_UTF16BE==3 ); assert 215 third_party/sqlite/src/src/callback.c assert( enc>=SQLITE_UTF8 && enc<=SQLITE_UTF16BE ); assert 293 third_party/sqlite/src/src/callback.c assert( pOther!=pDef && pOther->pNext!=pDef ); assert 339 third_party/sqlite/src/src/callback.c assert( enc==SQLITE_UTF8 || enc==SQLITE_UTF16LE || enc==SQLITE_UTF16BE ); assert 34 third_party/sqlite/src/src/delete.c assert( pItem && pSrc->nSrc==1 ); assert 106 third_party/sqlite/src/src/delete.c assert( pFrom->nSrc==1 ); assert 109 third_party/sqlite/src/src/delete.c assert( pFrom->a[0].pOn==0 ); assert 110 third_party/sqlite/src/src/delete.c assert( pFrom->a[0].pUsing==0 ); assert 160 third_party/sqlite/src/src/delete.c assert( pOffset == 0 ); assert 253 third_party/sqlite/src/src/delete.c assert( pTabList->nSrc==1 ); assert 288 third_party/sqlite/src/src/delete.c assert( iDb<db->nDb ); assert 291 third_party/sqlite/src/src/delete.c assert( rcauth==SQLITE_OK || rcauth==SQLITE_DENY || rcauth==SQLITE_IGNORE ); assert 295 third_party/sqlite/src/src/delete.c assert(!isView || pTrigger); assert 299 third_party/sqlite/src/src/delete.c assert( pTabList->nSrc==1 ); assert 354 third_party/sqlite/src/src/delete.c assert( !isView ); assert 358 third_party/sqlite/src/src/delete.c assert( pIdx->pSchema==pTab->pSchema ); assert 492 third_party/sqlite/src/src/delete.c assert( v ); assert 36 third_party/sqlite/src/src/expr.c assert( pExpr->flags&EP_xIsSelect ); assert 41 third_party/sqlite/src/src/expr.c assert( !ExprHasProperty(pExpr, EP_IntValue) ); assert 52 third_party/sqlite/src/src/expr.c assert( pExpr->pTab && j<pExpr->pTab->nCol ); assert 149 third_party/sqlite/src/src/expr.c assert( aff1==0 || aff2==0 ); assert 160 third_party/sqlite/src/src/expr.c assert( pExpr->op==TK_EQ || pExpr->op==TK_IN || pExpr->op==TK_LT || assert 163 third_party/sqlite/src/src/expr.c assert( pExpr->pLeft ); assert 221 third_party/sqlite/src/src/expr.c assert( pLeft ); assert 223 third_party/sqlite/src/src/expr.c assert( pLeft->pColl ); assert 226 third_party/sqlite/src/src/expr.c assert( pRight->pColl ); assert 392 third_party/sqlite/src/src/expr.c assert( iValue>=0 ); assert 450 third_party/sqlite/src/src/expr.c assert( db->mallocFailed ); assert 517 third_party/sqlite/src/src/expr.c assert( pToken ); assert 524 third_party/sqlite/src/src/expr.c assert( !ExprHasProperty(pNew, EP_xIsSelect) ); assert 550 third_party/sqlite/src/src/expr.c assert( !ExprHasAnyProperty(pExpr, EP_IntValue|EP_Reduced|EP_TokenOnly) ); assert 552 third_party/sqlite/src/src/expr.c assert( z!=0 ); assert 553 third_party/sqlite/src/src/expr.c assert( z[0]!=0 ); assert 556 third_party/sqlite/src/src/expr.c assert( z[0]=='?' ); assert 583 third_party/sqlite/src/src/expr.c assert( pE!=0 ); assert 601 third_party/sqlite/src/src/expr.c assert( pParse->apVarExpr!=0 ); assert 617 third_party/sqlite/src/src/expr.c assert( !ExprHasProperty(p, EP_IntValue) || p->u.iValue>=0 ); assert 682 third_party/sqlite/src/src/expr.c assert( flags==EXPRDUP_REDUCE || flags==0 ); /* Only one flag value allowed */ assert 686 third_party/sqlite/src/src/expr.c assert( !ExprHasAnyProperty(p, EP_TokenOnly|EP_Reduced) ); assert 687 third_party/sqlite/src/src/expr.c assert( !ExprHasProperty(p, EP_FromJoin) ); assert 688 third_party/sqlite/src/src/expr.c assert( (p->flags2 & EP2_MallocedToken)==0 ); assert 689 third_party/sqlite/src/src/expr.c assert( (p->flags2 & EP2_Irreducible)==0 ); assert 751 third_party/sqlite/src/src/expr.c assert( pzBuffer==0 || isReduced ); assert 777 third_party/sqlite/src/src/expr.c assert( ExprHasProperty(p, EP_Reduced)==0 ); assert 965 third_party/sqlite/src/src/expr.c assert( p==0 ); assert 990 third_party/sqlite/src/src/expr.c assert( pList->nAlloc==0 ); assert 1002 third_party/sqlite/src/src/expr.c assert( pList->a!=0 ); assert 1031 third_party/sqlite/src/src/expr.c assert( pList!=0 || pParse->db->mallocFailed!=0 ); assert 1034 third_party/sqlite/src/src/expr.c assert( pList->nExpr>0 ); assert 1036 third_party/sqlite/src/src/expr.c assert( pItem->zName==0 ); assert 1056 third_party/sqlite/src/src/expr.c assert( pList!=0 || db->mallocFailed!=0 ); assert 1059 third_party/sqlite/src/src/expr.c assert( pList->nExpr>0 ); assert 1060 third_party/sqlite/src/src/expr.c assert( db->mallocFailed || pItem->pExpr==pSpan->pExpr ); assert 1091 third_party/sqlite/src/src/expr.c assert( pList->a!=0 || (pList->nExpr==0 && pList->nAlloc==0) ); assert 1092 third_party/sqlite/src/src/expr.c assert( pList->nExpr<=pList->nAlloc ); assert 1207 third_party/sqlite/src/src/expr.c assert( p->op!=TK_INTEGER || (p->flags & EP_IntValue)!=0 assert 1310 third_party/sqlite/src/src/expr.c assert( p->iTable>=0 ); /* p cannot be part of a CHECK constraint */ assert 1354 third_party/sqlite/src/src/expr.c assert( p->pGroupBy==0 ); /* Has no GROUP BY clause */ assert 1356 third_party/sqlite/src/src/expr.c assert( p->pOffset==0 ); /* No LIMIT means no OFFSET */ assert 1359 third_party/sqlite/src/src/expr.c assert( pSrc!=0 ); assert 1364 third_party/sqlite/src/src/expr.c assert( pTab->pSelect==0 ); /* FROM clause is not a view */ assert 1434 third_party/sqlite/src/src/expr.c assert( pX->op==TK_IN ); assert 1458 third_party/sqlite/src/src/expr.c assert(v); assert 1597 third_party/sqlite/src/src/expr.c assert( testAddr>0 || pParse->db->mallocFailed ); assert 1651 third_party/sqlite/src/src/expr.c assert( !isRowid ); assert 1654 third_party/sqlite/src/src/expr.c assert( (pExpr->iTable&0x0000FFFF)==pExpr->iTable ); assert 1739 third_party/sqlite/src/src/expr.c assert( pExpr->op==TK_EXISTS || pExpr->op==TK_SELECT ); assert 1741 third_party/sqlite/src/src/expr.c assert( ExprHasProperty(pExpr, EP_xIsSelect) ); assert 1809 third_party/sqlite/src/src/expr.c assert( v!=0 ); /* OOM detected prior to this routine */ assert 1934 third_party/sqlite/src/src/expr.c assert( !sqlite3IsNaN(value) ); /* The new AtoF never returns NaN */ assert 1953 third_party/sqlite/src/src/expr.c assert( i>=0 ); assert 1960 third_party/sqlite/src/src/expr.c assert( z!=0 ); assert 2000 third_party/sqlite/src/src/expr.c assert( iReg>0 ); /* Register numbers are always positive */ assert 2001 third_party/sqlite/src/src/expr.c assert( iCol>=-1 && iCol<32768 ); /* Finite column numbers */ assert 2025 third_party/sqlite/src/src/expr.c assert( p->iReg==0 || p->iTable!=iTab || p->iColumn!=iCol ); assert 2097 third_party/sqlite/src/src/expr.c assert( N>0 ); assert 2098 third_party/sqlite/src/src/expr.c assert( pParse->iCacheLevel>=N ); assert 2172 third_party/sqlite/src/src/expr.c assert( v!=0 ); assert 2269 third_party/sqlite/src/src/expr.c assert( target>0 && target<=pParse->nMem ); assert 2271 third_party/sqlite/src/src/expr.c assert( pParse->db->mallocFailed ); assert 2285 third_party/sqlite/src/src/expr.c assert( pCol->iMem>0 ); assert 2298 third_party/sqlite/src/src/expr.c assert( pParse->ckBase>0 ); assert 2312 third_party/sqlite/src/src/expr.c assert( !ExprHasProperty(pExpr, EP_IntValue) ); assert 2318 third_party/sqlite/src/src/expr.c assert( !ExprHasProperty(pExpr, EP_IntValue) ); assert 2331 third_party/sqlite/src/src/expr.c assert( !ExprHasProperty(pExpr, EP_IntValue) ); assert 2332 third_party/sqlite/src/src/expr.c assert( pExpr->u.zToken[0]=='x' || pExpr->u.zToken[0]=='X' ); assert 2333 third_party/sqlite/src/src/expr.c assert( pExpr->u.zToken[1]=='\'' ); assert 2336 third_party/sqlite/src/src/expr.c assert( z[n]=='\'' ); assert 2343 third_party/sqlite/src/src/expr.c assert( !ExprHasProperty(pExpr, EP_IntValue) ); assert 2344 third_party/sqlite/src/src/expr.c assert( pExpr->u.zToken!=0 ); assert 2345 third_party/sqlite/src/src/expr.c assert( pExpr->u.zToken[0]!=0 ); assert 2365 third_party/sqlite/src/src/expr.c assert( !ExprHasProperty(pExpr, EP_IntValue) ); assert 2368 third_party/sqlite/src/src/expr.c assert( to_op==OP_ToText || aff!=SQLITE_AFF_TEXT ); assert 2369 third_party/sqlite/src/src/expr.c assert( to_op==OP_ToBlob || aff!=SQLITE_AFF_NONE ); assert 2370 third_party/sqlite/src/src/expr.c assert( to_op==OP_ToNumeric || aff!=SQLITE_AFF_NUMERIC ); assert 2371 third_party/sqlite/src/src/expr.c assert( to_op==OP_ToInt || aff!=SQLITE_AFF_INTEGER ); assert 2372 third_party/sqlite/src/src/expr.c assert( to_op==OP_ToReal || aff!=SQLITE_AFF_REAL ); assert 2394 third_party/sqlite/src/src/expr.c assert( TK_LT==OP_Lt ); assert 2395 third_party/sqlite/src/src/expr.c assert( TK_LE==OP_Le ); assert 2396 third_party/sqlite/src/src/expr.c assert( TK_GT==OP_Gt ); assert 2397 third_party/sqlite/src/src/expr.c assert( TK_GE==OP_Ge ); assert 2398 third_party/sqlite/src/src/expr.c assert( TK_EQ==OP_Eq ); assert 2399 third_party/sqlite/src/src/expr.c assert( TK_NE==OP_Ne ); assert 2439 third_party/sqlite/src/src/expr.c assert( TK_AND==OP_And ); assert 2440 third_party/sqlite/src/src/expr.c assert( TK_OR==OP_Or ); assert 2441 third_party/sqlite/src/src/expr.c assert( TK_PLUS==OP_Add ); assert 2442 third_party/sqlite/src/src/expr.c assert( TK_MINUS==OP_Subtract ); assert 2443 third_party/sqlite/src/src/expr.c assert( TK_REM==OP_Remainder ); assert 2444 third_party/sqlite/src/src/expr.c assert( TK_BITAND==OP_BitAnd ); assert 2445 third_party/sqlite/src/src/expr.c assert( TK_BITOR==OP_BitOr ); assert 2446 third_party/sqlite/src/src/expr.c assert( TK_SLASH==OP_Divide ); assert 2447 third_party/sqlite/src/src/expr.c assert( TK_LSHIFT==OP_ShiftLeft ); assert 2448 third_party/sqlite/src/src/expr.c assert( TK_RSHIFT==OP_ShiftRight ); assert 2449 third_party/sqlite/src/src/expr.c assert( TK_CONCAT==OP_Concat ); assert 2470 third_party/sqlite/src/src/expr.c assert( pLeft ); assert 2475 third_party/sqlite/src/src/expr.c assert( !ExprHasProperty(pExpr, EP_IntValue) ); assert 2490 third_party/sqlite/src/src/expr.c assert( TK_BITNOT==OP_BitNot ); assert 2491 third_party/sqlite/src/src/expr.c assert( TK_NOT==OP_Not ); assert 2503 third_party/sqlite/src/src/expr.c assert( TK_ISNULL==OP_IsNull ); assert 2504 third_party/sqlite/src/src/expr.c assert( TK_NOTNULL==OP_NotNull ); assert 2518 third_party/sqlite/src/src/expr.c assert( !ExprHasProperty(pExpr, EP_IntValue) ); assert 2537 third_party/sqlite/src/src/expr.c assert( !ExprHasProperty(pExpr, EP_xIsSelect) ); assert 2546 third_party/sqlite/src/src/expr.c assert( !ExprHasProperty(pExpr, EP_IntValue) ); assert 2561 third_party/sqlite/src/src/expr.c assert( nFarg>=2 ); assert 2713 third_party/sqlite/src/src/expr.c assert( pExpr->iTable==0 || pExpr->iTable==1 ); assert 2714 third_party/sqlite/src/src/expr.c assert( pExpr->iColumn>=-1 && pExpr->iColumn<pTab->nCol ); assert 2715 third_party/sqlite/src/src/expr.c assert( pTab->iPKey<0 || pExpr->iColumn!=pTab->iPKey ); assert 2716 third_party/sqlite/src/src/expr.c assert( p1>=0 && p1<(pTab->nCol*2+2) ); assert 2759 third_party/sqlite/src/src/expr.c default: assert( op==TK_CASE ); { assert 2772 third_party/sqlite/src/src/expr.c assert( !ExprHasProperty(pExpr, EP_xIsSelect) && pExpr->x.pList ); assert 2773 third_party/sqlite/src/src/expr.c assert((pExpr->x.pList->nExpr % 2) == 0); assert 2774 third_party/sqlite/src/src/expr.c assert(pExpr->x.pList->nExpr > 0); assert 2798 third_party/sqlite/src/src/expr.c assert( pTest!=0 ); assert 2820 third_party/sqlite/src/src/expr.c assert( db->mallocFailed || pParse->nErr>0 assert 2827 third_party/sqlite/src/src/expr.c assert( pExpr->affinity==OE_Rollback assert 2840 third_party/sqlite/src/src/expr.c assert( !ExprHasProperty(pExpr, EP_IntValue) ); assert 2886 third_party/sqlite/src/src/expr.c assert( target>0 && target<=pParse->nMem ); assert 2891 third_party/sqlite/src/src/expr.c assert( pParse->pVdbe || pParse->db->mallocFailed ); assert 2915 third_party/sqlite/src/src/expr.c assert( target>0 ); assert 3013 third_party/sqlite/src/src/expr.c assert( !ExprHasProperty(pExpr, EP_xIsSelect) ); assert 3078 third_party/sqlite/src/src/expr.c assert( pList!=0 ); assert 3079 third_party/sqlite/src/src/expr.c assert( target>0 ); assert 3080 third_party/sqlite/src/src/expr.c assert( pParse->pVdbe!=0 ); /* Never gets this far otherwise */ assert 3118 third_party/sqlite/src/src/expr.c assert( !ExprHasProperty(pExpr, EP_xIsSelect) ); assert 3170 third_party/sqlite/src/src/expr.c assert( jumpIfNull==SQLITE_JUMPIFNULL || jumpIfNull==0 ); assert 3202 third_party/sqlite/src/src/expr.c assert( TK_LT==OP_Lt ); assert 3203 third_party/sqlite/src/src/expr.c assert( TK_LE==OP_Le ); assert 3204 third_party/sqlite/src/src/expr.c assert( TK_GT==OP_Gt ); assert 3205 third_party/sqlite/src/src/expr.c assert( TK_GE==OP_Ge ); assert 3206 third_party/sqlite/src/src/expr.c assert( TK_EQ==OP_Eq ); assert 3207 third_party/sqlite/src/src/expr.c assert( TK_NE==OP_Ne ); assert 3238 third_party/sqlite/src/src/expr.c assert( TK_ISNULL==OP_IsNull ); assert 3239 third_party/sqlite/src/src/expr.c assert( TK_NOTNULL==OP_NotNull ); assert 3290 third_party/sqlite/src/src/expr.c assert( jumpIfNull==SQLITE_JUMPIFNULL || jumpIfNull==0 ); assert 3316 third_party/sqlite/src/src/expr.c assert( pExpr->op!=TK_ISNULL || op==OP_NotNull ); assert 3317 third_party/sqlite/src/src/expr.c assert( pExpr->op!=TK_NOTNULL || op==OP_IsNull ); assert 3318 third_party/sqlite/src/src/expr.c assert( pExpr->op!=TK_NE || op==OP_Eq ); assert 3319 third_party/sqlite/src/src/expr.c assert( pExpr->op!=TK_EQ || op==OP_Ne ); assert 3320 third_party/sqlite/src/src/expr.c assert( pExpr->op!=TK_LT || op==OP_Ge ); assert 3321 third_party/sqlite/src/src/expr.c assert( pExpr->op!=TK_LE || op==OP_Gt ); assert 3322 third_party/sqlite/src/src/expr.c assert( pExpr->op!=TK_GT || op==OP_Le ); assert 3323 third_party/sqlite/src/src/expr.c assert( pExpr->op!=TK_GE || op==OP_Lt ); assert 3439 third_party/sqlite/src/src/expr.c assert( !ExprHasAnyProperty(pA, EP_TokenOnly|EP_Reduced) ); assert 3440 third_party/sqlite/src/src/expr.c assert( !ExprHasAnyProperty(pB, EP_TokenOnly|EP_Reduced) ); assert 3550 third_party/sqlite/src/src/expr.c assert( !ExprHasAnyProperty(pExpr, EP_TokenOnly|EP_Reduced) ); assert 3628 third_party/sqlite/src/src/expr.c assert( !ExprHasProperty(pExpr, EP_xIsSelect) ); assert 3632 third_party/sqlite/src/src/expr.c assert( !ExprHasProperty(pExpr, EP_IntValue) ); assert 3645 third_party/sqlite/src/src/expr.c assert( !ExprHasAnyProperty(pExpr, EP_TokenOnly|EP_Reduced) ); assert 3680 third_party/sqlite/src/src/expr.c assert( pNC->pSrcList!=0 ); assert 3740 third_party/sqlite/src/src/expr.c assert( !usedAsColumnCache(pParse, i, i+n-1) ); assert 194 third_party/sqlite/src/src/fkey.c assert( ppIdx && *ppIdx==0 ); assert 195 third_party/sqlite/src/src/fkey.c assert( !paiCol || *paiCol==0 ); assert 196 third_party/sqlite/src/src/fkey.c assert( pParse ); assert 219 third_party/sqlite/src/src/fkey.c assert( nCol>1 ); assert 414 third_party/sqlite/src/src/fkey.c assert( nIncr==1 ); assert 475 third_party/sqlite/src/src/fkey.c assert( !pIdx || pIdx->pTable==pTab ); assert 514 third_party/sqlite/src/src/fkey.c assert( iCol>=0 ); assert 628 third_party/sqlite/src/src/fkey.c assert( v ); /* VDBE has already been allocated */ assert 696 third_party/sqlite/src/src/fkey.c assert( (regOld==0)!=(regNew==0) ); assert 728 third_party/sqlite/src/src/fkey.c assert( pFKey->nCol==1 || (aiFree && pIdx) ); assert 781 third_party/sqlite/src/src/fkey.c assert( regOld==0 && regNew!=0 ); assert 791 third_party/sqlite/src/src/fkey.c assert( aiCol || pFKey->nCol==1 ); assert 968 third_party/sqlite/src/src/fkey.c assert( aiCol || pFKey->nCol==1 ); assert 979 third_party/sqlite/src/src/fkey.c assert( iFromCol>=0 ); assert 1157 third_party/sqlite/src/src/fkey.c assert( db==0 || sqlite3SchemaMutexHeld(db, 0, pTab->pSchema) ); assert 1177 third_party/sqlite/src/src/fkey.c assert( pFKey->isDeferred==0 || pFKey->isDeferred==1 ); assert 44 third_party/sqlite/src/src/func.c assert( argc>1 ); assert 47 third_party/sqlite/src/src/func.c assert( pColl ); assert 48 third_party/sqlite/src/src/func.c assert( mask==-1 || mask==0 ); assert 92 third_party/sqlite/src/src/func.c assert( argc==1 ); assert 126 third_party/sqlite/src/src/func.c assert( argc==1 ); assert 187 third_party/sqlite/src/src/func.c assert( argc==3 || argc==2 ); assert 199 third_party/sqlite/src/src/func.c assert( len==sqlite3_value_bytes(argv[0]) ); assert 238 third_party/sqlite/src/src/func.c assert( p1>=0 && p2>=0 ); assert 265 third_party/sqlite/src/src/func.c assert( argc==1 || argc==2 ); assert 305 third_party/sqlite/src/src/func.c assert( nByte>0 ); assert 331 third_party/sqlite/src/src/func.c assert( z2==(char*)sqlite3_value_text(argv[0]) ); assert 351 third_party/sqlite/src/src/func.c assert( z2==(char*)sqlite3_value_text(argv[0]) ); assert 429 third_party/sqlite/src/src/func.c assert( argc==1 ); assert 582 third_party/sqlite/src/src/func.c assert( esc==0 ); /* This is GLOB, not LIKE */ assert 583 third_party/sqlite/src/src/func.c assert( matchSet<0x80 ); /* '[' is a single-byte character */ assert 612 third_party/sqlite/src/src/func.c assert( esc==0 ); /* This only occurs for GLOB, not LIKE */ assert 704 third_party/sqlite/src/src/func.c assert( zB==sqlite3_value_text(argv[0]) ); /* Encoding did not change */ assert 789 third_party/sqlite/src/src/func.c assert( argc==1 ); assert 813 third_party/sqlite/src/src/func.c assert( argc==1 ); assert 842 third_party/sqlite/src/src/func.c assert( argc==1 ); assert 854 third_party/sqlite/src/src/func.c assert( zBlob==sqlite3_value_blob(argv[0]) ); /* No encoding change */ assert 895 third_party/sqlite/src/src/func.c assert( sqlite3_value_type(argv[0])==SQLITE_NULL ); assert 914 third_party/sqlite/src/src/func.c assert( argc==1 ); assert 918 third_party/sqlite/src/src/func.c assert( pBlob==sqlite3_value_blob(argv[0]) ); /* No encoding change */ assert 941 third_party/sqlite/src/src/func.c assert( argc==1 ); assert 975 third_party/sqlite/src/src/func.c assert( argc==3 ); assert 980 third_party/sqlite/src/src/func.c assert( zStr==sqlite3_value_text(argv[0]) ); /* No encoding change */ assert 983 third_party/sqlite/src/src/func.c assert( sqlite3_value_type(argv[1])==SQLITE_NULL assert 988 third_party/sqlite/src/src/func.c assert( sqlite3_value_type(argv[1])!=SQLITE_NULL ); assert 993 third_party/sqlite/src/src/func.c assert( zPattern==sqlite3_value_text(argv[1]) ); /* No encoding change */ assert 997 third_party/sqlite/src/src/func.c assert( zRep==sqlite3_value_text(argv[2]) ); assert 999 third_party/sqlite/src/src/func.c assert( nOut<SQLITE_MAX_LENGTH ); assert 1031 third_party/sqlite/src/src/func.c assert( j+nStr-i+1==nOut ); assert 1034 third_party/sqlite/src/src/func.c assert( j<=nOut ); assert 1063 third_party/sqlite/src/src/func.c assert( zIn==sqlite3_value_text(argv[0]) ); assert 1153 third_party/sqlite/src/src/func.c assert( argc==1 ); assert 1233 third_party/sqlite/src/src/func.c assert( argc==1 ); assert 1302 third_party/sqlite/src/src/func.c assert( argc==1 || p==0 || p->n>0x7fffffff assert 1372 third_party/sqlite/src/src/func.c assert( argc==1 || argc==2 ); assert 1418 third_party/sqlite/src/src/func.c assert( rc==SQLITE_NOMEM || rc==SQLITE_OK ); assert 1472 third_party/sqlite/src/src/func.c assert( !ExprHasProperty(pExpr, EP_xIsSelect) ); assert 1485 third_party/sqlite/src/src/func.c assert( (char*)&likeInfoAlt == (char*)&likeInfoAlt.matchAll ); assert 1486 third_party/sqlite/src/src/func.c assert( &((char*)&likeInfoAlt)[1] == (char*)&likeInfoAlt.matchOne ); assert 1487 third_party/sqlite/src/src/func.c assert( &((char*)&likeInfoAlt)[2] == (char*)&likeInfoAlt.matchSet ); assert 24 third_party/sqlite/src/src/hash.c assert( pNew!=0 ); assert 38 third_party/sqlite/src/src/hash.c assert( pH!=0 ); assert 57 third_party/sqlite/src/src/hash.c assert( nKey>=0 ); assert 188 third_party/sqlite/src/src/hash.c assert( pEntry->count>=0 ); assert 193 third_party/sqlite/src/src/hash.c assert( pH->first==0 ); assert 194 third_party/sqlite/src/src/hash.c assert( pH->count==0 ); assert 207 third_party/sqlite/src/src/hash.c assert( pH!=0 ); assert 208 third_party/sqlite/src/src/hash.c assert( pKey!=0 ); assert 209 third_party/sqlite/src/src/hash.c assert( nKey>=0 ); assert 238 third_party/sqlite/src/src/hash.c assert( pH!=0 ); assert 239 third_party/sqlite/src/src/hash.c assert( pKey!=0 ); assert 240 third_party/sqlite/src/src/hash.c assert( nKey>=0 ); assert 254 third_party/sqlite/src/src/hash.c assert(nKey==elem->nKey); assert 267 third_party/sqlite/src/src/hash.c assert( pH->htsize>0 ); assert 30 third_party/sqlite/src/src/insert.c assert( opcode==OP_OpenWrite || opcode==OP_OpenRead ); assert 146 third_party/sqlite/src/src/insert.c assert( pOp!=0 ); assert 161 third_party/sqlite/src/src/insert.c assert( pOp->p4.pVtab!=0 ); assert 162 third_party/sqlite/src/src/insert.c assert( pOp->p4type==P4_VTAB ); assert 233 third_party/sqlite/src/src/insert.c assert( pParse->pTriggerTab==0 ); assert 234 third_party/sqlite/src/src/insert.c assert( pParse==sqlite3ParseToplevel(pParse) ); assert 236 third_party/sqlite/src/src/insert.c assert( v ); /* We failed long ago if this is not so */ assert 240 third_party/sqlite/src/src/insert.c assert( sqlite3SchemaMutexHeld(db, 0, pDb->pSchema) ); assert 283 third_party/sqlite/src/src/insert.c assert( v ); assert 291 third_party/sqlite/src/src/insert.c assert( sqlite3SchemaMutexHeld(db, 0, pDb->pSchema) ); assert 487 third_party/sqlite/src/src/insert.c assert( pTabList->nSrc==1 ); assert 495 third_party/sqlite/src/src/insert.c assert( iDb<db->nDb ); assert 517 third_party/sqlite/src/src/insert.c assert( (pTrigger && tmask) || (pTrigger==0 && tmask==0) ); assert 553 third_party/sqlite/src/src/insert.c assert( !pTrigger ); assert 554 third_party/sqlite/src/src/insert.c assert( pList==0 ); assert 605 third_party/sqlite/src/src/insert.c assert( pParse->nErr==0 || rc ); assert 616 third_party/sqlite/src/src/insert.c assert( pSelect->pEList ); assert 618 third_party/sqlite/src/src/insert.c assert( dest.nMem==nColumn ); assert 672 third_party/sqlite/src/src/insert.c assert( useTempTable==0 ); assert 825 third_party/sqlite/src/src/insert.c assert( pSelect==0 ); /* Otherwise useTempTable is true */ assert 837 third_party/sqlite/src/src/insert.c assert( !IsVirtual(pTab) ); assert 854 third_party/sqlite/src/src/insert.c assert( pSelect==0 ); /* Otherwise useTempTable is true */ assert 942 third_party/sqlite/src/src/insert.c assert( IsVirtual(pTab) ); assert 1162 third_party/sqlite/src/src/insert.c assert( v!=0 ); assert 1163 third_party/sqlite/src/src/insert.c assert( pTab->pSelect==0 ); /* This table is not a VIEW */ assert 1183 third_party/sqlite/src/src/insert.c assert( onError==OE_Rollback || onError==OE_Abort || onError==OE_Fail assert 1203 third_party/sqlite/src/src/insert.c assert( onError==OE_Replace ); assert 1298 third_party/sqlite/src/src/insert.c assert( seenReplace==0 ); assert 1359 third_party/sqlite/src/src/insert.c assert( onError==OE_Rollback || onError==OE_Abort || onError==OE_Fail assert 1387 third_party/sqlite/src/src/insert.c assert( seenReplace==0 ); assert 1393 third_party/sqlite/src/src/insert.c assert( onError==OE_Replace ); assert 1442 third_party/sqlite/src/src/insert.c assert( v!=0 ); assert 1443 third_party/sqlite/src/src/insert.c assert( pTab->pSelect==0 ); /* This table is not a VIEW */ assert 1497 third_party/sqlite/src/src/insert.c assert( v!=0 ); assert 1501 third_party/sqlite/src/src/insert.c assert( pIdx->pSchema==pTab->pSchema ); assert 1551 third_party/sqlite/src/src/insert.c assert( pDest && pSrc ); assert 1552 third_party/sqlite/src/src/insert.c assert( pDest->pTable!=pSrc->pTable ); assert 1646 third_party/sqlite/src/src/insert.c assert(pSelect->pSrc); /* allocated even if there is no FROM clause */ assert 1667 third_party/sqlite/src/src/insert.c assert( pSelect->pOffset==0 ); /* Must be so if pLimit==0 */ assert 1675 third_party/sqlite/src/src/insert.c assert( pEList!=0 ); assert 1679 third_party/sqlite/src/src/insert.c assert( pEList->a[0].pExpr ); assert 1788 third_party/sqlite/src/src/insert.c assert( (pDest->tabFlags & TF_Autoincrement)==0 ); assert 1799 third_party/sqlite/src/src/insert.c assert( pSrcIdx ); assert 59 third_party/sqlite/src/src/journal.c assert(p->iSize<=p->nBuf); assert 55 third_party/sqlite/src/src/legacy.c assert( rc==SQLITE_OK || pStmt==0 ); assert 85 third_party/sqlite/src/src/legacy.c assert( azCols[i]!=0 ); assert 142 third_party/sqlite/src/src/legacy.c assert( (rc&db->errMask)==rc ); assert 402 third_party/sqlite/src/src/lempar.c assert( iLookAhead!=YYNOCODE ); assert 466 third_party/sqlite/src/src/lempar.c assert( stateno<=YY_REDUCE_COUNT ); assert 469 third_party/sqlite/src/src/lempar.c assert( i!=YY_REDUCE_USE_DFLT ); assert 470 third_party/sqlite/src/src/lempar.c assert( iLookAhead!=YYNOCODE ); assert 477 third_party/sqlite/src/src/lempar.c assert( i>=0 && i<YY_ACTTAB_COUNT ); assert 478 third_party/sqlite/src/src/lempar.c assert( yy_lookahead[i]==iLookAhead ); assert 633 third_party/sqlite/src/src/lempar.c assert( yyact == YYNSTATE + YYNRULE + 1 ); assert 754 third_party/sqlite/src/src/lempar.c assert( !yyendofinput ); /* Impossible to shift the $ token */ assert 761 third_party/sqlite/src/src/lempar.c assert( yyact == YY_ERROR_ACTION ); assert 489 third_party/sqlite/src/src/loadext.c assert( sqlite3_mutex_held(db->mutex) ); assert 588 third_party/sqlite/src/src/loadext.c assert( (rc&0xff)==rc ); assert 212 third_party/sqlite/src/src/main.c assert( sqlite3GlobalConfig.nRefInitMutex==0 ); assert 229 third_party/sqlite/src/src/main.c assert(sizeof(x)==8); assert 230 third_party/sqlite/src/src/main.c assert(sizeof(x)==sizeof(y)); assert 232 third_party/sqlite/src/src/main.c assert( sqlite3IsNaN(y) ); assert 484 third_party/sqlite/src/src/main.c assert( sz > (int)sizeof(LookasideSlot*) ); assert 709 third_party/sqlite/src/src/main.c assert( sqlite3SafetyCheckSickOrOk(db) ); assert 741 third_party/sqlite/src/src/main.c assert( db->nDb<=2 ); assert 742 third_party/sqlite/src/src/main.c assert( db->aDb==db->aDbStatic ); assert 795 third_party/sqlite/src/src/main.c assert( db->lookaside.nOut==0 ); /* Fails on a lookaside memory leak */ assert 809 third_party/sqlite/src/src/main.c assert( sqlite3_mutex_held(db->mutex) ); assert 899 third_party/sqlite/src/src/main.c assert( count>=0 ); assert 1029 third_party/sqlite/src/src/main.c assert( sqlite3_mutex_held(db->mutex) ); assert 1076 third_party/sqlite/src/src/main.c assert( !db->mallocFailed ); assert 1084 third_party/sqlite/src/src/main.c assert(p || db->mallocFailed); assert 1148 third_party/sqlite/src/src/main.c assert( rc!=SQLITE_OK ); assert 1173 third_party/sqlite/src/src/main.c assert( !db->mallocFailed ); assert 1399 third_party/sqlite/src/src/main.c assert( SQLITE_CHECKPOINT_FULL>SQLITE_CHECKPOINT_PASSIVE ); assert 1400 third_party/sqlite/src/src/main.c assert( SQLITE_CHECKPOINT_FULL<SQLITE_CHECKPOINT_RESTART ); assert 1401 third_party/sqlite/src/src/main.c assert( SQLITE_CHECKPOINT_PASSIVE+2==SQLITE_CHECKPOINT_RESTART ); assert 1458 third_party/sqlite/src/src/main.c assert( sqlite3_mutex_held(db->mutex) ); assert 1459 third_party/sqlite/src/src/main.c assert( !pnLog || *pnLog==-1 ); assert 1460 third_party/sqlite/src/src/main.c assert( !pnCkpt || *pnCkpt==-1 ); assert 1529 third_party/sqlite/src/src/main.c assert( !db->mallocFailed ); assert 1625 third_party/sqlite/src/src/main.c assert( sqlite3_mutex_held(db->mutex) ); assert 1760 third_party/sqlite/src/src/main.c assert( aHardLimit[SQLITE_LIMIT_LENGTH]==SQLITE_MAX_LENGTH ); assert 1761 third_party/sqlite/src/src/main.c assert( aHardLimit[SQLITE_LIMIT_SQL_LENGTH]==SQLITE_MAX_SQL_LENGTH ); assert 1762 third_party/sqlite/src/src/main.c assert( aHardLimit[SQLITE_LIMIT_COLUMN]==SQLITE_MAX_COLUMN ); assert 1763 third_party/sqlite/src/src/main.c assert( aHardLimit[SQLITE_LIMIT_EXPR_DEPTH]==SQLITE_MAX_EXPR_DEPTH ); assert 1764 third_party/sqlite/src/src/main.c assert( aHardLimit[SQLITE_LIMIT_COMPOUND_SELECT]==SQLITE_MAX_COMPOUND_SELECT); assert 1765 third_party/sqlite/src/src/main.c assert( aHardLimit[SQLITE_LIMIT_VDBE_OP]==SQLITE_MAX_VDBE_OP ); assert 1766 third_party/sqlite/src/src/main.c assert( aHardLimit[SQLITE_LIMIT_FUNCTION_ARG]==SQLITE_MAX_FUNCTION_ARG ); assert 1767 third_party/sqlite/src/src/main.c assert( aHardLimit[SQLITE_LIMIT_ATTACHED]==SQLITE_MAX_ATTACHED ); assert 1768 third_party/sqlite/src/src/main.c assert( aHardLimit[SQLITE_LIMIT_LIKE_PATTERN_LENGTH]== assert 1770 third_party/sqlite/src/src/main.c assert( aHardLimit[SQLITE_LIMIT_VARIABLE_NUMBER]==SQLITE_MAX_VARIABLE_NUMBER); assert 1771 third_party/sqlite/src/src/main.c assert( aHardLimit[SQLITE_LIMIT_TRIGGER_DEPTH]==SQLITE_MAX_TRIGGER_DEPTH ); assert 1772 third_party/sqlite/src/src/main.c assert( SQLITE_LIMIT_TRIGGER_DEPTH==(SQLITE_N_LIMIT-1) ); assert 1819 third_party/sqlite/src/src/main.c assert( SQLITE_OPEN_READONLY == 0x01 ); assert 1820 third_party/sqlite/src/src/main.c assert( SQLITE_OPEN_READWRITE == 0x02 ); assert 1821 third_party/sqlite/src/src/main.c assert( SQLITE_OPEN_CREATE == 0x04 ); assert 1882 third_party/sqlite/src/src/main.c assert( sizeof(db->aLimit)==sizeof(aHardLimit) ); assert 1929 third_party/sqlite/src/src/main.c assert( db->pDfltColl!=0 ); assert 2031 third_party/sqlite/src/src/main.c assert( db->mutex!=0 || isThreadsafe==0 || sqlite3GlobalConfig.bFullMutex==0 ); assert 2076 third_party/sqlite/src/src/main.c assert( zFilename ); assert 2077 third_party/sqlite/src/src/main.c assert( ppDb ); assert 2089 third_party/sqlite/src/src/main.c assert( *ppDb || rc==SQLITE_NOMEM ); assert 2114 third_party/sqlite/src/src/main.c assert( !db->mallocFailed ); assert 2134 third_party/sqlite/src/src/main.c assert( !db->mallocFailed ); assert 2155 third_party/sqlite/src/src/main.c assert( !db->mallocFailed ); assert 2431 third_party/sqlite/src/src/main.c assert( pPager!=0 ); assert 2433 third_party/sqlite/src/src/main.c assert( fd!=0 ); assert 2554 third_party/sqlite/src/src/main.c assert( (x = va_arg(ap,int))!=0 ); assert 264 third_party/sqlite/src/src/malloc.c assert( sqlite3_mutex_held(mem0.mutex) ); assert 314 third_party/sqlite/src/src/malloc.c assert( EIGHT_BYTE_ALIGNMENT(p) ); /* IMP: R-04675-44850 */ assert 351 third_party/sqlite/src/src/malloc.c assert( n>0 ); assert 373 third_party/sqlite/src/src/malloc.c assert( sqlite3_mutex_notheld(mem0.mutex) ); assert 381 third_party/sqlite/src/src/malloc.c assert( scratchAllocOut<=1 ); assert 395 third_party/sqlite/src/src/malloc.c assert( scratchAllocOut>=1 && scratchAllocOut<=2 ); assert 407 third_party/sqlite/src/src/malloc.c assert( mem0.nScratchFree <= (u32)sqlite3GlobalConfig.nScratch ); assert 412 third_party/sqlite/src/src/malloc.c assert( sqlite3MemdebugHasType(p, MEMTYPE_SCRATCH) ); assert 413 third_party/sqlite/src/src/malloc.c assert( sqlite3MemdebugNoType(p, ~MEMTYPE_SCRATCH) ); assert 446 third_party/sqlite/src/src/malloc.c assert( sqlite3MemdebugHasType(p, MEMTYPE_HEAP) ); assert 447 third_party/sqlite/src/src/malloc.c assert( sqlite3MemdebugNoType(p, MEMTYPE_DB) ); assert 451 third_party/sqlite/src/src/malloc.c assert( db==0 || sqlite3_mutex_held(db->mutex) ); assert 455 third_party/sqlite/src/src/malloc.c assert( sqlite3MemdebugHasType(p, MEMTYPE_DB) ); assert 456 third_party/sqlite/src/src/malloc.c assert( sqlite3MemdebugHasType(p, MEMTYPE_LOOKASIDE|MEMTYPE_HEAP) ); assert 457 third_party/sqlite/src/src/malloc.c assert( db!=0 || sqlite3MemdebugNoType(p, MEMTYPE_LOOKASIDE) ); assert 467 third_party/sqlite/src/src/malloc.c assert( sqlite3MemdebugNoType(p, MEMTYPE_DB) ); assert 468 third_party/sqlite/src/src/malloc.c assert( sqlite3MemdebugHasType(p, MEMTYPE_HEAP) ); assert 485 third_party/sqlite/src/src/malloc.c assert( db==0 || sqlite3_mutex_held(db->mutex) ); assert 499 third_party/sqlite/src/src/malloc.c assert( sqlite3MemdebugHasType(p, MEMTYPE_DB) ); assert 500 third_party/sqlite/src/src/malloc.c assert( sqlite3MemdebugHasType(p, MEMTYPE_LOOKASIDE|MEMTYPE_HEAP) ); assert 501 third_party/sqlite/src/src/malloc.c assert( db!=0 || sqlite3MemdebugNoType(p, MEMTYPE_LOOKASIDE) ); assert 537 third_party/sqlite/src/src/malloc.c assert( sqlite3MemdebugHasType(pOld, MEMTYPE_HEAP) ); assert 538 third_party/sqlite/src/src/malloc.c assert( sqlite3MemdebugNoType(pOld, ~MEMTYPE_HEAP) ); assert 552 third_party/sqlite/src/src/malloc.c assert( EIGHT_BYTE_ALIGNMENT(pNew) ); /* IMP: R-04675-44850 */ assert 611 third_party/sqlite/src/src/malloc.c assert( db==0 || sqlite3_mutex_held(db->mutex) ); assert 612 third_party/sqlite/src/src/malloc.c assert( db==0 || db->pnBytesFreed==0 ); assert 655 third_party/sqlite/src/src/malloc.c assert( db!=0 ); assert 656 third_party/sqlite/src/src/malloc.c assert( sqlite3_mutex_held(db->mutex) ); assert 671 third_party/sqlite/src/src/malloc.c assert( sqlite3MemdebugHasType(p, MEMTYPE_DB) ); assert 672 third_party/sqlite/src/src/malloc.c assert( sqlite3MemdebugHasType(p, MEMTYPE_LOOKASIDE|MEMTYPE_HEAP) ); assert 713 third_party/sqlite/src/src/malloc.c assert( (n&0x7fffffff)==n ); assert 725 third_party/sqlite/src/src/malloc.c assert( (n&0x7fffffff)==n ); assert 769 third_party/sqlite/src/src/malloc.c assert( !db || sqlite3_mutex_held(db->mutex) ); assert 39 third_party/sqlite/src/src/mem1.c assert( nByte>0 ); assert 62 third_party/sqlite/src/src/mem1.c assert( pPrior!=0 ); assert 91 third_party/sqlite/src/src/mem1.c assert( pPrior!=0 && nByte>0 ); assert 92 third_party/sqlite/src/src/mem1.c assert( nByte==ROUND8(nByte) ); /* EV: R-46199-30249 */ assert 142 third_party/sqlite/src/src/mem2.c assert( mem.nCurrent[i]>=0 ); assert 160 third_party/sqlite/src/src/mem2.c assert( p->iForeGuard==(int)FOREGUARD ); assert 164 third_party/sqlite/src/src/mem2.c assert( pInt[nReserve/sizeof(int)]==(int)REARGUARD ); assert 169 third_party/sqlite/src/src/mem2.c while( nReserve-- > p->iSize ) assert( pU8[nReserve]==0x65 ); assert 190 third_party/sqlite/src/src/mem2.c assert( (sizeof(struct MemBlockHdr)&7) == 0 ); assert 251 third_party/sqlite/src/src/mem2.c assert( mem.disallow==0 ); assert 276 third_party/sqlite/src/src/mem2.c assert(pBt[0]); assert 305 third_party/sqlite/src/src/mem2.c assert( sqlite3GlobalConfig.bMemstat || sqlite3GlobalConfig.bCoreMutex==0 assert 312 third_party/sqlite/src/src/mem2.c assert( pHdr->pPrev->pNext==pHdr ); assert 315 third_party/sqlite/src/src/mem2.c assert( mem.pFirst==pHdr ); assert 319 third_party/sqlite/src/src/mem2.c assert( pHdr->pNext->pPrev==pHdr ); assert 322 third_party/sqlite/src/src/mem2.c assert( mem.pLast==pHdr ); assert 346 third_party/sqlite/src/src/mem2.c assert( mem.disallow==0 ); assert 347 third_party/sqlite/src/src/mem2.c assert( (nByte & 7)==0 ); /* EV: R-46199-30249 */ assert 385 third_party/sqlite/src/src/mem2.c assert( pHdr->iForeGuard==FOREGUARD ); assert 404 third_party/sqlite/src/src/mem2.c assert( pHdr->iForeGuard==FOREGUARD ); /* Allocation is valid */ assert 426 third_party/sqlite/src/src/mem2.c assert( pHdr->iForeGuard==FOREGUARD ); /* Allocation is valid */ assert 150 third_party/sqlite/src/src/mem3.c assert( sqlite3_mutex_held(mem3.mutex) ); assert 169 third_party/sqlite/src/src/mem3.c assert( sqlite3_mutex_held(mem3.mutex) ); assert 170 third_party/sqlite/src/src/mem3.c assert( (mem3.aPool[i-1].u.hdr.size4x & 1)==0 ); assert 171 third_party/sqlite/src/src/mem3.c assert( i>=1 ); assert 173 third_party/sqlite/src/src/mem3.c assert( size==mem3.aPool[i+size-1].u.hdr.prevSize ); assert 174 third_party/sqlite/src/src/mem3.c assert( size>=2 ); assert 188 third_party/sqlite/src/src/mem3.c assert( sqlite3_mutex_held(mem3.mutex) ); assert 203 third_party/sqlite/src/src/mem3.c assert( sqlite3_mutex_held(mem3.mutex) ); assert 204 third_party/sqlite/src/src/mem3.c assert( i>=1 ); assert 205 third_party/sqlite/src/src/mem3.c assert( (mem3.aPool[i-1].u.hdr.size4x & 1)==0 ); assert 207 third_party/sqlite/src/src/mem3.c assert( size==mem3.aPool[i+size-1].u.hdr.prevSize ); assert 208 third_party/sqlite/src/src/mem3.c assert( size>=2 ); assert 238 third_party/sqlite/src/src/mem3.c assert( sqlite3_mutex_held(mem3.mutex) ); assert 254 third_party/sqlite/src/src/mem3.c assert( sqlite3_mutex_held(mem3.mutex) ); assert 255 third_party/sqlite/src/src/mem3.c assert( i>=1 ); assert 256 third_party/sqlite/src/src/mem3.c assert( mem3.aPool[i-1].u.hdr.size4x/4==nBlock ); assert 257 third_party/sqlite/src/src/mem3.c assert( mem3.aPool[i+nBlock-1].u.hdr.prevSize==nBlock ); assert 271 third_party/sqlite/src/src/mem3.c assert( sqlite3_mutex_held(mem3.mutex) ); assert 272 third_party/sqlite/src/src/mem3.c assert( mem3.szMaster>=nBlock ); assert 284 third_party/sqlite/src/src/mem3.c assert( newi > mem3.iMaster+1 ); assert 318 third_party/sqlite/src/src/mem3.c assert( sqlite3_mutex_held(mem3.mutex) ); assert 322 third_party/sqlite/src/src/mem3.c assert( (size&1)==0 ); assert 325 third_party/sqlite/src/src/mem3.c assert( i > mem3.aPool[i-1].u.hdr.prevSize ); assert 359 third_party/sqlite/src/src/mem3.c assert( sqlite3_mutex_held(mem3.mutex) ); assert 360 third_party/sqlite/src/src/mem3.c assert( sizeof(Mem3Block)==8 ); assert 366 third_party/sqlite/src/src/mem3.c assert( nBlock>=2 ); assert 440 third_party/sqlite/src/src/mem3.c assert( sqlite3_mutex_held(mem3.mutex) ); assert 441 third_party/sqlite/src/src/mem3.c assert( p>mem3.aPool && p<&mem3.aPool[mem3.nPool] ); assert 443 third_party/sqlite/src/src/mem3.c assert( (mem3.aPool[i-1].u.hdr.size4x&1)==1 ); assert 445 third_party/sqlite/src/src/mem3.c assert( i+size<=mem3.nPool+1 ); assert 481 third_party/sqlite/src/src/mem3.c assert( (pBlock[-1].u.hdr.size4x&1)!=0 ); assert 501 third_party/sqlite/src/src/mem3.c assert( nBytes>0 ); /* malloc.c filters out 0 byte requests */ assert 512 third_party/sqlite/src/src/mem3.c assert( pPrior ); assert 559 third_party/sqlite/src/src/mem3.c assert( sizeof(Mem3Block)==8 ); assert 610 third_party/sqlite/src/src/mem3.c assert( 0 ); assert 615 third_party/sqlite/src/src/mem3.c assert( 0 ); assert 620 third_party/sqlite/src/src/mem3.c assert( 0 ); assert 149 third_party/sqlite/src/src/mem5.c assert( i>=0 && i<mem5.nBlock ); assert 150 third_party/sqlite/src/src/mem5.c assert( iLogsize>=0 && iLogsize<=LOGMAX ); assert 151 third_party/sqlite/src/src/mem5.c assert( (mem5.aCtrl[i] & CTRL_LOGSIZE)==iLogsize ); assert 171 third_party/sqlite/src/src/mem5.c assert( sqlite3_mutex_held(mem5.mutex) ); assert 172 third_party/sqlite/src/src/mem5.c assert( i>=0 && i<mem5.nBlock ); assert 173 third_party/sqlite/src/src/mem5.c assert( iLogsize>=0 && iLogsize<=LOGMAX ); assert 174 third_party/sqlite/src/src/mem5.c assert( (mem5.aCtrl[i] & CTRL_LOGSIZE)==iLogsize ); assert 179 third_party/sqlite/src/src/mem5.c assert( x<mem5.nBlock ); assert 206 third_party/sqlite/src/src/mem5.c assert( i>=0 && i<mem5.nBlock ); assert 220 third_party/sqlite/src/src/mem5.c assert( iLogsize>=0 && iLogsize<=LOGMAX ); assert 222 third_party/sqlite/src/src/mem5.c assert( iFirst>=0 ); assert 248 third_party/sqlite/src/src/mem5.c assert( nByte>0 ); assert 313 third_party/sqlite/src/src/mem5.c assert( iBlock>=0 && iBlock<mem5.nBlock ); assert 314 third_party/sqlite/src/src/mem5.c assert( ((u8 *)pOld-mem5.zPool)%mem5.szAtom==0 ); assert 315 third_party/sqlite/src/src/mem5.c assert( (mem5.aCtrl[iBlock] & CTRL_FREE)==0 ); assert 319 third_party/sqlite/src/src/mem5.c assert( iBlock+size-1<(u32)mem5.nBlock ); assert 323 third_party/sqlite/src/src/mem5.c assert( mem5.currentCount>0 ); assert 324 third_party/sqlite/src/src/mem5.c assert( mem5.currentOut>=(size*mem5.szAtom) ); assert 327 third_party/sqlite/src/src/mem5.c assert( mem5.currentOut>0 || mem5.currentCount==0 ); assert 328 third_party/sqlite/src/src/mem5.c assert( mem5.currentCount>0 || mem5.currentOut==0 ); assert 338 third_party/sqlite/src/src/mem5.c assert( iBuddy>=0 ); assert 376 third_party/sqlite/src/src/mem5.c assert( pPrior!=0 ); assert 397 third_party/sqlite/src/src/mem5.c assert( pPrior!=0 ); assert 398 third_party/sqlite/src/src/mem5.c assert( (nBytes&(nBytes-1))==0 ); /* EV: R-46199-30249 */ assert 399 third_party/sqlite/src/src/mem5.c assert( nBytes>=0 ); assert 470 third_party/sqlite/src/src/mem5.c assert( (sizeof(Mem5Link)&(sizeof(Mem5Link)-1))==0 ); assert 474 third_party/sqlite/src/src/mem5.c assert( zByte!=0 ); /* sqlite3_config() does not allow otherwise */ assert 499 third_party/sqlite/src/src/mem5.c assert((iOffset+nAlloc)>mem5.nBlock); assert 85 third_party/sqlite/src/src/memjournal.c assert( iOfst+iAmt<=p->endpoint.iOffset ); assert 130 third_party/sqlite/src/src/memjournal.c assert( iOfst==p->endpoint.iOffset ); assert 146 third_party/sqlite/src/src/memjournal.c assert( p->pFirst ); assert 149 third_party/sqlite/src/src/memjournal.c assert( !p->pFirst ); assert 170 third_party/sqlite/src/src/memjournal.c assert(size==0); assert 241 third_party/sqlite/src/src/memjournal.c assert( EIGHT_BYTE_ALIGNMENT(p) ); assert 93 third_party/sqlite/src/src/mutex.c assert( GLOBAL(int, mutexIsInit) ); assert 123 third_party/sqlite/src/src/mutex_noop.c assert( id-2 >= 0 ); assert 124 third_party/sqlite/src/src/mutex_noop.c assert( id-2 < (int)(sizeof(aStatic)/sizeof(aStatic[0])) ); assert 138 third_party/sqlite/src/src/mutex_noop.c assert( p->cnt==0 ); assert 139 third_party/sqlite/src/src/mutex_noop.c assert( p->id==SQLITE_MUTEX_FAST || p->id==SQLITE_MUTEX_RECURSIVE ); assert 156 third_party/sqlite/src/src/mutex_noop.c assert( p->id==SQLITE_MUTEX_RECURSIVE || debugMutexNotheld(pX) ); assert 161 third_party/sqlite/src/src/mutex_noop.c assert( p->id==SQLITE_MUTEX_RECURSIVE || debugMutexNotheld(pX) ); assert 174 third_party/sqlite/src/src/mutex_noop.c assert( debugMutexHeld(pX) ); assert 176 third_party/sqlite/src/src/mutex_noop.c assert( p->id==SQLITE_MUTEX_RECURSIVE || debugMutexNotheld(pX) ); assert 146 third_party/sqlite/src/src/mutex_os2.c assert( iType-2 >= 0 ); assert 147 third_party/sqlite/src/src/mutex_os2.c assert( iType-2 < sizeof(staticMutexes)/sizeof(staticMutexes[0]) ); assert 167 third_party/sqlite/src/src/mutex_os2.c assert( ulCount==0 ); assert 168 third_party/sqlite/src/src/mutex_os2.c assert( p->id==SQLITE_MUTEX_FAST || p->id==SQLITE_MUTEX_RECURSIVE ); assert 222 third_party/sqlite/src/src/mutex_os2.c assert( p->id==SQLITE_MUTEX_RECURSIVE || os2MutexNotheld(p) ); assert 230 third_party/sqlite/src/src/mutex_os2.c assert( p->id==SQLITE_MUTEX_RECURSIVE || os2MutexNotheld(p) ); assert 247 third_party/sqlite/src/src/mutex_os2.c assert( os2MutexHeld(p) ); assert 172 third_party/sqlite/src/src/mutex_unix.c assert( iType-2 >= 0 ); assert 173 third_party/sqlite/src/src/mutex_unix.c assert( iType-2 < ArraySize(staticMutexes) ); assert 191 third_party/sqlite/src/src/mutex_unix.c assert( p->nRef==0 ); assert 192 third_party/sqlite/src/src/mutex_unix.c assert( p->id==SQLITE_MUTEX_FAST || p->id==SQLITE_MUTEX_RECURSIVE ); assert 209 third_party/sqlite/src/src/mutex_unix.c assert( p->id==SQLITE_MUTEX_RECURSIVE || pthreadMutexNotheld(p) ); assert 228 third_party/sqlite/src/src/mutex_unix.c assert( p->nRef==0 ); assert 238 third_party/sqlite/src/src/mutex_unix.c assert( p->nRef>0 || p->owner==0 ); assert 252 third_party/sqlite/src/src/mutex_unix.c assert( p->id==SQLITE_MUTEX_RECURSIVE || pthreadMutexNotheld(p) ); assert 271 third_party/sqlite/src/src/mutex_unix.c assert( p->nRef==0 ); assert 308 third_party/sqlite/src/src/mutex_unix.c assert( pthreadMutexHeld(p) ); assert 313 third_party/sqlite/src/src/mutex_unix.c assert( p->nRef==0 || p->id==SQLITE_MUTEX_RECURSIVE ); assert 202 third_party/sqlite/src/src/mutex_w32.c assert( winMutex_isInit==1 ); assert 203 third_party/sqlite/src/src/mutex_w32.c assert( iType-2 >= 0 ); assert 204 third_party/sqlite/src/src/mutex_w32.c assert( iType-2 < ArraySize(winMutex_staticMutexes) ); assert 222 third_party/sqlite/src/src/mutex_w32.c assert( p ); assert 223 third_party/sqlite/src/src/mutex_w32.c assert( p->nRef==0 && p->owner==0 ); assert 224 third_party/sqlite/src/src/mutex_w32.c assert( p->id==SQLITE_MUTEX_FAST || p->id==SQLITE_MUTEX_RECURSIVE ); assert 243 third_party/sqlite/src/src/mutex_w32.c assert( p->id==SQLITE_MUTEX_RECURSIVE || winMutexNotheld2(p, tid) ); assert 247 third_party/sqlite/src/src/mutex_w32.c assert( p->nRef>0 || p->owner==0 ); assert 260 third_party/sqlite/src/src/mutex_w32.c assert( p->id==SQLITE_MUTEX_RECURSIVE || winMutexNotheld2(p, tid) ); assert 298 third_party/sqlite/src/src/mutex_w32.c assert( p->nRef>0 ); assert 299 third_party/sqlite/src/src/mutex_w32.c assert( p->owner==tid ); assert 302 third_party/sqlite/src/src/mutex_w32.c assert( p->nRef==0 || p->id==SQLITE_MUTEX_RECURSIVE ); assert 32 third_party/sqlite/src/src/notify.c assert( sqlite3_mutex_held(sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MASTER)) ) assert 64 third_party/sqlite/src/src/notify.c assert( p->pUnlockConnection || p->pBlockingConnection ); assert 69 third_party/sqlite/src/src/notify.c assert( p2->xUnlockNotify==p->xUnlockNotify || !seen ); assert 70 third_party/sqlite/src/src/notify.c assert( db==0 || p->pUnlockConnection!=db ); assert 71 third_party/sqlite/src/src/notify.c assert( db==0 || p->pBlockingConnection!=db ); assert 186 third_party/sqlite/src/src/notify.c assert( !db->mallocFailed ); assert 248 third_party/sqlite/src/src/notify.c assert( p->xUnlockNotify ); assert 255 third_party/sqlite/src/src/notify.c assert( aArg==aDyn || (aDyn==0 && aArg==aStatic) ); assert 256 third_party/sqlite/src/src/notify.c assert( nArg<=(int)ArraySize(aStatic) || aArg==aDyn ); assert 140 third_party/sqlite/src/src/os.c assert( rc==SQLITE_OK || pFile->pMethods==0 ); assert 224 third_party/sqlite/src/src/os.c assert( pFile ); assert 278 third_party/sqlite/src/src/os.c assert( sqlite3_mutex_held(sqlite3MutexAlloc(SQLITE_MUTEX_STATIC_MASTER)) ); assert 315 third_party/sqlite/src/src/os.c assert(vfsList); assert 99 third_party/sqlite/src/src/os_os2.c assert( id!=0 ); assert 131 third_party/sqlite/src/src/os_os2.c assert( id!=0 ); assert 163 third_party/sqlite/src/src/os_os2.c assert( id!=0 ); assert 170 third_party/sqlite/src/src/os_os2.c assert( amt>0 ); assert 188 third_party/sqlite/src/src/os_os2.c assert( id!=0 ); assert 244 third_party/sqlite/src/src/os_os2.c assert( id!=0 ); assert 327 third_party/sqlite/src/src/os_os2.c assert( pFile!=0 ); assert 341 third_party/sqlite/src/src/os_os2.c assert( pFile->locktype!=NO_LOCK || locktype==SHARED_LOCK ); assert 342 third_party/sqlite/src/src/os_os2.c assert( locktype!=PENDING_LOCK ); assert 343 third_party/sqlite/src/src/os_os2.c assert( locktype!=RESERVED_LOCK || pFile->locktype==SHARED_LOCK ); assert 369 third_party/sqlite/src/src/os_os2.c assert( pFile->locktype==NO_LOCK ); assert 380 third_party/sqlite/src/src/os_os2.c assert( pFile->locktype==SHARED_LOCK ); assert 404 third_party/sqlite/src/src/os_os2.c assert( pFile->locktype>=SHARED_LOCK ); assert 457 third_party/sqlite/src/src/os_os2.c assert( pFile!=0 ); assert 509 third_party/sqlite/src/src/os_os2.c assert( pFile!=0 ); assert 510 third_party/sqlite/src/src/os_os2.c assert( locktype<=SHARED_LOCK ); assert 841 third_party/sqlite/src/src/os_os2.c assert( sqlite3_mutex_held(pNode->mutex) || pNode->nRef==0 ); assert 1090 third_party/sqlite/src/src/os_os2.c assert( szRegion==pNode->szRegion ); assert 1176 third_party/sqlite/src/src/os_os2.c assert(*ppLink); assert 1219 third_party/sqlite/src/src/os_os2.c assert( ofst>=0 && ofst+n<=SQLITE_SHM_NLOCK ); assert 1220 third_party/sqlite/src/src/os_os2.c assert( n>=1 ); assert 1221 third_party/sqlite/src/src/os_os2.c assert( flags==(SQLITE_SHM_LOCK | SQLITE_SHM_SHARED) assert 1225 third_party/sqlite/src/src/os_os2.c assert( n==1 || (flags & SQLITE_SHM_EXCLUSIVE)!=0 ); assert 1228 third_party/sqlite/src/src/os_os2.c assert( n>1 || mask==(1<<ofst) ); assert 1239 third_party/sqlite/src/src/os_os2.c assert( (pX->exclMask & (p->exclMask|p->sharedMask))==0 ); assert 1300 third_party/sqlite/src/src/os_os2.c assert( (p->sharedMask & mask)==0 ); assert 1491 third_party/sqlite/src/src/os_os2.c assert( id!=0 ); assert 1500 third_party/sqlite/src/src/os_os2.c assert((isReadonly==0 || isReadWrite==0) && (isReadWrite || isReadonly)); assert 1501 third_party/sqlite/src/src/os_os2.c assert(isCreate==0 || isReadWrite); assert 1502 third_party/sqlite/src/src/os_os2.c assert(isExclusive==0 || isCreate); assert 1503 third_party/sqlite/src/src/os_os2.c assert(isDelete==0 || isCreate); assert 1507 third_party/sqlite/src/src/os_os2.c assert( (!isDelete && zName) || eType!=SQLITE_OPEN_MAIN_DB ); assert 1508 third_party/sqlite/src/src/os_os2.c assert( (!isDelete && zName) || eType!=SQLITE_OPEN_MAIN_JOURNAL ); assert 1509 third_party/sqlite/src/src/os_os2.c assert( (!isDelete && zName) || eType!=SQLITE_OPEN_MASTER_JOURNAL ); assert 1510 third_party/sqlite/src/src/os_os2.c assert( (!isDelete && zName) || eType!=SQLITE_OPEN_WAL ); assert 1513 third_party/sqlite/src/src/os_os2.c assert( eType==SQLITE_OPEN_MAIN_DB || eType==SQLITE_OPEN_TEMP_DB assert 1526 third_party/sqlite/src/src/os_os2.c assert(isDelete && !isOpenJournal); assert 1662 third_party/sqlite/src/src/os_os2.c assert( !"Invalid flags argument" ); assert 1881 third_party/sqlite/src/src/os_os2.c assert(zBuf[0]=='\0'); assert 557 third_party/sqlite/src/src/os_unix.c assert( 0 ); assert 559 third_party/sqlite/src/src/os_unix.c assert( p->l_whence==SEEK_SET ); assert 576 third_party/sqlite/src/src/os_unix.c assert( 0 ); assert 767 third_party/sqlite/src/src/os_unix.c assert( zAbsoluteName[0]=='/' ); assert 806 third_party/sqlite/src/src/os_unix.c assert( pId->nRef>0 ); assert 811 third_party/sqlite/src/src/os_unix.c assert( *pp==pId ); assert 1019 third_party/sqlite/src/src/os_unix.c assert( errcode!=SQLITE_OK ); assert 1072 third_party/sqlite/src/src/os_unix.c assert( unixMutexHeld() ); assert 1076 third_party/sqlite/src/src/os_unix.c assert( pInode->pShmNode==0 ); assert 1079 third_party/sqlite/src/src/os_unix.c assert( pInode->pPrev->pNext==pInode ); assert 1082 third_party/sqlite/src/src/os_unix.c assert( inodeList==pInode ); assert 1086 third_party/sqlite/src/src/os_unix.c assert( pInode->pNext->pPrev==pInode ); assert 1114 third_party/sqlite/src/src/os_unix.c assert( unixMutexHeld() ); assert 1198 third_party/sqlite/src/src/os_unix.c assert( pFile ); assert 1253 third_party/sqlite/src/src/os_unix.c assert( unixMutexHeld() ); assert 1254 third_party/sqlite/src/src/os_unix.c assert( pInode!=0 ); assert 1260 third_party/sqlite/src/src/os_unix.c assert( pInode->nLock==0 ); assert 1347 third_party/sqlite/src/src/os_unix.c assert( pFile ); assert 1367 third_party/sqlite/src/src/os_unix.c assert( pFile->eFileLock!=NO_LOCK || eFileLock==SHARED_LOCK ); assert 1368 third_party/sqlite/src/src/os_unix.c assert( eFileLock!=PENDING_LOCK ); assert 1369 third_party/sqlite/src/src/os_unix.c assert( eFileLock!=RESERVED_LOCK || pFile->eFileLock==SHARED_LOCK ); assert 1392 third_party/sqlite/src/src/os_unix.c assert( eFileLock==SHARED_LOCK ); assert 1393 third_party/sqlite/src/src/os_unix.c assert( pFile->eFileLock==0 ); assert 1394 third_party/sqlite/src/src/os_unix.c assert( pInode->nShared>0 ); assert 1428 third_party/sqlite/src/src/os_unix.c assert( pInode->nShared==0 ); assert 1429 third_party/sqlite/src/src/os_unix.c assert( pInode->eFileLock==0 ); assert 1430 third_party/sqlite/src/src/os_unix.c assert( rc==SQLITE_OK ); assert 1469 third_party/sqlite/src/src/os_unix.c assert( 0!=pFile->eFileLock ); assert 1472 third_party/sqlite/src/src/os_unix.c assert( eFileLock==RESERVED_LOCK || eFileLock==EXCLUSIVE_LOCK ); assert 1556 third_party/sqlite/src/src/os_unix.c assert( pFile ); assert 1561 third_party/sqlite/src/src/os_unix.c assert( eFileLock<=SHARED_LOCK ); assert 1568 third_party/sqlite/src/src/os_unix.c assert( pInode->nShared!=0 ); assert 1570 third_party/sqlite/src/src/os_unix.c assert( pInode->eFileLock==pFile->eFileLock ); assert 1585 third_party/sqlite/src/src/os_unix.c assert( pFile->inNormalWrite==0 assert 1605 third_party/sqlite/src/src/os_unix.c assert( handleNFSUnlock==0 ); assert 1671 third_party/sqlite/src/src/os_unix.c lock.l_len = 2L; assert( PENDING_BYTE+1==RESERVED_BYTE ); assert 1708 third_party/sqlite/src/src/os_unix.c assert( pInode->nLock>=0 ); assert 1775 third_party/sqlite/src/src/os_unix.c assert( pFile->pInode->nLock>0 || pFile->pInode->bProcessLock==0 ); assert 1879 third_party/sqlite/src/src/os_unix.c assert( pFile ); assert 1977 third_party/sqlite/src/src/os_unix.c assert( pFile ); assert 1980 third_party/sqlite/src/src/os_unix.c assert( eFileLock<=SHARED_LOCK ); assert 1996 third_party/sqlite/src/src/os_unix.c assert( eFileLock==NO_LOCK ); assert 2072 third_party/sqlite/src/src/os_unix.c assert( pFile ); assert 2151 third_party/sqlite/src/src/os_unix.c assert( pFile ); assert 2194 third_party/sqlite/src/src/os_unix.c assert( pFile ); assert 2197 third_party/sqlite/src/src/os_unix.c assert( eFileLock<=SHARED_LOCK ); assert 2262 third_party/sqlite/src/src/os_unix.c assert( pFile ); assert 2361 third_party/sqlite/src/src/os_unix.c assert( pFile ); assert 2362 third_party/sqlite/src/src/os_unix.c assert( pSem ); assert 2365 third_party/sqlite/src/src/os_unix.c assert( eFileLock<=SHARED_LOCK ); assert 2398 third_party/sqlite/src/src/os_unix.c assert( pFile ); assert 2506 third_party/sqlite/src/src/os_unix.c assert( pFile ); assert 2574 third_party/sqlite/src/src/os_unix.c assert( pFile ); assert 2594 third_party/sqlite/src/src/os_unix.c assert( pFile->eFileLock!=NO_LOCK || eFileLock==SHARED_LOCK ); assert 2595 third_party/sqlite/src/src/os_unix.c assert( eFileLock!=PENDING_LOCK ); assert 2596 third_party/sqlite/src/src/os_unix.c assert( eFileLock!=RESERVED_LOCK || pFile->eFileLock==SHARED_LOCK ); assert 2619 third_party/sqlite/src/src/os_unix.c assert( eFileLock==SHARED_LOCK ); assert 2620 third_party/sqlite/src/src/os_unix.c assert( pFile->eFileLock==0 ); assert 2621 third_party/sqlite/src/src/os_unix.c assert( pInode->nShared>0 ); assert 2650 third_party/sqlite/src/src/os_unix.c assert( pInode->nShared==0 ); assert 2651 third_party/sqlite/src/src/os_unix.c assert( pInode->eFileLock==0 ); assert 2690 third_party/sqlite/src/src/os_unix.c assert( 0!=pFile->eFileLock ); assert 2760 third_party/sqlite/src/src/os_unix.c assert( pFile ); assert 2765 third_party/sqlite/src/src/os_unix.c assert( eFileLock<=SHARED_LOCK ); assert 2771 third_party/sqlite/src/src/os_unix.c assert( pInode->nShared!=0 ); assert 2773 third_party/sqlite/src/src/os_unix.c assert( pInode->eFileLock==pFile->eFileLock ); assert 2787 third_party/sqlite/src/src/os_unix.c assert( pFile->inNormalWrite==0 assert 2838 third_party/sqlite/src/src/os_unix.c assert( pInode->nLock>=0 ); assert 2978 third_party/sqlite/src/src/os_unix.c assert( id ); assert 2983 third_party/sqlite/src/src/os_unix.c assert( pFile->pUnused==0 assert 3055 third_party/sqlite/src/src/os_unix.c assert( id ); assert 3056 third_party/sqlite/src/src/os_unix.c assert( amt>0 ); assert 3061 third_party/sqlite/src/src/os_unix.c assert( pFile->pUnused==0 assert 3300 third_party/sqlite/src/src/os_unix.c assert((flags&0x0F)==SQLITE_SYNC_NORMAL assert 3309 third_party/sqlite/src/src/os_unix.c assert( pFile ); assert 3344 third_party/sqlite/src/src/os_unix.c assert( pFile ); assert 3384 third_party/sqlite/src/src/os_unix.c assert( id ); assert 3629 third_party/sqlite/src/src/os_unix.c assert( sqlite3_mutex_held(pShmNode->mutex) || pShmNode->nRef==0 ); assert 3632 third_party/sqlite/src/src/os_unix.c assert( n==1 || lockType!=F_RDLCK ); assert 3635 third_party/sqlite/src/src/os_unix.c assert( n>=1 && n<SQLITE_SHM_NLOCK ); assert 3664 third_party/sqlite/src/src/os_unix.c assert( lockType==F_WRLCK ); assert 3675 third_party/sqlite/src/src/os_unix.c assert( lockType==F_WRLCK ); assert 3696 third_party/sqlite/src/src/os_unix.c assert( unixMutexHeld() ); assert 3699 third_party/sqlite/src/src/os_unix.c assert( p->pInode==pFd->pInode ); assert 3765 third_party/sqlite/src/src/os_unix.c assert( pDbFd->pShm==0 ); assert 3908 third_party/sqlite/src/src/os_unix.c assert( szRegion==pShmNode->szRegion || pShmNode->nRegion==0 ); assert 3909 third_party/sqlite/src/src/os_unix.c assert( pShmNode->pInode==pDbFd->pInode ); assert 3910 third_party/sqlite/src/src/os_unix.c assert( pShmNode->h>=0 || pDbFd->pInode->bProcessLock==1 ); assert 3911 third_party/sqlite/src/src/os_unix.c assert( pShmNode->h<0 || pDbFd->pInode->bProcessLock==0 ); assert 4009 third_party/sqlite/src/src/os_unix.c assert( pShmNode==pDbFd->pInode->pShmNode ); assert 4010 third_party/sqlite/src/src/os_unix.c assert( pShmNode->pInode==pDbFd->pInode ); assert 4011 third_party/sqlite/src/src/os_unix.c assert( ofst>=0 && ofst+n<=SQLITE_SHM_NLOCK ); assert 4012 third_party/sqlite/src/src/os_unix.c assert( n>=1 ); assert 4013 third_party/sqlite/src/src/os_unix.c assert( flags==(SQLITE_SHM_LOCK | SQLITE_SHM_SHARED) assert 4017 third_party/sqlite/src/src/os_unix.c assert( n==1 || (flags & SQLITE_SHM_EXCLUSIVE)!=0 ); assert 4018 third_party/sqlite/src/src/os_unix.c assert( pShmNode->h>=0 || pDbFd->pInode->bProcessLock==1 ); assert 4019 third_party/sqlite/src/src/os_unix.c assert( pShmNode->h<0 || pDbFd->pInode->bProcessLock==0 ); assert 4022 third_party/sqlite/src/src/os_unix.c assert( n>1 || mask==(1<<ofst) ); assert 4030 third_party/sqlite/src/src/os_unix.c assert( (pX->exclMask & (p->exclMask|p->sharedMask))==0 ); assert 4091 third_party/sqlite/src/src/os_unix.c assert( (p->sharedMask & mask)==0 ); assert 4137 third_party/sqlite/src/src/os_unix.c assert( pShmNode==pDbFd->pInode->pShmNode ); assert 4138 third_party/sqlite/src/src/os_unix.c assert( pShmNode->pInode==pDbFd->pInode ); assert 4154 third_party/sqlite/src/src/os_unix.c assert( pShmNode->nRef>0 ); assert 4488 third_party/sqlite/src/src/os_unix.c assert( pNew->pInode==NULL ); assert 4500 third_party/sqlite/src/src/os_unix.c assert( zFilename==0 || zFilename[0]=='/' assert 4503 third_party/sqlite/src/src/os_unix.c assert( zFilename==0 || zFilename[0]=='/' ); assert 4992 third_party/sqlite/src/src/os_unix.c assert((isReadonly==0 || isReadWrite==0) && (isReadWrite || isReadonly)); assert 4993 third_party/sqlite/src/src/os_unix.c assert(isCreate==0 || isReadWrite); assert 4994 third_party/sqlite/src/src/os_unix.c assert(isExclusive==0 || isCreate); assert 4995 third_party/sqlite/src/src/os_unix.c assert(isDelete==0 || isCreate); assert 4999 third_party/sqlite/src/src/os_unix.c assert( (!isDelete && zName) || eType!=SQLITE_OPEN_MAIN_DB ); assert 5000 third_party/sqlite/src/src/os_unix.c assert( (!isDelete && zName) || eType!=SQLITE_OPEN_MAIN_JOURNAL ); assert 5001 third_party/sqlite/src/src/os_unix.c assert( (!isDelete && zName) || eType!=SQLITE_OPEN_MASTER_JOURNAL ); assert 5002 third_party/sqlite/src/src/os_unix.c assert( (!isDelete && zName) || eType!=SQLITE_OPEN_WAL ); assert 5005 third_party/sqlite/src/src/os_unix.c assert( eType==SQLITE_OPEN_MAIN_DB || eType==SQLITE_OPEN_TEMP_DB assert 5020 third_party/sqlite/src/src/os_unix.c assert(isDelete && !syncDir); assert 5042 third_party/sqlite/src/src/os_unix.c assert( !p->pUnused ); assert 5043 third_party/sqlite/src/src/os_unix.c assert( eType==SQLITE_OPEN_WAL || eType==SQLITE_OPEN_MAIN_JOURNAL ); assert 5062 third_party/sqlite/src/src/os_unix.c assert( fd>=0 ); assert 5227 third_party/sqlite/src/src/os_unix.c assert(!"Invalid flags argument"); assert 5263 third_party/sqlite/src/src/os_unix.c assert( pVfs->mxPathname==MAX_PATHNAME ); assert 5348 third_party/sqlite/src/src/os_unix.c assert((size_t)nBuf>=(sizeof(time_t)+sizeof(int))); assert 5373 third_party/sqlite/src/src/os_unix.c assert( sizeof(t)+sizeof(pid)<=(size_t)nBuf ); assert 5710 third_party/sqlite/src/src/os_unix.c assert(lockPath!=NULL); assert 5841 third_party/sqlite/src/src/os_unix.c assert(PROXY_HOSTIDLEN == sizeof(uuid_t)); assert 5969 third_party/sqlite/src/src/os_unix.c assert( nTries>1 ); assert 5995 third_party/sqlite/src/src/os_unix.c assert( nTries==3 ); assert 6295 third_party/sqlite/src/src/os_unix.c assert( (int)strlen(conchPath) == len+7 ); assert 6345 third_party/sqlite/src/src/os_unix.c assert( (int)strlen((char*)pFile->lockingContext)<=MAXPATHLEN ); assert 6356 third_party/sqlite/src/src/os_unix.c assert( strlen((char*)pFile->lockingContext)<=MAXPATHLEN ); assert 6507 third_party/sqlite/src/src/os_unix.c assert( 0 ); /* The call assures that only valid opcodes are sent */ assert 6752 third_party/sqlite/src/src/os_unix.c assert( ArraySize(aSyscall)==18 ); assert 552 third_party/sqlite/src/src/os_win.c assert(nNumberOfBytesToUnlockLow == (DWORD)SHARED_SIZE); assert 560 third_party/sqlite/src/src/os_win.c assert(nNumberOfBytesToUnlockLow == (DWORD)SHARED_SIZE || nNumberOfBytesToUnlockLow == 1); assert 675 third_party/sqlite/src/src/os_win.c assert( id!=0 ); assert 676 third_party/sqlite/src/src/os_win.c assert( pFile->pShm==0 ); assert 716 third_party/sqlite/src/src/os_win.c assert( id!=0 ); assert 749 third_party/sqlite/src/src/os_win.c assert( amt>0 ); assert 750 third_party/sqlite/src/src/os_win.c assert( pFile ); assert 788 third_party/sqlite/src/src/os_win.c assert( pFile ); assert 833 third_party/sqlite/src/src/os_win.c assert( pFile ); assert 835 third_party/sqlite/src/src/os_win.c assert((flags&0x0F)==SQLITE_SYNC_NORMAL assert 880 third_party/sqlite/src/src/os_win.c assert( id!=0 ); assert 984 third_party/sqlite/src/src/os_win.c assert( id!=0 ); assert 998 third_party/sqlite/src/src/os_win.c assert( pFile->locktype!=NO_LOCK || locktype==SHARED_LOCK ); assert 999 third_party/sqlite/src/src/os_win.c assert( locktype!=PENDING_LOCK ); assert 1000 third_party/sqlite/src/src/os_win.c assert( locktype!=RESERVED_LOCK || pFile->locktype==SHARED_LOCK ); assert 1028 third_party/sqlite/src/src/os_win.c assert( pFile->locktype==NO_LOCK ); assert 1040 third_party/sqlite/src/src/os_win.c assert( pFile->locktype==SHARED_LOCK ); assert 1059 third_party/sqlite/src/src/os_win.c assert( pFile->locktype>=SHARED_LOCK ); assert 1105 third_party/sqlite/src/src/os_win.c assert( id!=0 ); assert 1136 third_party/sqlite/src/src/os_win.c assert( pFile!=0 ); assert 1137 third_party/sqlite/src/src/os_win.c assert( locktype<=SHARED_LOCK ); assert 1204 third_party/sqlite/src/src/os_win.c assert( id!=0 ); assert 1349 third_party/sqlite/src/src/os_win.c assert( sqlite3_mutex_held(pFile->mutex) || pFile->nRef==0 ); assert 1395 third_party/sqlite/src/src/os_win.c assert( winShmMutexHeld() ); assert 1444 third_party/sqlite/src/src/os_win.c assert( pDbFd->pShm==0 ); /* Not previously opened */ assert 1577 third_party/sqlite/src/src/os_win.c assert( pShmNode->nRef>0 ); assert 1603 third_party/sqlite/src/src/os_win.c assert( ofst>=0 && ofst+n<=SQLITE_SHM_NLOCK ); assert 1604 third_party/sqlite/src/src/os_win.c assert( n>=1 ); assert 1605 third_party/sqlite/src/src/os_win.c assert( flags==(SQLITE_SHM_LOCK | SQLITE_SHM_SHARED) assert 1609 third_party/sqlite/src/src/os_win.c assert( n==1 || (flags & SQLITE_SHM_EXCLUSIVE)!=0 ); assert 1612 third_party/sqlite/src/src/os_win.c assert( n>1 || mask==(1<<ofst) ); assert 1620 third_party/sqlite/src/src/os_win.c assert( (pX->exclMask & (p->exclMask|p->sharedMask))==0 ); assert 1681 third_party/sqlite/src/src/os_win.c assert( (p->sharedMask & mask)==0 ); assert 1747 third_party/sqlite/src/src/os_win.c assert( szRegion==pShmNode->szRegion || pShmNode->nRegion==0 ); assert 2092 third_party/sqlite/src/src/os_win.c assert((isReadonly==0 || isReadWrite==0) && (isReadWrite || isReadonly)); assert 2093 third_party/sqlite/src/src/os_win.c assert(isCreate==0 || isReadWrite); assert 2094 third_party/sqlite/src/src/os_win.c assert(isExclusive==0 || isCreate); assert 2095 third_party/sqlite/src/src/os_win.c assert(isDelete==0 || isCreate); assert 2099 third_party/sqlite/src/src/os_win.c assert( (!isDelete && zName) || eType!=SQLITE_OPEN_MAIN_DB ); assert 2100 third_party/sqlite/src/src/os_win.c assert( (!isDelete && zName) || eType!=SQLITE_OPEN_MAIN_JOURNAL ); assert 2101 third_party/sqlite/src/src/os_win.c assert( (!isDelete && zName) || eType!=SQLITE_OPEN_MASTER_JOURNAL ); assert 2102 third_party/sqlite/src/src/os_win.c assert( (!isDelete && zName) || eType!=SQLITE_OPEN_WAL ); assert 2105 third_party/sqlite/src/src/os_win.c assert( eType==SQLITE_OPEN_MAIN_DB || eType==SQLITE_OPEN_TEMP_DB assert 2111 third_party/sqlite/src/src/os_win.c assert( id!=0 ); assert 2120 third_party/sqlite/src/src/os_win.c assert(isDelete && !isOpenJournal); assert 2376 third_party/sqlite/src/src/os_win.c assert(!"Invalid flags argument"); assert 2777 third_party/sqlite/src/src/os_win.c assert(winSysInfo.dwAllocationGranularity > 0); assert 807 third_party/sqlite/src/src/pager.c assert( p->eState==PAGER_OPEN assert 820 third_party/sqlite/src/src/pager.c assert( p->tempFile==0 || p->eLock==EXCLUSIVE_LOCK ); assert 821 third_party/sqlite/src/src/pager.c assert( p->tempFile==0 || pPager->changeCountDone ); assert 826 third_party/sqlite/src/src/pager.c assert( p->journalMode==PAGER_JOURNALMODE_OFF || p->useJournal ); assert 827 third_party/sqlite/src/src/pager.c assert( p->journalMode!=PAGER_JOURNALMODE_OFF || !isOpen(p->jfd) ); assert 838 third_party/sqlite/src/src/pager.c assert( p->noSync ); assert 839 third_party/sqlite/src/src/pager.c assert( p->journalMode==PAGER_JOURNALMODE_OFF assert 842 third_party/sqlite/src/src/pager.c assert( p->eState!=PAGER_ERROR && p->eState!=PAGER_OPEN ); assert 843 third_party/sqlite/src/src/pager.c assert( pagerUseWal(p)==0 ); assert 849 third_party/sqlite/src/src/pager.c assert( pPager->changeCountDone==0 || pPager->eLock>=RESERVED_LOCK ); assert 850 third_party/sqlite/src/src/pager.c assert( p->eLock!=PENDING_LOCK ); assert 854 third_party/sqlite/src/src/pager.c assert( !MEMDB ); assert 855 third_party/sqlite/src/src/pager.c assert( pPager->errCode==SQLITE_OK ); assert 856 third_party/sqlite/src/src/pager.c assert( sqlite3PcacheRefCount(pPager->pPCache)==0 || pPager->tempFile ); assert 860 third_party/sqlite/src/src/pager.c assert( pPager->errCode==SQLITE_OK ); assert 861 third_party/sqlite/src/src/pager.c assert( p->eLock!=UNKNOWN_LOCK ); assert 862 third_party/sqlite/src/src/pager.c assert( p->eLock>=SHARED_LOCK || p->noReadlock ); assert 866 third_party/sqlite/src/src/pager.c assert( p->eLock!=UNKNOWN_LOCK ); assert 867 third_party/sqlite/src/src/pager.c assert( pPager->errCode==SQLITE_OK ); assert 869 third_party/sqlite/src/src/pager.c assert( p->eLock>=RESERVED_LOCK ); assert 871 third_party/sqlite/src/src/pager.c assert( pPager->dbSize==pPager->dbOrigSize ); assert 872 third_party/sqlite/src/src/pager.c assert( pPager->dbOrigSize==pPager->dbFileSize ); assert 873 third_party/sqlite/src/src/pager.c assert( pPager->dbOrigSize==pPager->dbHintSize ); assert 874 third_party/sqlite/src/src/pager.c assert( pPager->setMaster==0 ); assert 878 third_party/sqlite/src/src/pager.c assert( p->eLock!=UNKNOWN_LOCK ); assert 879 third_party/sqlite/src/src/pager.c assert( pPager->errCode==SQLITE_OK ); assert 886 third_party/sqlite/src/src/pager.c assert( p->eLock>=RESERVED_LOCK ); assert 887 third_party/sqlite/src/src/pager.c assert( isOpen(p->jfd) assert 892 third_party/sqlite/src/src/pager.c assert( pPager->dbOrigSize==pPager->dbFileSize ); assert 893 third_party/sqlite/src/src/pager.c assert( pPager->dbOrigSize==pPager->dbHintSize ); assert 897 third_party/sqlite/src/src/pager.c assert( p->eLock==EXCLUSIVE_LOCK ); assert 898 third_party/sqlite/src/src/pager.c assert( pPager->errCode==SQLITE_OK ); assert 899 third_party/sqlite/src/src/pager.c assert( !pagerUseWal(pPager) ); assert 900 third_party/sqlite/src/src/pager.c assert( p->eLock>=EXCLUSIVE_LOCK ); assert 901 third_party/sqlite/src/src/pager.c assert( isOpen(p->jfd) assert 905 third_party/sqlite/src/src/pager.c assert( pPager->dbOrigSize<=pPager->dbHintSize ); assert 909 third_party/sqlite/src/src/pager.c assert( p->eLock==EXCLUSIVE_LOCK ); assert 910 third_party/sqlite/src/src/pager.c assert( pPager->errCode==SQLITE_OK ); assert 911 third_party/sqlite/src/src/pager.c assert( !pagerUseWal(pPager) ); assert 912 third_party/sqlite/src/src/pager.c assert( isOpen(p->jfd) assert 923 third_party/sqlite/src/src/pager.c assert( pPager->errCode!=SQLITE_OK ); assert 924 third_party/sqlite/src/src/pager.c assert( sqlite3PcacheRefCount(pPager->pPCache)>0 ); assert 1056 third_party/sqlite/src/src/pager.c assert( !pPager->exclusiveMode || pPager->eLock==eLock ); assert 1057 third_party/sqlite/src/src/pager.c assert( eLock==NO_LOCK || eLock==SHARED_LOCK ); assert 1058 third_party/sqlite/src/src/pager.c assert( eLock!=NO_LOCK || pagerUseWal(pPager)==0 ); assert 1060 third_party/sqlite/src/src/pager.c assert( pPager->eLock>=eLock ); assert 1083 third_party/sqlite/src/src/pager.c assert( eLock==SHARED_LOCK || eLock==RESERVED_LOCK || eLock==EXCLUSIVE_LOCK ); assert 1113 third_party/sqlite/src/src/pager.c assert( !MEMDB ); assert 1119 third_party/sqlite/src/src/pager.c assert( isOpen(pPager->fd) ); assert 1124 third_party/sqlite/src/src/pager.c assert(SQLITE_IOCAP_ATOMIC512==(512>>8)); assert 1125 third_party/sqlite/src/src/pager.c assert(SQLITE_IOCAP_ATOMIC64K==(65536>>8)); assert 1167 third_party/sqlite/src/src/pager.c assert( pPager->eState!=PAGER_ERROR ); assert 1168 third_party/sqlite/src/src/pager.c assert( (pPg->flags&PGHDR_DIRTY) || pPg->pageHash==pager_pagehash(pPg) ); assert 1262 third_party/sqlite/src/src/pager.c assert( offset%JOURNAL_HDR_SZ(pPager)==0 ); assert 1263 third_party/sqlite/src/src/pager.c assert( offset>=c ); assert 1264 third_party/sqlite/src/src/pager.c assert( (offset-c)<JOURNAL_HDR_SZ(pPager) ); assert 1291 third_party/sqlite/src/src/pager.c assert( isOpen(pPager->jfd) ); assert 1345 third_party/sqlite/src/src/pager.c assert( isOpen(pPager->jfd) ); /* Journal file must be open. */ assert 1383 third_party/sqlite/src/src/pager.c assert( isOpen(pPager->fd) || pPager->noSync ); assert 1432 third_party/sqlite/src/src/pager.c assert( pPager->journalHdr <= pPager->journalOff ); assert 1467 third_party/sqlite/src/src/pager.c assert( isOpen(pPager->jfd) ); /* Journal file must be open. */ assert 1588 third_party/sqlite/src/src/pager.c assert( pPager->setMaster==0 ); assert 1589 third_party/sqlite/src/src/pager.c assert( !pagerUseWal(pPager) ); assert 1598 third_party/sqlite/src/src/pager.c assert( isOpen(pPager->jfd) ); assert 1599 third_party/sqlite/src/src/pager.c assert( pPager->journalHdr <= pPager->journalOff ); assert 1702 third_party/sqlite/src/src/pager.c assert( rc==SQLITE_OK || rc==SQLITE_NOMEM ); assert 1727 third_party/sqlite/src/src/pager.c assert( pPager->eState==PAGER_READER assert 1737 third_party/sqlite/src/src/pager.c assert( !isOpen(pPager->jfd) ); assert 1749 third_party/sqlite/src/src/pager.c assert( (PAGER_JOURNALMODE_MEMORY & 5)!=1 ); assert 1750 third_party/sqlite/src/src/pager.c assert( (PAGER_JOURNALMODE_OFF & 5)!=1 ); assert 1751 third_party/sqlite/src/src/pager.c assert( (PAGER_JOURNALMODE_WAL & 5)!=1 ); assert 1752 third_party/sqlite/src/src/pager.c assert( (PAGER_JOURNALMODE_DELETE & 5)!=1 ); assert 1753 third_party/sqlite/src/src/pager.c assert( (PAGER_JOURNALMODE_TRUNCATE & 5)==1 ); assert 1754 third_party/sqlite/src/src/pager.c assert( (PAGER_JOURNALMODE_PERSIST & 5)==1 ); assert 1775 third_party/sqlite/src/src/pager.c assert( pPager->errCode || pPager->eState!=PAGER_ERROR ); assert 1786 third_party/sqlite/src/src/pager.c assert( !MEMDB ); assert 1819 third_party/sqlite/src/src/pager.c assert( rc==SQLITE_OK || !MEMDB ); assert 1820 third_party/sqlite/src/src/pager.c assert( assert 1902 third_party/sqlite/src/src/pager.c assert( assert_pager_state(pPager) ); assert 1903 third_party/sqlite/src/src/pager.c assert( pPager->eState!=PAGER_ERROR ); assert 1909 third_party/sqlite/src/src/pager.c assert( isOpen(pPager->jfd) || pPager->pInJournal==0 ); assert 1911 third_party/sqlite/src/src/pager.c assert( !pagerUseWal(pPager) ); assert 1915 third_party/sqlite/src/src/pager.c assert( pPager->journalMode==PAGER_JOURNALMODE_MEMORY ); assert 1935 third_party/sqlite/src/src/pager.c assert( pPager->journalMode==PAGER_JOURNALMODE_DELETE assert 1969 third_party/sqlite/src/src/pager.c assert( rc2==SQLITE_OK ); assert 2002 third_party/sqlite/src/src/pager.c assert( assert_pager_state(pPager) ); assert 2008 third_party/sqlite/src/src/pager.c assert( pPager->eState==PAGER_READER ); assert 2111 third_party/sqlite/src/src/pager.c assert( (isMainJrnl&~1)==0 ); /* isMainJrnl is 0 or 1 */ assert 2112 third_party/sqlite/src/src/pager.c assert( (isSavepnt&~1)==0 ); /* isSavepnt is 0 or 1 */ assert 2113 third_party/sqlite/src/src/pager.c assert( isMainJrnl || pDone ); /* pDone always used on sub-journals */ assert 2114 third_party/sqlite/src/src/pager.c assert( isSavepnt || pDone==0 ); /* pDone never used on non-savepoint */ assert 2117 third_party/sqlite/src/src/pager.c assert( aData ); /* Temp storage must have already been allocated */ assert 2118 third_party/sqlite/src/src/pager.c assert( pagerUseWal(pPager)==0 || (!isMainJrnl && isSavepnt) ); assert 2126 third_party/sqlite/src/src/pager.c assert( pPager->eState>=PAGER_WRITER_CACHEMOD assert 2129 third_party/sqlite/src/src/pager.c assert( pPager->eState>=PAGER_WRITER_CACHEMOD || isMainJrnl ); assert 2147 third_party/sqlite/src/src/pager.c assert( !isSavepnt ); assert 2215 third_party/sqlite/src/src/pager.c assert( pPg || !MEMDB ); assert 2216 third_party/sqlite/src/src/pager.c assert( pPager->eState!=PAGER_OPEN || pPg==0 ); assert 2232 third_party/sqlite/src/src/pager.c assert( !pagerUseWal(pPager) ); assert 2259 third_party/sqlite/src/src/pager.c assert( isSavepnt ); assert 2260 third_party/sqlite/src/src/pager.c assert( pPager->doNotSpill==0 ); assert 2263 third_party/sqlite/src/src/pager.c assert( pPager->doNotSpill==1 ); assert 2300 third_party/sqlite/src/src/pager.c assert( !pagerUseWal(pPager) ); assert 2444 third_party/sqlite/src/src/pager.c assert( !isOpen(pJournal) ); assert 2473 third_party/sqlite/src/src/pager.c assert( pPager->eState!=PAGER_ERROR ); assert 2474 third_party/sqlite/src/src/pager.c assert( pPager->eState!=PAGER_READER ); assert 2481 third_party/sqlite/src/src/pager.c assert( pPager->eLock==EXCLUSIVE_LOCK ); assert 2519 third_party/sqlite/src/src/pager.c assert( isOpen(pPager->fd) || pPager->tempFile ); assert 2532 third_party/sqlite/src/src/pager.c assert( MAX_SECTOR_SIZE>=512 ); assert 2608 third_party/sqlite/src/src/pager.c assert( isOpen(pPager->jfd) ); assert 2661 third_party/sqlite/src/src/pager.c assert( pPager->journalOff==JOURNAL_HDR_SZ(pPager) ); assert 2729 third_party/sqlite/src/src/pager.c assert( 0 ); assert 2737 third_party/sqlite/src/src/pager.c assert( assert 2802 third_party/sqlite/src/src/pager.c assert( pPager->eState>=PAGER_READER && !MEMDB ); assert 2803 third_party/sqlite/src/src/pager.c assert( isOpen(pPager->fd) ); assert 2806 third_party/sqlite/src/src/pager.c assert( pPager->tempFile ); assert 2967 third_party/sqlite/src/src/pager.c assert( pPager->pWal ); assert 2971 third_party/sqlite/src/src/pager.c assert( p->pgno < p->pDirty->pgno ); assert 2985 third_party/sqlite/src/src/pager.c assert( pList ); assert 3021 third_party/sqlite/src/src/pager.c assert( pagerUseWal(pPager) ); assert 3022 third_party/sqlite/src/src/pager.c assert( pPager->eState==PAGER_OPEN || pPager->eState==PAGER_READER ); assert 3058 third_party/sqlite/src/src/pager.c assert( pPager->eState==PAGER_OPEN ); assert 3059 third_party/sqlite/src/src/pager.c assert( pPager->eLock>=SHARED_LOCK || pPager->noReadlock ); assert 3070 third_party/sqlite/src/src/pager.c assert( isOpen(pPager->fd) || pPager->tempFile ); assert 3116 third_party/sqlite/src/src/pager.c assert( pPager->eState==PAGER_OPEN ); assert 3117 third_party/sqlite/src/src/pager.c assert( pPager->eLock>=SHARED_LOCK || pPager->noReadlock ); assert 3188 third_party/sqlite/src/src/pager.c assert( pPager->eState!=PAGER_ERROR ); assert 3189 third_party/sqlite/src/src/pager.c assert( pPager->eState>=PAGER_WRITER_LOCKED ); assert 3215 third_party/sqlite/src/src/pager.c assert( pagerUseWal(pPager)==0 || szJ==0 ); assert 3230 third_party/sqlite/src/src/pager.c assert( rc!=SQLITE_DONE ); assert 3245 third_party/sqlite/src/src/pager.c assert( rc!=SQLITE_DONE ); assert 3260 third_party/sqlite/src/src/pager.c assert( rc!=SQLITE_DONE ); assert 3262 third_party/sqlite/src/src/pager.c assert( rc!=SQLITE_OK || pPager->journalOff>=szJ ); assert 3276 third_party/sqlite/src/src/pager.c assert( offset==ii*(4+pPager->pageSize) ); assert 3279 third_party/sqlite/src/src/pager.c assert( rc!=SQLITE_DONE ); assert 3347 third_party/sqlite/src/src/pager.c assert( level>=1 && level<=3 ); assert 3404 third_party/sqlite/src/src/pager.c assert( rc!=SQLITE_OK || isOpen(pFile) ); assert 3482 third_party/sqlite/src/src/pager.c assert( pageSize==0 || (pageSize>=512 && pageSize<=SQLITE_MAX_PAGE_SIZE) ); assert 3511 third_party/sqlite/src/src/pager.c assert( nReserve>=0 && nReserve<1000 ); assert 3541 third_party/sqlite/src/src/pager.c assert( pPager->eState!=PAGER_OPEN ); /* Called only by OP_MaxPgcnt */ assert 3542 third_party/sqlite/src/src/pager.c assert( pPager->mxPgno>=pPager->dbSize ); /* OP_MaxPgcnt enforces this */ assert 3587 third_party/sqlite/src/src/pager.c assert( isOpen(pPager->fd) || pPager->tempFile ); assert 3593 third_party/sqlite/src/src/pager.c assert( !pagerUseWal(pPager) ); assert 3613 third_party/sqlite/src/src/pager.c assert( pPager->eState>=PAGER_READER ); assert 3614 third_party/sqlite/src/src/pager.c assert( pPager->eState!=PAGER_WRITER_FINISHED ); assert 3641 third_party/sqlite/src/src/pager.c assert( (pPager->eLock>=locktype) assert 3676 third_party/sqlite/src/src/pager.c assert( pPg->flags&PGHDR_DIRTY ); assert 3677 third_party/sqlite/src/src/pager.c assert( !subjRequiresPage(pPg) || pPg->pgno<=pPg->pPager->dbSize ); assert 3693 third_party/sqlite/src/src/pager.c assert( pPager->dbSize>=nPage ); assert 3694 third_party/sqlite/src/src/pager.c assert( pPager->eState>=PAGER_WRITER_CACHEMOD ); assert 3783 third_party/sqlite/src/src/pager.c assert( !pPager->aSavepoint && !pPager->pInJournal ); assert 3784 third_party/sqlite/src/src/pager.c assert( !isOpen(pPager->jfd) && !isOpen(pPager->sjfd) ); assert 3844 third_party/sqlite/src/src/pager.c assert( pPager->eState==PAGER_WRITER_CACHEMOD assert 3847 third_party/sqlite/src/src/pager.c assert( assert_pager_state(pPager) ); assert 3848 third_party/sqlite/src/src/pager.c assert( !pagerUseWal(pPager) ); assert 3854 third_party/sqlite/src/src/pager.c assert( !pPager->tempFile ); assert 3857 third_party/sqlite/src/src/pager.c assert( isOpen(pPager->jfd) ); assert 3948 third_party/sqlite/src/src/pager.c assert( assert_pager_state(pPager) ); assert 3988 third_party/sqlite/src/src/pager.c assert( !pagerUseWal(pPager) ); assert 3989 third_party/sqlite/src/src/pager.c assert( pPager->eState==PAGER_WRITER_DBMOD ); assert 3990 third_party/sqlite/src/src/pager.c assert( pPager->eLock==EXCLUSIVE_LOCK ); assert 3997 third_party/sqlite/src/src/pager.c assert( pPager->tempFile && rc==SQLITE_OK ); assert 4004 third_party/sqlite/src/src/pager.c assert( rc!=SQLITE_OK || isOpen(pPager->fd) ); assert 4026 third_party/sqlite/src/src/pager.c assert( (pList->flags&PGHDR_NEED_SYNC)==0 ); assert 4103 third_party/sqlite/src/src/pager.c assert( pPager->useJournal ); assert 4104 third_party/sqlite/src/src/pager.c assert( isOpen(pPager->jfd) || pagerUseWal(pPager) ); assert 4105 third_party/sqlite/src/src/pager.c assert( isOpen(pPager->sjfd) || pPager->nSubRec==0 ); assert 4106 third_party/sqlite/src/src/pager.c assert( pagerUseWal(pPager) assert 4129 third_party/sqlite/src/src/pager.c assert( pPager->nSavepoint>0 ); assert 4158 third_party/sqlite/src/src/pager.c assert( pPg->pPager==pPager ); assert 4159 third_party/sqlite/src/src/pager.c assert( pPg->flags&PGHDR_DIRTY ); assert 4235 third_party/sqlite/src/src/pager.c assert( (pPg->flags&PGHDR_NEED_SYNC)==0 ); assert 4378 third_party/sqlite/src/src/pager.c assert( EIGHT_BYTE_ALIGNMENT(SQLITE_INT_TO_PTR(journalFileSize)) ); assert 4389 third_party/sqlite/src/src/pager.c assert( EIGHT_BYTE_ALIGNMENT(pPager->jfd) ); assert 4393 third_party/sqlite/src/src/pager.c assert( nPathname>0 ); assert 4413 third_party/sqlite/src/src/pager.c assert( !memDb ); assert 4426 third_party/sqlite/src/src/pager.c assert(SQLITE_DEFAULT_PAGE_SIZE<=SQLITE_MAX_DEFAULT_PAGE_SIZE); assert 4438 third_party/sqlite/src/src/pager.c assert(SQLITE_IOCAP_ATOMIC512==(512>>8)); assert 4439 third_party/sqlite/src/src/pager.c assert(SQLITE_IOCAP_ATOMIC64K==(65536>>8)); assert 4440 third_party/sqlite/src/src/pager.c assert(SQLITE_MAX_DEFAULT_PAGE_SIZE<=65536); assert 4468 third_party/sqlite/src/src/pager.c assert( pPager->memDb==0 ); assert 4477 third_party/sqlite/src/src/pager.c assert( !pPager->pTmpSpace ); assert 4484 third_party/sqlite/src/src/pager.c assert( nExtra<1000 ); assert 4503 third_party/sqlite/src/src/pager.c assert( pPager->state == (tempFile ? PAGER_EXCLUSIVE : PAGER_UNLOCK) ); assert 4507 third_party/sqlite/src/src/pager.c assert( tempFile==PAGER_LOCKINGMODE_NORMAL assert 4509 third_party/sqlite/src/src/pager.c assert( PAGER_LOCKINGMODE_EXCLUSIVE==1 ); assert 4514 third_party/sqlite/src/src/pager.c assert( useJournal || pPager->tempFile ); assert 4524 third_party/sqlite/src/src/pager.c assert( isOpen(pPager->fd) || tempFile ); assert 4579 third_party/sqlite/src/src/pager.c assert( pPager->useJournal ); assert 4580 third_party/sqlite/src/src/pager.c assert( isOpen(pPager->fd) ); assert 4581 third_party/sqlite/src/src/pager.c assert( pPager->eState==PAGER_OPEN ); assert 4583 third_party/sqlite/src/src/pager.c assert( jrnlOpen==0 || ( sqlite3OsDeviceCharacteristics(pPager->jfd) & assert 4698 third_party/sqlite/src/src/pager.c assert( sqlite3PcacheRefCount(pPager->pPCache)==0 ); assert 4699 third_party/sqlite/src/src/pager.c assert( assert_pager_state(pPager) ); assert 4700 third_party/sqlite/src/src/pager.c assert( pPager->eState==PAGER_OPEN || pPager->eState==PAGER_READER ); assert 4706 third_party/sqlite/src/src/pager.c assert( !MEMDB ); assert 4707 third_party/sqlite/src/src/pager.c assert( pPager->noReadlock==0 || pPager->readOnly ); assert 4712 third_party/sqlite/src/src/pager.c assert( pPager->eLock==NO_LOCK || pPager->eLock==UNKNOWN_LOCK ); assert 4768 third_party/sqlite/src/src/pager.c assert( !pPager->tempFile ); assert 4770 third_party/sqlite/src/src/pager.c assert( rc!=SQLITE_OK || isOpen(pPager->jfd) ); assert 4787 third_party/sqlite/src/src/pager.c assert( rc==SQLITE_OK ); assert 4818 third_party/sqlite/src/src/pager.c assert( pPager->eState==PAGER_OPEN ); assert 4819 third_party/sqlite/src/src/pager.c assert( (pPager->eLock==SHARED_LOCK) assert 4869 third_party/sqlite/src/src/pager.c assert( pPager->pWal==0 || rc==SQLITE_OK ); assert 4874 third_party/sqlite/src/src/pager.c assert( rc==SQLITE_OK ); assert 4884 third_party/sqlite/src/src/pager.c assert( !MEMDB ); assert 4886 third_party/sqlite/src/src/pager.c assert( pPager->eState==PAGER_OPEN ); assert 4966 third_party/sqlite/src/src/pager.c assert( pPager->eState>=PAGER_READER ); assert 4967 third_party/sqlite/src/src/pager.c assert( assert_pager_state(pPager) ); assert 4988 third_party/sqlite/src/src/pager.c assert( (*ppPage)->pgno==pgno ); assert 4989 third_party/sqlite/src/src/pager.c assert( (*ppPage)->pPager==pPager || (*ppPage)->pPager==0 ); assert 4994 third_party/sqlite/src/src/pager.c assert( pgno<=PAGER_MAX_PGNO && pgno!=PAGER_MJ_PGNO(pPager) ); assert 5037 third_party/sqlite/src/src/pager.c assert( pPg->pPager==pPager ); assert 5049 third_party/sqlite/src/src/pager.c assert( rc!=SQLITE_OK ); assert 5072 third_party/sqlite/src/src/pager.c assert( pPager!=0 ); assert 5073 third_party/sqlite/src/src/pager.c assert( pgno!=0 ); assert 5074 third_party/sqlite/src/src/pager.c assert( pPager->pPCache!=0 ); assert 5075 third_party/sqlite/src/src/pager.c assert( pPager->eState>=PAGER_READER && pPager->eState!=PAGER_ERROR ); assert 5136 third_party/sqlite/src/src/pager.c assert( pPager->eState==PAGER_WRITER_LOCKED ); assert 5137 third_party/sqlite/src/src/pager.c assert( assert_pager_state(pPager) ); assert 5138 third_party/sqlite/src/src/pager.c assert( pPager->pInJournal==0 ); assert 5188 third_party/sqlite/src/src/pager.c assert( rc!=SQLITE_OK || isOpen(pPager->jfd) ); assert 5209 third_party/sqlite/src/src/pager.c assert( pPager->eState==PAGER_WRITER_LOCKED ); assert 5237 third_party/sqlite/src/src/pager.c assert( pPager->eState>=PAGER_READER && pPager->eState<PAGER_ERROR ); assert 5241 third_party/sqlite/src/src/pager.c assert( pPager->pInJournal==0 ); assert 5290 third_party/sqlite/src/src/pager.c assert( rc==SQLITE_OK || pPager->eState==PAGER_READER ); assert 5291 third_party/sqlite/src/src/pager.c assert( rc!=SQLITE_OK || pPager->eState==PAGER_WRITER_LOCKED ); assert 5292 third_party/sqlite/src/src/pager.c assert( assert_pager_state(pPager) ); assert 5315 third_party/sqlite/src/src/pager.c assert( pPager->eState==PAGER_WRITER_LOCKED assert 5319 third_party/sqlite/src/src/pager.c assert( assert_pager_state(pPager) ); assert 5344 third_party/sqlite/src/src/pager.c assert( pPager->eState>=PAGER_WRITER_CACHEMOD ); assert 5345 third_party/sqlite/src/src/pager.c assert( assert_pager_state(pPager) ); assert 5352 third_party/sqlite/src/src/pager.c assert( !pagerUseWal(pPager) ); assert 5360 third_party/sqlite/src/src/pager.c assert( pagerUseWal(pPager)==0 ); assert 5369 third_party/sqlite/src/src/pager.c assert( pPg->pgno!=PAGER_MJ_PGNO(pPager) ); assert 5371 third_party/sqlite/src/src/pager.c assert( pPager->journalHdr<=pPager->journalOff ); assert 5400 third_party/sqlite/src/src/pager.c assert( pPager->pInJournal!=0 ); assert 5403 third_party/sqlite/src/src/pager.c assert( rc==SQLITE_OK || rc==SQLITE_NOMEM ); assert 5406 third_party/sqlite/src/src/pager.c assert( rc==SQLITE_NOMEM ); assert 5458 third_party/sqlite/src/src/pager.c assert( pPager->eState>=PAGER_WRITER_LOCKED ); assert 5459 third_party/sqlite/src/src/pager.c assert( pPager->eState!=PAGER_ERROR ); assert 5460 third_party/sqlite/src/src/pager.c assert( assert_pager_state(pPager) ); assert 5473 third_party/sqlite/src/src/pager.c assert( !MEMDB ); assert 5474 third_party/sqlite/src/src/pager.c assert( pPager->doNotSyncSpill==0 ); assert 5491 third_party/sqlite/src/src/pager.c assert(nPage>0); assert 5492 third_party/sqlite/src/src/pager.c assert(pg1<=pPg->pgno); assert 5493 third_party/sqlite/src/src/pager.c assert((pg1+nPage)>pPg->pgno); assert 5524 third_party/sqlite/src/src/pager.c assert( !MEMDB ); assert 5534 third_party/sqlite/src/src/pager.c assert( pPager->doNotSyncSpill==1 ); assert 5602 third_party/sqlite/src/src/pager.c assert( pPager->eState==PAGER_WRITER_CACHEMOD assert 5605 third_party/sqlite/src/src/pager.c assert( assert_pager_state(pPager) ); assert 5619 third_party/sqlite/src/src/pager.c assert( isDirectMode==0 ); assert 5628 third_party/sqlite/src/src/pager.c assert( !pPager->tempFile && isOpen(pPager->fd) ); assert 5632 third_party/sqlite/src/src/pager.c assert( pPgHdr==0 || rc==SQLITE_OK ); assert 5650 third_party/sqlite/src/src/pager.c assert( pPager->dbFileSize>0 ); assert 5679 third_party/sqlite/src/src/pager.c assert( !MEMDB ); assert 5682 third_party/sqlite/src/src/pager.c assert( !MEMDB ); assert 5701 third_party/sqlite/src/src/pager.c assert( pPager->eState==PAGER_WRITER_CACHEMOD assert 5705 third_party/sqlite/src/src/pager.c assert( assert_pager_state(pPager) ); assert 5745 third_party/sqlite/src/src/pager.c assert( pPager->eState==PAGER_WRITER_LOCKED assert 5750 third_party/sqlite/src/src/pager.c assert( assert_pager_state(pPager) ); assert 5778 third_party/sqlite/src/src/pager.c assert( pList!=0 || rc!=SQLITE_OK ); assert 5814 third_party/sqlite/src/src/pager.c assert( isOpen(pPager->jfd) assert 5896 third_party/sqlite/src/src/pager.c assert( rc!=SQLITE_IOERR_BLOCKED ); assert 5906 third_party/sqlite/src/src/pager.c assert( pPager->eState==PAGER_WRITER_DBMOD ); assert 5950 third_party/sqlite/src/src/pager.c assert( pPager->eState==PAGER_WRITER_LOCKED assert 5954 third_party/sqlite/src/src/pager.c assert( assert_pager_state(pPager) ); assert 5971 third_party/sqlite/src/src/pager.c assert( pPager->journalOff==JOURNAL_HDR_SZ(pPager) || !pPager->journalOff ); assert 6015 third_party/sqlite/src/src/pager.c assert( assert_pager_state(pPager) ); assert 6040 third_party/sqlite/src/src/pager.c assert( pPager->eState==PAGER_READER || rc!=SQLITE_OK ); assert 6041 third_party/sqlite/src/src/pager.c assert( rc==SQLITE_OK || rc==SQLITE_FULL || (rc&0xFF)==SQLITE_IOERR ); assert 6125 third_party/sqlite/src/src/pager.c assert( pPager->eState>=PAGER_WRITER_LOCKED ); assert 6126 third_party/sqlite/src/src/pager.c assert( assert_pager_state(pPager) ); assert 6163 third_party/sqlite/src/src/pager.c assert( pPager->nSavepoint==nSavepoint ); assert 6203 third_party/sqlite/src/src/pager.c assert( op==SAVEPOINT_RELEASE || op==SAVEPOINT_ROLLBACK ); assert 6204 third_party/sqlite/src/src/pager.c assert( iSavepoint>=0 || op==SAVEPOINT_ROLLBACK ); assert 6227 third_party/sqlite/src/src/pager.c assert( rc==SQLITE_OK ); assert 6240 third_party/sqlite/src/src/pager.c assert(rc!=SQLITE_DONE); assert 6340 third_party/sqlite/src/src/pager.c assert( pPg->nRef>0 ); assert 6341 third_party/sqlite/src/src/pager.c assert( pPager->eState==PAGER_WRITER_CACHEMOD assert 6344 third_party/sqlite/src/src/pager.c assert( assert_pager_state(pPager) ); assert 6392 third_party/sqlite/src/src/pager.c assert( pageInJournal(pPg) || pPg->pgno>pPager->dbOrigSize ); assert 6393 third_party/sqlite/src/src/pager.c assert( pPg->flags&PGHDR_DIRTY ); assert 6403 third_party/sqlite/src/src/pager.c assert( !pPgOld || pPgOld->nRef==1 ); assert 6424 third_party/sqlite/src/src/pager.c assert( pPgOld ); assert 6448 third_party/sqlite/src/src/pager.c assert( pPager->pTmpSpace!=0 ); assert 6466 third_party/sqlite/src/src/pager.c assert( pPg->nRef>0 || pPg->pPager->memDb ); assert 6489 third_party/sqlite/src/src/pager.c assert( eMode==PAGER_LOCKINGMODE_QUERY assert 6492 third_party/sqlite/src/src/pager.c assert( PAGER_LOCKINGMODE_QUERY<0 ); assert 6493 third_party/sqlite/src/src/pager.c assert( PAGER_LOCKINGMODE_NORMAL>=0 && PAGER_LOCKINGMODE_EXCLUSIVE>=0 ); assert 6494 third_party/sqlite/src/src/pager.c assert( pPager->exclusiveMode || 0==sqlite3WalHeapMemory(pPager->pWal) ); assert 6532 third_party/sqlite/src/src/pager.c assert( eMode==PAGER_JOURNALMODE_DELETE assert 6543 third_party/sqlite/src/src/pager.c assert( pPager->tempFile==0 || eMode!=PAGER_JOURNALMODE_WAL ); assert 6549 third_party/sqlite/src/src/pager.c assert( eOld==PAGER_JOURNALMODE_MEMORY || eOld==PAGER_JOURNALMODE_OFF ); assert 6558 third_party/sqlite/src/src/pager.c assert( pPager->eState!=PAGER_ERROR ); assert 6565 third_party/sqlite/src/src/pager.c assert( (PAGER_JOURNALMODE_TRUNCATE & 5)==1 ); assert 6566 third_party/sqlite/src/src/pager.c assert( (PAGER_JOURNALMODE_PERSIST & 5)==1 ); assert 6567 third_party/sqlite/src/src/pager.c assert( (PAGER_JOURNALMODE_DELETE & 5)==0 ); assert 6568 third_party/sqlite/src/src/pager.c assert( (PAGER_JOURNALMODE_MEMORY & 5)==4 ); assert 6569 third_party/sqlite/src/src/pager.c assert( (PAGER_JOURNALMODE_OFF & 5)==0 ); assert 6570 third_party/sqlite/src/src/pager.c assert( (PAGER_JOURNALMODE_WAL & 5)==5 ); assert 6572 third_party/sqlite/src/src/pager.c assert( isOpen(pPager->fd) || pPager->exclusiveMode ); assert 6589 third_party/sqlite/src/src/pager.c assert( state==PAGER_OPEN || state==PAGER_READER ); assert 6594 third_party/sqlite/src/src/pager.c assert( rc==SQLITE_OK ); assert 6605 third_party/sqlite/src/src/pager.c assert( state==pPager->eState ); assert 6627 third_party/sqlite/src/src/pager.c assert( assert_pager_state(pPager) ); assert 6696 third_party/sqlite/src/src/pager.c assert( pPager->eLock==SHARED_LOCK || pPager->eLock==EXCLUSIVE_LOCK ); assert 6716 third_party/sqlite/src/src/pager.c assert( pPager->pWal==0 && pPager->tempFile==0 ); assert 6717 third_party/sqlite/src/src/pager.c assert( pPager->eLock==SHARED_LOCK || pPager->eLock==EXCLUSIVE_LOCK || pPager->noReadlock); assert 6762 third_party/sqlite/src/src/pager.c assert( assert_pager_state(pPager) ); assert 6763 third_party/sqlite/src/src/pager.c assert( pPager->eState==PAGER_OPEN || pbOpen ); assert 6764 third_party/sqlite/src/src/pager.c assert( pPager->eState==PAGER_READER || !pbOpen ); assert 6765 third_party/sqlite/src/src/pager.c assert( pbOpen==0 || *pbOpen==0 ); assert 6766 third_party/sqlite/src/src/pager.c assert( pbOpen!=0 || (!pPager->tempFile && !pPager->pWal) ); assert 6798 third_party/sqlite/src/src/pager.c assert( pPager->journalMode==PAGER_JOURNALMODE_WAL ); assert 34 third_party/sqlite/src/src/parse.y assert( TOKEN.z[0] ); /* The tokenizer always gives us a token */ assert 1212 third_party/sqlite/src/src/parse.y assert( Y!=0 ); assert 1218 third_party/sqlite/src/src/parse.y assert( X!=0 ); assert 40 third_party/sqlite/src/src/pcache.c # define expensive_assert(X) assert(X) assert 58 third_party/sqlite/src/src/pcache.c assert( p->nRef || (p->flags&PGHDR_NEED_SYNC) ); assert 70 third_party/sqlite/src/src/pcache.c assert( pPage->pDirtyNext || pPage==p->pDirtyTail ); assert 71 third_party/sqlite/src/src/pcache.c assert( pPage->pDirtyPrev || pPage==p->pDirty ); assert 85 third_party/sqlite/src/src/pcache.c assert( pPage==p->pDirtyTail ); assert 91 third_party/sqlite/src/src/pcache.c assert( pPage==p->pDirty ); assert 107 third_party/sqlite/src/src/pcache.c assert( pPage->pDirtyNext==0 && pPage->pDirtyPrev==0 && p->pDirty!=pPage ); assert 111 third_party/sqlite/src/src/pcache.c assert( pPage->pDirtyNext->pDirtyPrev==0 ); assert 192 third_party/sqlite/src/src/pcache.c assert( pCache->nRef==0 && pCache->pDirty==0 ); assert 213 third_party/sqlite/src/src/pcache.c assert( pCache!=0 ); assert 214 third_party/sqlite/src/src/pcache.c assert( createFlag==1 || createFlag==0 ); assert 215 third_party/sqlite/src/src/pcache.c assert( pgno>0 ); assert 274 third_party/sqlite/src/src/pcache.c assert( pPage->pCache==pCache ); assert 275 third_party/sqlite/src/src/pcache.c assert( pPage->pgno==pgno ); assert 276 third_party/sqlite/src/src/pcache.c assert( pPage->pData==(void *)&pPage[1] ); assert 277 third_party/sqlite/src/src/pcache.c assert( pPage->pExtra==(void *)&((char *)&pPage[1])[pCache->szPage] ); assert 296 third_party/sqlite/src/src/pcache.c assert( p->nRef>0 ); assert 315 third_party/sqlite/src/src/pcache.c assert(p->nRef>0); assert 326 third_party/sqlite/src/src/pcache.c assert( p->nRef==1 ); assert 344 third_party/sqlite/src/src/pcache.c assert( p->nRef>0 ); assert 391 third_party/sqlite/src/src/pcache.c assert( p->nRef>0 ); assert 392 third_party/sqlite/src/src/pcache.c assert( newPgno>0 ); assert 420 third_party/sqlite/src/src/pcache.c assert( p->pgno>0 ); assert 422 third_party/sqlite/src/src/pcache.c assert( p->flags&PGHDR_DIRTY ); assert 210 third_party/sqlite/src/src/pcache1.c assert( sqlite3_mutex_notheld(pcache1.grp.mutex) ); assert 219 third_party/sqlite/src/src/pcache1.c assert( pcache1.nFreeSlot>=0 ); assert 254 third_party/sqlite/src/src/pcache1.c assert( pcache1.nFreeSlot<=pcache1.nSlot ); assert 258 third_party/sqlite/src/src/pcache1.c assert( sqlite3MemdebugHasType(p, MEMTYPE_PCACHE) ); assert 277 third_party/sqlite/src/src/pcache1.c assert( sqlite3MemdebugHasType(p, MEMTYPE_PCACHE) ); assert 376 third_party/sqlite/src/src/pcache1.c assert( sqlite3_mutex_held(p->pGroup->mutex) ); assert 424 third_party/sqlite/src/src/pcache1.c assert( sqlite3_mutex_held(pGroup->mutex) ); assert 456 third_party/sqlite/src/src/pcache1.c assert( sqlite3_mutex_held(pCache->pGroup->mutex) ); assert 469 third_party/sqlite/src/src/pcache1.c assert( sqlite3_mutex_held(pGroup->mutex) ); assert 472 third_party/sqlite/src/src/pcache1.c assert( p->pCache->pGroup==pGroup ); assert 492 third_party/sqlite/src/src/pcache1.c assert( sqlite3_mutex_held(pCache->pGroup->mutex) ); assert 508 third_party/sqlite/src/src/pcache1.c assert( pCache->nPage==nPage ); assert 519 third_party/sqlite/src/src/pcache1.c assert( pcache1.isInit==0 ); assert 537 third_party/sqlite/src/src/pcache1.c assert( pcache1.isInit!=0 ); assert 688 third_party/sqlite/src/src/pcache1.c assert( pCache->bPurgeable || createFlag!=1 ); assert 689 third_party/sqlite/src/src/pcache1.c assert( pCache->bPurgeable || pCache->nMin==0 ); assert 690 third_party/sqlite/src/src/pcache1.c assert( pCache->bPurgeable==0 || pCache->nMin==10 ); assert 691 third_party/sqlite/src/src/pcache1.c assert( pCache->nMin==0 || pCache->bPurgeable ); assert 720 third_party/sqlite/src/src/pcache1.c assert( nPinned>=0 ); assert 721 third_party/sqlite/src/src/pcache1.c assert( pGroup->mxPinned == pGroup->nMaxPage + 10 - pGroup->nMinPage ); assert 722 third_party/sqlite/src/src/pcache1.c assert( pCache->n90pct == pCache->nMax*9/10 ); assert 796 third_party/sqlite/src/src/pcache1.c assert( pPage->pCache==pCache ); assert 802 third_party/sqlite/src/src/pcache1.c assert( pPage->pLruPrev==0 && pPage->pLruNext==0 ); assert 803 third_party/sqlite/src/src/pcache1.c assert( pGroup->pLruHead!=pPage && pGroup->pLruTail!=pPage ); assert 837 third_party/sqlite/src/src/pcache1.c assert( pPage->iKey==iOld ); assert 838 third_party/sqlite/src/src/pcache1.c assert( pPage->pCache==pCache ); assert 885 third_party/sqlite/src/src/pcache1.c assert( pCache->bPurgeable || (pCache->nMax==0 && pCache->nMin==0) ); assert 931 third_party/sqlite/src/src/pcache1.c assert( sqlite3_mutex_notheld(pcache1.grp.mutex) ); assert 932 third_party/sqlite/src/src/pcache1.c assert( sqlite3_mutex_notheld(pcache1.mutex) ); assert 210 third_party/sqlite/src/src/pragma.c assert( v!=0 ); /* Already allocated by sqlite3Pragma() */ assert 255 third_party/sqlite/src/src/pragma.c assert( action==OE_None ); break; assert 274 third_party/sqlite/src/src/pragma.c assert( PAGER_JOURNALMODE_DELETE==0 ); assert 275 third_party/sqlite/src/src/pragma.c assert( PAGER_JOURNALMODE_PERSIST==1 ); assert 276 third_party/sqlite/src/src/pragma.c assert( PAGER_JOURNALMODE_OFF==2 ); assert 277 third_party/sqlite/src/src/pragma.c assert( PAGER_JOURNALMODE_TRUNCATE==3 ); assert 278 third_party/sqlite/src/src/pragma.c assert( PAGER_JOURNALMODE_MEMORY==4 ); assert 279 third_party/sqlite/src/src/pragma.c assert( PAGER_JOURNALMODE_WAL==5 ); assert 280 third_party/sqlite/src/src/pragma.c assert( eMode>=0 && eMode<=ArraySize(azModeName) ); assert 341 third_party/sqlite/src/src/pragma.c assert( pId2 ); assert 391 third_party/sqlite/src/src/pragma.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 408 third_party/sqlite/src/src/pragma.c assert( pBt!=0 ); assert 434 third_party/sqlite/src/src/pragma.c assert( pBt!=0 ); assert 504 third_party/sqlite/src/src/pragma.c assert(pDb==&db->aDb[0]); assert 515 third_party/sqlite/src/src/pragma.c assert(eMode==PAGER_LOCKINGMODE_NORMAL||eMode==PAGER_LOCKINGMODE_EXCLUSIVE); assert 602 third_party/sqlite/src/src/pragma.c assert( pBt!=0 ); assert 616 third_party/sqlite/src/src/pragma.c assert( eAuto>=0 && eAuto<=2 ); assert 694 third_party/sqlite/src/src/pragma.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 918 third_party/sqlite/src/src/pragma.c assert( pTab->nCol>cnum ); assert 962 third_party/sqlite/src/src/pragma.c assert( db->aDb[i].zName!=0 ); assert 1115 third_party/sqlite/src/src/pragma.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 1266 third_party/sqlite/src/src/pragma.c assert( encnames[SQLITE_UTF8].enc==SQLITE_UTF8 ); assert 1267 third_party/sqlite/src/src/pragma.c assert( encnames[SQLITE_UTF16LE].enc==SQLITE_UTF16LE ); assert 1268 third_party/sqlite/src/src/pragma.c assert( encnames[SQLITE_UTF16BE].enc==SQLITE_UTF16BE ); assert 57 third_party/sqlite/src/src/prepare.c assert( argc==3 ); assert 59 third_party/sqlite/src/src/prepare.c assert( sqlite3_mutex_held(db->mutex) ); assert 66 third_party/sqlite/src/src/prepare.c assert( iDb>=0 && iDb<db->nDb ); assert 80 third_party/sqlite/src/src/prepare.c assert( db->init.busy ); assert 86 third_party/sqlite/src/src/prepare.c assert( (rc&0xFF)==(rcp&0xFF) ); assert 90 third_party/sqlite/src/src/prepare.c assert( iDb==1 ); assert 173 third_party/sqlite/src/src/prepare.c assert( iDb>=0 && iDb<db->nDb ); assert 174 third_party/sqlite/src/src/prepare.c assert( db->aDb[iDb].pSchema ); assert 175 third_party/sqlite/src/src/prepare.c assert( sqlite3_mutex_held(db->mutex) ); assert 176 third_party/sqlite/src/src/prepare.c assert( iDb==1 || sqlite3BtreeHoldsMutex(db->aDb[iDb].pBt) ); assert 314 third_party/sqlite/src/src/prepare.c assert( db->init.busy ); assert 387 third_party/sqlite/src/src/prepare.c assert( sqlite3_mutex_held(db->mutex) ); assert 427 third_party/sqlite/src/src/prepare.c assert( sqlite3_mutex_held(db->mutex) ); assert 450 third_party/sqlite/src/src/prepare.c assert( pParse->checkSchema ); assert 451 third_party/sqlite/src/src/prepare.c assert( sqlite3_mutex_held(db->mutex) ); assert 473 third_party/sqlite/src/src/prepare.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 506 third_party/sqlite/src/src/prepare.c assert( sqlite3_mutex_held(db->mutex) ); assert 513 third_party/sqlite/src/src/prepare.c assert( i>=0 && i<db->nDb ); assert 542 third_party/sqlite/src/src/prepare.c assert( ppStmt && *ppStmt==0 ); assert 543 third_party/sqlite/src/src/prepare.c assert( !db->mallocFailed ); assert 544 third_party/sqlite/src/src/prepare.c assert( sqlite3_mutex_held(db->mutex) ); assert 572 third_party/sqlite/src/src/prepare.c assert( sqlite3BtreeHoldsMutex(pBt) ); assert 608 third_party/sqlite/src/src/prepare.c assert( 1==(int)pParse->nQueryLoop ); assert 648 third_party/sqlite/src/src/prepare.c assert( db->init.busy==0 || saveSqlFlag==0 ); assert 655 third_party/sqlite/src/src/prepare.c assert(!(*ppStmt)); assert 678 third_party/sqlite/src/src/prepare.c assert( (rc&db->errMask)==rc ); assert 691 third_party/sqlite/src/src/prepare.c assert( ppStmt!=0 ); assert 722 third_party/sqlite/src/src/prepare.c assert( sqlite3_mutex_held(sqlite3VdbeDb(p)->mutex) ); assert 724 third_party/sqlite/src/src/prepare.c assert( zSql!=0 ); /* Reprepare only called for prepare_v2() statements */ assert 726 third_party/sqlite/src/src/prepare.c assert( sqlite3_mutex_held(db->mutex) ); assert 732 third_party/sqlite/src/src/prepare.c assert( pNew==0 ); assert 735 third_party/sqlite/src/src/prepare.c assert( pNew!=0 ); assert 762 third_party/sqlite/src/src/prepare.c assert( rc==SQLITE_OK || ppStmt==0 || *ppStmt==0 ); /* VERIFY: F13021 */ assert 774 third_party/sqlite/src/src/prepare.c assert( rc==SQLITE_OK || ppStmt==0 || *ppStmt==0 ); /* VERIFY: F13021 */ assert 799 third_party/sqlite/src/src/prepare.c assert( ppStmt ); assert 842 third_party/sqlite/src/src/prepare.c assert( rc==SQLITE_OK || ppStmt==0 || *ppStmt==0 ); /* VERIFY: F13021 */ assert 854 third_party/sqlite/src/src/prepare.c assert( rc==SQLITE_OK || ppStmt==0 || *ppStmt==0 ); /* VERIFY: F13021 */ assert 561 third_party/sqlite/src/src/printf.c assert( precision>0 ); assert 571 third_party/sqlite/src/src/printf.c assert( bufpt>buf ); assert 703 third_party/sqlite/src/src/printf.c assert( k>=0 && k<pSrc->nSrc ); assert 713 third_party/sqlite/src/src/printf.c assert( xtype==etINVALID ); assert 749 third_party/sqlite/src/src/printf.c assert( z!=0 || N==0 ); assert 859 third_party/sqlite/src/src/printf.c assert( db!=0 ); assert 280 third_party/sqlite/src/src/recover.c assert( sizeof(r1)==sizeof(t2) && memcmp(&r1, &t2, sizeof(r1))==0 ); assert 374 third_party/sqlite/src/src/recover.c assert( iOffset<=pPage->nPageSize ); assert 432 third_party/sqlite/src/src/recover.c case 10 : case 11 : assert( !"RESERVED TYPE"); return 0; assert 439 third_party/sqlite/src/src/recover.c assert( iSerialType>=12 ); assert 458 third_party/sqlite/src/src/recover.c case 10 : assert( !"RESERVED TYPE"); return 0; assert 459 third_party/sqlite/src/src/recover.c case 11 : assert( !"RESERVED TYPE"); return 0; assert 646 third_party/sqlite/src/src/recover.c assert( PageHeader(pPage)[kiPageTypeOffset]==kTableInteriorPage ); assert 687 third_party/sqlite/src/src/recover.c assert( pCursor->iChild<pCursor->nChildren ); assert 796 third_party/sqlite/src/src/recover.c assert(NULL); /* NOTREACHED() */ assert 1015 third_party/sqlite/src/src/recover.c assert(NULL); /* NOTREACHED */ assert 1051 third_party/sqlite/src/src/recover.c assert(NULL); /* NOTREACHED */ assert 1056 third_party/sqlite/src/src/recover.c assert( nBase==nRequestBytes ); assert 1172 third_party/sqlite/src/src/recover.c assert( rc==SQLITE_DONE ); assert 1294 third_party/sqlite/src/src/recover.c assert( pCursor->iCell<pCursor->nCells ); assert 1324 third_party/sqlite/src/src/recover.c assert( iCellOffset+nRead<=pCursor->nPageSize ); assert 1328 third_party/sqlite/src/src/recover.c assert( iCellOffset+nRead<=pCursor->nPageSize ); assert 1354 third_party/sqlite/src/src/recover.c assert( nRecordHeaderBytes<=nRecordBytes ); assert 1443 third_party/sqlite/src/src/recover.c assert( nRecordHeaderBytes==pCursor->nRecordHeaderBytes ); assert 1498 third_party/sqlite/src/src/recover.c assert( pCursor->iCell==0 ); assert 1684 third_party/sqlite/src/src/recover.c assert( rc==SQLITE_OK ); assert 1714 third_party/sqlite/src/src/recover.c assert( rc!=SQLITE_OK ); assert 1799 third_party/sqlite/src/src/recover.c case 10 : assert( iColType!=10 ); break; assert 1800 third_party/sqlite/src/src/recover.c case 11 : assert( iColType!=11 ); break; assert 59 third_party/sqlite/src/src/resolve.c assert( iCol>=0 && iCol<pEList->nExpr ); assert 61 third_party/sqlite/src/src/resolve.c assert( pOrig!=0 ); assert 62 third_party/sqlite/src/src/resolve.c assert( pOrig->flags & EP_Resolved ); assert 77 third_party/sqlite/src/src/resolve.c assert( zToken!=0 ); assert 82 third_party/sqlite/src/src/resolve.c assert( (pDup->flags & (EP_Reduced|EP_TokenOnly))==0 ); assert 146 third_party/sqlite/src/src/resolve.c assert( pNC ); /* the name context cannot be NULL. */ assert 147 third_party/sqlite/src/src/resolve.c assert( zCol ); /* The Z in X.Y.Z cannot be NULL */ assert 148 third_party/sqlite/src/src/resolve.c assert( ~ExprHasAnyProperty(pExpr, EP_TokenOnly|EP_Reduced) ); assert 167 third_party/sqlite/src/src/resolve.c assert( pTab!=0 && pTab->zName!=0 ); assert 169 third_party/sqlite/src/src/resolve.c assert( pTab->nCol>0 ); assert 233 third_party/sqlite/src/src/resolve.c assert( op==TK_DELETE || op==TK_UPDATE || op==TK_INSERT ); assert 305 third_party/sqlite/src/src/resolve.c assert( pExpr->pLeft==0 && pExpr->pRight==0 ); assert 306 third_party/sqlite/src/src/resolve.c assert( pExpr->x.pList==0 ); assert 307 third_party/sqlite/src/src/resolve.c assert( pExpr->x.pSelect==0 ); assert 316 third_party/sqlite/src/src/resolve.c assert( zTab==0 && zDb==0 ); assert 376 third_party/sqlite/src/src/resolve.c assert( pMatch->iCursor==pExpr->iTable ); assert 389 third_party/sqlite/src/src/resolve.c assert( pNC!=0 ); assert 394 third_party/sqlite/src/src/resolve.c assert( pTopNC!=0 ); assert 444 third_party/sqlite/src/src/resolve.c assert( pNC!=0 ); assert 446 third_party/sqlite/src/src/resolve.c assert( pParse==pWalker->pParse ); assert 455 third_party/sqlite/src/src/resolve.c assert( pSrcList->a[i].iCursor>=0 && pSrcList->a[i].iCursor<pParse->nTab); assert 469 third_party/sqlite/src/src/resolve.c assert( pSrcList && pSrcList->nSrc==1 ); assert 502 third_party/sqlite/src/src/resolve.c assert( pRight->op==TK_DOT ); assert 526 third_party/sqlite/src/src/resolve.c assert( !ExprHasProperty(pExpr, EP_xIsSelect) ); assert 592 third_party/sqlite/src/src/resolve.c assert( pNC->nRef>=nRef ); assert 674 third_party/sqlite/src/src/resolve.c assert( sqlite3ExprIsInteger(pE, &i)==0 ); assert 766 third_party/sqlite/src/src/resolve.c assert( pEList!=0 ); assert 782 third_party/sqlite/src/src/resolve.c assert(pDup); assert 844 third_party/sqlite/src/src/resolve.c assert( pEList!=0 ); /* sqlite3SelectNew() guarantees this */ assert 938 third_party/sqlite/src/src/resolve.c assert( p!=0 ); assert 963 third_party/sqlite/src/src/resolve.c assert( (p->selFlags & SF_Expanded)!=0 ); assert 964 third_party/sqlite/src/src/resolve.c assert( (p->selFlags & SF_Resolved)==0 ); assert 986 third_party/sqlite/src/src/resolve.c assert( pEList!=0 ); assert 1010 third_party/sqlite/src/src/resolve.c assert( (p->selFlags & SF_Aggregate)==0 ); assert 1198 third_party/sqlite/src/src/resolve.c assert( p!=0 ); assert 128 third_party/sqlite/src/src/rowset.c assert( N >= ROUND8(sizeof(*p)) ); assert 170 third_party/sqlite/src/src/rowset.c assert( p!=0 ); assert 193 third_party/sqlite/src/src/rowset.c assert( p->pEntry==0 ); /* Fires if INSERT after SMALLEST */ assert 214 third_party/sqlite/src/src/rowset.c assert( pA->pRight==0 || pA->v<=pA->pRight->v ); assert 215 third_party/sqlite/src/src/rowset.c assert( pB->pRight==0 || pB->v<=pB->pRight->v ); assert 229 third_party/sqlite/src/src/rowset.c assert( pA->pRight==0 || pA->v<=pA->pRight->v ); assert 232 third_party/sqlite/src/src/rowset.c assert( pB==0 || pB->pRight==0 || pB->v<=pB->pRight->v ); assert 246 third_party/sqlite/src/src/rowset.c assert( p->isSorted==0 ); assert 278 third_party/sqlite/src/src/rowset.c assert( pIn!=0 ); assert 291 third_party/sqlite/src/src/rowset.c assert( (*ppLast)->pRight==0 ); assert 343 third_party/sqlite/src/src/rowset.c assert( pList!=0 ); assert 66 third_party/sqlite/src/src/select.c assert( db->mallocFailed || !pOffset || pLimit ); /* OFFSET implies LIMIT */ assert 84 third_party/sqlite/src/src/select.c assert( pOffset==0 || pLimit!=0 ); assert 166 third_party/sqlite/src/src/select.c assert( pB!=0 ); assert 211 third_party/sqlite/src/src/select.c assert( (piTab==0)==(piCol==0) ); /* Both or neither are NULL */ assert 251 third_party/sqlite/src/src/select.c assert( iLeft<iRight ); assert 252 third_party/sqlite/src/src/select.c assert( pSrc->nSrc>iRight ); assert 253 third_party/sqlite/src/src/select.c assert( pSrc->a[iLeft].pTab ); assert 254 third_party/sqlite/src/src/select.c assert( pSrc->a[iRight].pTab ); assert 262 third_party/sqlite/src/src/select.c assert( !ExprHasAnyProperty(pEq, EP_TokenOnly|EP_Reduced) ); assert 298 third_party/sqlite/src/src/select.c assert( !ExprHasAnyProperty(p, EP_TokenOnly|EP_Reduced) ); assert 546 third_party/sqlite/src/src/select.c assert( v ); assert 548 third_party/sqlite/src/src/select.c assert( pEList!=0 ); assert 566 third_party/sqlite/src/src/select.c assert( pDest->nMem==nResultCol ); assert 587 third_party/sqlite/src/src/select.c assert( pEList!=0 ); assert 588 third_party/sqlite/src/src/select.c assert( pEList->nExpr==nColumn ); assert 646 third_party/sqlite/src/src/select.c assert( nColumn==1 ); assert 677 third_party/sqlite/src/src/select.c assert( nColumn==1 ); assert 717 third_party/sqlite/src/src/select.c assert( eDest==SRT_Discard ); assert 846 third_party/sqlite/src/src/select.c assert( op==TK_UNION || op==TK_EXCEPT || op==TK_INTERSECT || op==TK_ALL ); assert 911 third_party/sqlite/src/src/select.c assert( nColumn==1 ); assert 918 third_party/sqlite/src/src/select.c assert( nColumn==1 ); assert 926 third_party/sqlite/src/src/select.c assert( eDest==SRT_Output || eDest==SRT_Coroutine ); assert 930 third_party/sqlite/src/src/select.c assert( regRow!=pDest->iMem+i ); assert 1034 third_party/sqlite/src/src/select.c assert( pTab && pExpr->pTab==pTab ); assert 1054 third_party/sqlite/src/src/select.c assert( !pS ); assert 1056 third_party/sqlite/src/src/select.c assert( iCol==-1 || (iCol>=0 && iCol<pTab->nCol) ); assert 1081 third_party/sqlite/src/src/select.c assert( ExprHasProperty(pExpr, EP_xIsSelect) ); assert 1092 third_party/sqlite/src/src/select.c assert( pzOriginTab && pzOriginCol ); assert 1180 third_party/sqlite/src/src/select.c assert( j<pTabList->nSrc ); assert 1183 third_party/sqlite/src/src/select.c assert( iCol==-1 || (iCol>=0 && iCol<pTab->nCol) ); assert 1242 third_party/sqlite/src/src/select.c assert( p->pRight==0 || ExprHasProperty(p->pRight, EP_IntValue) assert 1259 third_party/sqlite/src/src/select.c assert( !ExprHasProperty(pColExpr, EP_IntValue) ); assert 1325 third_party/sqlite/src/src/select.c assert( pSelect!=0 ); assert 1326 third_party/sqlite/src/src/select.c assert( (pSelect->selFlags & SF_Resolved)!=0 ); assert 1327 third_party/sqlite/src/src/select.c assert( nCol==pSelect->pEList->nExpr || db->mallocFailed ); assert 1366 third_party/sqlite/src/src/select.c assert( db->lookaside.bEnabled==0 ); assert 1430 third_party/sqlite/src/src/select.c assert( p->pOffset==0 || p->pLimit!=0 ); assert 1483 third_party/sqlite/src/src/select.c assert( iCol>=0 ); assert 1550 third_party/sqlite/src/src/select.c assert( p && p->pPrior ); /* Calling function guarantees this much */ assert 1553 third_party/sqlite/src/src/select.c assert( pPrior->pRightmost!=pPrior ); assert 1554 third_party/sqlite/src/src/select.c assert( pPrior->pRightmost==p->pRightmost ); assert 1570 third_party/sqlite/src/src/select.c assert( v!=0 ); /* The VDBE already created by calling function */ assert 1575 third_party/sqlite/src/src/select.c assert( p->pEList ); assert 1584 third_party/sqlite/src/src/select.c assert( p->pEList && pPrior->pEList ); assert 1604 third_party/sqlite/src/src/select.c assert( !pPrior->pLimit ); assert 1654 third_party/sqlite/src/src/select.c assert( p->pRightmost!=p ); /* Can only happen for leftward elements assert 1656 third_party/sqlite/src/src/select.c assert( p->pLimit==0 ); /* Not allowed on leftward elements */ assert 1657 third_party/sqlite/src/src/select.c assert( p->pOffset==0 ); /* Not allowed on leftward elements */ assert 1664 third_party/sqlite/src/src/select.c assert( p->pOrderBy==0 ); assert 1666 third_party/sqlite/src/src/select.c assert( p->addrOpenEphm[0] == -1 ); assert 1669 third_party/sqlite/src/src/select.c assert( p->pEList ); assert 1674 third_party/sqlite/src/src/select.c assert( !pPrior->pOrderBy ); assert 1687 third_party/sqlite/src/src/select.c assert( p->op==TK_UNION ); assert 1715 third_party/sqlite/src/src/select.c assert( unionTab==dest.iParm || dest.eDest!=priorOp ); assert 1718 third_party/sqlite/src/src/select.c assert( p->pEList ); assert 1738 third_party/sqlite/src/src/select.c default: assert( p->op==TK_INTERSECT ); { assert 1752 third_party/sqlite/src/src/select.c assert( p->pOrderBy==0 ); assert 1755 third_party/sqlite/src/src/select.c assert( p->addrOpenEphm[0] == -1 ); assert 1758 third_party/sqlite/src/src/select.c assert( p->pEList ); assert 1772 third_party/sqlite/src/src/select.c assert( p->addrOpenEphm[1] == -1 ); assert 1793 third_party/sqlite/src/src/select.c assert( p->pEList ); assert 1836 third_party/sqlite/src/src/select.c assert( p->pRightmost==p ); assert 1861 third_party/sqlite/src/src/select.c assert( pLoop->addrOpenEphm[1]<0 ); assert 1961 third_party/sqlite/src/src/select.c assert( pIn->nMem==1 ); assert 1987 third_party/sqlite/src/src/select.c assert( pIn->nMem==1 ); assert 2016 third_party/sqlite/src/src/select.c assert( pDest->eDest==SRT_Output ); assert 2168 third_party/sqlite/src/src/select.c assert( p->pOrderBy!=0 ); assert 2169 third_party/sqlite/src/src/select.c assert( pKeyDup==0 ); /* "Managed" code needs this. Ticket #3382. */ assert 2172 third_party/sqlite/src/src/select.c assert( v!=0 ); /* Already thrown the error if VDBE alloc failed */ assert 2181 third_party/sqlite/src/src/select.c assert( pPrior->pOrderBy==0 ); assert 2183 third_party/sqlite/src/src/select.c assert( pOrderBy ); assert 2194 third_party/sqlite/src/src/select.c assert( pItem->iCol>0 ); assert 2219 third_party/sqlite/src/src/select.c assert( pItem->iCol>0 && pItem->iCol<=p->pEList->nExpr ); assert 2259 third_party/sqlite/src/src/select.c assert( nOrderBy>=nExpr || db->mallocFailed ); assert 2503 third_party/sqlite/src/src/select.c assert( pEList!=0 && pExpr->iColumn<pEList->nExpr ); assert 2504 third_party/sqlite/src/src/select.c assert( pExpr->pLeft==0 && pExpr->pRight==0 ); assert 2552 third_party/sqlite/src/src/select.c assert( pSrc ); /* Even for (SELECT 1) we have: pSrc!=0 but pSrc->nSrc==0 */ assert 2694 third_party/sqlite/src/src/select.c assert( p!=0 ); assert 2695 third_party/sqlite/src/src/select.c assert( p->pPrior==0 ); /* Unable to flatten compound queries */ assert 2698 third_party/sqlite/src/src/select.c assert( pSrc && iFrom>=0 && iFrom<pSrc->nSrc ); assert 2702 third_party/sqlite/src/src/select.c assert( pSub!=0 ); assert 2706 third_party/sqlite/src/src/select.c assert( pSubSrc ); assert 2923 third_party/sqlite/src/src/select.c assert( pParent==p ); /* First time through the loop */ assert 2926 third_party/sqlite/src/src/select.c assert( pParent!=p ); /* 2nd and subsequent times through the loop */ assert 2929 third_party/sqlite/src/src/select.c assert( db->mallocFailed ); assert 2993 third_party/sqlite/src/src/select.c assert( pParent->pOrderBy==0 ); assert 3005 third_party/sqlite/src/src/select.c assert( pParent->pHaving==0 ); assert 3011 third_party/sqlite/src/src/select.c assert( pParent->pGroupBy==0 ); assert 3066 third_party/sqlite/src/src/select.c assert( !ExprHasProperty(pExpr, EP_IntValue) ); assert 3090 third_party/sqlite/src/src/select.c assert( !p->pGroupBy ); assert 3099 third_party/sqlite/src/src/select.c assert( pTab && !pTab->pSelect && pExpr ); assert 3191 third_party/sqlite/src/src/select.c assert( i==0 ); assert 3198 third_party/sqlite/src/src/select.c assert( pSel!=0 ); assert 3199 third_party/sqlite/src/src/select.c assert( pFrom->pTab==0 ); assert 3213 third_party/sqlite/src/src/select.c assert( pFrom->pTab==0 ); assert 3222 third_party/sqlite/src/src/select.c assert( pFrom->pSelect==0 ); assert 3254 third_party/sqlite/src/src/select.c assert( pE->op!=TK_DOT || pE->pRight!=0 ); assert 3255 third_party/sqlite/src/src/select.c assert( pE->op!=TK_DOT || (pE->pLeft!=0 && pE->pLeft->op==TK_ID) ); assert 3272 third_party/sqlite/src/src/select.c assert( pE->op!=TK_DOT || pE->pRight!=0 ); assert 3290 third_party/sqlite/src/src/select.c assert( pE->pLeft!=0 ); assert 3291 third_party/sqlite/src/src/select.c assert( !ExprHasProperty(pE->pLeft, EP_IntValue) ); assert 3319 third_party/sqlite/src/src/select.c assert(IsVirtual(pTab)); assert 3434 third_party/sqlite/src/src/select.c assert( p->selFlags & SF_Resolved ); assert 3444 third_party/sqlite/src/src/select.c assert( pSel ); assert 3522 third_party/sqlite/src/src/select.c assert( !ExprHasProperty(pE, EP_xIsSelect) ); assert 3546 third_party/sqlite/src/src/select.c assert( !ExprHasProperty(pF->pExpr, EP_xIsSelect) ); assert 3569 third_party/sqlite/src/src/select.c assert( !ExprHasProperty(pF->pExpr, EP_xIsSelect) ); assert 3580 third_party/sqlite/src/src/select.c assert( nArg==1 ); assert 3587 third_party/sqlite/src/src/select.c assert( pList!=0 ); /* pList!=0 if pF->pFunc has NEEDCOLL */ assert 3741 third_party/sqlite/src/src/select.c assert(pDest->eDest==SRT_Exists || pDest->eDest==SRT_Union || assert 3757 third_party/sqlite/src/src/select.c assert( pEList!=0 ); assert 3803 third_party/sqlite/src/src/select.c assert( pItem->isPopulated==0 ); assert 3853 third_party/sqlite/src/src/select.c assert( p->pGroupBy==0 || (p->selFlags & SF_Aggregate)!=0 ); assert 3907 third_party/sqlite/src/src/select.c assert( isAgg || pGroupBy ); assert 3937 third_party/sqlite/src/src/select.c assert(!isDistinct); assert 3995 third_party/sqlite/src/src/select.c assert( !ExprHasProperty(sAggInfo.aFunc[i].pExpr, EP_xIsSelect) ); assert 4294 third_party/sqlite/src/src/select.c assert( !ExprHasProperty(p->pEList->a[0].pExpr, EP_xIsSelect) ); assert 304 third_party/sqlite/src/src/shell.c assert( 0==argc ); assert 305 third_party/sqlite/src/src/shell.c assert( zShellStatic ); assert 912 third_party/sqlite/src/src/shell.c assert( (zCsr-zIn)==len ); assert 1122 third_party/sqlite/src/src/shell.c assert(sizeof(int) <= sizeof(char *)); assert 2307 third_party/sqlite/src/src/shell.c assert( nArg<=ArraySize(azArg) ); assert 274 third_party/sqlite/src/src/sqliteInt.h # define ALWAYS(X) ((X)?1:(assert(0),0)) assert 275 third_party/sqlite/src/src/sqliteInt.h # define NEVER(X) ((X)?(assert(0),1):0) assert 48 third_party/sqlite/src/src/status.c assert( op>=0 && op<ArraySize(wsdStat.nowValue) ); assert 58 third_party/sqlite/src/src/status.c assert( op>=0 && op<ArraySize(wsdStat.nowValue) ); assert 70 third_party/sqlite/src/src/status.c assert( op>=0 && op<ArraySize(wsdStat.nowValue) ); assert 125 third_party/sqlite/src/src/status.c assert( (op-SQLITE_DBSTATUS_LOOKASIDE_HIT)>=0 ); assert 126 third_party/sqlite/src/src/status.c assert( (op-SQLITE_DBSTATUS_LOOKASIDE_HIT)<3 ); assert 146 third_party/sqlite/src/src/table.c assert( sizeof(res.azResult[0])>= sizeof(res.nData) ); assert 190 third_party/sqlite/src/src/table.c assert( azResult!=0 ); assert 296 third_party/sqlite/src/src/tclsqlite.c default: assert(!"Bad seekMode"); assert 523 third_party/sqlite/src/src/tclsqlite.c assert( pDb->zProgress ); assert 590 third_party/sqlite/src/src/tclsqlite.c assert(pDb->pRollbackHook); assert 609 third_party/sqlite/src/src/tclsqlite.c assert(pDb->pWalHook); assert 644 third_party/sqlite/src/src/tclsqlite.c assert( pDb->pUnlockNotify); assert 662 third_party/sqlite/src/src/tclsqlite.c assert( pDb->pUpdateHook ); assert 663 third_party/sqlite/src/src/tclsqlite.c assert( op==SQLITE_INSERT || op==SQLITE_UPDATE || op==SQLITE_DELETE ); assert 1120 third_party/sqlite/src/src/tclsqlite.c assert( pPreStmt==0 ); assert 1131 third_party/sqlite/src/src/tclsqlite.c assert( pPreStmt ); assert 1132 third_party/sqlite/src/src/tclsqlite.c assert( strlen30(pPreStmt->zSql)==pPreStmt->nSql ); assert 1133 third_party/sqlite/src/src/tclsqlite.c assert( 0==memcmp(pPreStmt->zSql, zSql, pPreStmt->nSql) ); assert 1219 third_party/sqlite/src/src/tclsqlite.c assert( pDb->nStmt==0 ); assert 1222 third_party/sqlite/src/src/tclsqlite.c assert( pDb->nStmt>0 ); assert 2799 third_party/sqlite/src/src/tclsqlite.c assert( !(*ppHook) ); assert 41 third_party/sqlite/src/src/test1.c assert( h>='A' && h<='F' ); assert 60 third_party/sqlite/src/src/test1.c assert( sizeof(p)==sizeof(v2) ); assert 1963 third_party/sqlite/src/src/test1.c assert( p ); assert 2039 third_party/sqlite/src/src/test1.c assert(db); assert 2088 third_party/sqlite/src/src/test1.c assert(db); assert 2124 third_party/sqlite/src/src/test1.c assert( interp==0 ); /* This will always fail */ assert 2555 third_party/sqlite/src/src/test1.c assert(0); assert 3094 third_party/sqlite/src/src/test1.c assert( sizeof(value)==8 ); assert 3095 third_party/sqlite/src/src/test1.c assert( sizeof(x)==8 ); assert 3564 third_party/sqlite/src/src/test1.c assert( pStmt==0 ); assert 3609 third_party/sqlite/src/src/test1.c assert(rc==SQLITE_OK || pStmt==0); assert 3619 third_party/sqlite/src/src/test1.c assert( pStmt==0 ); assert 3657 third_party/sqlite/src/src/test1.c assert(rc==SQLITE_OK || pStmt==0); assert 3660 third_party/sqlite/src/src/test1.c assert( pStmt==0 ); assert 3990 third_party/sqlite/src/src/test1.c assert(0); assert 4637 third_party/sqlite/src/src/test1.c assert( pMain==0 || pMain==sqlite3_vfs_find(0) ); assert 4639 third_party/sqlite/src/src/test1.c assert( pMain==0 || pMain==sqlite3_vfs_find(0) ); assert 4642 third_party/sqlite/src/src/test1.c assert( sqlite3_vfs_find("__one")==&one ); assert 4643 third_party/sqlite/src/src/test1.c assert( sqlite3_vfs_find("__two")==&two ); assert 4650 third_party/sqlite/src/src/test1.c assert( sqlite3_vfs_find("__one")==&one ); assert 4651 third_party/sqlite/src/src/test1.c assert( sqlite3_vfs_find("__two")==&two ); assert 4652 third_party/sqlite/src/src/test1.c assert( sqlite3_vfs_find(0)==&one ); assert 4654 third_party/sqlite/src/src/test1.c assert( sqlite3_vfs_find("__one")==&one ); assert 4655 third_party/sqlite/src/src/test1.c assert( sqlite3_vfs_find("__two")==&two ); assert 4656 third_party/sqlite/src/src/test1.c assert( sqlite3_vfs_find(0)==&two ); assert 4659 third_party/sqlite/src/src/test1.c assert( sqlite3_vfs_find("__one")==&one ); assert 4660 third_party/sqlite/src/src/test1.c assert( sqlite3_vfs_find("__two")==&two ); assert 4661 third_party/sqlite/src/src/test1.c assert( sqlite3_vfs_find(0)==pMain ); assert 4670 third_party/sqlite/src/src/test1.c assert( apVfs[i]==sqlite3_vfs_find(apVfs[i]->zName) ); assert 4672 third_party/sqlite/src/src/test1.c assert( 0==sqlite3_vfs_find(apVfs[i]->zName) ); assert 4675 third_party/sqlite/src/src/test1.c assert( 0==sqlite3_vfs_find(0) ); assert 4681 third_party/sqlite/src/src/test1.c assert( sqlite3_vfs_find(0)==pMain ); assert 4685 third_party/sqlite/src/src/test1.c assert( 0==sqlite3_vfs_find(0) ); assert 4691 third_party/sqlite/src/src/test1.c assert( apVfs[i]==sqlite3_vfs_find(0) ); assert 4692 third_party/sqlite/src/src/test1.c assert( apVfs[i]==sqlite3_vfs_find(apVfs[i]->zName) ); assert 4703 third_party/sqlite/src/src/test1.c assert( sqlite3_vfs_find("__one")==0 ); assert 4704 third_party/sqlite/src/src/test1.c assert( sqlite3_vfs_find("__two")==0 ); assert 4708 third_party/sqlite/src/src/test1.c assert( sqlite3_vfs_find(0)==pMain ); assert 4804 third_party/sqlite/src/src/test1.c assert( rc==SQLITE_NOTFOUND ); assert 4806 third_party/sqlite/src/src/test1.c assert( rc==SQLITE_ERROR ); assert 4808 third_party/sqlite/src/src/test1.c assert( rc==SQLITE_NOTFOUND ); assert 4810 third_party/sqlite/src/src/test1.c assert( rc==SQLITE_NOTFOUND || rc==SQLITE_ERROR ); assert 5099 third_party/sqlite/src/src/test1.c assert( rc==0 ); assert 5101 third_party/sqlite/src/src/test1.c assert( rc==0 ); assert 5261 third_party/sqlite/src/src/test1.c assert( SQLITE_CHECKPOINT_PASSIVE==0 ); assert 5262 third_party/sqlite/src/src/test1.c assert( SQLITE_CHECKPOINT_FULL==1 ); assert 5263 third_party/sqlite/src/src/test1.c assert( SQLITE_CHECKPOINT_RESTART==2 ); assert 545 third_party/sqlite/src/src/test3.c assert( db ); assert 676 third_party/sqlite/src/src/test4.c assert( !threadset[i].db ); assert 38 third_party/sqlite/src/src/test5.c assert(objc==2); assert 312 third_party/sqlite/src/src/test6.c assert(pWrite->zBuf); assert 339 third_party/sqlite/src/src/test6.c assert(!"Cannot happen"); assert 366 third_party/sqlite/src/src/test6.c assert((zBuf && nBuf) || (!nBuf && !zBuf)); assert 382 third_party/sqlite/src/src/test6.c assert(g.pWriteListEnd); assert 455 third_party/sqlite/src/src/test6.c assert(size>=0); assert 212 third_party/sqlite/src/src/test8.c assert( (zSpace-nBytes)==(char *)aCol ); assert 277 third_party/sqlite/src/src/test8.c assert( cid>=0 && cid<nCol ); assert 620 third_party/sqlite/src/src/test8.c assert( sqlite3_data_count(pStmt)>iCol ); assert 678 third_party/sqlite/src/src/test8.c assert( idxNum==hashString(idxStr) ); assert 694 third_party/sqlite/src/src/test8.c assert( pCur->pStmt || rc!=SQLITE_OK ); assert 939 third_party/sqlite/src/src/test8.c assert( nData==pVtab->nCol+2 || nData==1 ); assert 943 third_party/sqlite/src/src/test8.c assert( pVtab->inTransaction ); assert 998 third_party/sqlite/src/src/test8.c assert((pVtab->nCol+2)==nData); assert 1014 third_party/sqlite/src/src/test8.c assert(0); assert 1021 third_party/sqlite/src/src/test8.c assert( rc!=SQLITE_OK || pStmt ); assert 1074 third_party/sqlite/src/src/test8.c assert( !pVtab->inTransaction ); assert 1105 third_party/sqlite/src/src/test8.c assert( pVtab->inTransaction ); assert 1131 third_party/sqlite/src/src/test8.c assert( pVtab->inTransaction ); assert 1149 third_party/sqlite/src/src/test8.c assert( pVtab->inTransaction ); assert 146 third_party/sqlite/src/src/test9.c assert( pStmt==0 ); /* Verify that pStmt is zeroed even on a MISUSE error */ assert 154 third_party/sqlite/src/src/test9.c assert( pStmt==0 ); assert 163 third_party/sqlite/src/src/test9.c assert( pStmt==0 ); assert 170 third_party/sqlite/src/src/test9.c assert( pStmt==0 ); assert 179 third_party/sqlite/src/src/test_async.c assert( SQLITEASYNC_HALT_NEVER==0 ); assert 180 third_party/sqlite/src/src/test_async.c assert( SQLITEASYNC_HALT_NOW==1 ); assert 181 third_party/sqlite/src/src/test_async.c assert( SQLITEASYNC_HALT_IDLE==2 ); assert 458 third_party/sqlite/src/src/test_config.c assert( sqlite3_threadsafe()==SQLITE_THREADSAFE ); assert 279 third_party/sqlite/src/src/test_demovfs.c assert( p->nBuffer==0 || p->iBufferOfst+p->nBuffer==i ); assert 506 third_party/sqlite/src/src/test_demovfs.c assert( flags==SQLITE_ACCESS_EXISTS /* access(zPath, F_OK) */ assert 51 third_party/sqlite/src/src/test_func.c assert(argc==2); assert 65 third_party/sqlite/src/src/test_func.c assert( n<sizeof(zBuf) ); assert 88 third_party/sqlite/src/src/test_func.c assert(zVal); assert 102 third_party/sqlite/src/src/test_func.c assert( nArg==1 ); assert 125 third_party/sqlite/src/src/test_func.c assert( nArg==1 ); assert 201 third_party/sqlite/src/src/test_func.c assert( strcmp(zAux,z)==0 ); assert 311 third_party/sqlite/src/src/test_func.c assert( pStmt==0 ); assert 358 third_party/sqlite/src/src/test_func.c assert( nArg==1 ); assert 385 third_party/sqlite/src/src/test_func.c assert( nArg==1 ); assert 412 third_party/sqlite/src/src/test_func.c assert( nArg==1 ); assert 215 third_party/sqlite/src/src/test_fuzzer.c assert( p->nCursor==0 ); assert 556 third_party/sqlite/src/src/test_fuzzer.c assert( pCur->mxQueue==FUZZER_NQUEUE-1 ); assert 43 third_party/sqlite/src/src/test_hexio.c assert( i==-1 ); assert 311 third_party/sqlite/src/src/test_intarray.c assert( pArray==0 ); assert 484 third_party/sqlite/src/src/test_journal.c assert( cksum==pMain->aCksum[pgno-1] ); assert 519 third_party/sqlite/src/src/test_journal.c assert( pMain ); assert 554 third_party/sqlite/src/src/test_journal.c assert( (iAmt==1||iAmt==p->nPagesize) && ((iOfst+iAmt)%p->nPagesize)==0 ); assert 555 third_party/sqlite/src/src/test_journal.c assert( pgno<=p->nPage || p->nSync>0 ); assert 556 third_party/sqlite/src/src/test_journal.c assert( pgno>p->nPage || sqlite3BitvecTest(p->pWritable, pgno) ); assert 583 third_party/sqlite/src/src/test_journal.c assert( pgno==locking_page || sqlite3BitvecTest(p->pWritable, pgno) ); assert 605 third_party/sqlite/src/src/test_journal.c assert(pMain); assert 702 third_party/sqlite/src/src/test_journal.c assert( rc==SQLITE_OK || p->pReal->pMethods==0 ); assert 198 third_party/sqlite/src/src/test_malloc.c assert(memfault.isInstalled==1 || memfault.isInstalled==0); assert 206 third_party/sqlite/src/src/test_malloc.c assert(memfault.m.xMalloc); assert 215 third_party/sqlite/src/src/test_malloc.c assert(memfault.m.xMalloc); assert 222 third_party/sqlite/src/src/test_malloc.c assert( memcmp(&m, &memfault.m, sizeof(m))==0 ); assert 264 third_party/sqlite/src/src/test_malloc.c assert( 0 ); assert 298 third_party/sqlite/src/src/test_malloc.c assert( 0 ); assert 833 third_party/sqlite/src/src/test_malloc.c assert(sizeof(Tcl_WideInt)>=sizeof(void*)); assert 322 third_party/sqlite/src/src/test_multiplex.c assert(nName+SQLITE_MULTIPLEX_EXT_SZ < pOrigVfs->mxPathname); assert 324 third_party/sqlite/src/src/test_multiplex.c assert(nName >= SQLITE_MULTIPLEX_EXT_SZ); assert 325 third_party/sqlite/src/src/test_multiplex.c assert(nName < pOrigVfs->mxPathname); assert 905 third_party/sqlite/src/src/test_multiplex.c assert( pOrigVfs!=&gMultiplex.sThisVfs ); assert 80 third_party/sqlite/src/src/test_mutex.c assert( g.isInit ); assert 81 third_party/sqlite/src/src/test_mutex.c assert(eType<8 && eType>=0); assert 101 third_party/sqlite/src/src/test_mutex.c assert( g.isInit ); assert 112 third_party/sqlite/src/src/test_mutex.c assert( g.isInit ); assert 121 third_party/sqlite/src/src/test_mutex.c assert( g.isInit ); assert 130 third_party/sqlite/src/src/test_mutex.c assert( g.isInit ); assert 208 third_party/sqlite/src/src/test_mutex.c assert(isInstall==0 || isInstall==1); assert 209 third_party/sqlite/src/src/test_mutex.c assert(g.isInstalled==0 || g.isInstalled==1); assert 217 third_party/sqlite/src/src/test_mutex.c assert( g.m.xMutexAlloc==0 ); assert 224 third_party/sqlite/src/src/test_mutex.c assert( g.m.xMutexAlloc ); assert 370 third_party/sqlite/src/src/test_mutex.c assert( db ); assert 382 third_party/sqlite/src/src/test_onefile.c assert(pReal->nRef>=0); assert 608 third_party/sqlite/src/src/test_onefile.c assert(strlen("-journal")==8); assert 618 third_party/sqlite/src/src/test_onefile.c assert(eType==DATABASE_FILE); assert 692 third_party/sqlite/src/src/test_onefile.c assert(strlen("-journal")==8); assert 693 third_party/sqlite/src/src/test_onefile.c assert(strcmp("-journal", &zPath[nName])==0); assert 727 third_party/sqlite/src/src/test_onefile.c assert(strlen("-journal")==8); assert 1032 third_party/sqlite/src/src/test_osinst.c assert( i<7 ); assert 54 third_party/sqlite/src/src/test_pcache.c assert( pArg==(void*)&testpcacheGlobal ); assert 55 third_party/sqlite/src/src/test_pcache.c assert( testpcacheGlobal.pDummy==0 ); assert 56 third_party/sqlite/src/src/test_pcache.c assert( testpcacheGlobal.nInstance==0 ); assert 68 third_party/sqlite/src/src/test_pcache.c assert( pArg==(void*)&testpcacheGlobal ); assert 69 third_party/sqlite/src/src/test_pcache.c assert( testpcacheGlobal.pDummy!=0 ); assert 70 third_party/sqlite/src/src/test_pcache.c assert( testpcacheGlobal.nInstance==0 ); assert 137 third_party/sqlite/src/src/test_pcache.c assert( testpcacheGlobal.pDummy!=0 ); assert 163 third_party/sqlite/src/src/test_pcache.c assert( p->iMagic==TESTPCACHE_VALID ); assert 164 third_party/sqlite/src/src/test_pcache.c assert( newSize>=1 ); assert 165 third_party/sqlite/src/src/test_pcache.c assert( testpcacheGlobal.pDummy!=0 ); assert 166 third_party/sqlite/src/src/test_pcache.c assert( testpcacheGlobal.nInstance>0 ); assert 175 third_party/sqlite/src/src/test_pcache.c assert( p->iMagic==TESTPCACHE_VALID ); assert 176 third_party/sqlite/src/src/test_pcache.c assert( testpcacheGlobal.pDummy!=0 ); assert 177 third_party/sqlite/src/src/test_pcache.c assert( testpcacheGlobal.nInstance>0 ); assert 191 third_party/sqlite/src/src/test_pcache.c assert( p->iMagic==TESTPCACHE_VALID ); assert 192 third_party/sqlite/src/src/test_pcache.c assert( testpcacheGlobal.pDummy!=0 ); assert 193 third_party/sqlite/src/src/test_pcache.c assert( testpcacheGlobal.nInstance>0 ); assert 200 third_party/sqlite/src/src/test_pcache.c assert( p->nPinned <= TESTPCACHE_NPAGE - p->nFree ); assert 243 third_party/sqlite/src/src/test_pcache.c assert( p->nPinned <= TESTPCACHE_NPAGE - p->nFree ); assert 249 third_party/sqlite/src/src/test_pcache.c assert( 0 ); assert 268 third_party/sqlite/src/src/test_pcache.c assert( p->nPinned <= TESTPCACHE_NPAGE - p->nFree ); assert 274 third_party/sqlite/src/src/test_pcache.c assert(0); assert 288 third_party/sqlite/src/src/test_pcache.c assert( p->iMagic==TESTPCACHE_VALID ); assert 289 third_party/sqlite/src/src/test_pcache.c assert( testpcacheGlobal.pDummy!=0 ); assert 290 third_party/sqlite/src/src/test_pcache.c assert( testpcacheGlobal.nInstance>0 ); assert 305 third_party/sqlite/src/src/test_pcache.c assert( p->a[i].isPinned ); assert 308 third_party/sqlite/src/src/test_pcache.c assert( p->nPinned>=0 ); assert 312 third_party/sqlite/src/src/test_pcache.c assert( p->nFree<=TESTPCACHE_NPAGE ); assert 319 third_party/sqlite/src/src/test_pcache.c assert( 0 ); assert 334 third_party/sqlite/src/src/test_pcache.c assert( p->iMagic==TESTPCACHE_VALID ); assert 335 third_party/sqlite/src/src/test_pcache.c assert( testpcacheGlobal.pDummy!=0 ); assert 336 third_party/sqlite/src/src/test_pcache.c assert( testpcacheGlobal.nInstance>0 ); assert 344 third_party/sqlite/src/src/test_pcache.c assert( p->a[i].isPinned==0 ); assert 347 third_party/sqlite/src/src/test_pcache.c assert( p->nFree<=TESTPCACHE_NPAGE ); assert 357 third_party/sqlite/src/src/test_pcache.c assert( p->a[i].pData==pOldPage ); assert 359 third_party/sqlite/src/src/test_pcache.c assert( p->a[i].isPinned ); assert 366 third_party/sqlite/src/src/test_pcache.c assert( 0 ); assert 377 third_party/sqlite/src/src/test_pcache.c assert( p->iMagic==TESTPCACHE_VALID ); assert 378 third_party/sqlite/src/src/test_pcache.c assert( testpcacheGlobal.pDummy!=0 ); assert 379 third_party/sqlite/src/src/test_pcache.c assert( testpcacheGlobal.nInstance>0 ); assert 385 third_party/sqlite/src/src/test_pcache.c assert( p->nPinned>=0 ); assert 388 third_party/sqlite/src/src/test_pcache.c assert( p->nFree<=TESTPCACHE_NPAGE ); assert 398 third_party/sqlite/src/src/test_pcache.c assert( p->iMagic==TESTPCACHE_VALID ); assert 399 third_party/sqlite/src/src/test_pcache.c assert( testpcacheGlobal.pDummy!=0 ); assert 400 third_party/sqlite/src/src/test_pcache.c assert( testpcacheGlobal.nInstance>0 ); assert 441 third_party/sqlite/src/src/test_pcache.c assert( testpcacheGlobal.nInstance==0 ); assert 442 third_party/sqlite/src/src/test_pcache.c assert( testpcacheGlobal.pDummy==0 ); assert 443 third_party/sqlite/src/src/test_pcache.c assert( discardChance<=100 ); assert 450 third_party/sqlite/src/src/test_pcache.c assert( defaultPcache.xCreate!=testpcacheCreate ); assert 453 third_party/sqlite/src/src/test_pcache.c assert( defaultPcache.xCreate!=0 ); assert 580 third_party/sqlite/src/src/test_quota.c assert( pOrigVfs!=&gQuota.sThisVfs ); assert 196 third_party/sqlite/src/src/test_rtree.c assert( p->pContext==(void *)&gHere ); assert 219 third_party/sqlite/src/src/test_rtree.c assert( nCoord==6 ); assert 184 third_party/sqlite/src/src/test_schema.c assert(pCur->pDbList); assert 333 third_party/sqlite/src/src/test_stat.c assert( nPayload>=nLocal ); assert 334 third_party/sqlite/src/src/test_stat.c assert( nLocal<=(nUsable-35) ); assert 348 third_party/sqlite/src/src/test_stat.c assert( pPg==0 ); assert 433 third_party/sqlite/src/src/test_stat.c assert( p==&pCsr->aPage[pCsr->iPage-1] ); assert 335 third_party/sqlite/src/src/test_superlock.c assert( rc==SQLITE_OK || pLock==0 ); assert 336 third_party/sqlite/src/src/test_superlock.c assert( rc!=SQLITE_OK || pLock!=0 ); assert 187 third_party/sqlite/src/src/test_syscall.c assert(0); assert 114 third_party/sqlite/src/src/test_tclvar.c assert( pCur->i2==0 ); assert 162 third_party/sqlite/src/src/test_tclvar.c assert( argc==0 || argc==1 ); assert 179 third_party/sqlite/src/src/test_tclvar.c assert( pCur->i1==0 && pCur->i2==0 && pCur->pList2==0 ); assert 185 third_party/sqlite/src/src/test_thread.c assert(objc==4); assert 232 third_party/sqlite/src/src/test_thread.c assert(objc==3); assert 451 third_party/sqlite/src/src/test_thread.c assert( rc==SQLITE_LOCKED || rc==SQLITE_OK ); assert 585 third_party/sqlite/src/src/test_thread.c assert(rc==SQLITE_OK || pStmt==0); assert 593 third_party/sqlite/src/src/test_thread.c assert( pStmt==0 ); assert 276 third_party/sqlite/src/src/test_vfs.c assert( p->pScript ); assert 437 third_party/sqlite/src/src/test_vfs.c assert(0); assert 732 third_party/sqlite/src/src/test_vfs.c assert( pFd->pShmId && pFd->pShm==0 && pFd->pNext==0 ); assert 746 third_party/sqlite/src/src/test_vfs.c assert( rc==SQLITE_OK ); assert 773 third_party/sqlite/src/src/test_vfs.c assert( iPage<TESTVFS_MAX_PAGES ); assert 909 third_party/sqlite/src/src/test_vfs.c assert( pFd->pShmId && pFd->pShm ); assert 919 third_party/sqlite/src/src/test_vfs.c assert( (*ppFd)==pFd ); assert 1115 third_party/sqlite/src/src/test_vfs.c default: assert(0); assert 71 third_party/sqlite/src/src/test_wsd.c assert( pGlobal->nFree>=nByte ); assert 406 third_party/sqlite/src/src/tokenize.c assert( pzErrMsg!=0 ); assert 412 third_party/sqlite/src/src/tokenize.c assert( pParse->pNewTable==0 ); assert 413 third_party/sqlite/src/src/tokenize.c assert( pParse->pNewTrigger==0 ); assert 414 third_party/sqlite/src/src/tokenize.c assert( pParse->nVar==0 ); assert 415 third_party/sqlite/src/src/tokenize.c assert( pParse->nVarExpr==0 ); assert 416 third_party/sqlite/src/src/tokenize.c assert( pParse->nVarExprAlloc==0 ); assert 417 third_party/sqlite/src/src/tokenize.c assert( pParse->apVarExpr==0 ); assert 421 third_party/sqlite/src/src/tokenize.c assert( i>=0 ); assert 480 third_party/sqlite/src/src/tokenize.c assert( pzErrMsg!=0 ); assert 57 third_party/sqlite/src/src/trigger.c assert( sqlite3SchemaMutexHeld(pParse->db, 0, pTmpSchema) ); assert 101 third_party/sqlite/src/src/trigger.c assert( pName1!=0 ); /* pName1->z might be NULL, but not pName1 itself */ assert 102 third_party/sqlite/src/src/trigger.c assert( pName2!=0 ); assert 103 third_party/sqlite/src/src/trigger.c assert( op==TK_INSERT || op==TK_UPDATE || op==TK_DELETE ); assert 104 third_party/sqlite/src/src/trigger.c assert( op>0 && op<0xff ); assert 137 third_party/sqlite/src/src/trigger.c assert( pTableName->nSrc==1 ); assert 169 third_party/sqlite/src/src/trigger.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 175 third_party/sqlite/src/src/trigger.c assert( !db->init.busy ); assert 239 third_party/sqlite/src/src/trigger.c assert( pParse->pNewTrigger==0 ); assert 250 third_party/sqlite/src/src/trigger.c assert( pParse->pNewTrigger==pTrigger ); assert 312 third_party/sqlite/src/src/trigger.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 320 third_party/sqlite/src/src/trigger.c assert( pTab!=0 ); assert 328 third_party/sqlite/src/src/trigger.c assert( !pParse->pNewTrigger ); assert 392 third_party/sqlite/src/src/trigger.c assert(pEList == 0 || pSelect == 0); assert 393 third_party/sqlite/src/src/trigger.c assert(pEList != 0 || pSelect != 0 || db->mallocFailed); assert 490 third_party/sqlite/src/src/trigger.c assert( pName->nSrc==1 ); assert 494 third_party/sqlite/src/src/trigger.c assert( zDb!=0 || sqlite3BtreeHoldsAllMutexes(db) ); assert 498 third_party/sqlite/src/src/trigger.c assert( sqlite3SchemaMutexHeld(db, j, 0) ); assert 537 third_party/sqlite/src/src/trigger.c assert( iDb>=0 && iDb<db->nDb ); assert 539 third_party/sqlite/src/src/trigger.c assert( pTable ); assert 540 third_party/sqlite/src/src/trigger.c assert( pTable->pSchema==pTrigger->pSchema || iDb==1 ); assert 556 third_party/sqlite/src/src/trigger.c assert( pTable!=0 ); assert 592 third_party/sqlite/src/src/trigger.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 645 third_party/sqlite/src/src/trigger.c assert( pList==0 || IsVirtual(pTab)==0 ); assert 676 third_party/sqlite/src/src/trigger.c assert( pSrc->nSrc>0 ); assert 677 third_party/sqlite/src/src/trigger.c assert( pSrc->a!=0 ); assert 681 third_party/sqlite/src/src/trigger.c assert( iDb<pParse->db->nDb ); assert 701 third_party/sqlite/src/src/trigger.c assert( pParse->pTriggerTab && pParse->pToplevel ); assert 702 third_party/sqlite/src/src/trigger.c assert( pStepList ); assert 703 third_party/sqlite/src/src/trigger.c assert( v!=0 ); assert 747 third_party/sqlite/src/src/trigger.c default: assert( pStep->op==TK_SELECT ); { assert 788 third_party/sqlite/src/src/trigger.c assert( pFrom->zErrMsg==0 || pFrom->nErr ); assert 789 third_party/sqlite/src/src/trigger.c assert( pTo->zErrMsg==0 || pTo->nErr ); assert 818 third_party/sqlite/src/src/trigger.c assert( pTrigger->zName==0 || pTab==tableOfTrigger(pTrigger) ); assert 819 third_party/sqlite/src/src/trigger.c assert( pTop->pVdbe ); assert 901 third_party/sqlite/src/src/trigger.c assert( !pSubParse->pAinc && !pSubParse->pZombieTab ); assert 902 third_party/sqlite/src/src/trigger.c assert( !pSubParse->pTriggerPrg && !pSubParse->nMaxArg ); assert 923 third_party/sqlite/src/src/trigger.c assert( pTrigger->zName==0 || pTab==tableOfTrigger(pTrigger) ); assert 959 third_party/sqlite/src/src/trigger.c assert( pPrg || pParse->nErr || pParse->db->mallocFailed ); assert 1033 third_party/sqlite/src/src/trigger.c assert( op==TK_UPDATE || op==TK_INSERT || op==TK_DELETE ); assert 1034 third_party/sqlite/src/src/trigger.c assert( tr_tm==TRIGGER_BEFORE || tr_tm==TRIGGER_AFTER ); assert 1035 third_party/sqlite/src/src/trigger.c assert( (op==TK_UPDATE)==(pChanges!=0) ); assert 1042 third_party/sqlite/src/src/trigger.c assert( p->pSchema!=0 ); assert 1043 third_party/sqlite/src/src/trigger.c assert( p->pTabSchema!=0 ); assert 1044 third_party/sqlite/src/src/trigger.c assert( p->pSchema==p->pTabSchema assert 1095 third_party/sqlite/src/src/trigger.c assert( isNew==1 || isNew==0 ); assert 61 third_party/sqlite/src/src/update.c assert( pTab!=0 ); assert 67 third_party/sqlite/src/src/update.c assert( i<pTab->nCol ); assert 137 third_party/sqlite/src/src/update.c assert( pTabList->nSrc==1 ); assert 151 third_party/sqlite/src/src/update.c assert( pTrigger || tmask==0 ); assert 360 third_party/sqlite/src/src/update.c assert( pParse->nTab>iCur+i+1 ); assert 383 third_party/sqlite/src/src/update.c assert( chngRowid || pTrigger || hasFK || regOldRowid==regNewRowid ); assert 622 third_party/sqlite/src/src/update.c assert( pTab->iPKey<0 ); assert 636 third_party/sqlite/src/src/update.c assert( v ); assert 212 third_party/sqlite/src/src/utf.c assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); assert 213 third_party/sqlite/src/src/utf.c assert( pMem->flags&MEM_Str ); assert 214 third_party/sqlite/src/src/utf.c assert( pMem->enc!=desiredEnc ); assert 215 third_party/sqlite/src/src/utf.c assert( pMem->enc!=0 ); assert 216 third_party/sqlite/src/src/utf.c assert( pMem->n>=0 ); assert 235 third_party/sqlite/src/src/utf.c assert( rc==SQLITE_NOMEM ); assert 291 third_party/sqlite/src/src/utf.c assert( desiredEnc==SQLITE_UTF16BE ); assert 302 third_party/sqlite/src/src/utf.c assert( desiredEnc==SQLITE_UTF8 ); assert 319 third_party/sqlite/src/src/utf.c assert( (pMem->n+(desiredEnc==SQLITE_UTF8?1:2))<=len ); assert 352 third_party/sqlite/src/src/utf.c assert( pMem->n>=0 ); assert 395 third_party/sqlite/src/src/utf.c assert( z<=zTerm ); assert 450 third_party/sqlite/src/src/utf.c assert( (m.flags & MEM_Term)!=0 || db->mallocFailed ); assert 451 third_party/sqlite/src/src/utf.c assert( (m.flags & MEM_Str)!=0 || db->mallocFailed ); assert 452 third_party/sqlite/src/src/utf.c assert( (m.flags & MEM_Dyn)!=0 || db->mallocFailed ); assert 453 third_party/sqlite/src/src/utf.c assert( m.z || db->mallocFailed ); assert 474 third_party/sqlite/src/src/utf.c assert( db->mallocFailed ); assert 477 third_party/sqlite/src/src/utf.c assert( m.z==m.zMalloc ); assert 524 third_party/sqlite/src/src/utf.c assert( n>0 && n<=4 ); assert 531 third_party/sqlite/src/src/utf.c assert( c==t ); assert 532 third_party/sqlite/src/src/utf.c assert( (z-zBuf)==n ); assert 539 third_party/sqlite/src/src/utf.c assert( n>0 && n<=4 ); assert 543 third_party/sqlite/src/src/utf.c assert( c==i ); assert 544 third_party/sqlite/src/src/utf.c assert( (z-zBuf)==n ); assert 551 third_party/sqlite/src/src/utf.c assert( n>0 && n<=4 ); assert 555 third_party/sqlite/src/src/utf.c assert( c==i ); assert 556 third_party/sqlite/src/src/utf.c assert( (z-zBuf)==n ); assert 499 third_party/sqlite/src/src/util.c assert( u<=LARGEST_INT64 ); assert 506 third_party/sqlite/src/src/util.c assert( u<=LARGEST_INT64 ); assert 514 third_party/sqlite/src/src/util.c assert( u-1==LARGEST_INT64 ); assert 515 third_party/sqlite/src/src/util.c assert( (*pNum)==SMALLEST_INT64 ); assert 621 third_party/sqlite/src/src/util.c assert( n<=9 ); assert 692 third_party/sqlite/src/src/util.c assert( SLOT_2_0 == ((0x7f<<14) | (0x7f)) ); assert 693 third_party/sqlite/src/src/util.c assert( SLOT_4_2_0 == ((0xfU<<28) | (0x7f<<14) | (0x7f)) ); assert 898 third_party/sqlite/src/src/util.c assert( n>3 && n<=9 ); assert 950 third_party/sqlite/src/src/util.c assert( n>5 && n<=9 ); assert 993 third_party/sqlite/src/src/util.c assert( (h>='0' && h<='9') || (h>='a' && h<='f') || (h>='A' && h<='F') ); assert 1129 third_party/sqlite/src/src/util.c assert( iA1*iB0==0 || iA0*iB1==0 ); assert 48 third_party/sqlite/src/src/vacuum.c assert( rc!=SQLITE_ROW ); assert 155 third_party/sqlite/src/src/vacuum.c assert( strcmp(pDb->zName,"vacuum_db")==0 ); assert 291 third_party/sqlite/src/src/vacuum.c assert( 1==sqlite3BtreeIsInTrans(pTemp) ); assert 292 third_party/sqlite/src/src/vacuum.c assert( 1==sqlite3BtreeIsInTrans(pMain) ); assert 312 third_party/sqlite/src/src/vacuum.c assert( rc==SQLITE_OK ); assert 222 third_party/sqlite/src/src/vdbe.c assert( iCur<p->nCursor ); assert 300 third_party/sqlite/src/src/vdbe.c assert( affinity==SQLITE_AFF_INTEGER || affinity==SQLITE_AFF_REAL assert 352 third_party/sqlite/src/src/vdbe.c assert( (f & (MEM_Static|MEM_Ephem))==0 ); assert 355 third_party/sqlite/src/src/vdbe.c assert( (f & (MEM_Dyn|MEM_Ephem))==0 ); assert 358 third_party/sqlite/src/src/vdbe.c assert( (f & (MEM_Static|MEM_Dyn))==0 ); assert 389 third_party/sqlite/src/src/vdbe.c assert( (f & (MEM_Static|MEM_Ephem))==0 ); assert 392 third_party/sqlite/src/src/vdbe.c assert( (f & (MEM_Dyn|MEM_Ephem))==0 ); assert 395 third_party/sqlite/src/src/vdbe.c assert( (f & (MEM_Static|MEM_Dyn))==0 ); assert 496 third_party/sqlite/src/src/vdbe.c assert( n==(db->nSavepoint + db->isTransactionSavepoint) ); assert 573 third_party/sqlite/src/src/vdbe.c assert( p->magic==VDBE_MAGIC_RUN ); /* sqlite3_step() verifies this */ assert 580 third_party/sqlite/src/src/vdbe.c assert( p->rc==SQLITE_OK || p->rc==SQLITE_BUSY ); assert 582 third_party/sqlite/src/src/vdbe.c assert( p->explain==0 ); assert 603 third_party/sqlite/src/src/vdbe.c assert( pc>=0 && pc<p->nOp ); assert 662 third_party/sqlite/src/src/vdbe.c assert( pOp->opflags==sqlite3OpcodeProperty[pOp->opcode] ); assert 664 third_party/sqlite/src/src/vdbe.c assert( pOp->p2>0 ); assert 665 third_party/sqlite/src/src/vdbe.c assert( pOp->p2<=p->nMem ); assert 675 third_party/sqlite/src/src/vdbe.c assert( pOp->p1>0 ); assert 676 third_party/sqlite/src/src/vdbe.c assert( pOp->p1<=p->nMem ); assert 677 third_party/sqlite/src/src/vdbe.c assert( memIsValid(&aMem[pOp->p1]) ); assert 681 third_party/sqlite/src/src/vdbe.c assert( pOp->p2>0 ); assert 682 third_party/sqlite/src/src/vdbe.c assert( pOp->p2<=p->nMem ); assert 683 third_party/sqlite/src/src/vdbe.c assert( memIsValid(&aMem[pOp->p2]) ); assert 687 third_party/sqlite/src/src/vdbe.c assert( pOp->p3>0 ); assert 688 third_party/sqlite/src/src/vdbe.c assert( pOp->p3<=p->nMem ); assert 689 third_party/sqlite/src/src/vdbe.c assert( memIsValid(&aMem[pOp->p3]) ); assert 693 third_party/sqlite/src/src/vdbe.c assert( pOp->p2>0 ); assert 694 third_party/sqlite/src/src/vdbe.c assert( pOp->p2<=p->nMem ); assert 698 third_party/sqlite/src/src/vdbe.c assert( pOp->p3>0 ); assert 699 third_party/sqlite/src/src/vdbe.c assert( pOp->p3<=p->nMem ); assert 761 third_party/sqlite/src/src/vdbe.c assert( (pIn1->flags & MEM_Dyn)==0 ); assert 776 third_party/sqlite/src/src/vdbe.c assert( pIn1->flags & MEM_Int ); assert 788 third_party/sqlite/src/src/vdbe.c assert( (pIn1->flags & MEM_Dyn)==0 ); assert 853 third_party/sqlite/src/src/vdbe.c assert( p->rc!=SQLITE_OK ); assert 862 third_party/sqlite/src/src/vdbe.c assert( rc==SQLITE_BUSY || rc==SQLITE_OK || rc==SQLITE_ERROR ); assert 866 third_party/sqlite/src/src/vdbe.c assert( rc==SQLITE_OK || p->rc==SQLITE_CONSTRAINT ); assert 867 third_party/sqlite/src/src/vdbe.c assert( rc==SQLITE_OK || db->nDeferredCons>0 ); assert 888 third_party/sqlite/src/src/vdbe.c assert( pOp->p4.pI64!=0 ); assert 901 third_party/sqlite/src/src/vdbe.c assert( !sqlite3IsNaN(*pOp->p4.pReal) ); assert 913 third_party/sqlite/src/src/vdbe.c assert( pOp->p4.z!=0 ); assert 922 third_party/sqlite/src/src/vdbe.c assert( pOut->zMalloc==pOut->z ); assert 923 third_party/sqlite/src/src/vdbe.c assert( pOut->flags & MEM_Dyn ); assert 946 third_party/sqlite/src/src/vdbe.c assert( pOp->p4.z!=0 ); assert 971 third_party/sqlite/src/src/vdbe.c assert( pOp->p1 <= SQLITE_MAX_LENGTH ); assert 988 third_party/sqlite/src/src/vdbe.c assert( pOp->p1>0 && pOp->p1<=p->nVar ); assert 1014 third_party/sqlite/src/src/vdbe.c assert( n>0 && p1>0 && p2>0 ); assert 1015 third_party/sqlite/src/src/vdbe.c assert( p1+n<=p2 || p2+n<=p1 ); assert 1020 third_party/sqlite/src/src/vdbe.c assert( pOut<=&aMem[p->nMem] ); assert 1021 third_party/sqlite/src/src/vdbe.c assert( pIn1<=&aMem[p->nMem] ); assert 1022 third_party/sqlite/src/src/vdbe.c assert( memIsValid(pIn1) ); assert 1045 third_party/sqlite/src/src/vdbe.c assert( pOut!=pIn1 ); assert 1067 third_party/sqlite/src/src/vdbe.c assert( pOut!=pIn1 ); assert 1087 third_party/sqlite/src/src/vdbe.c assert( p->nResColumn==pOp->p2 ); assert 1088 third_party/sqlite/src/src/vdbe.c assert( pOp->p1>0 ); assert 1089 third_party/sqlite/src/src/vdbe.c assert( pOp->p1+pOp->p2<=p->nMem+1 ); assert 1095 third_party/sqlite/src/src/vdbe.c assert( db->flags&SQLITE_CountRows ); assert 1096 third_party/sqlite/src/src/vdbe.c assert( p->usesStmtJournal ); assert 1115 third_party/sqlite/src/src/vdbe.c assert( p->iStatement==0 || db->flags&SQLITE_CountRows ); assert 1130 third_party/sqlite/src/src/vdbe.c assert( memIsValid(&pMem[i]) ); assert 1132 third_party/sqlite/src/src/vdbe.c assert( (pMem[i].flags & MEM_Ephem)==0 assert 1165 third_party/sqlite/src/src/vdbe.c assert( pIn1!=pOut ); assert 1323 third_party/sqlite/src/src/vdbe.c assert( pOp->p4type==P4_COLLSEQ ); assert 1352 third_party/sqlite/src/src/vdbe.c assert( apVal || n==0 ); assert 1353 third_party/sqlite/src/src/vdbe.c assert( pOp->p3>0 && pOp->p3<=p->nMem ); assert 1357 third_party/sqlite/src/src/vdbe.c assert( n==0 || (pOp->p2>0 && pOp->p2+n<=p->nMem+1) ); assert 1358 third_party/sqlite/src/src/vdbe.c assert( pOp->p3<pOp->p2 || pOp->p3>=pOp->p2+n ); assert 1361 third_party/sqlite/src/src/vdbe.c assert( memIsValid(pArg) ); assert 1368 third_party/sqlite/src/src/vdbe.c assert( pOp->p4type==P4_FUNCDEF || pOp->p4type==P4_VDBEFUNC ); assert 1391 third_party/sqlite/src/src/vdbe.c assert( pOp>aOp ); assert 1392 third_party/sqlite/src/src/vdbe.c assert( pOp[-1].p4type==P4_COLLSEQ ); assert 1393 third_party/sqlite/src/src/vdbe.c assert( pOp[-1].opcode==OP_CollSeq ); assert 1492 third_party/sqlite/src/src/vdbe.c assert( op==OP_ShiftRight || op==OP_ShiftLeft ); assert 1496 third_party/sqlite/src/src/vdbe.c assert( OP_ShiftRight==OP_ShiftLeft+1 ); assert 1591 third_party/sqlite/src/src/vdbe.c assert( MEM_Str==(MEM_Blob>>3) ); assert 1595 third_party/sqlite/src/src/vdbe.c assert( pIn1->flags & MEM_Str || db->mallocFailed ); assert 1615 third_party/sqlite/src/src/vdbe.c assert( pIn1->flags & MEM_Str || db->mallocFailed ); assert 1772 third_party/sqlite/src/src/vdbe.c assert( pOp->opcode==OP_Eq || pOp->opcode==OP_Ne ); assert 1797 third_party/sqlite/src/src/vdbe.c assert( pOp->p4type==P4_COLLSEQ || pOp->p4.pColl==0 ); assert 1837 third_party/sqlite/src/src/vdbe.c assert( pOp->p4type==P4_INTARRAY ); assert 1838 third_party/sqlite/src/src/vdbe.c assert( pOp->p4.ai ); assert 1869 third_party/sqlite/src/src/vdbe.c assert( n>0 ); assert 1870 third_party/sqlite/src/src/vdbe.c assert( pKeyInfo!=0 ); assert 1877 third_party/sqlite/src/src/vdbe.c assert( p1>0 && p1+mx<=p->nMem+1 ); assert 1878 third_party/sqlite/src/src/vdbe.c assert( p2>0 && p2+mx<=p->nMem+1 ); assert 1880 third_party/sqlite/src/src/vdbe.c assert( p1>0 && p1+n<=p->nMem+1 ); assert 1881 third_party/sqlite/src/src/vdbe.c assert( p2>0 && p2+n<=p->nMem+1 ); assert 1886 third_party/sqlite/src/src/vdbe.c assert( memIsValid(&aMem[p1+idx]) ); assert 1887 third_party/sqlite/src/src/vdbe.c assert( memIsValid(&aMem[p2+idx]) ); assert 1890 third_party/sqlite/src/src/vdbe.c assert( i<pKeyInfo->nField ); assert 2110 third_party/sqlite/src/src/vdbe.c assert( p1<p->nCursor ); assert 2111 third_party/sqlite/src/src/vdbe.c assert( pOp->p3>0 && pOp->p3<=p->nMem ); assert 2130 third_party/sqlite/src/src/vdbe.c assert( pC!=0 ); assert 2132 third_party/sqlite/src/src/vdbe.c assert( pC->pVtabCursor==0 ); assert 2145 third_party/sqlite/src/src/vdbe.c assert( sqlite3BtreeCursorIsValid(pCrsr) ); assert 2147 third_party/sqlite/src/src/vdbe.c assert( rc==SQLITE_OK ); /* True because of CursorMoveto() call above */ assert 2151 third_party/sqlite/src/src/vdbe.c assert( (payloadSize64 & SQLITE_MAX_U32)==(u64)payloadSize64 ); assert 2154 third_party/sqlite/src/src/vdbe.c assert( sqlite3BtreeCursorIsValid(pCrsr) ); assert 2156 third_party/sqlite/src/src/vdbe.c assert( rc==SQLITE_OK ); /* DataSize() cannot fail */ assert 2160 third_party/sqlite/src/src/vdbe.c assert( pReg->flags & MEM_Blob ); assert 2161 third_party/sqlite/src/src/vdbe.c assert( memIsValid(pReg) ); assert 2165 third_party/sqlite/src/src/vdbe.c assert( payloadSize==0 || zRec!=0 ); assert 2173 third_party/sqlite/src/src/vdbe.c assert( pDest->flags&MEM_Null ); assert 2176 third_party/sqlite/src/src/vdbe.c assert( db->aLimit[SQLITE_LIMIT_LENGTH]>=0 ); assert 2182 third_party/sqlite/src/src/vdbe.c assert( p2<nField ); assert 2191 third_party/sqlite/src/src/vdbe.c assert(aType); assert 2211 third_party/sqlite/src/src/vdbe.c assert( avail>=0 ); assert 2320 third_party/sqlite/src/src/vdbe.c assert( rc==SQLITE_OK ); assert 2339 third_party/sqlite/src/src/vdbe.c assert( pDest->flags&MEM_Null ); assert 2349 third_party/sqlite/src/src/vdbe.c assert( sMem.z==sMem.zMalloc ); assert 2350 third_party/sqlite/src/src/vdbe.c assert( !(pDest->flags & MEM_Dyn) ); assert 2351 third_party/sqlite/src/src/vdbe.c assert( !(pDest->flags & (MEM_Blob|MEM_Str)) || pDest->z==sMem.z ); assert 2379 third_party/sqlite/src/src/vdbe.c assert( zAffinity!=0 ); assert 2380 third_party/sqlite/src/src/vdbe.c assert( zAffinity[pOp->p2]==0 ); assert 2383 third_party/sqlite/src/src/vdbe.c assert( pIn1 <= &p->aMem[p->nMem] ); assert 2384 third_party/sqlite/src/src/vdbe.c assert( memIsValid(pIn1) ); assert 2444 third_party/sqlite/src/src/vdbe.c assert( nField>0 && pOp->p2>0 && pOp->p2+nField<=p->nMem+1 ); assert 2451 third_party/sqlite/src/src/vdbe.c assert( pOp->p3<pOp->p1 || pOp->p3>=pOp->p1+pOp->p2 ); assert 2459 third_party/sqlite/src/src/vdbe.c assert( memIsValid(pRec) ); assert 2508 third_party/sqlite/src/src/vdbe.c assert( i==nByte ); assert 2510 third_party/sqlite/src/src/vdbe.c assert( pOp->p3>0 && pOp->p3<=p->nMem ); assert 2567 third_party/sqlite/src/src/vdbe.c assert( db->pSavepoint==0 || db->autoCommit==0 ); assert 2568 third_party/sqlite/src/src/vdbe.c assert( p1==SAVEPOINT_BEGIN||p1==SAVEPOINT_RELEASE||p1==SAVEPOINT_ROLLBACK ); assert 2569 third_party/sqlite/src/src/vdbe.c assert( db->pSavepoint || db->isTransactionSavepoint==0 ); assert 2570 third_party/sqlite/src/src/vdbe.c assert( checkSavepointCount(db) ); assert 2680 third_party/sqlite/src/src/vdbe.c assert( pSavepoint==db->pSavepoint ); assert 2712 third_party/sqlite/src/src/vdbe.c assert( desiredAutoCommit==1 || desiredAutoCommit==0 ); assert 2713 third_party/sqlite/src/src/vdbe.c assert( desiredAutoCommit==1 || iRollback==0 ); assert 2714 third_party/sqlite/src/src/vdbe.c assert( db->activeVdbeCnt>0 ); /* At least this one VM is active */ assert 2733 third_party/sqlite/src/src/vdbe.c assert( desiredAutoCommit==1 ); assert 2747 third_party/sqlite/src/src/vdbe.c assert( db->nStatement==0 ); assert 2800 third_party/sqlite/src/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<db->nDb ); assert 2801 third_party/sqlite/src/src/vdbe.c assert( (p->btreeMask & (((yDbMask)1)<<pOp->p1))!=0 ); assert 2818 third_party/sqlite/src/src/vdbe.c assert( sqlite3BtreeIsInTrans(pBt) ); assert 2820 third_party/sqlite/src/src/vdbe.c assert( db->nStatement>=0 && db->nSavepoint>=0 ); assert 2854 third_party/sqlite/src/src/vdbe.c assert( pOp->p3<SQLITE_N_BTREE_META ); assert 2855 third_party/sqlite/src/src/vdbe.c assert( iDb>=0 && iDb<db->nDb ); assert 2856 third_party/sqlite/src/src/vdbe.c assert( db->aDb[iDb].pBt!=0 ); assert 2857 third_party/sqlite/src/src/vdbe.c assert( (p->btreeMask & (((yDbMask)1)<<iDb))!=0 ); assert 2876 third_party/sqlite/src/src/vdbe.c assert( pOp->p2<SQLITE_N_BTREE_META ); assert 2877 third_party/sqlite/src/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<db->nDb ); assert 2878 third_party/sqlite/src/src/vdbe.c assert( (p->btreeMask & (((yDbMask)1)<<pOp->p1))!=0 ); assert 2880 third_party/sqlite/src/src/vdbe.c assert( pDb->pBt!=0 ); assert 2881 third_party/sqlite/src/src/vdbe.c assert( sqlite3SchemaMutexHeld(db, pOp->p1, 0) ); assert 2926 third_party/sqlite/src/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<db->nDb ); assert 2927 third_party/sqlite/src/src/vdbe.c assert( (p->btreeMask & (((yDbMask)1)<<pOp->p1))!=0 ); assert 2928 third_party/sqlite/src/src/vdbe.c assert( sqlite3SchemaMutexHeld(db, pOp->p1, 0) ); assert 3031 third_party/sqlite/src/src/vdbe.c assert( iDb>=0 && iDb<db->nDb ); assert 3032 third_party/sqlite/src/src/vdbe.c assert( (p->btreeMask & (((yDbMask)1)<<iDb))!=0 ); assert 3035 third_party/sqlite/src/src/vdbe.c assert( pX!=0 ); assert 3038 third_party/sqlite/src/src/vdbe.c assert( sqlite3SchemaMutexHeld(db, iDb, 0) ); assert 3046 third_party/sqlite/src/src/vdbe.c assert( p2>0 ); assert 3047 third_party/sqlite/src/src/vdbe.c assert( p2<=p->nMem ); assert 3049 third_party/sqlite/src/src/vdbe.c assert( memIsValid(pIn2) ); assert 3050 third_party/sqlite/src/src/vdbe.c assert( (pIn2->flags & MEM_Int)!=0 ); assert 3069 third_party/sqlite/src/src/vdbe.c assert( pOp->p1>=0 ); assert 3081 third_party/sqlite/src/src/vdbe.c assert( rc==SQLITE_EMPTY || rc==SQLITE_OK ); assert 3131 third_party/sqlite/src/src/vdbe.c assert( pOp->p1>=0 ); assert 3148 third_party/sqlite/src/src/vdbe.c assert( pOp->p4type==P4_KEYINFO ); assert 3151 third_party/sqlite/src/src/vdbe.c assert( pgno==MASTER_ROOT+1 ); assert 3186 third_party/sqlite/src/src/vdbe.c assert( pOp->p1>=0 ); assert 3202 third_party/sqlite/src/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 3271 third_party/sqlite/src/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 3272 third_party/sqlite/src/src/vdbe.c assert( pOp->p2!=0 ); assert 3274 third_party/sqlite/src/src/vdbe.c assert( pC!=0 ); assert 3275 third_party/sqlite/src/src/vdbe.c assert( pC->pseudoTableReg==0 ); assert 3276 third_party/sqlite/src/src/vdbe.c assert( OP_SeekLe == OP_SeekLt+1 ); assert 3277 third_party/sqlite/src/src/vdbe.c assert( OP_SeekGe == OP_SeekLt+2 ); assert 3278 third_party/sqlite/src/src/vdbe.c assert( OP_SeekGt == OP_SeekLt+3 ); assert 3279 third_party/sqlite/src/src/vdbe.c assert( pC->isOrdered ); assert 3303 third_party/sqlite/src/src/vdbe.c assert( (pIn3->flags & MEM_Real)!=0 ); assert 3310 third_party/sqlite/src/src/vdbe.c if( oc>=OP_SeekGe ){ assert( oc==OP_SeekGe || oc==OP_SeekGt ); assert 3315 third_party/sqlite/src/src/vdbe.c if( oc<=OP_SeekLe ){ assert( oc==OP_SeekLt || oc==OP_SeekLe ); assert 3329 third_party/sqlite/src/src/vdbe.c assert( oc==OP_SeekLe || oc==OP_SeekGt ); assert 3343 third_party/sqlite/src/src/vdbe.c assert( pOp->p4type==P4_INT32 ); assert 3344 third_party/sqlite/src/src/vdbe.c assert( nField>0 ); assert 3356 third_party/sqlite/src/src/vdbe.c assert( oc!=OP_SeekGt || r.flags==UNPACKED_INCRKEY ); assert 3357 third_party/sqlite/src/src/vdbe.c assert( oc!=OP_SeekLe || r.flags==UNPACKED_INCRKEY ); assert 3358 third_party/sqlite/src/src/vdbe.c assert( oc!=OP_SeekGe || r.flags==0 ); assert 3359 third_party/sqlite/src/src/vdbe.c assert( oc!=OP_SeekLt || r.flags==0 ); assert 3363 third_party/sqlite/src/src/vdbe.c { int i; for(i=0; i<r.nField; i++) assert( memIsValid(&r.aMem[i]) ); } assert 3377 third_party/sqlite/src/src/vdbe.c if( oc>=OP_SeekGe ){ assert( oc==OP_SeekGe || oc==OP_SeekGt ); assert 3386 third_party/sqlite/src/src/vdbe.c assert( oc==OP_SeekLt || oc==OP_SeekLe ); assert 3398 third_party/sqlite/src/src/vdbe.c assert( pOp->p2>0 ); assert 3424 third_party/sqlite/src/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 3426 third_party/sqlite/src/src/vdbe.c assert( pC!=0 ); assert 3428 third_party/sqlite/src/src/vdbe.c assert( pC->isTable ); assert 3477 third_party/sqlite/src/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 3478 third_party/sqlite/src/src/vdbe.c assert( pOp->p4type==P4_INT32 ); assert 3480 third_party/sqlite/src/src/vdbe.c assert( pC!=0 ); assert 3484 third_party/sqlite/src/src/vdbe.c assert( pC->isTable==0 ); assert 3490 third_party/sqlite/src/src/vdbe.c { int i; for(i=0; i<r.nField; i++) assert( memIsValid(&r.aMem[i]) ); } assert 3495 third_party/sqlite/src/src/vdbe.c assert( pIn3->flags & MEM_Blob ); assert 3496 third_party/sqlite/src/src/vdbe.c assert( (pIn3->flags & MEM_Zero)==0 ); /* zeroblobs already expanded */ assert 3561 third_party/sqlite/src/src/vdbe.c assert( pOp->p4type==P4_INT32 ); assert 3562 third_party/sqlite/src/src/vdbe.c assert( pOp->p4.i>0 && pOp->p4.i<=p->nMem ); assert 3563 third_party/sqlite/src/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 3567 third_party/sqlite/src/src/vdbe.c assert( pCx->deferredMoveto==0 ); assert 3581 third_party/sqlite/src/src/vdbe.c assert( (aMx[nField].flags & MEM_Null)==0 ); assert 3590 third_party/sqlite/src/src/vdbe.c { int i; for(i=0; i<r.nField; i++) assert( memIsValid(&r.aMem[i]) ); } assert 3631 third_party/sqlite/src/src/vdbe.c assert( pIn3->flags & MEM_Int ); assert 3632 third_party/sqlite/src/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 3634 third_party/sqlite/src/src/vdbe.c assert( pC!=0 ); assert 3635 third_party/sqlite/src/src/vdbe.c assert( pC->isTable ); assert 3636 third_party/sqlite/src/src/vdbe.c assert( pC->pseudoTableReg==0 ); assert 3649 third_party/sqlite/src/src/vdbe.c assert( pC->rowidIsValid==0 ); assert 3657 third_party/sqlite/src/src/vdbe.c assert( pC->rowidIsValid==0 ); assert 3671 third_party/sqlite/src/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 3672 third_party/sqlite/src/src/vdbe.c assert( p->apCsr[pOp->p1]!=0 ); assert 3702 third_party/sqlite/src/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 3704 third_party/sqlite/src/src/vdbe.c assert( pC!=0 ); assert 3721 third_party/sqlite/src/src/vdbe.c assert( pC->isTable ); assert 3743 third_party/sqlite/src/src/vdbe.c assert( sqlite3BtreeCursorIsValid(pC->pCursor) ); assert 3745 third_party/sqlite/src/src/vdbe.c assert( rc==SQLITE_OK ); /* Cannot fail following BtreeLast() */ assert 3757 third_party/sqlite/src/src/vdbe.c assert( pOp->p3>0 ); assert 3761 third_party/sqlite/src/src/vdbe.c assert( pOp->p3<=pFrame->nMem ); assert 3765 third_party/sqlite/src/src/vdbe.c assert( pOp->p3<=p->nMem ); assert 3769 third_party/sqlite/src/src/vdbe.c assert( memIsValid(pMem) ); assert 3773 third_party/sqlite/src/src/vdbe.c assert( (pMem->flags & MEM_Int)!=0 ); /* mem(P3) holds an integer */ assert 3792 third_party/sqlite/src/src/vdbe.c assert( pOp->p3==0 ); /* We cannot be in random rowid mode if this is assert 3817 third_party/sqlite/src/src/vdbe.c assert( v>0 ); /* EV: R-40812-03570 */ assert 3884 third_party/sqlite/src/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 3885 third_party/sqlite/src/src/vdbe.c assert( memIsValid(pData) ); assert 3887 third_party/sqlite/src/src/vdbe.c assert( pC!=0 ); assert 3888 third_party/sqlite/src/src/vdbe.c assert( pC->pCursor!=0 ); assert 3889 third_party/sqlite/src/src/vdbe.c assert( pC->pseudoTableReg==0 ); assert 3890 third_party/sqlite/src/src/vdbe.c assert( pC->isTable ); assert 3895 third_party/sqlite/src/src/vdbe.c assert( pKey->flags & MEM_Int ); assert 3896 third_party/sqlite/src/src/vdbe.c assert( memIsValid(pKey) ); assert 3900 third_party/sqlite/src/src/vdbe.c assert( pOp->opcode==OP_InsertInt ); assert 3910 third_party/sqlite/src/src/vdbe.c assert( pData->flags & (MEM_Blob|MEM_Str) ); assert 3932 third_party/sqlite/src/src/vdbe.c assert( pC->isTable ); assert 3934 third_party/sqlite/src/src/vdbe.c assert( pC->iDb>=0 ); assert 3964 third_party/sqlite/src/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 3966 third_party/sqlite/src/src/vdbe.c assert( pC!=0 ); assert 3967 third_party/sqlite/src/src/vdbe.c assert( pC->pCursor!=0 ); /* Only valid for real tables, no pseudotables */ assert 3973 third_party/sqlite/src/src/vdbe.c assert( pC->isTable ); assert 3974 third_party/sqlite/src/src/vdbe.c assert( pC->rowidIsValid ); /* lastRowid set by previous OP_NotFound */ assert 3985 third_party/sqlite/src/src/vdbe.c assert( pC->deferredMoveto==0 ); assert 3998 third_party/sqlite/src/src/vdbe.c assert( pC->iDb>=0 ); assert 4047 third_party/sqlite/src/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 4049 third_party/sqlite/src/src/vdbe.c assert( pC->isTable || pOp->opcode==OP_RowKey ); assert 4050 third_party/sqlite/src/src/vdbe.c assert( pC->isIndex || pOp->opcode==OP_RowData ); assert 4051 third_party/sqlite/src/src/vdbe.c assert( pC!=0 ); assert 4052 third_party/sqlite/src/src/vdbe.c assert( pC->nullRow==0 ); assert 4053 third_party/sqlite/src/src/vdbe.c assert( pC->pseudoTableReg==0 ); assert 4054 third_party/sqlite/src/src/vdbe.c assert( pC->pCursor!=0 ); assert 4056 third_party/sqlite/src/src/vdbe.c assert( sqlite3BtreeCursorIsValid(pCrsr) ); assert 4063 third_party/sqlite/src/src/vdbe.c assert( pC->deferredMoveto==0 ); assert 4068 third_party/sqlite/src/src/vdbe.c assert( !pC->isTable ); assert 4070 third_party/sqlite/src/src/vdbe.c assert( rc==SQLITE_OK ); /* True because of CursorMoveto() call above */ assert 4077 third_party/sqlite/src/src/vdbe.c assert( rc==SQLITE_OK ); /* DataSize() cannot fail */ assert 4112 third_party/sqlite/src/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 4114 third_party/sqlite/src/src/vdbe.c assert( pC!=0 ); assert 4115 third_party/sqlite/src/src/vdbe.c assert( pC->pseudoTableReg==0 ); assert 4125 third_party/sqlite/src/src/vdbe.c assert( pModule->xRowid ); assert 4130 third_party/sqlite/src/src/vdbe.c assert( pC->pCursor!=0 ); assert 4137 third_party/sqlite/src/src/vdbe.c assert( rc==SQLITE_OK ); /* Always so because of CursorMoveto() above */ assert 4153 third_party/sqlite/src/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 4155 third_party/sqlite/src/src/vdbe.c assert( pC!=0 ); assert 4177 third_party/sqlite/src/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 4179 third_party/sqlite/src/src/vdbe.c assert( pC!=0 ); assert 4230 third_party/sqlite/src/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 4232 third_party/sqlite/src/src/vdbe.c assert( pC!=0 ); assert 4242 third_party/sqlite/src/src/vdbe.c assert( pOp->p2>0 && pOp->p2<p->nOp ); assert 4282 third_party/sqlite/src/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 4283 third_party/sqlite/src/src/vdbe.c assert( pOp->p5<=ArraySize(p->aCounter) ); assert 4294 third_party/sqlite/src/src/vdbe.c assert( pC->deferredMoveto==0 ); assert 4328 third_party/sqlite/src/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 4330 third_party/sqlite/src/src/vdbe.c assert( pC!=0 ); assert 4332 third_party/sqlite/src/src/vdbe.c assert( pIn2->flags & MEM_Blob ); assert 4335 third_party/sqlite/src/src/vdbe.c assert( pC->isTable==0 ); assert 4343 third_party/sqlite/src/src/vdbe.c assert( pC->deferredMoveto==0 ); assert 4362 third_party/sqlite/src/src/vdbe.c assert( pOp->p3>0 ); assert 4363 third_party/sqlite/src/src/vdbe.c assert( pOp->p2>0 && pOp->p2+pOp->p3<=p->nMem+1 ); assert 4364 third_party/sqlite/src/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 4366 third_party/sqlite/src/src/vdbe.c assert( pC!=0 ); assert 4374 third_party/sqlite/src/src/vdbe.c { int i; for(i=0; i<r.nField; i++) assert( memIsValid(&r.aMem[i]) ); } assert 4380 third_party/sqlite/src/src/vdbe.c assert( pC->deferredMoveto==0 ); assert 4399 third_party/sqlite/src/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 4401 third_party/sqlite/src/src/vdbe.c assert( pC!=0 ); assert 4407 third_party/sqlite/src/src/vdbe.c assert( pC->deferredMoveto==0 ); assert 4408 third_party/sqlite/src/src/vdbe.c assert( pC->isTable==0 ); assert 4453 third_party/sqlite/src/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<p->nCursor ); assert 4455 third_party/sqlite/src/src/vdbe.c assert( pC!=0 ); assert 4456 third_party/sqlite/src/src/vdbe.c assert( pC->isOrdered ); assert 4458 third_party/sqlite/src/src/vdbe.c assert( pC->deferredMoveto==0 ); assert 4459 third_party/sqlite/src/src/vdbe.c assert( pOp->p5==0 || pOp->p5==1 ); assert 4460 third_party/sqlite/src/src/vdbe.c assert( pOp->p4type==P4_INT32 ); assert 4470 third_party/sqlite/src/src/vdbe.c { int i; for(i=0; i<r.nField; i++) assert( memIsValid(&r.aMem[i]) ); } assert 4476 third_party/sqlite/src/src/vdbe.c assert( pOp->opcode==OP_IdxGE ); assert 4527 third_party/sqlite/src/src/vdbe.c assert( iCnt==1 ); assert 4528 third_party/sqlite/src/src/vdbe.c assert( (p->btreeMask & (((yDbMask)1)<<iDb))!=0 ); assert 4536 third_party/sqlite/src/src/vdbe.c assert( resetSchemaOnFault==0 || resetSchemaOnFault==iDb+1 ); assert 4566 third_party/sqlite/src/src/vdbe.c assert( (p->btreeMask & (((yDbMask)1)<<pOp->p2))!=0 ); assert 4573 third_party/sqlite/src/src/vdbe.c assert( memIsValid(&aMem[pOp->p3]) ); assert 4610 third_party/sqlite/src/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<db->nDb ); assert 4611 third_party/sqlite/src/src/vdbe.c assert( (p->btreeMask & (((yDbMask)1)<<pOp->p1))!=0 ); assert 4613 third_party/sqlite/src/src/vdbe.c assert( pDb->pBt!=0 ); assert 4645 third_party/sqlite/src/src/vdbe.c assert( iDb==1 || sqlite3BtreeHoldsMutex(db->aDb[iDb].pBt) ); assert 4650 third_party/sqlite/src/src/vdbe.c assert( iDb>=0 && iDb<db->nDb ); assert 4651 third_party/sqlite/src/src/vdbe.c assert( DbHasProperty(db, iDb, DB_SchemaLoaded) ); assert 4663 third_party/sqlite/src/src/vdbe.c assert( db->init.busy==0 ); assert 4666 third_party/sqlite/src/src/vdbe.c assert( !db->mallocFailed ); assert 4687 third_party/sqlite/src/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<db->nDb ); assert 4760 third_party/sqlite/src/src/vdbe.c assert( nRoot>0 ); assert 4763 third_party/sqlite/src/src/vdbe.c assert( pOp->p3>0 && pOp->p3<=p->nMem ); assert 4765 third_party/sqlite/src/src/vdbe.c assert( (pnErr->flags & MEM_Int)!=0 ); assert 4766 third_party/sqlite/src/src/vdbe.c assert( (pnErr->flags & (MEM_Str|MEM_Blob))==0 ); assert 4772 third_party/sqlite/src/src/vdbe.c assert( pOp->p5<db->nDb ); assert 4773 third_party/sqlite/src/src/vdbe.c assert( (p->btreeMask & (((yDbMask)1)<<pOp->p5))!=0 ); assert 4780 third_party/sqlite/src/src/vdbe.c assert( z==0 ); assert 4802 third_party/sqlite/src/src/vdbe.c assert( (pIn2->flags & MEM_Int)!=0 ); assert 4864 third_party/sqlite/src/src/vdbe.c assert( pIn3->flags&MEM_Int ); assert 4874 third_party/sqlite/src/src/vdbe.c assert( pOp->p4type==P4_INT32 ); assert 4875 third_party/sqlite/src/src/vdbe.c assert( iSet==-1 || iSet>=0 ); assert 4919 third_party/sqlite/src/src/vdbe.c assert( memIsValid(pRt) ); assert 4920 third_party/sqlite/src/src/vdbe.c assert( pProgram->nOp>0 ); assert 4986 third_party/sqlite/src/src/vdbe.c assert( pProgram->nMem+pProgram->nCsr==pFrame->nChildMem ); assert 4987 third_party/sqlite/src/src/vdbe.c assert( pProgram->nCsr==pFrame->nChildCsr ); assert 4988 third_party/sqlite/src/src/vdbe.c assert( pc==pFrame->pc ); assert 5089 third_party/sqlite/src/src/vdbe.c assert( memIsValid(pIn1) ); assert 5109 third_party/sqlite/src/src/vdbe.c assert( pIn1->flags&MEM_Int ); assert 5125 third_party/sqlite/src/src/vdbe.c assert( pIn1->flags&MEM_Int ); assert 5142 third_party/sqlite/src/src/vdbe.c assert( pIn1->flags&MEM_Int ); assert 5169 third_party/sqlite/src/src/vdbe.c assert( n>=0 ); assert 5172 third_party/sqlite/src/src/vdbe.c assert( apVal || n==0 ); assert 5174 third_party/sqlite/src/src/vdbe.c assert( memIsValid(pRec) ); assert 5180 third_party/sqlite/src/src/vdbe.c assert( pOp->p3>0 && pOp->p3<=p->nMem ); assert 5191 third_party/sqlite/src/src/vdbe.c assert( pOp>p->aOp ); assert 5192 third_party/sqlite/src/src/vdbe.c assert( pOp[-1].p4type==P4_COLLSEQ ); assert 5193 third_party/sqlite/src/src/vdbe.c assert( pOp[-1].opcode==OP_CollSeq ); assert 5221 third_party/sqlite/src/src/vdbe.c assert( pOp->p1>0 && pOp->p1<=p->nMem ); assert 5223 third_party/sqlite/src/src/vdbe.c assert( (pMem->flags & ~(MEM_Null|MEM_Agg))==0 ); assert 5255 third_party/sqlite/src/src/vdbe.c assert( pOp->p2==SQLITE_CHECKPOINT_PASSIVE assert 5291 third_party/sqlite/src/src/vdbe.c assert( eNew==PAGER_JOURNALMODE_DELETE assert 5299 third_party/sqlite/src/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<db->nDb ); assert 5351 third_party/sqlite/src/src/vdbe.c assert( sqlite3BtreeIsInTrans(pBt)==0 ); assert 5397 third_party/sqlite/src/src/vdbe.c assert( pOp->p1>=0 && pOp->p1<db->nDb ); assert 5398 third_party/sqlite/src/src/vdbe.c assert( (p->btreeMask & (((yDbMask)1)<<pOp->p1))!=0 ); assert 5446 third_party/sqlite/src/src/vdbe.c assert( p1>=0 && p1<db->nDb ); assert 5447 third_party/sqlite/src/src/vdbe.c assert( (p->btreeMask & (((yDbMask)1)<<p1))!=0 ); assert 5448 third_party/sqlite/src/src/vdbe.c assert( isWriteLock==0 || isWriteLock==1 ); assert 5521 third_party/sqlite/src/src/vdbe.c assert(pVtab && pModule); assert 5577 third_party/sqlite/src/src/vdbe.c assert( memIsValid(pQuery) ); assert 5579 third_party/sqlite/src/src/vdbe.c assert( pCur->pVtabCursor ); assert 5585 third_party/sqlite/src/src/vdbe.c assert( (pQuery->flags&MEM_Int)!=0 && pArgc->flags==MEM_Int ); assert 5630 third_party/sqlite/src/src/vdbe.c assert( pCur->pVtabCursor ); assert 5631 third_party/sqlite/src/src/vdbe.c assert( pOp->p3>0 && pOp->p3<=p->nMem ); assert 5640 third_party/sqlite/src/src/vdbe.c assert( pModule->xColumn ); assert 5688 third_party/sqlite/src/src/vdbe.c assert( pCur->pVtabCursor ); assert 5694 third_party/sqlite/src/src/vdbe.c assert( pModule->xNext ); assert 5731 third_party/sqlite/src/src/vdbe.c assert( pVtab->pModule->xRename ); assert 5732 third_party/sqlite/src/src/vdbe.c assert( memIsValid(pName) ); assert 5734 third_party/sqlite/src/src/vdbe.c assert( pName->flags & MEM_Str ); assert 5779 third_party/sqlite/src/src/vdbe.c assert( pOp->p4type==P4_VTAB ); assert 5784 third_party/sqlite/src/src/vdbe.c assert( memIsValid(pX) ); assert 5793 third_party/sqlite/src/src/vdbe.c assert( nArg>1 && apArg[0] && (apArg[0]->flags&MEM_Null) ); assert 5878 third_party/sqlite/src/src/vdbe.c assert( pOp->opcode==OP_Noop || pOp->opcode==OP_Explain ); assert 5908 third_party/sqlite/src/src/vdbe.c assert( pc>=-1 && pc<p->nOp ); assert 5928 third_party/sqlite/src/src/vdbe.c assert( rc ); assert 5967 third_party/sqlite/src/src/vdbe.c assert( p->zErrMsg==0 ); assert 5978 third_party/sqlite/src/src/vdbe.c assert( db->u1.isInterrupted ); assert 106 third_party/sqlite/src/src/vdbeapi.c assert( (rc & (v->db->errMask))==rc ); assert 209 third_party/sqlite/src/src/vdbeapi.c assert( n>=0 ); assert 210 third_party/sqlite/src/src/vdbeapi.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); assert 214 third_party/sqlite/src/src/vdbeapi.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); assert 218 third_party/sqlite/src/src/vdbeapi.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); assert 224 third_party/sqlite/src/src/vdbeapi.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); assert 230 third_party/sqlite/src/src/vdbeapi.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); assert 234 third_party/sqlite/src/src/vdbeapi.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); assert 238 third_party/sqlite/src/src/vdbeapi.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); assert 247 third_party/sqlite/src/src/vdbeapi.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); assert 257 third_party/sqlite/src/src/vdbeapi.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); assert 266 third_party/sqlite/src/src/vdbeapi.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); assert 275 third_party/sqlite/src/src/vdbeapi.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); assert 280 third_party/sqlite/src/src/vdbeapi.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); assert 284 third_party/sqlite/src/src/vdbeapi.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); assert 297 third_party/sqlite/src/src/vdbeapi.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); assert 305 third_party/sqlite/src/src/vdbeapi.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); assert 345 third_party/sqlite/src/src/vdbeapi.c assert(p); assert 395 third_party/sqlite/src/src/vdbeapi.c assert( db->writeVdbeCnt>0 || db->autoCommit==0 || db->nDeferredCons==0 ); assert 429 third_party/sqlite/src/src/vdbeapi.c assert( p->rc==SQLITE_OK ); assert 448 third_party/sqlite/src/src/vdbeapi.c assert( rc==SQLITE_ROW || rc==SQLITE_DONE || rc==SQLITE_ERROR assert 451 third_party/sqlite/src/src/vdbeapi.c assert( p->rc!=SQLITE_ROW && p->rc!=SQLITE_DONE ); assert 514 third_party/sqlite/src/src/vdbeapi.c assert( p && p->pFunc ); assert 529 third_party/sqlite/src/src/vdbeapi.c assert( p && p->pFunc ); assert 562 third_party/sqlite/src/src/vdbeapi.c assert( p && p->pFunc && p->pFunc->xStep ); assert 563 third_party/sqlite/src/src/vdbeapi.c assert( sqlite3_mutex_held(p->s.db->mutex) ); assert 590 third_party/sqlite/src/src/vdbeapi.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); assert 613 third_party/sqlite/src/src/vdbeapi.c assert( sqlite3_mutex_held(pCtx->s.db->mutex) ); assert 653 third_party/sqlite/src/src/vdbeapi.c assert( p && p->pMem && p->pFunc && p->pFunc->xStep ); assert 854 third_party/sqlite/src/src/vdbeapi.c assert( db!=0 ); assert 859 third_party/sqlite/src/src/vdbeapi.c assert( db->mallocFailed==0 ); assert 1187 third_party/sqlite/src/src/vdbeapi.c assert( pOp->p1>0 && pOp->p1<=p->nVar ); assert 1243 third_party/sqlite/src/src/vdbeapi.c assert( pTo->db==pFrom->db ); assert 1244 third_party/sqlite/src/src/vdbeapi.c assert( pTo->nVar==pFrom->nVar ); assert 54 third_party/sqlite/src/src/vdbeaux.c assert( isPrepareV2==1 || isPrepareV2==0 ); assert 59 third_party/sqlite/src/src/vdbeaux.c assert( p->zSql==0 ); assert 143 third_party/sqlite/src/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); assert 144 third_party/sqlite/src/src/vdbeaux.c assert( op>0 && op<0xff ); assert 237 third_party/sqlite/src/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); assert 257 third_party/sqlite/src/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); assert 258 third_party/sqlite/src/src/vdbeaux.c assert( j>=0 && j<p->nLabel ); assert 312 third_party/sqlite/src/src/vdbeaux.c assert( p->iAddr<nOp ); assert 424 third_party/sqlite/src/src/vdbeaux.c assert( p->nOp - i >= 3 ); assert 425 third_party/sqlite/src/src/vdbeaux.c assert( pOp[-1].opcode==OP_Integer ); assert 432 third_party/sqlite/src/src/vdbeaux.c assert( -1-pOp->p2<p->nLabel ); assert 446 third_party/sqlite/src/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); assert 463 third_party/sqlite/src/src/vdbeaux.c assert( aOp && !p->db->mallocFailed ); assert 466 third_party/sqlite/src/src/vdbeaux.c assert( p->btreeMask==0 ); assert 480 third_party/sqlite/src/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); assert 521 third_party/sqlite/src/src/vdbeaux.c assert( p!=0 ); assert 522 third_party/sqlite/src/src/vdbeaux.c assert( addr>=0 ); assert 533 third_party/sqlite/src/src/vdbeaux.c assert( p!=0 ); assert 534 third_party/sqlite/src/src/vdbeaux.c assert( addr>=0 ); assert 544 third_party/sqlite/src/src/vdbeaux.c assert( p!=0 ); assert 545 third_party/sqlite/src/src/vdbeaux.c assert( addr>=0 ); assert 556 third_party/sqlite/src/src/vdbeaux.c assert( p!=0 ); assert 558 third_party/sqlite/src/src/vdbeaux.c assert( p->nOp>0 ); assert 568 third_party/sqlite/src/src/vdbeaux.c assert( addr>=0 ); assert 590 third_party/sqlite/src/src/vdbeaux.c assert( db ); assert 706 third_party/sqlite/src/src/vdbeaux.c assert( p!=0 ); assert 708 third_party/sqlite/src/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); assert 715 third_party/sqlite/src/src/vdbeaux.c assert( p->nOp>0 ); assert 716 third_party/sqlite/src/src/vdbeaux.c assert( addr<p->nOp ); assert 759 third_party/sqlite/src/src/vdbeaux.c assert( ((VTable *)zP4)->db==p->db ); assert 780 third_party/sqlite/src/src/vdbeaux.c assert( p->nOp>0 || p->aOp==0 ); assert 781 third_party/sqlite/src/src/vdbeaux.c assert( p->aOp==0 || p->aOp[p->nOp-1].zComment==0 || p->db->mallocFailed ); assert 794 third_party/sqlite/src/src/vdbeaux.c assert( p->nOp>0 || p->aOp==0 ); assert 795 third_party/sqlite/src/src/vdbeaux.c assert( p->aOp==0 || p->aOp[p->nOp-1].zComment==0 || p->db->mallocFailed ); assert 831 third_party/sqlite/src/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); assert 838 third_party/sqlite/src/src/vdbeaux.c assert( (addr>=0 && addr<p->nOp) || p->db->mallocFailed ); assert 854 third_party/sqlite/src/src/vdbeaux.c assert( nTemp>=20 ); assert 883 third_party/sqlite/src/src/vdbeaux.c assert( i<nTemp ); assert 910 third_party/sqlite/src/src/vdbeaux.c assert( (pMem->flags & MEM_Null)==0 ); assert 918 third_party/sqlite/src/src/vdbeaux.c assert( pMem->flags & MEM_Blob ); assert 946 third_party/sqlite/src/src/vdbeaux.c assert( zP4!=0 ); assert 959 third_party/sqlite/src/src/vdbeaux.c assert( i>=0 && i<p->db->nDb && i<(int)sizeof(yDbMask)*8 ); assert 960 third_party/sqlite/src/src/vdbeaux.c assert( i<(int)sizeof(p->btreeMask)*8 ); assert 1066 third_party/sqlite/src/src/vdbeaux.c assert( (&p[1])==pEnd || p[0].db==p[1].db ); assert 1136 third_party/sqlite/src/src/vdbeaux.c assert( p->explain ); assert 1137 third_party/sqlite/src/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_RUN ); assert 1138 third_party/sqlite/src/src/vdbeaux.c assert( p->rc==SQLITE_OK || p->rc==SQLITE_BUSY || p->rc==SQLITE_NOMEM ); assert 1166 third_party/sqlite/src/src/vdbeaux.c assert( p->nMem>9 ); assert 1214 third_party/sqlite/src/src/vdbeaux.c assert( pMem->z!=0 ); assert 1256 third_party/sqlite/src/src/vdbeaux.c assert( p->db->mallocFailed ); assert 1264 third_party/sqlite/src/src/vdbeaux.c assert( pMem->z!=0 ); assert 1273 third_party/sqlite/src/src/vdbeaux.c assert( p->db->mallocFailed ); assert 1381 third_party/sqlite/src/src/vdbeaux.c assert( EIGHT_BYTE_ALIGNMENT(*ppFrom) ); assert 1422 third_party/sqlite/src/src/vdbeaux.c assert( p!=0 ); assert 1423 third_party/sqlite/src/src/vdbeaux.c assert( p->magic==VDBE_MAGIC_INIT ); assert 1427 third_party/sqlite/src/src/vdbeaux.c assert( p->nOp>0 ); assert 1460 third_party/sqlite/src/src/vdbeaux.c assert( EIGHT_BYTE_ALIGNMENT(zCsr) ); assert 1506 third_party/sqlite/src/src/vdbeaux.c assert( p->aMem[n].db==db ); assert 1626 third_party/sqlite/src/src/vdbeaux.c for(i=0; i<p->nCursor; i++) assert( p->apCsr==0 || p->apCsr[i]==0 ); assert 1627 third_party/sqlite/src/src/vdbeaux.c for(i=1; i<=p->nMem; i++) assert( p->aMem==0 || p->aMem[i].flags==MEM_Null ); assert 1678 third_party/sqlite/src/src/vdbeaux.c assert( idx<p->nResColumn ); assert 1679 third_party/sqlite/src/src/vdbeaux.c assert( var<COLNAME_N ); assert 1681 third_party/sqlite/src/src/vdbeaux.c assert( !zName || xDel!=SQLITE_DYNAMIC ); assert 1684 third_party/sqlite/src/src/vdbeaux.c assert( p->aColName!=0 ); assert 1687 third_party/sqlite/src/src/vdbeaux.c assert( rc!=0 || !zName || (pColName->flags&MEM_Term)!=0 ); assert 1829 third_party/sqlite/src/src/vdbeaux.c assert( zFile[0]!=0 ); assert 1874 third_party/sqlite/src/src/vdbeaux.c assert( rc!=SQLITE_BUSY ); assert 1938 third_party/sqlite/src/src/vdbeaux.c assert( cnt==db->activeVdbeCnt ); assert 1939 third_party/sqlite/src/src/vdbeaux.c assert( nWrite==db->writeVdbeCnt ); assert 1994 third_party/sqlite/src/src/vdbeaux.c assert( eOp==SAVEPOINT_ROLLBACK || eOp==SAVEPOINT_RELEASE); assert 1995 third_party/sqlite/src/src/vdbeaux.c assert( db->nStatement>0 ); assert 1996 third_party/sqlite/src/src/vdbeaux.c assert( p->iStatement==(db->nStatement+db->nSavepoint) ); assert 2102 third_party/sqlite/src/src/vdbeaux.c assert( p->rc!=SQLITE_IOERR_BLOCKED ); /* This error no longer exists */ assert 2204 third_party/sqlite/src/src/vdbeaux.c assert( eStatementOp==SAVEPOINT_ROLLBACK ); assert 2245 third_party/sqlite/src/src/vdbeaux.c assert( db->activeVdbeCnt>=db->writeVdbeCnt ); assert 2261 third_party/sqlite/src/src/vdbeaux.c assert( db->activeVdbeCnt>0 || db->autoCommit==0 || db->nStatement==0 ); assert 2365 third_party/sqlite/src/src/vdbeaux.c assert( (rc & p->db->errMask)==rc ); assert 2398 third_party/sqlite/src/src/vdbeaux.c assert( p->db==0 || p->db==db ); assert 2425 third_party/sqlite/src/src/vdbeaux.c assert( db->pVdbe==p ); assert 2455 third_party/sqlite/src/src/vdbeaux.c assert( p->isTable ); assert 2555 third_party/sqlite/src/src/vdbeaux.c assert( pMem->db->mallocFailed || flags&(MEM_Str|MEM_Blob) ); assert 2560 third_party/sqlite/src/src/vdbeaux.c assert( n>=0 ); assert 2656 third_party/sqlite/src/src/vdbeaux.c assert( sizeof(v)==sizeof(pMem->r) ); assert 2663 third_party/sqlite/src/src/vdbeaux.c assert( len<=(u32)nBuf ); assert 2673 third_party/sqlite/src/src/vdbeaux.c assert( pMem->n + ((pMem->flags & MEM_Zero)?pMem->u.nZero:0) assert 2675 third_party/sqlite/src/src/vdbeaux.c assert( pMem->n<=nBuf ); assert 2680 third_party/sqlite/src/src/vdbeaux.c assert( nBuf>=0 ); assert 2751 third_party/sqlite/src/src/vdbeaux.c assert( sizeof(r1)==sizeof(t2) && memcmp(&r1, &t2, sizeof(r1))==0 ); assert 2761 third_party/sqlite/src/src/vdbeaux.c assert( sizeof(x)==8 && sizeof(pMem->r)==8 ); assert 2841 third_party/sqlite/src/src/vdbeaux.c assert( EIGHT_BYTE_ALIGNMENT(pMem) ); assert 2857 third_party/sqlite/src/src/vdbeaux.c assert( u<=pKeyInfo->nField + 1 ); assert 2869 third_party/sqlite/src/src/vdbeaux.c assert( p!=0 ); assert 2870 third_party/sqlite/src/src/vdbeaux.c assert( p->flags & UNPACKED_NEED_DESTROY ); assert 2961 third_party/sqlite/src/src/vdbeaux.c assert( mem1.zMalloc==0 ); /* See comment below */ assert 2974 third_party/sqlite/src/src/vdbeaux.c assert( idx1==szHdr1 && rc ); assert 2975 third_party/sqlite/src/src/vdbeaux.c assert( mem1.flags & MEM_Int ); assert 2989 third_party/sqlite/src/src/vdbeaux.c assert( mem1.zMalloc==0 ); assert 2999 third_party/sqlite/src/src/vdbeaux.c assert( rc==0 ); assert 3034 third_party/sqlite/src/src/vdbeaux.c assert( sqlite3BtreeCursorIsValid(pCur) ); assert 3036 third_party/sqlite/src/src/vdbeaux.c assert( rc==SQLITE_OK ); /* pCur is always valid so KeySize cannot fail */ assert 3037 third_party/sqlite/src/src/vdbeaux.c assert( (nCellKey & SQLITE_MAX_U32)==(u64)nCellKey ); assert 3109 third_party/sqlite/src/src/vdbeaux.c assert( sqlite3BtreeCursorIsValid(pCur) ); assert 3111 third_party/sqlite/src/src/vdbeaux.c assert( rc==SQLITE_OK ); /* pCur is always valid so KeySize cannot fail */ assert 3123 third_party/sqlite/src/src/vdbeaux.c assert( pUnpacked->flags & UNPACKED_IGNORE_ROWID ); assert 3134 third_party/sqlite/src/src/vdbeaux.c assert( sqlite3_mutex_held(db->mutex) ); assert 3180 third_party/sqlite/src/src/vdbeaux.c assert( iVar>0 ); assert 3202 third_party/sqlite/src/src/vdbeaux.c assert( iVar>0 ); assert 62 third_party/sqlite/src/src/vdbeblob.c assert( v->aVar[0].flags&MEM_Int ); assert 98 third_party/sqlite/src/src/vdbeblob.c assert( rc!=SQLITE_OK || zErr==0 ); assert 99 third_party/sqlite/src/src/vdbeblob.c assert( rc!=SQLITE_ROW && rc!=SQLITE_DONE ); assert 254 third_party/sqlite/src/src/vdbeblob.c assert( pBlob->pStmt || db->mallocFailed ); assert 384 third_party/sqlite/src/src/vdbeblob.c assert( db == v->db ); assert 457 third_party/sqlite/src/src/vdbeblob.c assert( rc!=SQLITE_SCHEMA ); assert 461 third_party/sqlite/src/src/vdbeblob.c assert( rc==SQLITE_OK || p->pStmt==0 ); assert 42 third_party/sqlite/src/src/vdbemem.c assert( (pMem->flags&MEM_RowSet)==0 ); assert 43 third_party/sqlite/src/src/vdbemem.c assert( desiredEnc==SQLITE_UTF8 || desiredEnc==SQLITE_UTF16LE assert 48 third_party/sqlite/src/src/vdbemem.c assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); assert 57 third_party/sqlite/src/src/vdbemem.c assert(rc==SQLITE_OK || rc==SQLITE_NOMEM); assert 58 third_party/sqlite/src/src/vdbemem.c assert(rc==SQLITE_OK || pMem->enc!=desiredEnc); assert 59 third_party/sqlite/src/src/vdbemem.c assert(rc==SQLITE_NOMEM || pMem->enc==desiredEnc); assert 78 third_party/sqlite/src/src/vdbemem.c assert( 1 >= assert 84 third_party/sqlite/src/src/vdbemem.c assert( (pMem->flags&MEM_RowSet)==0 ); assert 124 third_party/sqlite/src/src/vdbemem.c assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); assert 125 third_party/sqlite/src/src/vdbemem.c assert( (pMem->flags&MEM_RowSet)==0 ); assert 151 third_party/sqlite/src/src/vdbemem.c assert( pMem->flags&MEM_Blob ); assert 152 third_party/sqlite/src/src/vdbemem.c assert( (pMem->flags&MEM_RowSet)==0 ); assert 153 third_party/sqlite/src/src/vdbemem.c assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); assert 177 third_party/sqlite/src/src/vdbemem.c assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); assert 208 third_party/sqlite/src/src/vdbemem.c assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); assert 209 third_party/sqlite/src/src/vdbemem.c assert( !(fg&MEM_Zero) ); assert 210 third_party/sqlite/src/src/vdbemem.c assert( !(fg&(MEM_Str|MEM_Blob)) ); assert 211 third_party/sqlite/src/src/vdbemem.c assert( fg&(MEM_Int|MEM_Real) ); assert 212 third_party/sqlite/src/src/vdbemem.c assert( (pMem->flags&MEM_RowSet)==0 ); assert 213 third_party/sqlite/src/src/vdbemem.c assert( EIGHT_BYTE_ALIGNMENT(pMem) ); assert 229 third_party/sqlite/src/src/vdbemem.c assert( fg & MEM_Real ); assert 251 third_party/sqlite/src/src/vdbemem.c assert( (pMem->flags & MEM_Null)!=0 || pFunc==pMem->u.pDef ); assert 252 third_party/sqlite/src/src/vdbemem.c assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); assert 259 third_party/sqlite/src/src/vdbemem.c assert( 0==(pMem->flags&MEM_Dyn) && !pMem->xDel ); assert 273 third_party/sqlite/src/src/vdbemem.c assert( p->db==0 || sqlite3_mutex_held(p->db->mutex) ); assert 281 third_party/sqlite/src/src/vdbemem.c assert( (p->flags & MEM_Agg)==0 ); assert 284 third_party/sqlite/src/src/vdbemem.c assert( (p->flags&MEM_RowSet)==0 ); assert 362 third_party/sqlite/src/src/vdbemem.c assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); assert 363 third_party/sqlite/src/src/vdbemem.c assert( EIGHT_BYTE_ALIGNMENT(pMem) ); assert 371 third_party/sqlite/src/src/vdbemem.c assert( pMem->z || pMem->n==0 ); assert 387 third_party/sqlite/src/src/vdbemem.c assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); assert 388 third_party/sqlite/src/src/vdbemem.c assert( EIGHT_BYTE_ALIGNMENT(pMem) ); assert 409 third_party/sqlite/src/src/vdbemem.c assert( pMem->flags & MEM_Real ); assert 410 third_party/sqlite/src/src/vdbemem.c assert( (pMem->flags & MEM_RowSet)==0 ); assert 411 third_party/sqlite/src/src/vdbemem.c assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); assert 412 third_party/sqlite/src/src/vdbemem.c assert( EIGHT_BYTE_ALIGNMENT(pMem) ); assert 438 third_party/sqlite/src/src/vdbemem.c assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); assert 439 third_party/sqlite/src/src/vdbemem.c assert( (pMem->flags & MEM_RowSet)==0 ); assert 440 third_party/sqlite/src/src/vdbemem.c assert( EIGHT_BYTE_ALIGNMENT(pMem) ); assert 452 third_party/sqlite/src/src/vdbemem.c assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); assert 453 third_party/sqlite/src/src/vdbemem.c assert( EIGHT_BYTE_ALIGNMENT(pMem) ); assert 470 third_party/sqlite/src/src/vdbemem.c assert( (pMem->flags & (MEM_Blob|MEM_Str))!=0 ); assert 471 third_party/sqlite/src/src/vdbemem.c assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); assert 480 third_party/sqlite/src/src/vdbemem.c assert( (pMem->flags & (MEM_Int|MEM_Real|MEM_Null))!=0 ); assert 557 third_party/sqlite/src/src/vdbemem.c assert( db!=0 ); assert 558 third_party/sqlite/src/src/vdbemem.c assert( (pMem->flags & MEM_RowSet)==0 ); assert 564 third_party/sqlite/src/src/vdbemem.c assert( pMem->zMalloc ); assert 567 third_party/sqlite/src/src/vdbemem.c assert( pMem->u.pRowSet!=0 ); assert 577 third_party/sqlite/src/src/vdbemem.c assert( p->db!=0 ); assert 622 third_party/sqlite/src/src/vdbemem.c assert( (pFrom->flags & MEM_RowSet)==0 ); assert 628 third_party/sqlite/src/src/vdbemem.c assert( srcType==MEM_Ephem || srcType==MEM_Static ); assert 640 third_party/sqlite/src/src/vdbemem.c assert( (pFrom->flags & MEM_RowSet)==0 ); assert 662 third_party/sqlite/src/src/vdbemem.c assert( pFrom->db==0 || sqlite3_mutex_held(pFrom->db->mutex) ); assert 663 third_party/sqlite/src/src/vdbemem.c assert( pTo->db==0 || sqlite3_mutex_held(pTo->db->mutex) ); assert 664 third_party/sqlite/src/src/vdbemem.c assert( pFrom->db==0 || pTo->db==0 || pFrom->db==pTo->db ); assert 699 third_party/sqlite/src/src/vdbemem.c assert( pMem->db==0 || sqlite3_mutex_held(pMem->db->mutex) ); assert 700 third_party/sqlite/src/src/vdbemem.c assert( (pMem->flags & MEM_RowSet)==0 ); assert 715 third_party/sqlite/src/src/vdbemem.c assert( enc!=0 ); assert 786 third_party/sqlite/src/src/vdbemem.c assert( (combined_flags & MEM_RowSet)==0 ); assert 822 third_party/sqlite/src/src/vdbemem.c assert( f1&MEM_Int ); assert 823 third_party/sqlite/src/src/vdbemem.c assert( f2&MEM_Int ); assert 841 third_party/sqlite/src/src/vdbemem.c assert( pMem1->enc==pMem2->enc ); assert 842 third_party/sqlite/src/src/vdbemem.c assert( pMem1->enc==SQLITE_UTF8 || assert 849 third_party/sqlite/src/src/vdbemem.c assert( !pColl || pColl->xCmp ); assert 911 third_party/sqlite/src/src/vdbemem.c assert( sqlite3BtreeCursorIsValid(pCur) ); assert 915 third_party/sqlite/src/src/vdbemem.c assert( (pMem->flags & MEM_RowSet)==0 ); assert 921 third_party/sqlite/src/src/vdbemem.c assert( zData!=0 ); assert 960 third_party/sqlite/src/src/vdbemem.c assert( pVal->db==0 || sqlite3_mutex_held(pVal->db->mutex) ); assert 961 third_party/sqlite/src/src/vdbemem.c assert( (enc&3)==(enc&~SQLITE_UTF16_ALIGNED) ); assert 962 third_party/sqlite/src/src/vdbemem.c assert( (pVal->flags & MEM_RowSet)==0 ); assert 967 third_party/sqlite/src/src/vdbemem.c assert( (MEM_Blob>>3) == MEM_Str ); assert 973 third_party/sqlite/src/src/vdbemem.c assert( (pVal->flags & (MEM_Ephem|MEM_Static))!=0 ); assert 980 third_party/sqlite/src/src/vdbemem.c assert( (pVal->flags&MEM_Blob)==0 ); assert 982 third_party/sqlite/src/src/vdbemem.c assert( 0==(1&SQLITE_PTR_TO_INT(pVal->z)) ); assert 984 third_party/sqlite/src/src/vdbemem.c assert(pVal->enc==(enc & ~SQLITE_UTF16_ALIGNED) || pVal->db==0 assert 1097 third_party/sqlite/src/src/vdbemem.c assert( pExpr->u.zToken[0]=='x' || pExpr->u.zToken[0]=='X' ); assert 1098 third_party/sqlite/src/src/vdbemem.c assert( pExpr->u.zToken[1]=='\'' ); assert 1103 third_party/sqlite/src/src/vdbemem.c assert( zVal[nVal]=='\'' ); assert 35 third_party/sqlite/src/src/vdbetrace.c assert( n>0 && tokenType!=TK_ILLEGAL ); assert 93 third_party/sqlite/src/src/vdbetrace.c assert( n>0 ); assert 96 third_party/sqlite/src/src/vdbetrace.c assert( zRawSql[0] || nToken==0 ); assert 100 third_party/sqlite/src/src/vdbetrace.c assert( sqlite3Isdigit(zRawSql[1]) ); assert 106 third_party/sqlite/src/src/vdbetrace.c assert( zRawSql[0]==':' || zRawSql[0]=='$' || zRawSql[0]=='@' ); assert 111 third_party/sqlite/src/src/vdbetrace.c assert( idx>0 ); assert 115 third_party/sqlite/src/src/vdbetrace.c assert( idx>0 && idx<=p->nVar ); assert 142 third_party/sqlite/src/src/vdbetrace.c assert( pVar->flags & MEM_Blob ); assert 106 third_party/sqlite/src/src/vtab.c assert( IsVirtual(pTab) ); assert 118 third_party/sqlite/src/src/vtab.c assert( db ); assert 119 third_party/sqlite/src/src/vtab.c assert( pVTab->nRef>0 ); assert 120 third_party/sqlite/src/src/vtab.c assert( sqlite3SafetyCheckOk(db) ); assert 150 third_party/sqlite/src/src/vtab.c assert( db==0 || sqlite3SchemaMutexHeld(db, 0, p->pSchema) ); assert 155 third_party/sqlite/src/src/vtab.c assert( db2 ); assert 167 third_party/sqlite/src/src/vtab.c assert( !db || pRet ); assert 196 third_party/sqlite/src/src/vtab.c assert( sqlite3BtreeHoldsAllMutexes(db) ); assert 197 third_party/sqlite/src/src/vtab.c assert( sqlite3_mutex_held(db->mutex) ); assert 278 third_party/sqlite/src/src/vtab.c assert( 0==pTable->pIndex ); assert 282 third_party/sqlite/src/src/vtab.c assert( iDb>=0 ); assert 389 third_party/sqlite/src/src/vtab.c assert( sqlite3SchemaMutexHeld(db, 0, pSchema) ); assert 393 third_party/sqlite/src/src/vtab.c assert( pTab==pOld ); /* Malloc must have failed inside HashInsert() */ assert 420 third_party/sqlite/src/src/vtab.c assert(pArg->z < p->z); assert 456 third_party/sqlite/src/src/vtab.c assert( !db->pVTab ); assert 457 third_party/sqlite/src/src/vtab.c assert( xConstruct ); assert 515 third_party/sqlite/src/src/vtab.c assert(zType[i-1]==' '); assert 542 third_party/sqlite/src/src/vtab.c assert( pTab ); assert 606 third_party/sqlite/src/src/vtab.c assert( pTab && (pTab->tabFlags & TF_Virtual)!=0 && !pTab->pVTable ); assert 651 third_party/sqlite/src/src/vtab.c assert( (pTab->tabFlags & TF_Virtual)!=0 ); assert 688 third_party/sqlite/src/src/vtab.c assert( (rc&0xff)==rc ); assert 709 third_party/sqlite/src/src/vtab.c assert( rc==SQLITE_OK ); assert 714 third_party/sqlite/src/src/vtab.c assert( pTab->pVTable==p && p->pNext==0 ); assert 879 third_party/sqlite/src/src/vtab.c assert( pVtab!=0 ); assert 880 third_party/sqlite/src/src/vtab.c assert( pVtab->pModule!=0 ); assert 926 third_party/sqlite/src/src/vtab.c assert( IsVirtual(pTab) ); assert 535 third_party/sqlite/src/src/wal.c assert( iPage==0 || *ppPage || rc!=SQLITE_OK ); assert 543 third_party/sqlite/src/src/wal.c assert( pWal->nWiData>0 && pWal->apWiData[0] ); assert 551 third_party/sqlite/src/src/wal.c assert( pWal->nWiData>0 && pWal->apWiData[0] ); assert 594 third_party/sqlite/src/src/wal.c assert( nByte>=8 ); assert 595 third_party/sqlite/src/src/wal.c assert( (nByte&0x00000007)==0 ); assert 629 third_party/sqlite/src/src/wal.c assert( pWal->writeLock ); assert 660 third_party/sqlite/src/src/wal.c assert( WAL_FRAME_HDRSIZE==24 ); assert 688 third_party/sqlite/src/src/wal.c assert( WAL_FRAME_HDRSIZE==24 ); assert 797 third_party/sqlite/src/src/wal.c assert( iPage>0 ); assert 798 third_party/sqlite/src/src/wal.c assert( (HASHTABLE_NSLOT & (HASHTABLE_NSLOT-1))==0 ); assert 830 third_party/sqlite/src/src/wal.c assert( rc==SQLITE_OK || iHash>0 ); assert 859 third_party/sqlite/src/src/wal.c assert( (iHash==0 || iFrame>HASHTABLE_NPAGE_ONE) assert 899 third_party/sqlite/src/src/wal.c assert( pWal->writeLock ); assert 910 third_party/sqlite/src/src/wal.c assert( pWal->nWiData>walFramePage(pWal->hdr.mxFrame) ); assert 911 third_party/sqlite/src/src/wal.c assert( pWal->apWiData[walFramePage(pWal->hdr.mxFrame)] ); assert 918 third_party/sqlite/src/src/wal.c assert( iLimit>0 ); assert 942 third_party/sqlite/src/src/wal.c assert( aHash[iKey]==i ); assert 970 third_party/sqlite/src/src/wal.c assert( idx <= HASHTABLE_NSLOT/2 + 1 ); assert 988 third_party/sqlite/src/src/wal.c assert( !aPgno[idx] ); assert 1007 third_party/sqlite/src/src/wal.c assert( nEntry==idx ); assert 1021 third_party/sqlite/src/src/wal.c assert( aHash[iKey]==i ); assert 1055 third_party/sqlite/src/src/wal.c assert( pWal->ckptLock==1 || pWal->ckptLock==0 ); assert 1056 third_party/sqlite/src/src/wal.c assert( WAL_ALL_BUT_WRITE==WAL_WRITE_LOCK+1 ); assert 1057 third_party/sqlite/src/src/wal.c assert( WAL_CKPT_LOCK==WAL_ALL_BUT_WRITE ); assert 1058 third_party/sqlite/src/src/wal.c assert( pWal->writeLock ); assert 1243 third_party/sqlite/src/src/wal.c assert( zWalName && zWalName[0] ); assert 1244 third_party/sqlite/src/src/wal.c assert( pDbFd ); assert 1251 third_party/sqlite/src/src/wal.c assert( WIN_SHM_BASE==WALINDEX_LOCK_OFFSET ); assert 1254 third_party/sqlite/src/src/wal.c assert( UNIX_SHM_BASE==WALINDEX_LOCK_OFFSET ); assert 1310 third_party/sqlite/src/src/wal.c assert( iMin<0xffffffff ); assert 1367 third_party/sqlite/src/src/wal.c assert( nLeft>0 && nRight>0 ); assert 1384 third_party/sqlite/src/src/wal.c assert( iLeft>=nLeft || aContent[aLeft[iLeft]]>dbpage ); assert 1385 third_party/sqlite/src/src/wal.c assert( iRight>=nRight || aContent[aRight[iRight]]>dbpage ); assert 1429 third_party/sqlite/src/src/wal.c assert( nList<=HASHTABLE_NPAGE && nList>0 ); assert 1430 third_party/sqlite/src/src/wal.c assert( HASHTABLE_NPAGE==(1<<(ArraySize(aSub)-1)) ); assert 1437 third_party/sqlite/src/src/wal.c assert( p->aList && p->nList<=(1<<iSub) ); assert 1438 third_party/sqlite/src/src/wal.c assert( p->aList==&aList[iList&~((2<<iSub)-1)] ); assert 1448 third_party/sqlite/src/src/wal.c assert( p->nList<=(1<<iSub) ); assert 1449 third_party/sqlite/src/src/wal.c assert( p->aList==&aList[nList&~((2<<iSub)-1)] ); assert 1453 third_party/sqlite/src/src/wal.c assert( aMerge==aList ); assert 1460 third_party/sqlite/src/src/wal.c assert( aContent[aList[i]] > aContent[aList[i-1]] ); assert 1497 third_party/sqlite/src/src/wal.c assert( pWal->ckptLock && pWal->hdr.mxFrame>0 ); assert 1650 third_party/sqlite/src/src/wal.c assert( pIter ); assert 1664 third_party/sqlite/src/src/wal.c assert( y<=pWal->hdr.mxFrame ); assert 1703 third_party/sqlite/src/src/wal.c assert( walFramePgno(pWal, iFrame)==iDbpage ); assert 1746 third_party/sqlite/src/src/wal.c assert( pWal->writeLock ); assert 1750 third_party/sqlite/src/src/wal.c assert( mxSafeFrame==pWal->hdr.mxFrame ); assert 1832 third_party/sqlite/src/src/wal.c assert( pWal->nWiData>0 && pWal->apWiData[0] ); assert 1892 third_party/sqlite/src/src/wal.c assert( pChanged ); assert 1897 third_party/sqlite/src/src/wal.c assert( page0 || pWal->writeLock==0 ); assert 1909 third_party/sqlite/src/src/wal.c assert( badHdr==0 || pWal->writeLock==0 ); assert 2001 third_party/sqlite/src/src/wal.c assert( pWal->readLock<0 ); /* Not currently locked */ assert 2104 third_party/sqlite/src/src/wal.c assert( thisMark!=READMARK_NOT_USED ); assert 2125 third_party/sqlite/src/src/wal.c assert( rc==SQLITE_BUSY ); assert 2160 third_party/sqlite/src/src/wal.c assert( mxReadMark<=pWal->hdr.mxFrame ); assert 2227 third_party/sqlite/src/src/wal.c assert( pWal->readLock>=0 || pWal->lockError ); assert 2281 third_party/sqlite/src/src/wal.c assert( iFrame>iRead ); assert 2303 third_party/sqlite/src/src/wal.c assert( iRead==iRead2 ); assert 2357 third_party/sqlite/src/src/wal.c assert( pWal->readLock>=0 ); assert 2435 third_party/sqlite/src/src/wal.c assert( walFramePgno(pWal, iFrame)!=1 ); assert 2440 third_party/sqlite/src/src/wal.c assert( rc==SQLITE_OK ); assert 2451 third_party/sqlite/src/src/wal.c assert( pWal->writeLock ); assert 2467 third_party/sqlite/src/src/wal.c assert( pWal->writeLock ); assert 2468 third_party/sqlite/src/src/wal.c assert( aWalData[3]!=pWal->nCkpt || aWalData[0]<=pWal->hdr.mxFrame ); assert 2507 third_party/sqlite/src/src/wal.c assert( pInfo->nBackfill==pWal->hdr.mxFrame ); assert 2532 third_party/sqlite/src/src/wal.c assert( pInfo->aReadMark[0]==0 ); assert 2545 third_party/sqlite/src/src/wal.c assert( (rc&0xff)!=SQLITE_BUSY ); /* BUSY not possible when useWal==1 */ assert 2572 third_party/sqlite/src/src/wal.c assert( pList ); assert 2573 third_party/sqlite/src/src/wal.c assert( pWal->writeLock ); assert 2619 third_party/sqlite/src/src/wal.c assert( (int)pWal->szPage==szPage ); assert 2656 third_party/sqlite/src/src/wal.c assert( isCommit ); assert 2657 third_party/sqlite/src/src/wal.c assert( iSegment>0 ); assert 2747 third_party/sqlite/src/src/wal.c assert( pWal->ckptLock==0 ); assert 2748 third_party/sqlite/src/src/wal.c assert( pWal->writeLock==0 ); assert 2857 third_party/sqlite/src/src/wal.c assert( pWal->writeLock==0 ); assert 2858 third_party/sqlite/src/src/wal.c assert( pWal->exclusiveMode!=WAL_HEAPMEMORY_MODE || op==-1 ); assert 2866 third_party/sqlite/src/src/wal.c assert( pWal->readLock>=0 || pWal->lockError ); assert 2867 third_party/sqlite/src/src/wal.c assert( pWal->readLock>=0 || (op<=0 && pWal->exclusiveMode==0) ); assert 2881 third_party/sqlite/src/src/wal.c assert( pWal->exclusiveMode==0 ); assert 2882 third_party/sqlite/src/src/wal.c assert( pWal->readLock>=0 ); assert 402 third_party/sqlite/src/src/where.c assert( pMaskSet->n<=(int)sizeof(Bitmask)*8 ); assert 420 third_party/sqlite/src/src/where.c assert( pMaskSet->n < ArraySize(pMaskSet->ix) ); assert 492 third_party/sqlite/src/src/where.c assert( TK_GT>TK_EQ && TK_GT<TK_GE ); assert 493 third_party/sqlite/src/src/where.c assert( TK_LT>TK_EQ && TK_LT<TK_GE ); assert 494 third_party/sqlite/src/src/where.c assert( TK_LE>TK_EQ && TK_LE<TK_GE ); assert 495 third_party/sqlite/src/src/where.c assert( TK_GE==TK_EQ+4 ); assert 519 third_party/sqlite/src/src/where.c assert( allowedOp(pExpr->op) && pExpr->op!=TK_IN ); assert 527 third_party/sqlite/src/src/where.c assert( TK_LT==TK_GT+2 ); assert 528 third_party/sqlite/src/src/where.c assert( TK_GE==TK_LE+2 ); assert 529 third_party/sqlite/src/src/where.c assert( TK_GT>TK_EQ ); assert 530 third_party/sqlite/src/src/where.c assert( TK_GT<TK_LE ); assert 531 third_party/sqlite/src/src/where.c assert( pExpr->op>=TK_GT && pExpr->op<=TK_GE ); assert 541 third_party/sqlite/src/src/where.c assert( allowedOp(op) ); assert 547 third_party/sqlite/src/src/where.c assert( (WO_EQ<<(op-TK_EQ)) < 0x7fff ); assert 550 third_party/sqlite/src/src/where.c assert( op!=TK_ISNULL || c==WO_ISNULL ); assert 551 third_party/sqlite/src/src/where.c assert( op!=TK_IN || c==WO_IN ); assert 552 third_party/sqlite/src/src/where.c assert( op!=TK_EQ || c==WO_EQ ); assert 553 third_party/sqlite/src/src/where.c assert( op!=TK_LT || c==WO_LT ); assert 554 third_party/sqlite/src/src/where.c assert( op!=TK_LE || c==WO_LE ); assert 555 third_party/sqlite/src/src/where.c assert( op!=TK_GT || c==WO_GT ); assert 556 third_party/sqlite/src/src/where.c assert( op!=TK_GE || c==WO_GE ); assert 576 third_party/sqlite/src/src/where.c assert( iCur>=0 ); assert 598 third_party/sqlite/src/src/where.c assert(pX->pLeft); assert 600 third_party/sqlite/src/src/where.c assert(pColl || pParse->nErr); assert 670 third_party/sqlite/src/src/where.c assert( pLeft->iColumn!=(-1) ); /* Because IPK never has AFF_TEXT */ assert 685 third_party/sqlite/src/src/where.c assert( pRight->op==TK_VARIABLE || pRight->op==TK_REGISTER ); assert 865 third_party/sqlite/src/src/where.c assert( (pTerm->wtFlags & (TERM_DYNAMIC|TERM_ORINFO|TERM_ANDINFO))==0 ); assert 866 third_party/sqlite/src/src/where.c assert( pExpr->op==TK_OR ); assert 875 third_party/sqlite/src/src/where.c assert( pOrWc->nTerm>=2 ); assert 885 third_party/sqlite/src/src/where.c assert( pOrTerm->eOperator==0 ); assert 886 third_party/sqlite/src/src/where.c assert( (pOrTerm->wtFlags & (TERM_ANDINFO|TERM_ORINFO))==0 ); assert 904 third_party/sqlite/src/src/where.c assert( pAndTerm->pExpr ); assert 974 third_party/sqlite/src/src/where.c assert( pOrTerm->eOperator==WO_EQ ); assert 979 third_party/sqlite/src/src/where.c assert( j==1 ); assert 989 third_party/sqlite/src/src/where.c assert( pOrTerm->wtFlags & (TERM_COPIED|TERM_VIRTUAL) ); assert 999 third_party/sqlite/src/src/where.c assert( j==1 ); assert 1000 third_party/sqlite/src/src/where.c assert( (chngToIN&(chngToIN-1))==0 ); assert 1001 third_party/sqlite/src/src/where.c assert( chngToIN==getMask(pMaskSet, iCursor) ); assert 1010 third_party/sqlite/src/src/where.c assert( pOrTerm->eOperator==WO_EQ ); assert 1046 third_party/sqlite/src/src/where.c assert( pOrTerm->eOperator==WO_EQ ); assert 1047 third_party/sqlite/src/src/where.c assert( pOrTerm->leftCursor==iCursor ); assert 1048 third_party/sqlite/src/src/where.c assert( pOrTerm->u.leftColumn==iColumn ); assert 1053 third_party/sqlite/src/src/where.c assert( pLeft!=0 ); assert 1059 third_party/sqlite/src/src/where.c assert( !ExprHasProperty(pNew, EP_xIsSelect) ); assert 1122 third_party/sqlite/src/src/where.c assert( pExpr->pRight==0 ); assert 1204 third_party/sqlite/src/src/where.c assert( pList!=0 ); assert 1205 third_party/sqlite/src/src/where.c assert( pList->nExpr==2 ); assert 1227 third_party/sqlite/src/src/where.c assert( pWC->op==TK_AND ); assert 1436 third_party/sqlite/src/src/where.c assert( pOrderBy!=0 ); assert 1438 third_party/sqlite/src/src/where.c assert( nTerm>0 ); assert 1443 third_party/sqlite/src/src/where.c assert( pIdx->zName || (pIdx->nColumn==1 && pIdx->aiColumn[0]==-1) ); assert 1500 third_party/sqlite/src/src/where.c assert( pIdx->aSortOrder!=0 || iColumn==-1 ); assert 1501 third_party/sqlite/src/src/where.c assert( pTerm->sortOrder==0 || pTerm->sortOrder==1 ); assert 1502 third_party/sqlite/src/src/where.c assert( iSortOrder==0 || iSortOrder==1 ); assert 1762 third_party/sqlite/src/src/where.c assert( pParse->nQueryLoop >= (double)1 ); assert 1827 third_party/sqlite/src/src/where.c assert( v!=0 ); assert 1850 third_party/sqlite/src/src/where.c assert( nColumn>0 ); assert 1903 third_party/sqlite/src/src/where.c assert( (u32)n==pLevel->plan.nEq ); assert 1921 third_party/sqlite/src/src/where.c assert( n==nColumn ); assert 1925 third_party/sqlite/src/src/where.c assert( pLevel->iIdxCur>=0 ); assert 1973 third_party/sqlite/src/src/where.c assert( (pTerm->eOperator&(pTerm->eOperator-1))==0 ); assert 2023 third_party/sqlite/src/src/where.c assert( (pTerm->eOperator&(pTerm->eOperator-1))==0 ); assert 2033 third_party/sqlite/src/src/where.c assert( WO_EQ==SQLITE_INDEX_CONSTRAINT_EQ ); assert 2034 third_party/sqlite/src/src/where.c assert( WO_LT==SQLITE_INDEX_CONSTRAINT_LT ); assert 2035 third_party/sqlite/src/src/where.c assert( WO_LE==SQLITE_INDEX_CONSTRAINT_LE ); assert 2036 third_party/sqlite/src/src/where.c assert( WO_GT==SQLITE_INDEX_CONSTRAINT_GT ); assert 2037 third_party/sqlite/src/src/where.c assert( WO_GE==SQLITE_INDEX_CONSTRAINT_GE ); assert 2038 third_party/sqlite/src/src/where.c assert( WO_MATCH==SQLITE_INDEX_CONSTRAINT_MATCH ); assert 2039 third_party/sqlite/src/src/where.c assert( pTerm->eOperator & (WO_EQ|WO_LT|WO_LE|WO_GT|WO_GE|WO_MATCH) ); assert 2162 third_party/sqlite/src/src/where.c assert( pTab->azModuleArg && pTab->azModuleArg[0] ); assert 2163 third_party/sqlite/src/src/where.c assert( sqlite3GetVTable(pParse->db, pTab) ); assert 2283 third_party/sqlite/src/src/where.c assert( roundUp==0 || roundUp==1 ); assert 2312 third_party/sqlite/src/src/where.c assert( eType==SQLITE_TEXT || eType==SQLITE_BLOB ); assert 2317 third_party/sqlite/src/src/where.c assert( pColl->enc==SQLITE_UTF8 ); assert 2329 third_party/sqlite/src/src/where.c assert( z && pColl && pColl->xCmp ); assert 2345 third_party/sqlite/src/src/where.c assert( db->mallocFailed ); assert 2359 third_party/sqlite/src/src/where.c assert( i>=0 && i<=SQLITE_INDEX_SAMPLES ); assert 2467 third_party/sqlite/src/src/where.c assert( pLower->eOperator==WO_GT || pLower->eOperator==WO_GE ); assert 2473 third_party/sqlite/src/src/where.c assert( pUpper->eOperator==WO_LT || pUpper->eOperator==WO_LE ); assert 2497 third_party/sqlite/src/src/where.c assert( iEst<=SQLITE_INDEX_SAMPLES ); assert 2513 third_party/sqlite/src/src/where.c assert( pLower || pUpper ); assert 2550 third_party/sqlite/src/src/where.c assert( p->aSample!=0 ); assert 2613 third_party/sqlite/src/src/where.c assert( p->aSample!=0 ); assert 2632 third_party/sqlite/src/src/where.c assert( iLower>=0 && iUpper<=SQLITE_INDEX_SAMPLES ); assert 3125 third_party/sqlite/src/src/where.c assert( pOrderBy || (pCost->plan.wsFlags&WHERE_ORDERBY)==0 ); assert 3126 third_party/sqlite/src/src/where.c assert( pCost->plan.u.pIdx==0 || (pCost->plan.wsFlags&WHERE_ROWID_EQ)==0 ); assert 3127 third_party/sqlite/src/src/where.c assert( pSrc->pIndex==0 assert 3227 third_party/sqlite/src/src/where.c assert( pParse->db->mallocFailed ); assert 3230 third_party/sqlite/src/src/where.c assert( v!=0 ); assert 3274 third_party/sqlite/src/src/where.c assert( iTarget>0 ); assert 3286 third_party/sqlite/src/src/where.c assert( pX->op==TK_IN ); assert 3291 third_party/sqlite/src/src/where.c assert( pLevel->plan.wsFlags & WHERE_IN_ABLE ); assert 3376 third_party/sqlite/src/src/where.c assert( pLevel->plan.wsFlags & WHERE_INDEXED ); assert 3392 third_party/sqlite/src/src/where.c assert( pIdx->nColumn>=nEq ); assert 3696 third_party/sqlite/src/src/where.c assert( pTerm!=0 ); assert 3697 third_party/sqlite/src/src/where.c assert( pTerm->pExpr!=0 ); assert 3698 third_party/sqlite/src/src/where.c assert( pTerm->leftCursor==iCur ); assert 3699 third_party/sqlite/src/src/where.c assert( omitTable==0 ); assert 3716 third_party/sqlite/src/src/where.c assert( omitTable==0 ); assert 3737 third_party/sqlite/src/src/where.c assert( TK_LE==TK_GT+1 ); /* Make sure the ordering.. */ assert 3738 third_party/sqlite/src/src/where.c assert( TK_LT==TK_GT+2 ); /* ... of the TK_xx values... */ assert 3739 third_party/sqlite/src/src/where.c assert( TK_GE==TK_GT+3 ); /* ... is correcct. */ assert 3743 third_party/sqlite/src/src/where.c assert( pX!=0 ); assert 3744 third_party/sqlite/src/src/where.c assert( pStart->leftCursor==iCur ); assert 3757 third_party/sqlite/src/src/where.c assert( pX!=0 ); assert 3758 third_party/sqlite/src/src/where.c assert( pEnd->leftCursor==iCur ); assert 3776 third_party/sqlite/src/src/where.c assert( pLevel->p5==0 ); assert 3938 third_party/sqlite/src/src/where.c assert( op!=0 ); assert 4078 third_party/sqlite/src/src/where.c assert( pTerm!=0 ); assert 4079 third_party/sqlite/src/src/where.c assert( pTerm->eOperator==WO_OR ); assert 4080 third_party/sqlite/src/src/where.c assert( (pTerm->wtFlags & TERM_ORINFO)!=0 ); assert 4174 third_party/sqlite/src/src/where.c assert( bRev==0 || bRev==1 ); assert 4175 third_party/sqlite/src/src/where.c assert( omitTable==0 ); assert 4202 third_party/sqlite/src/src/where.c assert( pE!=0 ); assert 4223 third_party/sqlite/src/src/where.c assert( pWInfo->untestedTerms ); assert 4226 third_party/sqlite/src/src/where.c assert( pTerm->pExpr ); assert 4468 third_party/sqlite/src/src/where.c assert( pWC->vmask==0 && pMaskSet->n==0 ); assert 4482 third_party/sqlite/src/src/where.c assert( (m-1)==toTheLeft ); assert 4595 third_party/sqlite/src/src/where.c assert( pTabItem->pTab ); assert 4607 third_party/sqlite/src/src/where.c assert( isOptimal || (sCost.used¬Ready)==0 ); assert 4611 third_party/sqlite/src/src/where.c assert( pTabItem->pIndex==0 assert 4658 third_party/sqlite/src/src/where.c assert( bestJ>=0 ); assert 4659 third_party/sqlite/src/src/where.c assert( notReady & getMask(pMaskSet, pTabList->a[bestJ].iCursor) ); assert 4695 third_party/sqlite/src/src/where.c assert( bestPlan.plan.u.pIdx==pIdx ); assert 4716 third_party/sqlite/src/src/where.c assert( (wctrlFlags & WHERE_ONEPASS_DESIRED)==0 || pWInfo->nLevel==1 ); assert 4759 third_party/sqlite/src/src/where.c assert( n<=pTab->nCol ); assert 4773 third_party/sqlite/src/src/where.c assert( pIx->pSchema==pTab->pSchema ); assert 4774 third_party/sqlite/src/src/where.c assert( iIdxCur>=0 ); assert 4897 third_party/sqlite/src/src/where.c assert( (pLevel->plan.wsFlags & WHERE_IDX_ONLY)==0 assert 4921 third_party/sqlite/src/src/where.c assert( pWInfo->nLevel==1 || pWInfo->nLevel==pTabList->nSrc ); assert 4925 third_party/sqlite/src/src/where.c assert( pTab!=0 ); assert 4957 third_party/sqlite/src/src/where.c assert( pIdx!=0 ); assert 4970 third_party/sqlite/src/src/where.c assert( (pLevel->plan.wsFlags & WHERE_IDX_ONLY)==0 assert 579 third_party/sqlite/src/test/threadtest3.c assert( 0==strcmp(sqlite3_sql(pRet->pStmt), zSql) ); assert 550 third_party/sqlite/src/tool/lemon.c assert( p->nLookahead>0 ); assert 1082 third_party/sqlite/src/tool/lemon.c assert( apx->sp==apy->sp ); /* Otherwise there would be no conflict */ assert 1103 third_party/sqlite/src/tool/lemon.c assert( spx->prec==spy->prec && spx->assoc==NONE ); assert 1120 third_party/sqlite/src/tool/lemon.c assert( assert 1203 third_party/sqlite/src/tool/lemon.c assert( currentend!=0 ); assert 1228 third_party/sqlite/src/tool/lemon.c assert( basisend!=0 ); assert 1229 third_party/sqlite/src/tool/lemon.c assert( currentend!=0 ); assert 1259 third_party/sqlite/src/tool/lemon.c assert( currentend!=0 ); assert 1336 third_party/sqlite/src/tool/lemon.c assert( cfp->fplp==0 ); assert 1337 third_party/sqlite/src/tool/lemon.c assert( cfp->bplp==0 ); assert 1762 third_party/sqlite/src/tool/lemon.c assert( cp!=0 ); assert 2805 third_party/sqlite/src/tool/lemon.c assert( sp->index==j ); assert 3209 third_party/sqlite/src/tool/lemon.c assert( 0 ); /* Cannot happen */ assert 3268 third_party/sqlite/src/tool/lemon.c assert( used>=0 ); assert 3577 third_party/sqlite/src/tool/lemon.c assert( c!=0 || p1==p2 ); assert 3904 third_party/sqlite/src/tool/lemon.c assert( rp->index==i ); assert 4016 third_party/sqlite/src/tool/lemon.c assert( rp->code[0]=='\n' && rp->code[1]==0 ); assert 4131 third_party/sqlite/src/tool/lemon.c assert( ap ); assert 4159 third_party/sqlite/src/tool/lemon.c assert( n!=0 ); assert 4235 third_party/sqlite/src/tool/lemon.c assert( e>=0 && e<size ); assert 4456 third_party/sqlite/src/tool/lemon.c assert( i1!=i2 || strcmp((**a).name,(**b).name)==0 ); assert 392 third_party/sqlite/src/tool/lempar.c assert( iLookAhead!=YYNOCODE ); assert 456 third_party/sqlite/src/tool/lempar.c assert( stateno<=YY_REDUCE_COUNT ); assert 459 third_party/sqlite/src/tool/lempar.c assert( i!=YY_REDUCE_USE_DFLT ); assert 460 third_party/sqlite/src/tool/lempar.c assert( iLookAhead!=YYNOCODE ); assert 467 third_party/sqlite/src/tool/lempar.c assert( i>=0 && i<YY_ACTTAB_COUNT ); assert 468 third_party/sqlite/src/tool/lempar.c assert( yy_lookahead[i]==iLookAhead ); assert 623 third_party/sqlite/src/tool/lempar.c assert( yyact == YYNSTATE + YYNRULE + 1 ); assert 744 third_party/sqlite/src/tool/lempar.c assert( !yyendofinput ); /* Impossible to shift the $ token */ assert 751 third_party/sqlite/src/tool/lempar.c assert( yyact == YY_ERROR_ACTION ); assert 304 third_party/sqlite/src/tool/mkkeywordhash.c assert( n!=0 ); assert 314 third_party/sqlite/src/tool/mkkeywordhash.c assert( n!=0 ); assert 322 third_party/sqlite/src/tool/mkkeywordhash.c assert( n!=0 ); assert 364 third_party/sqlite/src/tool/mkkeywordhash.c assert( p->len<sizeof(p->zOrigName) ); assert 208 third_party/tcmalloc/chromium/src/base/logging.h assert(strlen(buf)+1 < sizeof(buf)); assert 209 third_party/tcmalloc/chromium/src/base/simple_mutex.h Mutex::~Mutex() { assert(mutex_ == 0); } assert 210 third_party/tcmalloc/chromium/src/base/simple_mutex.h void Mutex::Lock() { assert(--mutex_ == -1); } assert 211 third_party/tcmalloc/chromium/src/base/simple_mutex.h void Mutex::Unlock() { assert(mutex_++ == -1); } assert 213 third_party/tcmalloc/chromium/src/base/simple_mutex.h void Mutex::ReaderLock() { assert(++mutex_ > 0); } assert 214 third_party/tcmalloc/chromium/src/base/simple_mutex.h void Mutex::ReaderUnlock() { assert(mutex_-- > 0); } assert 246 third_party/tcmalloc/chromium/src/base/sysinfo.cc assert(estimate_time_ms > 0); assert 360 third_party/tcmalloc/chromium/src/base/sysinfo.cc assert(bytes_to_read > 0); // because the memmove recovered >=1 bytes assert 609 third_party/tcmalloc/chromium/src/base/sysinfo.cc assert(false); assert 130 third_party/tcmalloc/chromium/src/malloc_extension.cc assert(length > 0); assert 187 third_party/tcmalloc/chromium/src/malloc_extension.cc assert(GetOwnership(p) != kNotOwned); assert 79 third_party/tcmalloc/chromium/src/maybe_threads.cc assert(next_key < MAX_PERTHREAD_VALS); assert 242 third_party/tcmalloc/chromium/src/profile-handler.cc assert(instance_ != NULL); assert 70 third_party/tcmalloc/chromium/src/profiledata.cc assert(num_evicted_ == 0); assert 71 third_party/tcmalloc/chromium/src/profiledata.cc assert(nslots <= kBufferLength); assert 92 third_party/tcmalloc/chromium/src/stacktrace_libunwind-inl.h assert(ret >= 0); assert 87 third_party/tcmalloc/chromium/src/stacktrace_win32-inl.h assert(0 == "Not yet implemented"); assert 125 third_party/tcmalloc/chromium/src/stacktrace_x86-inl.h assert(result == 0); assert 129 third_party/tcmalloc/chromium/src/stacktrace_x86-inl.h assert(0 == "unexpected instruction in __kernel_vsyscall"); assert 135 third_party/tcmalloc/chromium/src/stacktrace_x86-inl.h assert(0 == "did not find SYSENTER or SYSCALL in __kernel_vsyscall"); assert 171 third_party/tcmalloc/chromium/src/stacktrace_x86-inl.h assert(0 == "VDSO is present, but doesn't have expected symbols"); assert 256 third_party/tcmalloc/chromium/src/tests/malloc_hook_test.cc assert(num_threads_remaining > 0); assert 91 third_party/tcmalloc/chromium/src/tests/memalign_unittest.cc assert(size == power); assert 53 third_party/tcmalloc/chromium/src/tests/profile-handler_unittest.cc assert(joinable_); assert 81 third_party/tcmalloc/chromium/src/tests/realloc_unittest.cc assert(size == power); assert 266 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc assert(total_weight_ > 0); assert 277 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc assert(i < types_->size()); assert 408 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc default: assert(NULL == "Unknown type"); assert 461 third_party/tcmalloc/chromium/src/tests/tcmalloc_unittest.cc assert(!heap_.empty()); assert 188 third_party/tcmalloc/chromium/src/windows/port.cc assert(destr_fn_info.destr_fn == NULL); assert 245 third_party/tcmalloc/chromium/src/windows/port.cc assert(alignment <= pagesize); assert 254 third_party/tcmalloc/chromium/src/windows/port.cc assert((reinterpret_cast<uintptr_t>(result) & (alignment - 1)) == 0); assert 269 third_party/tcmalloc/chromium/src/windows/port.cc assert(reinterpret_cast<size_t>(start) % pagesize == 0); assert 298 third_party/tcmalloc/chromium/src/windows/port.cc assert(resultSize == sizeof(info)); assert 301 third_party/tcmalloc/chromium/src/windows/port.cc assert(success == TRUE); assert 320 third_party/tcmalloc/chromium/src/windows/port.cc assert(resultSize == sizeof(info)); assert 325 third_party/tcmalloc/chromium/src/windows/port.cc assert(newAddress == ptr); assert 404 third_party/tcmalloc/chromium/src/windows/port.h assert(fds == NULL); assert 405 third_party/tcmalloc/chromium/src/windows/port.h assert(nfds == 0); assert 203 third_party/tcmalloc/vendor/src/base/logging.h assert(strlen(buf)+1 < sizeof(buf)); assert 209 third_party/tcmalloc/vendor/src/base/simple_mutex.h Mutex::~Mutex() { assert(mutex_ == 0); } assert 210 third_party/tcmalloc/vendor/src/base/simple_mutex.h void Mutex::Lock() { assert(--mutex_ == -1); } assert 211 third_party/tcmalloc/vendor/src/base/simple_mutex.h void Mutex::Unlock() { assert(mutex_++ == -1); } assert 213 third_party/tcmalloc/vendor/src/base/simple_mutex.h void Mutex::ReaderLock() { assert(++mutex_ > 0); } assert 214 third_party/tcmalloc/vendor/src/base/simple_mutex.h void Mutex::ReaderUnlock() { assert(mutex_-- > 0); } assert 231 third_party/tcmalloc/vendor/src/base/sysinfo.cc assert(estimate_time_ms > 0); assert 345 third_party/tcmalloc/vendor/src/base/sysinfo.cc assert(bytes_to_read > 0); // because the memmove recovered >=1 bytes assert 124 third_party/tcmalloc/vendor/src/malloc_extension.cc assert(length > 0); assert 181 third_party/tcmalloc/vendor/src/malloc_extension.cc assert(GetOwnership(p) != kNotOwned); assert 79 third_party/tcmalloc/vendor/src/maybe_threads.cc assert(next_key < MAX_PERTHREAD_VALS); assert 242 third_party/tcmalloc/vendor/src/profile-handler.cc assert(instance_ != NULL); assert 70 third_party/tcmalloc/vendor/src/profiledata.cc assert(num_evicted_ == 0); assert 71 third_party/tcmalloc/vendor/src/profiledata.cc assert(nslots <= kBufferLength); assert 92 third_party/tcmalloc/vendor/src/stacktrace_libunwind-inl.h assert(ret >= 0); assert 87 third_party/tcmalloc/vendor/src/stacktrace_win32-inl.h assert(0 == "Not yet implemented"); assert 122 third_party/tcmalloc/vendor/src/stacktrace_x86-inl.h assert(result == 0); assert 126 third_party/tcmalloc/vendor/src/stacktrace_x86-inl.h assert(0 == "unexpected instruction in __kernel_vsyscall"); assert 132 third_party/tcmalloc/vendor/src/stacktrace_x86-inl.h assert(0 == "did not find SYSENTER or SYSCALL in __kernel_vsyscall"); assert 168 third_party/tcmalloc/vendor/src/stacktrace_x86-inl.h assert(0 == "VDSO is present, but doesn't have expected symbols"); assert 256 third_party/tcmalloc/vendor/src/tests/malloc_hook_test.cc assert(num_threads_remaining > 0); assert 91 third_party/tcmalloc/vendor/src/tests/memalign_unittest.cc assert(size == power); assert 53 third_party/tcmalloc/vendor/src/tests/profile-handler_unittest.cc assert(joinable_); assert 81 third_party/tcmalloc/vendor/src/tests/realloc_unittest.cc assert(size == power); assert 266 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc assert(total_weight_ > 0); assert 277 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc assert(i < types_->size()); assert 408 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc default: assert(NULL == "Unknown type"); assert 461 third_party/tcmalloc/vendor/src/tests/tcmalloc_unittest.cc assert(!heap_.empty()); assert 186 third_party/tcmalloc/vendor/src/windows/port.cc assert(destr_fn_info.destr_fn == NULL); assert 401 third_party/tcmalloc/vendor/src/windows/port.h assert(fds == NULL); assert 402 third_party/tcmalloc/vendor/src/windows/port.h assert(nfds == 0); assert 145 tools/clang/blink_gc_plugin/BlinkGCPlugin.cpp assert(false && "Unknown template specialization kind"); assert 117 tools/clang/blink_gc_plugin/Edge.h assert(ptr && "EdgePtr pointer must be non-null"); assert 204 tools/clang/blink_gc_plugin/Edge.h assert(*it && "Collection-edge members must be non-null"); assert 386 tools/clang/blink_gc_plugin/RecordInfo.cpp assert(!trace_dispatch_method_ && "Multiple trace dispatching methods"); assert 391 tools/clang/blink_gc_plugin/RecordInfo.cpp assert(!finalize_dispatch_method_ && assert 580 tools/clang/plugins/FindBadConstructs.cpp assert(false && "Do not call DiagnosticForIssue with issue None"); assert 583 tools/clang/plugins/FindBadConstructs.cpp assert(false); assert 225 ui/android/java/src/org/chromium/ui/autofill/AutofillPopup.java assert listIndex > -1; assert 75 ui/android/java/src/org/chromium/ui/base/ViewAndroid.java assert mKeepScreenOnCount > 0; assert 53 ui/android/java/src/org/chromium/ui/base/WindowAndroid.java assert context == context.getApplicationContext(); assert 20 ui/android/java/src/org/chromium/ui/gl/SurfaceTextureListener.java assert nativeSurfaceTextureListener != 0; assert 30 ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java assert Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT; assert 58 ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java assert Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT; assert 75 ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java assert Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN; assert 81 ui/android/java/src/org/chromium/ui/gl/SurfaceTexturePlatformWrapper.java assert Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN;