Lines Matching defs:nArg
3663 ** ^The third parameter (nArg)
3699 ** nArg parameter is a better match than a function implementation with
3700 ** a negative nArg. ^A function where the preferred text encoding
3722 int nArg,
3732 int nArg,
4697 int (*xFindFunction)(sqlite3_vtab *pVtab, int nArg, const char *zName,
4901 SQLITE_API SQLITE_EXPERIMENTAL int sqlite3_overload_function(sqlite3*, const char *zFuncName, int nArg);
6158 void (*xNotify)(void **apArg, int nArg), /* Callback function to invoke */
8479 i16 nArg; /* Number of arguments. -1 means unlimited */
8506 ** FUNCTION(zName, nArg, iArg, bNC, xFunc)
8508 ** implemented by C function xFunc that accepts nArg arguments. The
8513 ** AGGREGATE(zName, nArg, iArg, bNC, xStep, xFinal)
8519 ** LIKEFUNC(zName, nArg, pArg, flags)
8521 ** that accepts nArg arguments and is implemented by a call to C
8527 #define FUNCTION(zName, nArg, iArg, bNC, xFunc) \
8528 {nArg, SQLITE_UTF8, bNC*SQLITE_FUNC_NEEDCOLL, \
8530 #define STR_FUNCTION(zName, nArg, pArg, bNC, xFunc) \
8531 {nArg, SQLITE_UTF8, bNC*SQLITE_FUNC_NEEDCOLL, \
8533 #define LIKEFUNC(zName, nArg, arg, flags) \
8534 {nArg, SQLITE_UTF8, flags, (void *)arg, 0, likeFunc, 0, 0, #zName, 0}
8535 #define AGGREGATE(zName, nArg, arg, nc, xStep, xFinal) \
8536 {nArg, SQLITE_UTF8, nc*SQLITE_FUNC_NEEDCOLL, \
10498 SQLITE_PRIVATE FuncDef *sqlite3VtabOverloadFunction(sqlite3 *,FuncDef*, int nArg, Expr*);
48316 sqlite3_snprintf(nTemp, zTemp, "%s(%d)", pDef->zName, pDef->nArg);
48771 int nArg, /* Maximum number of args in SubPrograms */
48809 resolveP2Values(p, &nArg);
48832 p->apArg = allocSpace(p->apArg, nArg*sizeof(Mem*), &zCsr, zEnd, &nByte);
52938 int nArg;
52969 int nArg;
57878 int nArg;
57902 u.cg.nArg = (int)u.cg.pArgc->u.i;
57909 for(u.cg.i = 0; u.cg.i<u.cg.nArg; u.cg.i++){
57915 rc = u.cg.pModule->xFilter(u.cg.pVtabCursor, u.cg.iQuery, pOp->p4.z, u.cg.nArg, u.cg.apArg);
58098 int nArg;
58107 u.ck.nArg = pOp->p2;
58112 for(u.ck.i=0; u.ck.i<u.ck.nArg; u.ck.i++){
58117 rc = u.ck.pModule->xUpdate(u.ck.pVtab, u.ck.nArg, u.ck.apArg, &u.ck.rowid);
58122 assert( u.ck.nArg>1 && u.ck.apArg[0] && (u.ck.apArg[0]->flags&MEM_Null) );
66028 sqlite3VdbeAddOp3(v, OP_Function, 0, regArgs+3-pFunc->nArg, regArgs+3);
66029 assert( pFunc->nArg==-1 || (pFunc->nArg&0xff)==pFunc->nArg );
66030 sqlite3VdbeChangeP5(v, (u8)(pFunc->nArg));
66053 1, /* nArg */
66074 3, /* nArg */
70410 ** matches the request for a function with nArg arguments in a system
70416 ** 0: Not a match, or if nArg<0 and the function is has no implementation.
70429 static int matchQuality(FuncDef *p, int nArg, u8 enc){
70431 if( p->nArg==-1 || p->nArg==nArg
70432 || (nArg==-1 && (p->xFunc!=0 || p->xStep!=0))
70435 if( p->nArg==nArg || nArg==-1 ){
70502 ** and the nArg parameter is -1, then only a function that accepts
70505 ** If createFlag is false and nArg is -1, then the first valid
70517 int nArg, /* Number of arguments. -1 means any number */
70534 int score = matchQuality(p, nArg, enc);
70554 int score = matchQuality(p, nArg, enc);
70567 if( createFlag && (bestScore<6 || pBest->nArg!=nArg) &&
70570 pBest->nArg = (u16)nArg;
76130 int (*overload_function)(sqlite3*, const char *zFuncName, int nArg);
82699 int nArg;
82705 nArg = pList->nExpr;
82706 regAgg = sqlite3GetTempRange(pParse, nArg);
82709 nArg = 0;
82714 assert( nArg==1 );
82722 for(j=0, pItem=pList->a; !pColl && j<nArg; j++, pItem++){
82732 sqlite3VdbeChangeP5(v, (u8)nArg);
82733 sqlite3ExprCacheAffinityChange(pParse, regAgg, nArg);
82734 sqlite3ReleaseTempRange(pParse, regAgg, nArg);
86253 int nArg = pTab->nModuleArg;
86274 rc = xConstruct(db, pMod->pAux, nArg, azArg, &pVTable->pVtab, &zErr);
86670 int nArg, /* Number of arguments to the function */
86704 rc = pMod->xFindFunction(pVtab, nArg, zLowerName, &xFunc, &pArg);
96390 int nArg,
96405 (nArg<-1 || nArg>SQLITE_MAX_FUNCTION_ARG) ||
96422 rc = sqlite3CreateFunc(db, zFunctionName, nArg, SQLITE_UTF8,
96425 rc = sqlite3CreateFunc(db, zFunctionName, nArg, SQLITE_UTF16LE,
96442 p = sqlite3FindFunction(db, zFunctionName, nName, nArg, (u8)enc, 0);
96443 if( p && p->iPrefEnc==enc && p->nArg==nArg ){
96454 p = sqlite3FindFunction(db, zFunctionName, nName, nArg, (u8)enc, 1);
96464 p->nArg = (u16)nArg;
96474 int nArg,
96483 rc = sqlite3CreateFunc(db, zFunctionName, nArg, enc, p, xFunc, xStep, xFinal);
96493 int nArg,
96505 rc = sqlite3CreateFunc(db, zFunc8, nArg, eTextRep, p, xFunc, xStep, xFinal);
96529 int nArg
96534 if( sqlite3FindFunction(db, zName, nName, nArg, SQLITE_UTF8, 0)==0 ){
96535 sqlite3CreateFunc(db, zName, nArg, SQLITE_UTF8,
98053 int nArg = 0; /* Number of entries in aArg[] */
98074 if( p->xUnlockNotify!=xUnlockNotify && nArg!=0 ){
98075 xUnlockNotify(aArg, nArg);
98076 nArg = 0;
98081 assert( nArg<=(int)ArraySize(aStatic) || aArg==aDyn );
98082 if( (!aDyn && nArg==(int)ArraySize(aStatic))
98083 || (aDyn && nArg==(int)(sqlite3DbMallocSize(db, aDyn)/sizeof(void*)))
98086 void **pNew = (void **)sqlite3Malloc(nArg*sizeof(void *)*2);
98088 memcpy(pNew, aArg, nArg*sizeof(void *));
98116 xUnlockNotify(aArg, nArg);
98117 nArg = 0;
98122 aArg[nArg++] = p->pUnlockArg;
98139 if( nArg!=0 ){
98140 xUnlockNotify(aArg, nArg);
100712 int nArg, /* Size of argument array */
100716 return sqlite3Fts3UpdateMethod(pVtab, nArg, apVal, pRowid);
101008 int nArg, /* Number of SQL function arguments */
101026 UNUSED_PARAMETER(nArg);
106125 int nArg, /* Size of argument array */
106163 if( nArg>1 && rc==SQLITE_OK ){
110315 static void rtreenode(sqlite3_context *ctx, int nArg, sqlite3_value **apArg){
110353 static void rtreedepth(sqlite3_context *ctx, int nArg, sqlite3_value **apArg){
110647 static void icuRegexpFunc(sqlite3_context *p, int nArg, sqlite3_value **apArg){
110728 static void icuCaseFunc16(sqlite3_context *p, int nArg, sqlite3_value **apArg){
110737 assert(nArg==1 || nArg==2);
110738 if( nArg==2 ){
110815 int nArg,
110825 assert(nArg==2);
110855 int nArg; /* Number of arguments */
110884 db, p->zName, p->nArg, p->enc, p->pContext, p->xFunc, 0, 0