Lines Matching refs:nArg

824   int nArg,        /* Number of result columns */  in shell_callback()  argument
836 for(i=0; i<nArg; i++){ in shell_callback()
841 for(i=0; i<nArg; i++){ in shell_callback()
850 for(i=0; i<nArg; i++){ in shell_callback()
869 i==nArg-1 ? p->rowSeparator : " "); in shell_callback()
872 i==nArg-1 ? p->rowSeparator : " "); in shell_callback()
877 for(i=0; i<nArg; i++){ in shell_callback()
887 i==nArg-1 ? p->rowSeparator : " "); in shell_callback()
892 for(i=0; i<nArg; i++){ in shell_callback()
911 i==nArg-1 ? p->rowSeparator : " "); in shell_callback()
915 i==nArg-1 ? p->rowSeparator : " "); in shell_callback()
923 for(i=0; i<nArg; i++){ in shell_callback()
925 i==nArg-1 ? p->rowSeparator : p->colSeparator); in shell_callback()
929 for(i=0; i<nArg; i++){ in shell_callback()
933 if( i<nArg-1 ){ in shell_callback()
946 for(i=0; i<nArg; i++){ in shell_callback()
955 for(i=0; i<nArg; i++){ in shell_callback()
965 for(i=0; i<nArg; i++){ in shell_callback()
967 if(i<nArg-1) fprintf(p->out, "%s", p->colSeparator); in shell_callback()
972 for(i=0; i<nArg; i++){ in shell_callback()
974 if(i<nArg-1) fprintf(p->out, "%s", p->colSeparator); in shell_callback()
982 for(i=0; i<nArg; i++){ in shell_callback()
983 output_csv(p, azCol[i] ? azCol[i] : "", i<nArg-1); in shell_callback()
987 if( nArg>0 ){ in shell_callback()
988 for(i=0; i<nArg; i++){ in shell_callback()
989 output_csv(p, azArg[i], i<nArg-1); in shell_callback()
1002 for(i=0; i<nArg; i++){ in shell_callback()
1009 for(i=0; i<nArg; i++){ in shell_callback()
1036 for(i=0; i<nArg; i++){ in shell_callback()
1043 for(i=0; i<nArg; i++){ in shell_callback()
1058 static int callback(void *pArg, int nArg, char **azArg, char **azCol){ in callback() argument
1060 return shell_callback(pArg, nArg, azArg, azCol, NULL); in callback()
1652 static int dump_callback(void *pArg, int nArg, char **azArg, char **azCol){ in dump_callback() argument
1661 if( nArg!=3 ) return 1; in dump_callback()
2553 static int shell_dbinfo_command(ShellState *p, int nArg, char **azArg){ in shell_dbinfo_command() argument
2583 char *zDb = nArg>=2 ? azArg[1] : "main"; in shell_dbinfo_command()
2641 int nArg = 0; in do_meta_command() local
2648 while( zLine[h] && nArg<ArraySize(azArg) ){ in do_meta_command()
2653 azArg[nArg++] = &zLine[h]; in do_meta_command()
2661 if( delim=='"' ) resolve_backslashes(azArg[nArg-1]); in do_meta_command()
2663 azArg[nArg++] = &zLine[h]; in do_meta_command()
2666 resolve_backslashes(azArg[nArg-1]); in do_meta_command()
2672 if( nArg==0 ) return 0; /* no tokens, no error */ in do_meta_command()
2683 for(j=1; j<nArg; j++){ in do_meta_command()
2732 if( nArg==2 ){ in do_meta_command()
2741 if( nArg==2 ){ in do_meta_command()
2761 if( nArg==2 ){ in do_meta_command()
2789 rc = shell_dbinfo_command(p, nArg, azArg); in do_meta_command()
2797 if( nArg!=1 && nArg!=2 ){ in do_meta_command()
2807 if( nArg==1 ){ in do_meta_command()
2822 for(i=1; i<nArg; i++){ in do_meta_command()
2847 if( nArg==2 ){ in do_meta_command()
2856 if( nArg==2 ){ in do_meta_command()
2865 if( nArg>1 && (rc = (int)integerValue(azArg[1]))!=0 ) exit(rc); in do_meta_command()
2870 int val = nArg>=2 ? booleanValue(azArg[1]) : 1; in do_meta_command()
2908 if( nArg!=1 ){ in do_meta_command()
2956 if( nArg==2 ){ in do_meta_command()
2982 if( nArg!=3 ){ in do_meta_command()
3173 if( nArg==1 ){ in do_meta_command()
3183 }else if( nArg==2 ){ in do_meta_command()
3215 if( nArg<2 ){ in do_meta_command()
3252 if( nArg==1 ){ in do_meta_command()
3257 }else if( nArg>3 ){ in do_meta_command()
3282 if( nArg==3 ){ in do_meta_command()
3295 if( nArg<2 ){ in do_meta_command()
3301 zProc = nArg>=3 ? azArg[2] : 0; in do_meta_command()
3313 if( nArg!=2 ){ in do_meta_command()
3324 const char *zMode = nArg>=2 ? azArg[1] : ""; in do_meta_command()
3347 set_table_name(p, nArg>=3 ? azArg[2] : "table"); in do_meta_command()
3360 if( nArg==2 ){ in do_meta_command()
3374 if( nArg>=2 ){ in do_meta_command()
3392 const char *zFile = nArg>=2 ? azArg[1] : "stdout"; in do_meta_command()
3393 if( nArg>2 ){ in do_meta_command()
3399 if( nArg<2 ){ in do_meta_command()
3440 for(i=1; i<nArg; i++){ in do_meta_command()
3448 if( nArg >= 2) { in do_meta_command()
3451 if( nArg >= 3) { in do_meta_command()
3462 if( nArg!=2 ){ in do_meta_command()
3484 if( nArg==2 ){ in do_meta_command()
3487 }else if( nArg==3 ){ in do_meta_command()
3530 if( nArg==2 ){ in do_meta_command()
3548 if( nArg==2 ){ in do_meta_command()
3592 }else if( nArg==1 ){ in do_meta_command()
3634 for(i=1; i<nArg; i++){ in do_meta_command()
3641 for(i=1; i<nArg; i++){ in do_meta_command()
3652 if( nArg<2 || nArg>3 ){ in do_meta_command()
3656 if( nArg>=2 ){ in do_meta_command()
3660 if( nArg>=3 ){ in do_meta_command()
3671 if( nArg<2 ){ in do_meta_command()
3677 for(i=2; i<nArg; i++){ in do_meta_command()
3688 if( nArg!=1 ){ in do_meta_command()
3718 if( nArg==2 ){ in do_meta_command()
3766 if( nArg>1 ){ in do_meta_command()
3810 if( c=='t' && n>=8 && strncmp(azArg[0], "testctrl", n)==0 && nArg>=2 ){ in do_meta_command()
3860 if( nArg==3 ){ in do_meta_command()
3875 if( nArg==2 ){ in do_meta_command()
3885 if( nArg==3 ){ in do_meta_command()
3899 if( nArg==3 ){ in do_meta_command()
3912 if( nArg==3 ){ in do_meta_command()
3924 if( nArg==5 ){ in do_meta_command()
3949 sqlite3_busy_timeout(p->db, nArg>=2 ? (int)integerValue(azArg[1]) : 0); in do_meta_command()
3953 if( nArg==2 ){ in do_meta_command()
3967 if( nArg!=2 ){ in do_meta_command()
3985 if( nArg<2 ){ in do_meta_command()
3992 if( nArg!=4 ){ in do_meta_command()
4004 if( nArg!=5 ){ in do_meta_command()
4017 if( nArg!=5 ){ in do_meta_command()
4030 if( nArg!=3 ){ in do_meta_command()
4054 const char *zDbName = nArg==2 ? azArg[1] : "main"; in do_meta_command()
4068 sqlite3WhereTrace = nArg>=2 ? booleanValue(azArg[1]) : 0xff; in do_meta_command()
4074 assert( nArg<=ArraySize(azArg) ); in do_meta_command()
4075 for(j=1; j<nArg && j<ArraySize(p->colWidth); j++){ in do_meta_command()