Lines Matching refs:nArg
818 int nArg, /* Number of result columns */ in shell_callback() argument
830 for(i=0; i<nArg; i++){ in shell_callback()
835 for(i=0; i<nArg; i++){ in shell_callback()
844 for(i=0; i<nArg; i++){ in shell_callback()
863 i==nArg-1 ? p->rowSeparator : " "); in shell_callback()
866 i==nArg-1 ? p->rowSeparator : " "); in shell_callback()
871 for(i=0; i<nArg; i++){ in shell_callback()
881 i==nArg-1 ? p->rowSeparator : " "); in shell_callback()
886 for(i=0; i<nArg; i++){ in shell_callback()
905 i==nArg-1 ? p->rowSeparator : " "); in shell_callback()
909 i==nArg-1 ? p->rowSeparator : " "); in shell_callback()
917 for(i=0; i<nArg; i++){ in shell_callback()
919 i==nArg-1 ? p->rowSeparator : p->colSeparator); in shell_callback()
923 for(i=0; i<nArg; i++){ in shell_callback()
927 if( i<nArg-1 ){ in shell_callback()
940 for(i=0; i<nArg; i++){ in shell_callback()
949 for(i=0; i<nArg; i++){ in shell_callback()
959 for(i=0; i<nArg; i++){ in shell_callback()
961 if(i<nArg-1) fprintf(p->out, "%s", p->colSeparator); in shell_callback()
966 for(i=0; i<nArg; i++){ in shell_callback()
968 if(i<nArg-1) fprintf(p->out, "%s", p->colSeparator); in shell_callback()
976 for(i=0; i<nArg; i++){ in shell_callback()
977 output_csv(p, azCol[i] ? azCol[i] : "", i<nArg-1); in shell_callback()
981 if( nArg>0 ){ in shell_callback()
982 for(i=0; i<nArg; i++){ in shell_callback()
983 output_csv(p, azArg[i], i<nArg-1); in shell_callback()
996 for(i=0; i<nArg; i++){ in shell_callback()
1003 for(i=0; i<nArg; i++){ in shell_callback()
1030 for(i=0; i<nArg; i++){ in shell_callback()
1037 for(i=0; i<nArg; i++){ in shell_callback()
1052 static int callback(void *pArg, int nArg, char **azArg, char **azCol){ in callback() argument
1054 return shell_callback(pArg, nArg, azArg, azCol, NULL); in callback()
1646 static int dump_callback(void *pArg, int nArg, char **azArg, char **azCol){ in dump_callback() argument
1655 if( nArg!=3 ) return 1; in dump_callback()
2531 static int shell_dbinfo_command(ShellState *p, int nArg, char **azArg){ in shell_dbinfo_command() argument
2561 char *zDb = nArg>=2 ? azArg[1] : "main"; in shell_dbinfo_command()
2619 int nArg = 0; in do_meta_command() local
2626 while( zLine[h] && nArg<ArraySize(azArg) ){ in do_meta_command()
2631 azArg[nArg++] = &zLine[h]; in do_meta_command()
2639 if( delim=='"' ) resolve_backslashes(azArg[nArg-1]); in do_meta_command()
2641 azArg[nArg++] = &zLine[h]; in do_meta_command()
2644 resolve_backslashes(azArg[nArg-1]); in do_meta_command()
2650 if( nArg==0 ) return 0; /* no tokens, no error */ in do_meta_command()
2661 for(j=1; j<nArg; j++){ in do_meta_command()
2710 if( nArg==2 ){ in do_meta_command()
2719 if( nArg==2 ){ in do_meta_command()
2739 if( nArg==2 ){ in do_meta_command()
2767 rc = shell_dbinfo_command(p, nArg, azArg); in do_meta_command()
2775 if( nArg!=1 && nArg!=2 ){ in do_meta_command()
2785 if( nArg==1 ){ in do_meta_command()
2800 for(i=1; i<nArg; i++){ in do_meta_command()
2825 if( nArg==2 ){ in do_meta_command()
2834 if( nArg==2 ){ in do_meta_command()
2843 if( nArg>1 && (rc = (int)integerValue(azArg[1]))!=0 ) exit(rc); in do_meta_command()
2848 int val = nArg>=2 ? booleanValue(azArg[1]) : 1; in do_meta_command()
2886 if( nArg!=1 ){ in do_meta_command()
2934 if( nArg==2 ){ in do_meta_command()
2960 if( nArg!=3 ){ in do_meta_command()
3151 if( nArg==1 ){ in do_meta_command()
3161 }else if( nArg==2 ){ in do_meta_command()
3193 if( nArg<2 ){ in do_meta_command()
3230 if( nArg==1 ){ in do_meta_command()
3235 }else if( nArg>3 ){ in do_meta_command()
3260 if( nArg==3 ){ in do_meta_command()
3273 if( nArg<2 ){ in do_meta_command()
3279 zProc = nArg>=3 ? azArg[2] : 0; in do_meta_command()
3291 if( nArg!=2 ){ in do_meta_command()
3302 const char *zMode = nArg>=2 ? azArg[1] : ""; in do_meta_command()
3325 set_table_name(p, nArg>=3 ? azArg[2] : "table"); in do_meta_command()
3338 if( nArg==2 ){ in do_meta_command()
3352 if( nArg>=2 ){ in do_meta_command()
3370 const char *zFile = nArg>=2 ? azArg[1] : "stdout"; in do_meta_command()
3371 if( nArg>2 ){ in do_meta_command()
3377 if( nArg<2 ){ in do_meta_command()
3418 for(i=1; i<nArg; i++){ in do_meta_command()
3426 if( nArg >= 2) { in do_meta_command()
3429 if( nArg >= 3) { in do_meta_command()
3440 if( nArg!=2 ){ in do_meta_command()
3462 if( nArg==2 ){ in do_meta_command()
3465 }else if( nArg==3 ){ in do_meta_command()
3508 if( nArg==2 ){ in do_meta_command()
3526 if( nArg==2 ){ in do_meta_command()
3570 }else if( nArg==1 ){ in do_meta_command()
3612 for(i=1; i<nArg; i++){ in do_meta_command()
3619 for(i=1; i<nArg; i++){ in do_meta_command()
3630 if( nArg<2 || nArg>3 ){ in do_meta_command()
3634 if( nArg>=2 ){ in do_meta_command()
3638 if( nArg>=3 ){ in do_meta_command()
3649 if( nArg<2 ){ in do_meta_command()
3655 for(i=2; i<nArg; i++){ in do_meta_command()
3666 if( nArg!=1 ){ in do_meta_command()
3696 if( nArg==2 ){ in do_meta_command()
3744 if( nArg>1 ){ in do_meta_command()
3788 if( c=='t' && n>=8 && strncmp(azArg[0], "testctrl", n)==0 && nArg>=2 ){ in do_meta_command()
3838 if( nArg==3 ){ in do_meta_command()
3853 if( nArg==2 ){ in do_meta_command()
3863 if( nArg==3 ){ in do_meta_command()
3877 if( nArg==3 ){ in do_meta_command()
3890 if( nArg==3 ){ in do_meta_command()
3902 if( nArg==5 ){ in do_meta_command()
3927 sqlite3_busy_timeout(p->db, nArg>=2 ? (int)integerValue(azArg[1]) : 0); in do_meta_command()
3931 if( nArg==2 ){ in do_meta_command()
3945 if( nArg!=2 ){ in do_meta_command()
3963 if( nArg<2 ){ in do_meta_command()
3970 if( nArg!=4 ){ in do_meta_command()
3982 if( nArg!=5 ){ in do_meta_command()
3995 if( nArg!=5 ){ in do_meta_command()
4008 if( nArg!=3 ){ in do_meta_command()
4032 const char *zDbName = nArg==2 ? azArg[1] : "main"; in do_meta_command()
4046 sqlite3WhereTrace = nArg>=2 ? booleanValue(azArg[1]) : 0xff; in do_meta_command()
4052 assert( nArg<=ArraySize(azArg) ); in do_meta_command()
4053 for(j=1; j<nArg && j<ArraySize(p->colWidth); j++){ in do_meta_command()