Home
last modified time | relevance | path

Searched refs:rc (Results 1 – 25 of 446) sorted by relevance

12345678910>>...18

/sqlite-3.40.0/ext/fts5/
H A Dfts5_storage.c153 return rc; in fts5StorageGetStmt()
163 int rc; in fts5ExecPrintf() local
250 int rc; in sqlite3Fts5CreateTable() local
406 if( rc!=SQLITE_OK ) return rc; in fts5StorageDeleteFromIndex()
448 if( rc==SQLITE_OK ) rc = rc2; in fts5StorageDeleteFromIndex()
531 int rc; in sqlite3Fts5StorageDelete() local
572 int rc; in sqlite3Fts5StorageDeleteAll() local
647 if( rc==SQLITE_OK ) rc = rc2; in sqlite3Fts5StorageRebuild()
779 int rc; in fts5StorageCount() local
955 if( rc==SQLITE_OK ) rc = rc2; in sqlite3Fts5StorageIntegrity()
[all …]
H A Dfts5_aux.c78 return rc; in fts5CInstIterNext()
91 int rc; in fts5CInstIterInit() local
103 return rc; in fts5CInstIterInit()
197 return rc; in fts5HighlightCb()
211 int rc; in fts5HighlightFunction() local
315 return rc; in fts5SentenceFinderCb()
329 int rc; in fts5SnippetScore() local
359 return rc; in fts5SnippetScore()
591 if( rc==SQLITE_OK ) rc = pApi->xRowCount(pFts, &nRow); in fts5Bm25GetData()
628 return rc; in fts5Bm25GetData()
[all …]
H A Dfts5_main.c342 return rc; in fts5DestroyMethod()
802 int rc; in fts5SorterNext() local
900 int rc; in fts5NextMethod() local
958 int rc; in fts5PrepareStatement() local
989 int rc; in fts5CursorFirstSorted() local
1033 int rc; in fts5CursorFirst() local
1743 int rc; in fts5SyncMethod() local
1778 int rc; in fts5RollbackMethod() local
2308 int rc; in fts5ApiQueryPhrase() local
2327 if( rc==SQLITE_DONE ) rc = SQLITE_OK; in fts5ApiQueryPhrase()
[all …]
H A Dfts5_config.c249 if( rc ) return rc; in fts5ConfigParseSpecial()
293 return rc; in fts5ConfigParseSpecial()
337 return rc; in fts5ConfigParseSpecial()
352 return rc; in fts5ConfigParseSpecial()
480 return rc; in fts5ConfigParseColumn()
504 return rc; in fts5ConfigMakeExprlist()
637 return rc; in sqlite3Fts5ConfigParse()
690 return rc; in sqlite3Fts5ConfigDeclareVtab()
818 return rc; in sqlite3Fts5ConfigParseRank()
909 return rc; in sqlite3Fts5ConfigSetValue()
[all …]
/sqlite-3.40.0/ext/lsm1/
H A Dlsm_shared.c70 return rc; in enterGlobalMutex()
215 int rc; in dbTruncateFile() local
246 int rc; in doDbDisconnect() local
338 int rc; in doDbConnect() local
356 if( rc!=LSM_OK ) return rc; in doDbConnect()
413 int rc; in dbOpenSharedFd() local
686 int rc; in lsmWalkFreelist() local
789 if( rc!=LSM_OK ) return rc; in lsmBlockAllocate()
924 if( rc!=LSM_OK ) return rc; in lsmCheckpointWrite()
978 int rc; in lsmBeginWork() local
[all …]
H A Dlsm_main.c29 return rc; in lsmErrorBkpt()
64 (void)(rc); in xLog()
128 int rc; in getFullpathname() local
169 int rc; in lsm_open() local
446 if( rc!=LSM_OK ) return rc; in infoGetWorker()
473 if( rc!=LSM_OK ) return rc; in lsmStructList()
505 int rc; in lsmInfoFreelist() local
509 if( rc!=LSM_OK ) return rc; in lsmInfoFreelist()
872 int rc; in lsm_begin() local
925 if( rc==LSM_OK ) rc = lsmLogCommit(pDb); in lsm_commit()
[all …]
H A Dlsm_sorted.c432 if( rc!=LSM_OK ) return rc; in sortedReadData()
620 if( rc!=LSM_OK ) return rc; in pageGetBtreeKey()
1207 if( rc!=LSM_OK ) return rc; in segmentPtrAdvance()
1211 if( rc!=LSM_OK ) return rc; in segmentPtrAdvance()
1224 if( rc!=LSM_OK ) return rc; in segmentPtrAdvance()
2186 if( rc!=LSM_OK ) return rc; in segmentCursorAdvance()
2605 if( rc!=LSM_OK ) return rc; in lsmSortedWalkFreelist()
3654 if( rc!=LSM_OK ) return rc; in mergeWorkerBtreeWrite()
4888 if( rc ) return rc; in mergeInsertFreelistSegments()
4899 if( rc ) return rc; in mergeInsertFreelistSegments()
[all …]
H A Dlsm_file.c329 # define IOERR_WRAPPER(rc) (rc) argument
825 int rc; in lsmFsFileid() local
1570 if( rc!=LSM_OK ) return rc; in fsPageGet()
1578 if( rc ) return rc; in fsPageGet()
2137 if( rc!=LSM_OK ) return rc; in lsmFsSortedAppend()
2149 if( rc!=LSM_OK ) return rc; in lsmFsSortedAppend()
2616 if( rc!=LSM_OK ) return rc; in fsAppendPage()
2625 if( rc!=LSM_OK ) return rc; in fsAppendPage()
2733 if( rc!=LSM_OK ) return rc; in lsmFsPagePersist()
2993 if( rc!=LSM_OK ) return rc; in lsmInfoArrayStructure()
[all …]
/sqlite-3.40.0/ext/fts3/
H A Dfts3_write.c887 if( rc!=SQLITE_OK ) return rc; in fts3PendingTermsDocid()
990 if( rc!=SQLITE_OK ) return rc; in fts3InsertData()
1388 if( rc!=SQLITE_OK ) return rc; in fts3SegReaderNext()
1415 if( rc!=SQLITE_OK ) return rc; in fts3SegReaderNext()
2484 if( rc!=SQLITE_OK ) return rc; in fts3SegmentMaxLevel()
2513 if( rc!=SQLITE_OK ) return rc; in fts3SegmentIsMaxLevel()
2811 if( rc!=SQLITE_OK ) return rc; in sqlite3Fts3MsrIncrStart()
3017 if( rc ) return rc; in sqlite3Fts3SegReaderStep()
3043 if( rc ) return rc; in sqlite3Fts3SegReaderStep()
5162 if( rc ) return rc; in fts3DoAutoincrmerge()
[all …]
/sqlite-3.40.0/ext/fts1/
H A Dfulltext.c668 if( rc!=SQLITE_OK ) return rc; in content_insert()
671 if( rc!=SQLITE_OK ) return rc; in content_insert()
674 if( rc!=SQLITE_OK ) return rc; in content_insert()
685 if( rc!=SQLITE_OK ) return rc; in content_select()
688 if( rc!=SQLITE_OK ) return rc; in content_select()
708 if( rc!=SQLITE_OK ) return rc; in content_delete()
711 if( rc!=SQLITE_OK ) return rc; in content_delete()
725 if( rc!=SQLITE_OK ) return rc; in term_select()
728 if( rc!=SQLITE_OK ) return rc; in term_select()
731 if( rc!=SQLITE_OK ) return rc; in term_select()
[all …]
/sqlite-3.40.0/ext/lsm1/lsm-test/
H A Dlsmtest6.c64 testOomAssert(p, rc==LSM_OK || rc==LSM_NOMEM); in testOomAssertRc()
75 int rc; in testOomOpen() local
77 if( rc==LSM_OK ) rc = lsm_open(*ppDb, zName); in testOomOpen()
93 int rc; in testOomFetch() local
131 int rc; in testOomWrite() local
200 int rc; in testOomScan() local
383 int rc; in setup_populate_db() local
417 int rc; in setup_populate_db2() local
449 int rc; in simple_oom_1() local
462 int rc; in simple_oom_2() local
[all …]
H A Dlsmtest_tdb4.c91 int rc; in btVfsOpen() local
133 int rc; in btFlushSectors() local
184 int rc; in btSaveSectors() local
374 rc = btRestoreTransaction(p, iLevel, rc); in bt_write()
405 if( rc==SQLITE4_INEXACT ) rc = SQLITE4_OK; in bt_delete_range()
427 if( rc==SQLITE4_NOTFOUND ) rc = SQLITE4_OK; in bt_delete_range()
431 rc = btRestoreTransaction(p, iLevel, rc); in bt_delete_range()
448 if( rc!=SQLITE4_OK ) return rc; in bt_fetch()
511 if( rc==SQLITE4_INEXACT ) rc = SQLITE4_OK; in bt_scan()
551 rc = btRestoreTransaction(p, iLevel, rc); in bt_scan()
[all …]
/sqlite-3.40.0/src/
H A Dpager.c2138 return (rc==SQLITE_OK?rc2:rc); in pager_end_transaction()
2279 if( rc!=SQLITE_OK ) return rc; in pager_playback_one_page()
2281 if( rc!=SQLITE_OK ) return rc; in pager_playback_one_page()
2298 if( rc ) return rc; in pager_playback_one_page()
2980 if( rc ) return rc; in readDbPage()
3301 if( rc ) return rc; in pagerOpenWalIfPresent()
4229 if( rc!=SQLITE_OK ) return rc; in syncJournal()
5946 if( rc!=SQLITE_OK ) return rc; in pagerAddPageToRollbackJournal()
5948 if( rc!=SQLITE_OK ) return rc; in pagerAddPageToRollbackJournal()
5950 if( rc!=SQLITE_OK ) return rc; in pagerAddPageToRollbackJournal()
[all …]
H A Dwal.c2533 if( rc==SQLITE_BUSY ) rc = WAL_RETRY; in walBeginShmUnreliable()
2563 rc = (rc==SQLITE_READONLY ? WAL_RETRY : rc); in walBeginShmUnreliable()
3514 if( rc ) return rc; in walWriteToLog()
3520 if( iAmt==0 || rc ) return rc; in walWriteToLog()
3541 if( rc ) return rc; in walWriteOneFrame()
3689 if( rc ) return rc; in sqlite3WalFrames()
3723 if( rc ) return rc; in sqlite3WalFrames()
3733 if( rc ) return rc; in sqlite3WalFrames()
3742 if( rc ) return rc; in sqlite3WalFrames()
3768 if( rc ) return rc; in sqlite3WalFrames()
[all …]
H A Dbackup.c113 int rc; in setDestPgsz() local
115 return rc; in setDestPgsz()
218 return (rc!=SQLITE_OK && rc!=SQLITE_BUSY && ALWAYS(rc!=SQLITE_LOCKED)); in isFatalError()
321 int rc; in sqlite3_backup_step() local
335 rc = p->rc; in sqlite3_backup_step()
425 if( rc==SQLITE_OK || rc==SQLITE_DONE ){ in sqlite3_backup_step()
561 p->rc = rc; in sqlite3_backup_step()
606 rc = (p->rc==SQLITE_DONE) ? SQLITE_OK : p->rc; in sqlite3_backup_finish()
684 p->rc = rc; in backupUpdate()
722 int rc; in sqlite3BtreeCopyFile() local
[all …]
H A Dtest_multiplex.c422 int rc; in multiplexFuncInit() local
616 int rc; in multiplexDelete() local
832 if( rc ) rc = SQLITE_IOERR_TRUNCATE; in multiplexTruncate()
884 int rc; in multiplexLock() local
896 int rc; in multiplexUnlock() local
908 int rc; in multiplexCheckReservedLock() local
1059 int rc; in multiplexSectorSize() local
1071 int rc; in multiplexDeviceCharacteristics() local
1089 int rc; in multiplexShmMap() local
1106 int rc; in multiplexShmLock() local
[all …]
H A Dtest8.c247 int rc; in getIndexArray() local
407 int rc; in echoConstructor() local
571 int rc; in echoClose() local
672 int rc; in echoFilter() local
1113 int rc; in echoBegin() local
1144 int rc; in echoSync() local
1173 int rc; in echoCommit() local
1190 int rc; in echoRollback() local
1215 int rc; in overloadedGlobFunction() local
1371 int rc; in register_echo_module() local
[all …]
H A Dprepare.c153 if( rc > pData->rc ) pData->rc = rc; in sqlite3InitCallback()
199 int rc; in sqlite3InitOne() local
242 rc = initData.rc; in sqlite3InitOne()
378 if( rc==SQLITE_OK ) rc = initData.rc; in sqlite3InitOne()
449 if( rc ) return rc; in sqlite3Init()
456 if( rc ) return rc; in sqlite3Init()
476 pParse->rc = rc; in sqlite3ReadSchema()
795 rc = sParse.rc; in sqlite3Prepare()
853 rc = sqlite3ApiExit(db, rc); in sqlite3LockAndPrepare()
854 assert( (rc&db->errMask)==rc ); in sqlite3LockAndPrepare()
[all …]
/sqlite-3.40.0/ext/expert/
H A Dsqlite3expert.c335 return rc; in idxPrepareStmt()
349 int rc; in idxPrintfPrepareStmt() local
421 int rc; in expertConnect() local
619 int rc; in expertFilter() local
729 if( rc==SQLITE_OK ) rc = rc2; in idxGetTableInfo()
892 int rc; in idxFindCompatible() local
1065 int rc; in idxCreateFromWhere() local
1701 int rc; in idxBuildSampleTable() local
1705 if( rc!=SQLITE_OK ) return rc; in idxBuildSampleTable()
1748 if( nMax<=0 || rc!=SQLITE_OK ) return rc; in idxPopulateStat1()
[all …]
/sqlite-3.40.0/ext/session/
H A Dsqlite3session.c538 if( rc!=SQLITE_OK ) return rc; in sessionPreupdateHash()
1445 pSession->rc = rc; in sessionPreupdateOneChange()
1744 int rc = pSession->rc; in sqlite3session_diff() local
1761 rc = pSession->rc; in sqlite3session_diff()
2567 if( rc!=SQLITE_OK ) return rc; in sessionGenerateChangeset()
3205 return (p->rc = rc); in sessionChangesetReadTblhdr()
3533 rc = p->rc; in sqlite3changeset_finalize()
4419 if( rc!=SQLITE_OK ) return rc; in sessionApplyOneOp()
4451 if( rc!=SQLITE_OK ) return rc; in sessionApplyOneOp()
4606 if( rc==SQLITE_OK ) rc = rc2; in sessionRetryConstraints()
[all …]
H A Dtest_session.c78 int rc; in sql_exec_changeset() local
114 int rc; in test_sql_exec_changeset() local
170 int rc; in test_table_filter() local
254 int rc; in test_session_cmd() local
263 if( rc!=TCL_OK ) return rc; in test_session_cmd()
954 rc = test_session_error(interp, rc, 0); in test_sqlite3changeset_invert()
1002 rc = test_session_error(interp, rc, 0); in test_sqlite3changeset_concat()
1146 if( rc!=TCL_OK && rc!=TCL_CONTINUE ){ in test_sqlite3session_foreach()
1148 return rc==TCL_BREAK ? TCL_OK : rc; in test_sqlite3session_foreach()
1200 if( rc!=TCL_OK ) return rc; in test_rebaser_cmd()
[all …]
/sqlite-3.40.0/ext/rbu/
H A Dsqlite3rbu.c865 int rc = p->rc; in rbuObjIterNext() local
917 p->rc = rc; in rbuObjIterNext()
1002 p->rc = rc; in rbuObjIterFirst()
1141 p->rc = rc; in rbuFinalize()
1774 p->rc = rc; in rbuObjIterGetIndexCols()
2309 p->rc = rc; in rbuObjIterGetIndexWhere()
2760 p->rc = rc; in rbuLoadState()
3558 if( rc!=SQLITE_OK ) p->rc = rc; in rbuSaveState()
4359 p->rc = rc; in sqlite3rbu_savestate()
4361 rc = p->rc; in sqlite3rbu_savestate()
[all …]
/sqlite-3.40.0/ext/misc/
H A Dunionvtab.c455 return rc; in unionInvokeOpenClose()
519 int rc; in unionIsIntkeyTable() local
535 return rc; in unionIsIntkeyTable()
609 return rc; in unionSourceCheck()
618 int rc; in unionOpenDatabaseInner() local
621 if( rc!=SQLITE_OK ) return rc; in unionOpenDatabaseInner()
624 if( rc==SQLITE_OK ) return rc; in unionOpenDatabaseInner()
642 return rc; in unionOpenDatabaseInner()
1093 int rc; in unionNext() local
1244 if( rc!=SQLITE_OK ) return rc; in unionFilter()
[all …]
H A Dvtshim.c79 int rc; in vtshimCreate() local
118 int rc; in vtshimConnect() local
153 int rc; in vtshimBestIndex() local
192 int rc; in vtshimOpen() local
240 int rc; in vtshimFilter() local
253 int rc; in vtshimNext() local
266 int rc; in vtshimEof() local
277 int rc; in vtshimColumn() local
290 int rc; in vtshimRowid() local
307 int rc; in vtshimUpdate() local
[all …]
/sqlite-3.40.0/ext/fts2/
H A Dfts2.c2013 if( rc!=SQLITE_OK ) return rc; in content_insert()
2016 if( rc!=SQLITE_OK ) return rc; in content_insert()
2033 if( rc!=SQLITE_OK ) return rc; in content_update()
2041 if( rc!=SQLITE_OK ) return rc; in content_update()
2071 if( rc!=SQLITE_OK ) return rc; in content_select()
2074 if( rc!=SQLITE_OK ) return rc; in content_select()
2104 if( rc!=SQLITE_OK ) return rc; in content_delete()
2107 if( rc!=SQLITE_OK ) return rc; in content_delete()
2118 if( rc!=SQLITE_OK ) return rc; in content_exists()
2287 if( rc!=SQLITE_ROW && rc!=SQLITE_DONE ) return rc; in segdir_delete()
[all …]

12345678910>>...18