Lines Matching defs:nArg

4198 ** ^The third parameter (nArg)
4245 ** nArg parameter is a better match than a function implementation with
4246 ** a negative nArg. ^A function where the preferred text encoding
4263 int nArg,
4273 int nArg,
4283 int nArg,
5346 int (*xFindFunction)(sqlite3_vtab *pVtab, int nArg, const char *zName,
5563 SQLITE_API int sqlite3_overload_function(sqlite3*, const char *zFuncName, int nArg);
6940 void (*xNotify)(void **apArg, int nArg), /* Callback function to invoke */
9626 i16 nArg; /* Number of arguments. -1 means unlimited */
9674 ** FUNCTION(zName, nArg, iArg, bNC, xFunc)
9676 ** implemented by C function xFunc that accepts nArg arguments. The
9681 ** AGGREGATE(zName, nArg, iArg, bNC, xStep, xFinal)
9687 ** LIKEFUNC(zName, nArg, pArg, flags)
9689 ** that accepts nArg arguments and is implemented by a call to C
9695 #define FUNCTION(zName, nArg, iArg, bNC, xFunc) \
9696 {nArg, SQLITE_UTF8, bNC*SQLITE_FUNC_NEEDCOLL, \
9698 #define STR_FUNCTION(zName, nArg, pArg, bNC, xFunc) \
9699 {nArg, SQLITE_UTF8, bNC*SQLITE_FUNC_NEEDCOLL, \
9701 #define LIKEFUNC(zName, nArg, arg, flags) \
9702 {nArg, SQLITE_UTF8, flags, (void *)arg, 0, likeFunc, 0, 0, #zName, 0, 0}
9703 #define AGGREGATE(zName, nArg, arg, nc, xStep, xFinal) \
9704 {nArg, SQLITE_UTF8, nc*SQLITE_FUNC_NEEDCOLL, \
11737 SQLITE_PRIVATE FuncDef *sqlite3VtabOverloadFunction(sqlite3 *,FuncDef*, int nArg, Expr*);
59205 sqlite3_snprintf(nTemp, zTemp, "%s(%d)", pDef->zName, pDef->nArg);
59775 int nArg; /* Number of arguments in subprograms */
59790 nArg = pParse->nMaxArg;
59809 resolveP2Values(p, &nArg);
59833 p->apArg = allocSpace(p->apArg, nArg*sizeof(Mem*), &zCsr, zEnd, &nByte);
64050 int nArg;
64081 int nArg;
69359 int nArg;
69384 u.cl.nArg = (int)u.cl.pArgc->u.i;
69391 for(u.cl.i = 0; u.cl.i<u.cl.nArg; u.cl.i++){
69397 rc = u.cl.pModule->xFilter(u.cl.pVtabCursor, u.cl.iQuery, pOp->p4.z, u.cl.nArg, u.cl.apArg);
69575 int nArg;
69587 u.cp.nArg = pOp->p2;
69593 for(u.cp.i=0; u.cp.i<u.cp.nArg; u.cp.i++){
69601 rc = u.cp.pModule->xUpdate(u.cp.pVtab, u.cp.nArg, u.cp.apArg, &u.cp.rowid);
69605 assert( u.cp.nArg>1 && u.cp.apArg[0] && (u.cp.apArg[0]->flags&MEM_Null) );
78679 sqlite3VdbeAddOp3(v, OP_Function, 0, regArgs+3-pFunc->nArg, regArgs+3);
78680 assert( pFunc->nArg==-1 || (pFunc->nArg&0xff)==pFunc->nArg );
78681 sqlite3VdbeChangeP5(v, (u8)(pFunc->nArg));
78704 1, /* nArg */
78726 3, /* nArg */
83161 ** matches the request for a function with nArg arguments in a system
83167 ** 0: Not a match, or if nArg<0 and the function is has no implementation.
83180 static int matchQuality(FuncDef *p, int nArg, u8 enc){
83182 if( p->nArg==-1 || p->nArg==nArg
83183 || (nArg==-1 && (p->xFunc!=0 || p->xStep!=0))
83186 if( p->nArg==nArg || nArg==-1 ){
83253 ** and the nArg parameter is -1, then only a function that accepts
83256 ** If createFlag is false and nArg is -1, then the first valid
83268 int nArg, /* Number of arguments. -1 means any number */
83285 int score = matchQuality(p, nArg, enc);
83310 int score = matchQuality(p, nArg, enc);
83323 if( createFlag && (bestScore<6 || pBest->nArg!=nArg) &&
83326 pBest->nArg = (u16)nArg;
89043 int (*overload_function)(sqlite3*, const char *zFuncName, int nArg);
95935 int nArg;
95941 nArg = pList->nExpr;
95942 regAgg = sqlite3GetTempRange(pParse, nArg);
95945 nArg = 0;
95950 assert( nArg==1 );
95958 for(j=0, pItem=pList->a; !pColl && j<nArg; j++, pItem++){
95968 sqlite3VdbeChangeP5(v, (u8)nArg);
95969 sqlite3ExprCacheAffinityChange(pParse, regAgg, nArg);
95970 sqlite3ReleaseTempRange(pParse, regAgg, nArg);
99730 int nArg = pTab->nModuleArg;
99752 rc = xConstruct(db, pMod->pAux, nArg, azArg, &pVTable->pVtab, &zErr);
100210 int nArg, /* Number of arguments to the function */
100244 rc = pMod->xFindFunction(pVtab, nArg, zLowerName, &xFunc, &pArg);
111177 int nArg,
111193 (nArg<-1 || nArg>SQLITE_MAX_FUNCTION_ARG) ||
111210 rc = sqlite3CreateFunc(db, zFunctionName, nArg, SQLITE_UTF8,
111213 rc = sqlite3CreateFunc(db, zFunctionName, nArg, SQLITE_UTF16LE,
111230 p = sqlite3FindFunction(db, zFunctionName, nName, nArg, (u8)enc, 0);
111231 if( p && p->iPrefEnc==enc && p->nArg==nArg ){
111242 p = sqlite3FindFunction(db, zFunctionName, nName, nArg, (u8)enc, 1);
111261 p->nArg = (u16)nArg;
111271 int nArg,
111278 return sqlite3_create_function_v2(db, zFunc, nArg, enc, p, xFunc, xStep,
111285 int nArg,
111305 rc = sqlite3CreateFunc(db, zFunc, nArg, enc, p, xFunc, xStep, xFinal, pArg);
111322 int nArg,
111334 rc = sqlite3CreateFunc(db, zFunc8, nArg, eTextRep, p, xFunc, xStep, xFinal,0);
111358 int nArg
111363 if( sqlite3FindFunction(db, zName, nName, nArg, SQLITE_UTF8, 0)==0 ){
111364 sqlite3CreateFunc(db, zName, nArg, SQLITE_UTF8,
113326 int nArg = 0; /* Number of entries in aArg[] */
113347 if( p->xUnlockNotify!=xUnlockNotify && nArg!=0 ){
113348 xUnlockNotify(aArg, nArg);
113349 nArg = 0;
113354 assert( nArg<=(int)ArraySize(aStatic) || aArg==aDyn );
113355 if( (!aDyn && nArg==(int)ArraySize(aStatic))
113356 || (aDyn && nArg==(int)(sqlite3MallocSize(aDyn)/sizeof(void*)))
113359 void **pNew = (void **)sqlite3Malloc(nArg*sizeof(void *)*2);
113361 memcpy(pNew, aArg, nArg*sizeof(void *));
113389 xUnlockNotify(aArg, nArg);
113390 nArg = 0;
113395 aArg[nArg++] = p->pUnlockArg;
113412 if( nArg!=0 ){
113413 xUnlockNotify(aArg, nArg);
117017 int nArg, /* Size of argument array */
117021 return sqlite3Fts3UpdateMethod(pVtab, nArg, apVal, pRowid);
117252 int nArg, /* Number of SQL function arguments */
117269 UNUSED_PARAMETER(nArg);
125384 int nArg, /* Size of argument array */
125403 if( nArg>1
125429 if( nArg>1 ){
125478 if( nArg>1 && rc==SQLITE_OK ){
126665 int nArg; /* Bytes in zArg */
126678 nArg = (int)strlen(zArg);
126679 pCsr->aMatchinfo = (u32 *)sqlite3_malloc(sizeof(u32)*nMatchinfo + nArg + 1);
126684 memcpy(pCsr->zMatchinfo, zArg, nArg+1);
130158 static void rtreenode(sqlite3_context *ctx, int nArg, sqlite3_value **apArg){
130164 UNUSED_PARAMETER(nArg);
130197 static void rtreedepth(sqlite3_context *ctx, int nArg, sqlite3_value **apArg){
130198 UNUSED_PARAMETER(nArg);
130252 static void geomCallback(sqlite3_context *ctx, int nArg, sqlite3_value **aArg){
130257 nBlob = sizeof(RtreeMatchArg) + (nArg-1)*sizeof(double);
130266 pBlob->nParam = nArg;
130267 for(i=0; i<nArg; i++){
130554 static void icuRegexpFunc(sqlite3_context *p, int nArg, sqlite3_value **apArg){
130560 (void)nArg; /* Unused parameter */
130637 static void icuCaseFunc16(sqlite3_context *p, int nArg, sqlite3_value **apArg){
130646 assert(nArg==1 || nArg==2);
130647 if( nArg==2 ){
130724 int nArg,
130734 assert(nArg==2);
130764 int nArg; /* Number of arguments */
130793 db, p->zName, p->nArg, p->enc, p->pContext, p->xFunc, 0, 0