| /sqlite-3.40.0/ext/lsm1/lsm-test/ |
| H A D | lsmtest7.c | 19 static void do_test_api1_lsm(lsm_db *pDb, int *pRc){ in do_test_api1_lsm() 108 static void do_test_api1(const char *zPattern, int *pRc){ in do_test_api1() 132 int *pRc in newLsmConnection() 148 static void testPagesize(lsm_db *db, int nPgsz, int nBlksz, int *pRc){ in testPagesize() 167 static void do_test_api2(const char *zPattern, int *pRc){ in do_test_api2() 202 int *pRc /* IN/OUT: Error code */ in test_api()
|
| H A D | lsmtest2.c | 102 void testCompareStr(const char *z1, const char *z2, int *pRc){ in testCompareStr() 119 void testCompareInt(int i1, int i2, int *pRc){ in testCompareInt() 127 void testCaseStart(int *pRc, char *zFmt, ...){ in testCaseStart() 146 int testCaseBegin(int *pRc, const char *zPattern, const char *zFmt, ...){ in testCaseBegin() 184 int *pRc in testSetupSavedLsmdb() 212 int *pRc /* IN/OUT: Test case error code */ in testCompareCksumLsmdb() 292 static void crash_test1(int bCompress, int *pRc){ in crash_test1() 360 static void crash_test2(int bCompress, int *pRc){ in crash_test2() 421 static void crash_test3(int bCompress, int *pRc){ in crash_test3() 466 void do_crash_test(const char *zPattern, int *pRc){ in do_crash_test()
|
| H A D | lsmtest8.c | 30 int *pRc in doSetupStep() 85 void testReadFile(const char *zFile, int iOff, void *pOut, int nByte, int *pRc){ in testReadFile() 110 int *pRc in testWriteFile() 159 static void doLiveRecovery(const char *zDb, const char *zCksum, int *pRc){ in doLiveRecovery() 208 static void doWriterCrash1(int *pRc){ in doWriterCrash1() 240 static void doWriterCrash2(int *pRc){ in doWriterCrash2() 307 void do_writer_crash_test(const char *zPattern, int *pRc){ in do_writer_crash_test()
|
| H A D | lsmtest1.c | 107 int *pRc /* IN/OUT: Error code */ in testDatasourceFetch() 161 int *pRc /* IN/OUT: Error code */ in testDbContents() 254 void testReopenRecover(TestDb **ppDb, int *pRc){ in testReopenRecover() 270 int *pRc /* OUT: Error code */ in doDataTest1() 346 int *pRc /* IN/OUT: Error code */ in test_data_1() 386 int *pRc in testCompareDb() 429 int *pRc /* OUT: Error code */ in doDataTest2() 501 int *pRc /* IN/OUT: Error code */ in test_data_2() 556 int *pRc /* OUT: Error code */ in doDataTest3() 639 int *pRc /* IN/OUT: Error code */ in test_data_3()
|
| H A D | lsmtest3.c | 98 void testWriteDatasource(TestDb *pDb, Datasource *pData, int i, int *pRc){ in testWriteDatasource() 108 void testDeleteDatasource(TestDb *pDb, Datasource *pData, int i, int *pRc){ in testDeleteDatasource() 123 int *pRc /* IN/OUT: Error code */ in testWriteDatasourceRange() 136 int *pRc /* IN/OUT: Error code */ in testDeleteDatasourceRange() 220 int *pRc in test_rollback()
|
| H A D | lsmtest6.c | 72 int *pRc in testOomOpen() 88 int *pRc in testOomFetch() 127 int *pRc in testOomWrite() 146 int *pRc in testOomFetchStr() 158 int *pRc in testOomFetchData() 171 int *pRc in testOomWriteStr() 183 int *pRc in testOomWriteData() 197 int *pRc in testOomScan() 618 static void do_test_oom1(const char *zPattern, int *pRc){ in do_test_oom1() 658 int *pRc /* IN/OUT: Error code */ in test_oom()
|
| H A D | lsmtest_main.c | 34 int *pRc /* IN/OUT: Error code */ in testFetch() 55 int *pRc /* IN/OUT: Error code */ in testWrite() 68 int *pRc /* IN/OUT: Error code */ in testDelete() 80 int *pRc /* IN/OUT: Error code */ in testDeleteRange() 89 void testBegin(TestDb *pDb, int iTrans, int *pRc){ in testBegin() 96 void testCommit(TestDb *pDb, int iTrans, int *pRc){ in testCommit() 117 int *pRc /* IN/OUT: Error code */ in testWriteStr() 132 int *pRc /* IN/OUT: Error code */ in testFetchStr() 142 int *pRc in testFetchCompare() 268 int *pRc in testScanCompare() [all …]
|
| H A D | lsmtest4.c | 42 int *pRc /* IN/OUT: return code */ in do_mc_test() 114 int *pRc /* IN/OUT: Error code */ in test_mc()
|
| H A D | lsmtest9.c | 38 int *pRc /* OUT: Error code */ in doDataTest4() 123 int *pRc /* IN/OUT: Error code */ in test_data_4()
|
| H A D | lsmtest5.c | 147 int *pRc /* IN/OUT: Error code */ in dbComputeCksum() 182 int *pRc /* IN/OUT: Error code */ in dbReadOperation() 209 int *pRc /* IN/OUT: Error code */ in dbWriteOperation() 575 int *pRc /* IN/OUT: Error code */ in do_test_mt1() 629 int *pRc /* IN/OUT: Error code */ in test_mt()
|
| H A D | lsmtest_io.c | 81 static i64 getNextSize(char *zIn, char **pzOut, int *pRc){ in getNextSize()
|
| /sqlite-3.40.0/ext/fts5/ |
| H A D | fts5_buffer.c | 18 int sqlite3Fts5BufferSize(int *pRc, Fts5Buffer *pBuf, u32 nByte){ in sqlite3Fts5BufferSize() 42 void sqlite3Fts5BufferAppendVarint(int *pRc, Fts5Buffer *pBuf, i64 iVal){ in sqlite3Fts5BufferAppendVarint() 64 int *pRc, in sqlite3Fts5BufferAppendBlob() 82 int *pRc, in sqlite3Fts5BufferAppendString() 100 int *pRc, in sqlite3Fts5BufferAppendPrintf() 120 char *sqlite3Fts5Mprintf(int *pRc, const char *zFmt, ...){ in sqlite3Fts5Mprintf() 157 int *pRc, in sqlite3Fts5BufferSet() 261 void *sqlite3Fts5MallocZero(int *pRc, sqlite3_int64 nByte){ in sqlite3Fts5MallocZero() 282 char *sqlite3Fts5Strndup(int *pRc, const char *pIn, int nIn){ in sqlite3Fts5Strndup()
|
| H A D | fts5_index.c | 850 static void fts5StructureMakeWritable(int *pRc, Fts5Structure **pp){ in fts5StructureMakeWritable() 984 static void fts5StructureAddLevel(int *pRc, Fts5Structure **ppStruct){ in fts5StructureAddLevel() 1010 int *pRc, in fts5StructureExtendLevel() 3215 int *pRc, in fts5IndexExtractColset() 3388 int *pRc = &pIter->pIndex->rc; in fts5IterSetOutputs_Full() local 3402 static void fts5IterSetOutputCb(int *pRc, Fts5Iter *pIter){ in fts5IterSetOutputCb() 6343 static void fts5DebugRowid(int *pRc, Fts5Buffer *pBuf, i64 iKey){ in fts5DebugRowid() 6364 int *pRc, /* IN/OUT: error code */ in fts5DebugStructure() 6395 int *pRc, /* IN/OUT: error code */ in fts5DecodeStructure() 6422 int *pRc, /* IN/OUT: error code */ in fts5DecodeAverages() [all …]
|
| H A D | fts5_expr.c | 678 static int fts5ExprNearIsMatch(int *pRc, Fts5ExprNearset *pNear){ in fts5ExprNearIsMatch() 781 int *pRc, /* OUT: Error code */ in fts5ExprAdvanceto() 807 int *pRc /* OUT: Error code */ in fts5ExprSynonymAdvanceto() 834 int *pRc, in fts5ExprNearTest() 2064 static Fts5Colset *fts5CloneColset(int *pRc, Fts5Colset *pOrig){ in fts5CloneColset()
|
| /sqlite-3.40.0/ext/lsm1/ |
| H A D | lsm_mem.c | 55 void *lsmMallocRc(lsm_env *pEnv, size_t N, int *pRc){ in lsmMallocRc() 66 void *lsmMallocZeroRc(lsm_env *pEnv, size_t N, int *pRc){ in lsmMallocZeroRc() 84 void *lsmReallocOrFreeRc(lsm_env *pEnv, void *p, size_t N, int *pRc){ in lsmReallocOrFreeRc()
|
| H A D | lsm_ckpt.c | 246 static void ckptSetValue(CkptBuffer *p, int iIdx, u32 iVal, int *pRc){ in ckptSetValue() 276 static void ckptAddChecksum(CkptBuffer *p, int nCkpt, int *pRc){ in ckptAddChecksum() 285 static void ckptAppend64(CkptBuffer *p, int *piOut, i64 iVal, int *pRc){ in ckptAppend64() 311 int *pRc in ckptExportSegment() 323 int *pRc /* IN/OUT: Error code */ in ckptExportLevel() 364 int *pRc in ckptExportLog() 389 int *pRc /* IN/OUT: Error code */ in ckptExportAppendlist() 739 static int ckptTryLoad(lsm_db *pDb, MetaPage *pPg, u32 iMeta, int *pRc){ in ckptTryLoad()
|
| H A D | lsm_tree.c | 203 static int tblobGrow(lsm_db *pDb, TreeBlob *p, int n, int *pRc){ in tblobGrow() 314 static ShmChunk * treeShmChunkRc(lsm_db *pDb, int iChunk, int *pRc){ in treeShmChunkRc() 348 int *pRc /* IN/OUT: Error code */ in treeShmkey() 576 static TreeKey *csrGetKey(TreeCursor *pCsr, TreeBlob *pBlob, int *pRc){ in csrGetKey() 625 static u32 treeShmalloc(lsm_db *pDb, int bAlign, int nByte, int *pRc){ in treeShmalloc() 708 static void *treeShmallocZero(lsm_db *pDb, int nByte, u32 *piPtr, int *pRc){ in treeShmallocZero() 721 static TreeNode *newTreeNode(lsm_db *pDb, u32 *piPtr, int *pRc){ in newTreeNode() 725 static TreeLeaf *newTreeLeaf(lsm_db *pDb, u32 *piPtr, int *pRc){ in newTreeLeaf() 734 int *pRc in newTreeKey() 791 int *pRc in copyTreeNode() [all …]
|
| H A D | lsm_log.c | 844 int *pRc /* IN/OUT: Error code */ in logReaderBlob() 902 int *pRc /* IN/OUT: Error code */ in logReaderVarint() 916 static void logReaderByte(LogReader *p, u8 *pByte, int *pRc){ in logReaderByte() 922 static void logReaderCksum(LogReader *p, LsmString *pBuf, int *pbEof, int *pRc){ in logReaderCksum()
|
| H A D | lsm_sorted.c | 1113 static void sortedSplitkey(lsm_db *pDb, Level *pLevel, int *pRc){ in sortedSplitkey() 1244 int *pRc in segmentPtrEndPage() 2375 static void multiCursorAddOne(MultiCursor *pCsr, Level *pLvl, int *pRc){ in multiCursorAddOne() 2432 static MultiCursor *multiCursorNew(lsm_db *db, int *pRc){ in multiCursorNew() 2709 static void multiCursorCacheKey(MultiCursor *pCsr, int *pRc){ in multiCursorCacheKey() 3140 int *pRc in mcursorAdvanceOk() 4074 static void mergeWorkerShutdown(MergeWorker *pMW, int *pRc){ in mergeWorkerShutdown() 5137 static int sortedTreeHasOld(lsm_db *pDb, int *pRc){ in sortedTreeHasOld()
|
| /sqlite-3.40.0/ext/repair/ |
| H A D | checkindex.c | 67 static void *cidxMalloc(int *pRc, int n){ in cidxMalloc() 233 static char *cidxMprintf(int *pRc, const char *zFmt, ...){ in cidxMprintf() 251 int *pRc, CidxCursor *pCsr, const char *zFmt, ... in cidxPrepare() 276 static void cidxFinalize(int *pRc, sqlite3_stmt *pStmt){ in cidxFinalize() 281 char *cidxStrdup(int *pRc, const char *zStr){ in cidxStrdup() 603 int *pRc, CidxColumn *aCol, char **azAfter, int iGt, int bLastIsNull in cidxWhere() 642 int *pRc, /* IN/OUT: Error code */ in cidxColumnList()
|
| /sqlite-3.40.0/ext/misc/ |
| H A D | unionvtab.c | 253 static void *unionMalloc(int *pRc, sqlite3_int64 nByte){ in unionMalloc() 276 static char *unionStrdup(int *pRc, const char *zIn){ in unionStrdup() 342 int *pRc, /* IN/OUT: Error code */ in unionPrepare() 364 int *pRc, /* IN/OUT: Error code */ in unionPreparePrintf() 414 static void unionFinalize(int *pRc, sqlite3_stmt *pStmt, char **pzErr){ in unionFinalize() 556 int *pRc, /* IN/OUT: Error code */ in unionSourceToStr() 778 int *pRc, /* IN/OUT: Error code */ in unionConfigureVtab()
|
| /sqlite-3.40.0/ext/fts3/ |
| H A D | fts3.c | 574 int *pRc, /* Success code */ in fts3DbExec() 633 static void fts3DeclareVtab(int *pRc, Fts3Table *p){ in fts3DeclareVtab() 670 void sqlite3Fts3CreateStatTable(int *pRc, Fts3Table *p){ in sqlite3Fts3CreateStatTable() 753 static void fts3DatabasePageSize(int *pRc, Fts3Table *p){ in fts3DatabasePageSize() 813 int *pRc, /* IN/OUT: Error code */ in fts3Appendf() 4168 int *pRc /* IN/OUT: Error code */ in fts3EvalAllocateReaders() 4831 int *pRc /* IN/OUT: Error code */ in fts3EvalStartReaders() 4887 int *pRc /* IN/OUT: Error code */ in fts3EvalTokenCosts() 5288 int *pRc /* IN/OUT: Error code */ in fts3EvalNextRow() 5428 static int fts3EvalNearTest(Fts3Expr *pExpr, int *pRc){ in fts3EvalNearTest() [all …]
|
| /sqlite-3.40.0/ext/expert/ |
| H A D | sqlite3expert.c | 175 static void *idxMalloc(int *pRc, int nByte){ in idxMalloc() 231 int *pRc, in idxHashAdd() 297 static IdxConstraint *idxNewConstraint(int *pRc, const char *zColl){ in idxNewConstraint() 677 static void idxFinalize(int *pRc, sqlite3_stmt *pStmt){ in idxFinalize() 789 static char *idxAppendText(int *pRc, char *zIn, const char *zFmt, ...){ in idxAppendText() 844 int *pRc, /* IN/OUT: Error code */ in idxAppendColDefn() 882 int *pRc, /* OUT: Error code */ in idxFindCompatible()
|
| /sqlite-3.40.0/ext/session/ |
| H A D | sqlite3session.c | 1997 static int sessionBufferGrow(SessionBuffer *p, i64 nByte, int *pRc){ in sessionBufferGrow() 2062 static void sessionAppendByte(SessionBuffer *p, u8 v, int *pRc){ in sessionAppendByte() 2075 static void sessionAppendVarint(SessionBuffer *p, int v, int *pRc){ in sessionAppendVarint() 2092 int *pRc in sessionAppendBlob() 2111 int *pRc in sessionAppendStr() 2131 int *pRc /* IN/OUT: Error code */ in sessionAppendInteger() 2150 int *pRc /* IN/OUT: Error code */ in sessionAppendIdent() 2176 int *pRc /* IN/OUT: Error code */ in sessionAppendCol() 2521 int *pRc /* IN/OUT: Error code */ in sessionAppendTableHdr() 5458 int *pRc /* IN/OUT: error code */ in sessionAppendRecordMerge() [all …]
|
| /sqlite-3.40.0/ext/rtree/ |
| H A D | geopoly.c | 221 static GeoPoly *geopolyParseJson(const unsigned char *z, int *pRc){ in geopolyParseJson() 301 int *pRc /* Write error here */ in geopolyFuncParam() 630 int *pRc /* Error code here */ in geopolyBBox()
|