Lines Matching refs:nArg

4428   int nArg,
4438 int nArg,
4448 int nArg,
5717 int (*xFindFunction)(sqlite3_vtab *pVtab, int nArg, const char *zName,
5950 SQLITE_API int SQLITE_STDCALL sqlite3_overload_function(sqlite3*, const char *zFuncName, int nArg);
7459 void (*xNotify)(void **apArg, int nArg), /* Callback function to invoke */
11229 i16 nArg; /* Number of arguments. -1 means unlimited */ member
11307 #define FUNCTION(zName, nArg, iArg, bNC, xFunc) \ argument
11308 {nArg, SQLITE_FUNC_CONSTANT|SQLITE_UTF8|(bNC*SQLITE_FUNC_NEEDCOLL), \
11310 #define VFUNCTION(zName, nArg, iArg, bNC, xFunc) \ argument
11311 {nArg, SQLITE_UTF8|(bNC*SQLITE_FUNC_NEEDCOLL), \
11313 #define FUNCTION2(zName, nArg, iArg, bNC, xFunc, extraFlags) \ argument
11314 {nArg,SQLITE_FUNC_CONSTANT|SQLITE_UTF8|(bNC*SQLITE_FUNC_NEEDCOLL)|extraFlags,\
11316 #define STR_FUNCTION(zName, nArg, pArg, bNC, xFunc) \ argument
11317 {nArg, SQLITE_FUNC_CONSTANT|SQLITE_UTF8|(bNC*SQLITE_FUNC_NEEDCOLL), \
11319 #define LIKEFUNC(zName, nArg, arg, flags) \ argument
11320 {nArg, SQLITE_FUNC_CONSTANT|SQLITE_UTF8|flags, \
11322 #define AGGREGATE(zName, nArg, arg, nc, xStep, xFinal) \ argument
11323 {nArg, SQLITE_UTF8|(nc*SQLITE_FUNC_NEEDCOLL), \
11325 #define AGGREGATE2(zName, nArg, arg, nc, xStep, xFinal, extraFlags) \ argument
11326 {nArg, SQLITE_UTF8|(nc*SQLITE_FUNC_NEEDCOLL)|extraFlags, \
13059 int nArg; /* Total number of arguments */ member
13593 SQLITE_PRIVATE FuncDef *sqlite3VtabOverloadFunction(sqlite3 *,FuncDef*, int nArg, Expr*);
21492 if( p->nArg<=p->nUsed ) return 0;
21496 if( p->nArg<=p->nUsed ) return 0.0;
21500 if( p->nArg<=p->nUsed ) return 0;
65869 sqlite3_snprintf(nTemp, zTemp, "%s(%d)", pDef->zName, pDef->nArg);
66444 int nArg; /* Number of arguments in subprograms */
66461 nArg = pParse->nMaxArg;
66482 resolveP2Values(p, &nArg);
66506 p->apArg = allocSpace(p->apArg, nArg*sizeof(Mem*), &zCsr, zEnd, &nByte);
76972 int nArg;
76996 nArg = (int)pArgc->u.i;
77002 for(i = 0; i<nArg; i++){
77005 rc = pModule->xFilter(pVtabCursor, iQuery, pOp->p4.z, nArg, apArg);
77167 int nArg;
77183 nArg = pOp->p2;
77189 for(i=0; i<nArg; i++){
77196 rc = pModule->xUpdate(pVtab, nArg, apArg, &rowid);
77200 assert( nArg>1 && apArg[0] && (apArg[0]->flags&MEM_Null) );
90317 sqlite3VdbeAddOp3(v, OP_Function, 0, regArgs+3-pFunc->nArg, regArgs+3);
90318 assert( pFunc->nArg==-1 || (pFunc->nArg&0xff)==pFunc->nArg );
90319 sqlite3VdbeChangeP5(v, (u8)(pFunc->nArg));
95358 int nArg, /* Desired number of arguments. (-1)==any */
95364 if( nArg==(-2) ) return (p->xFunc==0 && p->xStep==0) ? 0 : FUNC_PERFECT_MATCH;
95367 if( p->nArg!=nArg && p->nArg>=0 ) return 0;
95371 if( p->nArg==nArg ){
95454 int nArg, /* Number of arguments. -1 means any number */
95463 assert( nArg>=(-2) );
95464 assert( nArg>=(-1) || createFlag==0 );
95471 int score = matchQuality(p, nArg, enc);
95496 int score = matchQuality(p, nArg, enc);
95512 pBest->nArg = (u16)nArg;
96662 x.nArg = argc-1;
102019 int (*overload_function)(sqlite3*, const char *zFuncName, int nArg);
111065 int nArg;
111071 nArg = pList->nExpr;
111072 regAgg = sqlite3GetTempRange(pParse, nArg);
111075 nArg = 0;
111080 testcase( nArg==0 ); /* Error condition */
111081 testcase( nArg>1 ); /* Also an error */
111089 for(j=0, pItem=pList->a; !pColl && j<nArg; j++, pItem++){
111100 sqlite3VdbeChangeP5(v, (u8)nArg);
111101 sqlite3ExprCacheAffinityChange(pParse, regAgg, nArg);
111102 sqlite3ReleaseTempRange(pParse, regAgg, nArg);
115044 int nArg = pTab->nModuleArg;
115084 rc = xConstruct(db, pMod->pAux, nArg, azArg, &pVTable->pVtab, &zErr);
115560 int nArg, /* Number of arguments to the function */
115594 rc = pMod->xFindFunction(pVtab, nArg, zLowerName, &xFunc, &pArg);
129514 int nArg,
129531 (nArg<-1 || nArg>SQLITE_MAX_FUNCTION_ARG) ||
129552 rc = sqlite3CreateFunc(db, zFunctionName, nArg, SQLITE_UTF8|extraFlags,
129555 rc = sqlite3CreateFunc(db, zFunctionName, nArg, SQLITE_UTF16LE|extraFlags,
129572 p = sqlite3FindFunction(db, zFunctionName, nName, nArg, (u8)enc, 0);
129573 if( p && (p->funcFlags & SQLITE_FUNC_ENCMASK)==enc && p->nArg==nArg ){
129584 p = sqlite3FindFunction(db, zFunctionName, nName, nArg, (u8)enc, 1);
129604 p->nArg = (u16)nArg;
129614 int nArg,
129621 return sqlite3_create_function_v2(db, zFunc, nArg, enc, p, xFunc, xStep,
129628 int nArg,
129654 rc = sqlite3CreateFunc(db, zFunc, nArg, enc, p, xFunc, xStep, xFinal, pArg);
129671 int nArg,
129687 rc = sqlite3CreateFunc(db, zFunc8, nArg, eTextRep, p, xFunc, xStep, xFinal,0);
129711 int nArg
129717 if( !sqlite3SafetyCheckOk(db) || zName==0 || nArg<-2 ){
129722 if( sqlite3FindFunction(db, zName, nName, nArg, SQLITE_UTF8, 0)==0 ){
129723 rc = sqlite3CreateFunc(db, zName, nArg, SQLITE_UTF8,
132000 int nArg = 0; /* Number of entries in aArg[] */
132021 if( p->xUnlockNotify!=xUnlockNotify && nArg!=0 ){
132022 xUnlockNotify(aArg, nArg);
132023 nArg = 0;
132028 assert( nArg<=(int)ArraySize(aStatic) || aArg==aDyn );
132029 if( (!aDyn && nArg==(int)ArraySize(aStatic))
132030 || (aDyn && nArg==(int)(sqlite3MallocSize(aDyn)/sizeof(void*)))
132033 void **pNew = (void **)sqlite3Malloc(nArg*sizeof(void *)*2);
132035 memcpy(pNew, aArg, nArg*sizeof(void *));
132063 xUnlockNotify(aArg, nArg);
132064 nArg = 0;
132069 aArg[nArg++] = p->pUnlockArg;
132086 if( nArg!=0 ){
132087 xUnlockNotify(aArg, nArg);
136331 int nArg, /* Size of argument array */
136335 return sqlite3Fts3UpdateMethod(pVtab, nArg, apVal, pRowid);
136653 int nArg, /* Number of SQL function arguments */
136670 UNUSED_PARAMETER(nArg);
148462 int nArg, /* Size of argument array */
148480 nArg==1 /* DELETE operations */
148481 || nArg==(2 + p->nColumn + 3) /* INSERT or UPDATE operations */
148488 if( nArg>1
148496 if( nArg>1 && sqlite3_value_int(apVal[2 + p->nColumn + 2])<0 ){
148522 if( nArg>1 && p->zContentTbl==0 ){
148570 if( nArg>1 && rc==SQLITE_OK ){
149842 int nArg; /* Bytes in zArg */
149855 nArg = (int)strlen(zArg);
149856 pCsr->aMatchinfo = (u32 *)sqlite3_malloc(sizeof(u32)*nMatchinfo + nArg + 1);
149861 memcpy(pCsr->zMatchinfo, zArg, nArg+1);
150427 int nArg, /* Size of array argv[] */
150440 for(i=0; rc==SQLITE_OK && i<nArg; i++){
154237 static void rtreenode(sqlite3_context *ctx, int nArg, sqlite3_value **apArg){
154243 UNUSED_PARAMETER(nArg);
154291 static void rtreedepth(sqlite3_context *ctx, int nArg, sqlite3_value **apArg){
154292 UNUSED_PARAMETER(nArg);
154359 static void geomCallback(sqlite3_context *ctx, int nArg, sqlite3_value **aArg){
154364 nBlob = sizeof(RtreeMatchArg) + (nArg-1)*sizeof(RtreeDValue);
154372 pBlob->nParam = nArg;
154373 for(i=0; i<nArg; i++){
154691 static void icuRegexpFunc(sqlite3_context *p, int nArg, sqlite3_value **apArg){
154697 (void)nArg; /* Unused parameter */
154774 static void icuCaseFunc16(sqlite3_context *p, int nArg, sqlite3_value **apArg){
154783 assert(nArg==1 || nArg==2);
154784 if( nArg==2 ){
154861 int nArg,
154871 assert(nArg==2);
154901 int nArg; /* Number of arguments */
154930 db, p->zName, p->nArg, p->enc, p->pContext, p->xFunc, 0, 0