Lines Matching refs:nArg

3516   int nArg = 0;          /* Number of arguments that completeFilter() expects */  in completionBestIndex()  local
3536 pIdxInfo->aConstraintUsage[prefixIdx].argvIndex = ++nArg; in completionBestIndex()
3540 pIdxInfo->aConstraintUsage[wholelineIdx].argvIndex = ++nArg; in completionBestIndex()
3544 pIdxInfo->estimatedCost = (double)5000 - 1000*nArg; in completionBestIndex()
3545 pIdxInfo->estimatedRows = 500 - 100*nArg; in completionBestIndex()
6263 int nArg, /* Number of SQL function arguments */ in zipfileFindFunction() argument
10569 int nArg, /* Number of result columns */ in shell_callback() argument
10582 for(i=0; i<nArg; i++){ in shell_callback()
10587 for(i=0; i<nArg; i++){ in shell_callback()
10612 for(i=0; i<nArg; i++){ in shell_callback()
10630 utf8_printf(p->out, "%s", i==nArg-1 ? rowSep : " "); in shell_callback()
10634 for(i=0; i<nArg; i++){ in shell_callback()
10645 i==nArg-1 ? rowSep : " "); in shell_callback()
10650 for(i=0; i<nArg; i++){ in shell_callback()
10667 utf8_printf(p->out, "%s", i==nArg-1 ? rowSep : " "); in shell_callback()
10682 assert( nArg==1 ); in shell_callback()
10742 for(i=0; i<nArg; i++){ in shell_callback()
10744 i==nArg-1 ? p->rowSeparator : p->colSeparator); in shell_callback()
10748 for(i=0; i<nArg; i++){ in shell_callback()
10752 if( i<nArg-1 ){ in shell_callback()
10763 for(i=0; i<nArg; i++){ in shell_callback()
10772 for(i=0; i<nArg; i++){ in shell_callback()
10782 for(i=0; i<nArg; i++){ in shell_callback()
10784 if(i<nArg-1) utf8_printf(p->out, "%s", p->colSeparator); in shell_callback()
10789 for(i=0; i<nArg; i++){ in shell_callback()
10791 if(i<nArg-1) utf8_printf(p->out, "%s", p->colSeparator); in shell_callback()
10799 for(i=0; i<nArg; i++){ in shell_callback()
10800 output_csv(p, azCol[i] ? azCol[i] : "", i<nArg-1); in shell_callback()
10804 if( nArg>0 ){ in shell_callback()
10805 for(i=0; i<nArg; i++){ in shell_callback()
10806 output_csv(p, azArg[i], i<nArg-1); in shell_callback()
10818 for(i=0; i<nArg; i++){ in shell_callback()
10831 for(i=0; i<nArg; i++){ in shell_callback()
10874 for(i=0; i<nArg; i++){ in shell_callback()
10881 for(i=0; i<nArg; i++){ in shell_callback()
10909 for(i=0; i<nArg; i++){ in shell_callback()
10916 for(i=0; i<nArg; i++){ in shell_callback()
10935 static int callback(void *pArg, int nArg, char **azArg, char **azCol){ in callback() argument
10937 return shell_callback(pArg, nArg, azArg, azCol, NULL); in callback()
10944 static int captureOutputCallback(void *pArg, int nArg, char **azArg, char **az){ in captureOutputCallback() argument
10950 for(i=0; i<nArg; i++){ in captureOutputCallback()
11699 int nArg /* Number of entries in azArg[] */ in expertDotCommand() argument
11709 for(i=1; rc==SQLITE_OK && i<nArg; i++){ in expertDotCommand()
11718 if( i==(nArg-1) ){ in expertDotCommand()
12050 static int dump_callback(void *pArg, int nArg, char **azArg, char **azNotUsed){ in dump_callback() argument
12058 if( nArg!=3 || azArg==0 ) return 0; in dump_callback()
13699 static int shell_dbinfo_command(ShellState *p, int nArg, char **azArg){ in shell_dbinfo_command() argument
13729 char *zDb = nArg>=2 ? azArg[1] : "main"; in shell_dbinfo_command()
14031 int nArg /* Number of entries in azArg[] */ in lintFkeyIndexes() argument
14106 for(i=2; i<nArg; i++){ in lintFkeyIndexes()
14207 int nArg /* Number of entries in azArg[] */ in lintDotCommand() argument
14210 n = (nArg>=2 ? strlen30(azArg[1]) : 0); in lintDotCommand()
14212 return lintFkeyIndexes(pState, azArg, nArg); in lintDotCommand()
14328 int nArg; /* Number of command arguments */ member
14426 int nArg, /* Number of entries in azArg[] */ in arParseCommand() argument
14450 if( nArg<=1 ){ in arParseCommand()
14469 if( iArg>=nArg ){ in arParseCommand()
14476 pAr->nArg = nArg-iArg; in arParseCommand()
14477 if( pAr->nArg>0 ){ in arParseCommand()
14483 for(iArg=1; iArg<nArg; iArg++){ in arParseCommand()
14489 pAr->nArg = nArg-iArg; in arParseCommand()
14511 if( iArg>=(nArg-1) ){ in arParseCommand()
14524 pAr->nArg = nArg-iArg-1; in arParseCommand()
14546 if( iArg>=(nArg-1) ){ in arParseCommand()
14574 if( pAr->nArg ){ in arCheckEntries()
14583 for(i=0; i<pAr->nArg && rc==SQLITE_OK; i++){ in arCheckEntries()
14618 if( pAr->nArg==0 ){ in arWhereClause()
14623 for(i=0; i<pAr->nArg; i++){ in arWhereClause()
14875 for(i=0; i<pAr->nArg && rc==SQLITE_OK; i++){ in arCreateOrUpdateCommand()
14904 int nArg /* Number of entries in azArg[] */ in arDotCommand() argument
14910 rc = arParseCommand(azArg, nArg, &cmd); in arDotCommand()
15367 static int recoverDatabaseCmd(ShellState *pState, int nArg, char **azArg){ in recoverDatabaseCmd() argument
15380 for(i=1; i<nArg; i++){ in recoverDatabaseCmd()
15388 if( n<=12 && memcmp("-recovery-db", z, n)==0 && i<(nArg-1) ){ in recoverDatabaseCmd()
15392 if( n<=15 && memcmp("-lost-and-found", z, n)==0 && i<(nArg-1) ){ in recoverDatabaseCmd()
15691 int nArg = 0; in do_meta_command() local
15704 while( zLine[h] && nArg<ArraySize(azArg)-1 ){ in do_meta_command()
15709 azArg[nArg++] = &zLine[h]; in do_meta_command()
15717 if( delim=='"' ) resolve_backslashes(azArg[nArg-1]); in do_meta_command()
15719 azArg[nArg++] = &zLine[h]; in do_meta_command()
15722 resolve_backslashes(azArg[nArg-1]); in do_meta_command()
15725 azArg[nArg] = 0; in do_meta_command()
15729 if( nArg==0 ) return 0; /* no tokens, no error */ in do_meta_command()
15736 if( nArg!=2 ){ in do_meta_command()
15753 rc = arDotCommand(p, 0, azArg, nArg); in do_meta_command()
15767 for(j=1; j<nArg; j++){ in do_meta_command()
15826 if( nArg==2 ){ in do_meta_command()
15835 if( nArg==2 ){ in do_meta_command()
15848 if( nArg==2 ){ in do_meta_command()
15874 if( nArg==2 ){ in do_meta_command()
15889 if( nArg!=2 ){ in do_meta_command()
15908 if( nArg==2 ){ in do_meta_command()
15959 if( nArg>1 && strcmp(azArg[1], aDbConfig[ii].zName)!=0 ) continue; in do_meta_command()
15960 if( nArg>=3 ){ in do_meta_command()
15965 if( nArg>1 ) break; in do_meta_command()
15967 if( nArg>1 && ii==ArraySize(aDbConfig) ){ in do_meta_command()
15974 rc = shell_dbinfo_command(p, nArg, azArg); in do_meta_command()
15980 rc = recoverDatabaseCmd(p, nArg, azArg); in do_meta_command()
15991 for(i=1; i<nArg; i++){ in do_meta_command()
16066 if( nArg==2 ){ in do_meta_command()
16075 if( nArg==2 ){ in do_meta_command()
16106 if( nArg>1 && (rc = (int)integerValue(azArg[1]))!=0 ) exit(rc); in do_meta_command()
16114 if( nArg>=2 ){ in do_meta_command()
16137 expertDotCommand(p, azArg, nArg); in do_meta_command()
16167 zCmd = nArg>=2 ? azArg[1] : "help"; in do_meta_command()
16171 && nArg>=4 in do_meta_command()
16174 for(i=3; i<nArg; i++) azArg[i-2] = azArg[i]; in do_meta_command()
16175 nArg -= 2; in do_meta_command()
16218 if( nArg!=2 && nArg!=3 ) break; in do_meta_command()
16219 iRes = nArg==3 ? integerValue(azArg[2]) : -1; in do_meta_command()
16227 if( nArg!=3 ) break; in do_meta_command()
16236 if( nArg!=2 && nArg!=3 ) break; in do_meta_command()
16237 x = nArg==3 ? booleanValue(azArg[2]) : -1; in do_meta_command()
16245 if( nArg!=2 ) break; in do_meta_command()
16253 if( nArg!=2 ) break; in do_meta_command()
16264 if( nArg>=3 ){ in do_meta_command()
16293 if( nArg==2 && optionMatch(azArg[1], "indent") ){ in do_meta_command()
16295 nArg = 1; in do_meta_command()
16297 if( nArg!=1 ){ in do_meta_command()
16337 if( nArg==2 ){ in do_meta_command()
16346 if( nArg>=2 ){ in do_meta_command()
16379 for(i=1; i<nArg; i++){ in do_meta_command()
16395 }else if( strcmp(z,"-skip")==0 && i<nArg-1 ){ in do_meta_command()
16645 if( !(nArg==3 || (nArg==2 && sqlite3_stricmp(azArg[1],"off")==0)) ){ in do_meta_command()
16659 if( nArg==2 ){ in do_meta_command()
16742 if( nArg<2 ){ in do_meta_command()
16780 if( nArg==1 ){ in do_meta_command()
16785 }else if( nArg>3 ){ in do_meta_command()
16810 if( nArg==3 ){ in do_meta_command()
16821 lintDotCommand(p, azArg, nArg); in do_meta_command()
16828 if( nArg<2 ){ in do_meta_command()
16834 zProc = nArg>=3 ? azArg[2] : 0; in do_meta_command()
16846 if( nArg!=2 ){ in do_meta_command()
16857 const char *zMode = nArg>=2 ? azArg[1] : ""; in do_meta_command()
16885 set_table_name(p, nArg>=3 ? azArg[2] : "table"); in do_meta_command()
16892 }else if( nArg==1 ){ in do_meta_command()
16903 if( nArg==2 ){ in do_meta_command()
16915 for(i=1; i<nArg; i++){ in do_meta_command()
16919 if( i==nArg-1 ){ in do_meta_command()
16955 for(iName=1; iName<nArg && azArg[iName][0]=='-'; iName++){ in do_meta_command()
16974 }else if( optionMatch(z, "maxsize") && iName+1<nArg ){ in do_meta_command()
16984 zNewFilename = nArg>iName ? sqlite3_mprintf("%s", azArg[iName]) : 0; in do_meta_command()
17020 for(i=1; i<nArg; i++){ in do_meta_command()
17106 if( nArg<=1 ) goto parameter_syntax_error; in do_meta_command()
17111 if( nArg==2 && strcmp(azArg[1],"clear")==0 ){ in do_meta_command()
17119 if( nArg==2 && strcmp(azArg[1],"list")==0 ){ in do_meta_command()
17148 if( nArg==2 && strcmp(azArg[1],"init")==0 ){ in do_meta_command()
17158 if( nArg==4 && strcmp(azArg[1],"set")==0 ){ in do_meta_command()
17196 if( nArg==3 && strcmp(azArg[1],"unset")==0 ){ in do_meta_command()
17210 for(i=1; i<nArg; i++){ in do_meta_command()
17224 for(i=1; i<nArg; i++){ in do_meta_command()
17242 if( i+1>=nArg ){ in do_meta_command()
17264 if( nArg >= 2) { in do_meta_command()
17267 if( nArg >= 3) { in do_meta_command()
17279 if( nArg!=2 ){ in do_meta_command()
17303 if( nArg==2 ){ in do_meta_command()
17306 }else if( nArg==3 ){ in do_meta_command()
17348 if( nArg==2 ){ in do_meta_command()
17374 for(ii=1; ii<nArg; ii++){ in do_meta_command()
17497 int nCmd = nArg - 1; in do_meta_command()
17499 if( nArg<=1 ) goto session_syntax_error; in do_meta_command()
17501 if( nArg>=3 ){ in do_meta_command()
17695 for(i=1; i<nArg; i++){ in do_meta_command()
17702 for(i=1; i<nArg; i++){ in do_meta_command()
17723 for(i=1; i<nArg; i++){ in do_meta_command()
17819 if( nArg<2 || nArg>3 ){ in do_meta_command()
17823 if( nArg>=2 ){ in do_meta_command()
17827 if( nArg>=3 ){ in do_meta_command()
17846 for(i=1; i<nArg; i++){ in do_meta_command()
17953 if( nArg<2 ){ in do_meta_command()
17959 for(i=2; i<nArg; i++){ in do_meta_command()
17972 if( nArg!=1 ){ in do_meta_command()
18006 if( nArg==2 ){ in do_meta_command()
18008 }else if( nArg==1 ){ in do_meta_command()
18033 if( nArg>2 && c=='i' ){ in do_meta_command()
18074 if( nArg>1 ){ in do_meta_command()
18129 if( nArg>=2 ){ in do_meta_command()
18171 zCmd = nArg>=2 ? azArg[1] : "help"; in do_meta_command()
18214 if( nArg==3 ){ in do_meta_command()
18226 if( nArg==2 ){ in do_meta_command()
18234 if( nArg==3 ){ in do_meta_command()
18243 if( nArg==3 || nArg==4 ){ in do_meta_command()
18250 if( nArg==3 ){ in do_meta_command()
18265 if( nArg==3 ){ in do_meta_command()
18275 if( nArg==3 ){ in do_meta_command()
18289 if( nArg==5 ){ in do_meta_command()
18300 if( nArg==2 ){ in do_meta_command()
18320 sqlite3_busy_timeout(p->db, nArg>=2 ? (int)integerValue(azArg[1]) : 0); in do_meta_command()
18324 if( nArg==2 ){ in do_meta_command()
18341 for(jj=1; jj<nArg; jj++){ in do_meta_command()
18391 if( nArg<2 ){ in do_meta_command()
18401 assert( azArg[nArg]==0 ); in do_meta_command()
18402 sqlite3_drop_modules(p->db, nArg>2 ? (const char**)(azArg+2) : 0); in do_meta_command()
18404 for(ii=1; ii<nArg; ii++){ in do_meta_command()
18413 if( nArg<2 ){ in do_meta_command()
18420 if( nArg!=4 ){ in do_meta_command()
18432 if( nArg!=5 ){ in do_meta_command()
18444 if( nArg!=5 ){ in do_meta_command()
18456 if( nArg!=3 ){ in do_meta_command()
18494 const char *zDbName = nArg==2 ? azArg[1] : "main"; in do_meta_command()
18526 const char *zDbName = nArg==2 ? azArg[1] : "main"; in do_meta_command()
18539 sqlite3WhereTrace = nArg>=2 ? booleanValue(azArg[1]) : 0xff; in do_meta_command()
18545 assert( nArg<=ArraySize(azArg) ); in do_meta_command()
18546 for(j=1; j<nArg && j<ArraySize(p->colWidth); j++){ in do_meta_command()