Lines Matching refs:nArg
222 ** matches the request for a function with nArg arguments in a system
228 ** 0: Not a match, or if nArg<0 and the function is has no implementation.
241 static int matchQuality(FuncDef *p, int nArg, u8 enc){
243 if( p->nArg==-1 || p->nArg==nArg
244 || (nArg==-1 && (p->xFunc!=0 || p->xStep!=0))
247 if( p->nArg==nArg || nArg==-1 ){
314 ** and the nArg parameter is -1, then only a function that accepts
317 ** If createFlag is false and nArg is -1, then the first valid
329 int nArg, /* Number of arguments. -1 means any number */
346 int score = matchQuality(p, nArg, enc);
371 int score = matchQuality(p, nArg, enc);
384 if( createFlag && (bestScore<6 || pBest->nArg!=nArg) &&
387 pBest->nArg = (u16)nArg;