Lines Matching refs:argc

31 static void minmaxFunc(sqlite_func *context, int argc, const char **argv){  in minmaxFunc()  argument
37 if( argc==0 ) return; in minmaxFunc()
46 for(i=2; i<argc; i+=2){ in minmaxFunc()
58 static void typeofFunc(sqlite_func *context, int argc, const char **argv){ in typeofFunc() argument
59 assert( argc==2 ); in typeofFunc()
66 static void lengthFunc(sqlite_func *context, int argc, const char **argv){ in lengthFunc() argument
70 assert( argc==1 ); in lengthFunc()
84 static void absFunc(sqlite_func *context, int argc, const char **argv){ in absFunc() argument
86 assert( argc==1 ); in absFunc()
96 static void substrFunc(sqlite_func *context, int argc, const char **argv){ in substrFunc() argument
103 assert( argc==3 ); in substrFunc()
142 static void roundFunc(sqlite_func *context, int argc, const char **argv){ in roundFunc() argument
146 assert( argc==1 || argc==2 ); in roundFunc()
147 if( argv[0]==0 || (argc==2 && argv[1]==0) ) return; in roundFunc()
148 n = argc==2 ? atoi(argv[1]) : 0; in roundFunc()
159 static void upperFunc(sqlite_func *context, int argc, const char **argv){ in upperFunc() argument
162 if( argc<1 || argv[0]==0 ) return; in upperFunc()
169 static void lowerFunc(sqlite_func *context, int argc, const char **argv){ in lowerFunc() argument
172 if( argc<1 || argv[0]==0 ) return; in lowerFunc()
185 static void ifnullFunc(sqlite_func *context, int argc, const char **argv){ in ifnullFunc() argument
187 for(i=0; i<argc; i++){ in ifnullFunc()
198 static void randomFunc(sqlite_func *context, int argc, const char **argv){ in randomFunc() argument
269 static void nullifFunc(sqlite_func *context, int argc, const char **argv){ in nullifFunc() argument
279 static void versionFunc(sqlite_func *context, int argc, const char **argv){ in versionFunc() argument
294 static void quoteFunc(sqlite_func *context, int argc, const char **argv){ in quoteFunc() argument
295 if( argc<1 ) return; in quoteFunc()
324 static void soundexFunc(sqlite_func *context, int argc, const char **argv){ in soundexFunc() argument
338 assert( argc==1 ); in soundexFunc()
365 static void randStr(sqlite_func *context, int argc, const char **argv){ in randStr() argument
373 if( argc>=1 ){ in randStr()
380 if( argc>=2 ){ in randStr()
416 static void sumStep(sqlite_func *context, int argc, const char **argv){ in sumStep() argument
418 if( argc<1 ) return; in sumStep()
453 static void stdDevStep(sqlite_func *context, int argc, const char **argv){
456 if( argc<1 ) return;
488 static void countStep(sqlite_func *context, int argc, const char **argv){ in countStep() argument
491 if( (argc==0 || argv[0]) && p ){ in countStep()
514 static void minmaxStep(sqlite_func *context, int argc, const char **argv){ in minmaxStep() argument
519 assert( argc==2 ); in minmaxStep()
529 if( p==0 || argc<1 ) return; in minmaxStep()