Home
last modified time | relevance | path

Searched refs:iSub (Results 1 – 12 of 12) sorted by relevance

/sqlite-3.40.0/ext/recover/
H A Dtest_recover.c98 int iSub = 0; in testRecoverCmd() local
106 objv[1], aSub, sizeof(aSub[0]), "sub-command", 0, &iSub in testRecoverCmd()
109 if( (objc-2)!=aSub[iSub].nArg ){ in testRecoverCmd()
110 Tcl_WrongNumArgs(interp, 2, objv, aSub[iSub].zMsg); in testRecoverCmd()
114 switch( iSub ){ in testRecoverCmd()
115 case 0: assert( sqlite3_stricmp("config", aSub[iSub].zSub)==0 ); { in testRecoverCmd()
175 case 1: assert( sqlite3_stricmp("run", aSub[iSub].zSub)==0 ); { in testRecoverCmd()
180 case 2: assert( sqlite3_stricmp("errmsg", aSub[iSub].zSub)==0 ); { in testRecoverCmd()
185 case 3: assert( sqlite3_stricmp("errcode", aSub[iSub].zSub)==0 ); { in testRecoverCmd()
190 case 4: assert( sqlite3_stricmp("finish", aSub[iSub].zSub)==0 ); { in testRecoverCmd()
[all …]
/sqlite-3.40.0/src/
H A Dtest_vdbecov.c62 int iSub = -1; in test_vdbe_coverage() local
68 if( Tcl_GetIndexFromObj(interp, objv[1], aSub, "sub-command", 0, &iSub) ){ in test_vdbe_coverage()
73 assert( iSub==0 || iSub==1 || iSub==2 ); in test_vdbe_coverage()
74 switch( iSub ){ in test_vdbe_coverage()
H A Dwal.c1725 for(iSub=0; iList & (1<<iSub); iSub++){ in walMergesort()
1727 assert( iSub<ArraySize(aSub) ); in walMergesort()
1728 p = &aSub[iSub]; in walMergesort()
1729 assert( p->aList && p->nList<=(1<<iSub) ); in walMergesort()
1733 aSub[iSub].aList = aMerge; in walMergesort()
1734 aSub[iSub].nList = nMerge; in walMergesort()
1737 for(iSub++; iSub<ArraySize(aSub); iSub++){ in walMergesort()
1738 if( nList & (1<<iSub) ){ in walMergesort()
1740 assert( iSub<ArraySize(aSub) ); in walMergesort()
1741 p = &aSub[iSub]; in walMergesort()
[all …]
H A Dtest_malloc.c794 int iSub; in test_memdebug_log() local
814 if( Tcl_GetIndexFromObj(interp, objv[1], MB_strs, "sub-command", 0, &iSub) ){ in test_memdebug_log()
818 switch( (enum MB_enum)iSub ){ in test_memdebug_log()
H A Dtest_osinst.c1129 int iSub; in test_vfslog() local
1135 if( Tcl_GetIndexFromObj(interp, objv[1], strs, "sub-command", 0, &iSub) ){ in test_vfslog()
1139 switch( (enum VL_enum)iSub ){ in test_vfslog()
H A Dtclsqlite.c3539 int iSub; in DbObjCmd()
3544 if( Tcl_GetIndexFromObj(interp, objv[2], azSub, "sub-command", 0, &iSub) ){ in DbObjCmd()
3548 switch( (enum DbPreupdateSubCmd)iSub ){ in DbObjCmd()
3587 if( iSub==PRE_OLD ){ in DbObjCmd()
3590 assert( iSub==PRE_NEW ); in DbObjCmd()
H A Dvdbeaux.c639 int iSub; /* 0 = main program, 1 = first sub-program etc. */ member
647 if( p->iSub<=p->nSub ){ in opIterNext()
649 if( p->iSub==0 ){ in opIterNext()
653 aOp = p->apSub[p->iSub-1]->aOp; in opIterNext()
654 nOp = p->apSub[p->iSub-1]->nOp; in opIterNext()
661 p->iSub++; in opIterNext()
/sqlite-3.40.0/ext/session/
H A Dtest_session.c237 int iSub; in test_session_cmd() member
253 int iSub; in test_session_cmd() local
264 if( objc!=2+aSub[iSub].nArg ){ in test_session_cmd()
269 switch( iSub ){ in test_session_cmd()
285 if( iSub==7 ){ in test_session_cmd()
291 if( iSub==7 ){ in test_session_cmd()
1181 int iSub; in test_rebaser_cmd() member
1190 int iSub; in test_rebaser_cmd() local
1206 assert( iSub==0 || iSub==1 || iSub==2 ); in test_rebaser_cmd()
1208 switch( iSub ){ in test_rebaser_cmd()
[all …]
H A Dchangesetfuzz.c776 int iSub; in fuzzSelectChange() local
831 iSub = fuzzRandomInt(pParse->nVal); in fuzzSelectChange()
832 pChange->pSub1 = pParse->apVal[iSub]; in fuzzSelectChange()
834 iSub = fuzzRandomInt(pParse->nVal); in fuzzSelectChange()
835 pChange->pSub2 = pParse->apVal[iSub]; in fuzzSelectChange()
/sqlite-3.40.0/ext/expert/
H A Dtest_expert.c74 int iSub; in testExpertCmd() local
83 objv[1], aSub, sizeof(aSub[0]), "sub-command", 0, &iSub in testExpertCmd()
86 if( objc!=2+aSub[iSub].nArg ){ in testExpertCmd()
87 Tcl_WrongNumArgs(interp, 2, objv, aSub[iSub].zMsg); in testExpertCmd()
91 switch( iSub ){ in testExpertCmd()
133 assert( iSub==4 ); in testExpertCmd()
/sqlite-3.40.0/ext/fts5/
H A Dfts5_tcl.c251 int iSub = 0; in xF5tApi() local
260 interp, objv[1], aSub, sizeof(aSub[0]), "SUB-COMMAND", 0, &iSub in xF5tApi()
263 if( aSub[iSub].nArg!=objc-2 ){ in xF5tApi()
264 Tcl_WrongNumArgs(interp, 1, objv, aSub[iSub].zMsg); in xF5tApi()
269 switch( iSub ){ in xF5tApi()
/sqlite-3.40.0/ext/lsm1/
H A Dlsm_file.c1378 int iSub, in fsSubtractOffset() argument
1388 if( (iOff-iSub)>=iStart ){ in fsSubtractOffset()
1389 *piRes = (iOff-iSub); in fsSubtractOffset()
1394 *piRes = fsLastPageOnBlock(pFS, iBlk) - iSub + (iOff - iStart + 1); in fsSubtractOffset()