Lines Matching refs:nArg
3989 int nArg,
3999 int nArg,
4009 int nArg,
5072 int (*xFindFunction)(sqlite3_vtab *pVtab, int nArg, const char *zName,
5284 SQLITE_API int sqlite3_overload_function(sqlite3*, const char *zFuncName, int nArg);
6617 void (*xNotify)(void **apArg, int nArg), /* Callback function to invoke */
9105 i16 nArg; /* Number of arguments. -1 means unlimited */ member
9174 #define FUNCTION(zName, nArg, iArg, bNC, xFunc) \ argument
9175 {nArg, SQLITE_UTF8, bNC*SQLITE_FUNC_NEEDCOLL, \
9177 #define STR_FUNCTION(zName, nArg, pArg, bNC, xFunc) \ argument
9178 {nArg, SQLITE_UTF8, bNC*SQLITE_FUNC_NEEDCOLL, \
9180 #define LIKEFUNC(zName, nArg, arg, flags) \ argument
9181 {nArg, SQLITE_UTF8, flags, (void *)arg, 0, likeFunc, 0, 0, #zName, 0, 0}
9182 #define AGGREGATE(zName, nArg, arg, nc, xStep, xFinal) \ argument
9183 {nArg, SQLITE_UTF8, nc*SQLITE_FUNC_NEEDCOLL, \
11179 SQLITE_PRIVATE FuncDef *sqlite3VtabOverloadFunction(sqlite3 *,FuncDef*, int nArg, Expr*);
56201 sqlite3_snprintf(nTemp, zTemp, "%s(%d)", pDef->zName, pDef->nArg);
56665 int nArg, /* Maximum number of args in SubPrograms */
56703 resolveP2Values(p, &nArg);
56726 p->apArg = allocSpace(p->apArg, nArg*sizeof(Mem*), &zCsr, zEnd, &nByte);
60939 int nArg;
60970 int nArg;
66068 int nArg;
66093 u.ch.nArg = (int)u.ch.pArgc->u.i;
66100 for(u.ch.i = 0; u.ch.i<u.ch.nArg; u.ch.i++){
66106 rc = u.ch.pModule->xFilter(u.ch.pVtabCursor, u.ch.iQuery, pOp->p4.z, u.ch.nArg, u.ch.apArg);
66284 int nArg;
66293 u.cl.nArg = pOp->p2;
66298 for(u.cl.i=0; u.cl.i<u.cl.nArg; u.cl.i++){
66305 rc = u.cl.pModule->xUpdate(u.cl.pVtab, u.cl.nArg, u.cl.apArg, &u.cl.rowid);
66308 assert( u.cl.nArg>1 && u.cl.apArg[0] && (u.cl.apArg[0]->flags&MEM_Null) );
74400 sqlite3VdbeAddOp3(v, OP_Function, 0, regArgs+3-pFunc->nArg, regArgs+3);
74401 assert( pFunc->nArg==-1 || (pFunc->nArg&0xff)==pFunc->nArg );
74402 sqlite3VdbeChangeP5(v, (u8)(pFunc->nArg));
78790 static int matchQuality(FuncDef *p, int nArg, u8 enc){
78792 if( p->nArg==-1 || p->nArg==nArg
78793 || (nArg==-1 && (p->xFunc!=0 || p->xStep!=0))
78796 if( p->nArg==nArg || nArg==-1 ){
78878 int nArg, /* Number of arguments. -1 means any number */
78895 int score = matchQuality(p, nArg, enc);
78920 int score = matchQuality(p, nArg, enc);
78933 if( createFlag && (bestScore<6 || pBest->nArg!=nArg) &&
78936 pBest->nArg = (u16)nArg;
84578 int (*overload_function)(sqlite3*, const char *zFuncName, int nArg);
91402 int nArg;
91408 nArg = pList->nExpr;
91409 regAgg = sqlite3GetTempRange(pParse, nArg);
91412 nArg = 0;
91417 assert( nArg==1 );
91425 for(j=0, pItem=pList->a; !pColl && j<nArg; j++, pItem++){
91435 sqlite3VdbeChangeP5(v, (u8)nArg);
91436 sqlite3ExprCacheAffinityChange(pParse, regAgg, nArg);
91437 sqlite3ReleaseTempRange(pParse, regAgg, nArg);
95023 int nArg = pTab->nModuleArg;
95044 rc = xConstruct(db, pMod->pAux, nArg, azArg, &pVTable->pVtab, &zErr);
95441 int nArg, /* Number of arguments to the function */
95475 rc = pMod->xFindFunction(pVtab, nArg, zLowerName, &xFunc, &pArg);
105802 int nArg,
105818 (nArg<-1 || nArg>SQLITE_MAX_FUNCTION_ARG) ||
105835 rc = sqlite3CreateFunc(db, zFunctionName, nArg, SQLITE_UTF8,
105838 rc = sqlite3CreateFunc(db, zFunctionName, nArg, SQLITE_UTF16LE,
105855 p = sqlite3FindFunction(db, zFunctionName, nName, nArg, (u8)enc, 0);
105856 if( p && p->iPrefEnc==enc && p->nArg==nArg ){
105867 p = sqlite3FindFunction(db, zFunctionName, nName, nArg, (u8)enc, 1);
105886 p->nArg = (u16)nArg;
105896 int nArg,
105903 return sqlite3_create_function_v2(db, zFunc, nArg, enc, p, xFunc, xStep,
105910 int nArg,
105930 rc = sqlite3CreateFunc(db, zFunc, nArg, enc, p, xFunc, xStep, xFinal, pArg);
105947 int nArg,
105959 rc = sqlite3CreateFunc(db, zFunc8, nArg, eTextRep, p, xFunc, xStep, xFinal,0);
105983 int nArg
105988 if( sqlite3FindFunction(db, zName, nName, nArg, SQLITE_UTF8, 0)==0 ){
105989 sqlite3CreateFunc(db, zName, nArg, SQLITE_UTF8,
107657 int nArg = 0; /* Number of entries in aArg[] */
107678 if( p->xUnlockNotify!=xUnlockNotify && nArg!=0 ){
107679 xUnlockNotify(aArg, nArg);
107680 nArg = 0;
107685 assert( nArg<=(int)ArraySize(aStatic) || aArg==aDyn );
107686 if( (!aDyn && nArg==(int)ArraySize(aStatic))
107687 || (aDyn && nArg==(int)(sqlite3MallocSize(aDyn)/sizeof(void*)))
107690 void **pNew = (void **)sqlite3Malloc(nArg*sizeof(void *)*2);
107692 memcpy(pNew, aArg, nArg*sizeof(void *));
107720 xUnlockNotify(aArg, nArg);
107721 nArg = 0;
107726 aArg[nArg++] = p->pUnlockArg;
107743 if( nArg!=0 ){
107744 xUnlockNotify(aArg, nArg);
111409 int nArg, /* Size of argument array */
111413 return sqlite3Fts3UpdateMethod(pVtab, nArg, apVal, pRowid);
111689 int nArg, /* Number of SQL function arguments */
111706 UNUSED_PARAMETER(nArg);
117381 int nArg, /* Size of argument array */
117430 if( nArg>1 && rc==SQLITE_OK ){
118756 int nArg; /* Bytes in zArg */
118769 nArg = (int)strlen(zArg);
118770 pCsr->aMatchinfo = (u32 *)sqlite3_malloc(sizeof(u32)*nMatchinfo + nArg + 1);
118775 memcpy(pCsr->zMatchinfo, zArg, nArg+1);
122232 static void rtreenode(sqlite3_context *ctx, int nArg, sqlite3_value **apArg){
122238 UNUSED_PARAMETER(nArg);
122271 static void rtreedepth(sqlite3_context *ctx, int nArg, sqlite3_value **apArg){
122272 UNUSED_PARAMETER(nArg);
122326 static void geomCallback(sqlite3_context *ctx, int nArg, sqlite3_value **aArg){
122331 nBlob = sizeof(RtreeMatchArg) + (nArg-1)*sizeof(double);
122340 pBlob->nParam = nArg;
122341 for(i=0; i<nArg; i++){
122627 static void icuRegexpFunc(sqlite3_context *p, int nArg, sqlite3_value **apArg){
122708 static void icuCaseFunc16(sqlite3_context *p, int nArg, sqlite3_value **apArg){
122717 assert(nArg==1 || nArg==2);
122718 if( nArg==2 ){
122795 int nArg,
122805 assert(nArg==2);
122835 int nArg; /* Number of arguments */
122864 db, p->zName, p->nArg, p->enc, p->pContext, p->xFunc, 0, 0