Lines Matching defs:nArg

4496 ** ^The third parameter (nArg)
4543 ** nArg parameter is a better match than a function implementation with
4544 ** a negative nArg. ^A function where the preferred text encoding
4561 int nArg,
4571 int nArg,
4581 int nArg,
5759 int (*xFindFunction)(sqlite3_vtab *pVtab, int nArg, const char *zName,
5976 SQLITE_API int sqlite3_overload_function(sqlite3*, const char *zFuncName, int nArg);
7426 void (*xNotify)(void **apArg, int nArg), /* Callback function to invoke */
10225 i16 nArg; /* Number of arguments. -1 means unlimited */
10276 ** FUNCTION(zName, nArg, iArg, bNC, xFunc)
10278 ** implemented by C function xFunc that accepts nArg arguments. The
10283 ** AGGREGATE(zName, nArg, iArg, bNC, xStep, xFinal)
10289 ** LIKEFUNC(zName, nArg, pArg, flags)
10291 ** that accepts nArg arguments and is implemented by a call to C
10297 #define FUNCTION(zName, nArg, iArg, bNC, xFunc) \
10298 {nArg, SQLITE_UTF8, (bNC*SQLITE_FUNC_NEEDCOLL), \
10300 #define FUNCTION2(zName, nArg, iArg, bNC, xFunc, extraFlags) \
10301 {nArg, SQLITE_UTF8, (bNC*SQLITE_FUNC_NEEDCOLL)|extraFlags, \
10303 #define STR_FUNCTION(zName, nArg, pArg, bNC, xFunc) \
10304 {nArg, SQLITE_UTF8, bNC*SQLITE_FUNC_NEEDCOLL, \
10306 #define LIKEFUNC(zName, nArg, arg, flags) \
10307 {nArg, SQLITE_UTF8, flags, (void *)arg, 0, likeFunc, 0, 0, #zName, 0, 0}
10308 #define AGGREGATE(zName, nArg, arg, nc, xStep, xFinal) \
10309 {nArg, SQLITE_UTF8, nc*SQLITE_FUNC_NEEDCOLL, \
12418 SQLITE_PRIVATE FuncDef *sqlite3VtabOverloadFunction(sqlite3 *,FuncDef*, int nArg, Expr*);
60832 sqlite3_snprintf(nTemp, zTemp, "%s(%d)", pDef->zName, pDef->nArg);
61406 int nArg; /* Number of arguments in subprograms */
61422 nArg = pParse->nMaxArg;
61443 resolveP2Values(p, &nArg);
61467 p->apArg = allocSpace(p->apArg, nArg*sizeof(Mem*), &zCsr, zEnd, &nByte);
65845 int nArg;
65876 int nArg;
71246 int nArg;
71271 u.cn.nArg = (int)u.cn.pArgc->u.i;
71278 for(u.cn.i = 0; u.cn.i<u.cn.nArg; u.cn.i++){
71284 rc = u.cn.pModule->xFilter(u.cn.pVtabCursor, u.cn.iQuery, pOp->p4.z, u.cn.nArg, u.cn.apArg);
71467 int nArg;
71479 u.cr.nArg = pOp->p2;
71485 for(u.cr.i=0; u.cr.i<u.cr.nArg; u.cr.i++){
71493 rc = u.cr.pModule->xUpdate(u.cr.pVtab, u.cr.nArg, u.cr.apArg, &u.cr.rowid);
71497 assert( u.cr.nArg>1 && u.cr.apArg[0] && (u.cr.apArg[0]->flags&MEM_Null) );
80515 2, /* nArg */
80608 5, /* nArg */
80650 -1, /* nArg */
81722 sqlite3VdbeAddOp3(v, OP_Function, 0, regArgs+3-pFunc->nArg, regArgs+3);
81723 assert( pFunc->nArg==-1 || (pFunc->nArg&0xff)==pFunc->nArg );
81724 sqlite3VdbeChangeP5(v, (u8)(pFunc->nArg));
81747 1, /* nArg */
81769 3, /* nArg */
86243 ** matches the request for a function with nArg arguments in a system
86247 ** If nArg is -1 that means to only return a match (non-zero) if p->nArg
86251 ** If nArg is -2 that means that we are searching for any function
86265 ** If nArg==(-2) then any function with a non-null xStep or xFunc is
86272 int nArg, /* Desired number of arguments. (-1)==any */
86277 /* nArg of -2 is a special case */
86278 if( nArg==(-2) ) return (p->xFunc==0 && p->xStep==0) ? 0 : FUNC_PERFECT_MATCH;
86281 if( p->nArg!=nArg && p->nArg>=0 ) return 0;
86285 if( p->nArg==nArg ){
86355 ** If nArg is -2, then the first valid function found is returned. A
86356 ** function is valid if either xFunc or xStep is non-zero. The nArg==(-2)
86358 ** of arguments. If nArg is -2, then createFlag must be 0.
86368 int nArg, /* Number of arguments. -1 means any number */
86377 assert( nArg>=(-2) );
86378 assert( nArg>=(-1) || createFlag==0 );
86386 int score = matchQuality(p, nArg, enc);
86411 int score = matchQuality(p, nArg, enc);
86427 pBest->nArg = (u16)nArg;
92341 int (*overload_function)(sqlite3*, const char *zFuncName, int nArg);
99880 int nArg;
99886 nArg = pList->nExpr;
99887 regAgg = sqlite3GetTempRange(pParse, nArg);
99890 nArg = 0;
99895 assert( nArg==1 );
99903 for(j=0, pItem=pList->a; !pColl && j<nArg; j++, pItem++){
99914 sqlite3VdbeChangeP5(v, (u8)nArg);
99915 sqlite3ExprCacheAffinityChange(pParse, regAgg, nArg);
99916 sqlite3ReleaseTempRange(pParse, regAgg, nArg);
103752 int nArg = pTab->nModuleArg;
103779 rc = xConstruct(db, pMod->pAux, nArg, azArg, &pVTable->pVtab, &zErr);
104237 int nArg, /* Number of arguments to the function */
104271 rc = pMod->xFindFunction(pVtab, nArg, zLowerName, &xFunc, &pArg);
116124 int nArg,
116140 (nArg<-1 || nArg>SQLITE_MAX_FUNCTION_ARG) ||
116157 rc = sqlite3CreateFunc(db, zFunctionName, nArg, SQLITE_UTF8,
116160 rc = sqlite3CreateFunc(db, zFunctionName, nArg, SQLITE_UTF16LE,
116177 p = sqlite3FindFunction(db, zFunctionName, nName, nArg, (u8)enc, 0);
116178 if( p && p->iPrefEnc==enc && p->nArg==nArg ){
116189 p = sqlite3FindFunction(db, zFunctionName, nName, nArg, (u8)enc, 1);
116208 p->nArg = (u16)nArg;
116218 int nArg,
116225 return sqlite3_create_function_v2(db, zFunc, nArg, enc, p, xFunc, xStep,
116232 int nArg,
116252 rc = sqlite3CreateFunc(db, zFunc, nArg, enc, p, xFunc, xStep, xFinal, pArg);
116269 int nArg,
116281 rc = sqlite3CreateFunc(db, zFunc8, nArg, eTextRep, p, xFunc, xStep, xFinal,0);
116305 int nArg
116310 if( sqlite3FindFunction(db, zName, nName, nArg, SQLITE_UTF8, 0)==0 ){
116311 rc = sqlite3CreateFunc(db, zName, nArg, SQLITE_UTF8,
118346 int nArg = 0; /* Number of entries in aArg[] */
118367 if( p->xUnlockNotify!=xUnlockNotify && nArg!=0 ){
118368 xUnlockNotify(aArg, nArg);
118369 nArg = 0;
118374 assert( nArg<=(int)ArraySize(aStatic) || aArg==aDyn );
118375 if( (!aDyn && nArg==(int)ArraySize(aStatic))
118376 || (aDyn && nArg==(int)(sqlite3MallocSize(aDyn)/sizeof(void*)))
118379 void **pNew = (void **)sqlite3Malloc(nArg*sizeof(void *)*2);
118381 memcpy(pNew, aArg, nArg*sizeof(void *));
118409 xUnlockNotify(aArg, nArg);
118410 nArg = 0;
118415 aArg[nArg++] = p->pUnlockArg;
118432 if( nArg!=0 ){
118433 xUnlockNotify(aArg, nArg);
122404 int nArg, /* Size of argument array */
122408 return sqlite3Fts3UpdateMethod(pVtab, nArg, apVal, pRowid);
122674 int nArg, /* Number of SQL function arguments */
122691 UNUSED_PARAMETER(nArg);
133887 int nArg, /* Size of argument array */
133901 nArg==1 /* DELETE operations */
133902 || nArg==(2 + p->nColumn + 3) /* INSERT or UPDATE operations */
133909 if( nArg>1
133917 if( nArg>1 && sqlite3_value_int(apVal[2 + p->nColumn + 2])<0 ){
133940 if( nArg>1 && p->zContentTbl==0 ){
133988 if( nArg>1 && rc==SQLITE_OK ){
135198 int nArg; /* Bytes in zArg */
135211 nArg = (int)strlen(zArg);
135212 pCsr->aMatchinfo = (u32 *)sqlite3_malloc(sizeof(u32)*nMatchinfo + nArg + 1);
135217 memcpy(pCsr->zMatchinfo, zArg, nArg+1);
135783 int nArg, /* Size of array argv[] */
135796 for(i=0; rc==SQLITE_OK && i<nArg; i++){
139525 static void rtreenode(sqlite3_context *ctx, int nArg, sqlite3_value **apArg){
139531 UNUSED_PARAMETER(nArg);
139570 static void rtreedepth(sqlite3_context *ctx, int nArg, sqlite3_value **apArg){
139571 UNUSED_PARAMETER(nArg);
139629 static void geomCallback(sqlite3_context *ctx, int nArg, sqlite3_value **aArg){
139634 nBlob = sizeof(RtreeMatchArg) + (nArg-1)*sizeof(RtreeDValue);
139643 pBlob->nParam = nArg;
139644 for(i=0; i<nArg; i++){
139935 static void icuRegexpFunc(sqlite3_context *p, int nArg, sqlite3_value **apArg){
139941 (void)nArg; /* Unused parameter */
140018 static void icuCaseFunc16(sqlite3_context *p, int nArg, sqlite3_value **apArg){
140027 assert(nArg==1 || nArg==2);
140028 if( nArg==2 ){
140105 int nArg,
140115 assert(nArg==2);
140145 int nArg; /* Number of arguments */
140174 db, p->zName, p->nArg, p->enc, p->pContext, p->xFunc, 0, 0