Home | History | Annotate | Download | only in orig

Lines Matching defs:nArg

4326 ** ^The third parameter (nArg)
4373 ** nArg parameter is a better match than a function implementation with
4374 ** a negative nArg. ^A function where the preferred text encoding
4391 int nArg,
4401 int nArg,
4411 int nArg,
5522 int (*xFindFunction)(sqlite3_vtab *pVtab, int nArg, const char *zName,
5739 SQLITE_API int sqlite3_overload_function(sqlite3*, const char *zFuncName, int nArg);
7178 void (*xNotify)(void **apArg, int nArg), /* Callback function to invoke */
9890 i16 nArg; /* Number of arguments. -1 means unlimited */
9937 ** FUNCTION(zName, nArg, iArg, bNC, xFunc)
9939 ** implemented by C function xFunc that accepts nArg arguments. The
9944 ** AGGREGATE(zName, nArg, iArg, bNC, xStep, xFinal)
9950 ** LIKEFUNC(zName, nArg, pArg, flags)
9952 ** that accepts nArg arguments and is implemented by a call to C
9958 #define FUNCTION(zName, nArg, iArg, bNC, xFunc) \
9959 {nArg, SQLITE_UTF8, bNC*SQLITE_FUNC_NEEDCOLL, \
9961 #define STR_FUNCTION(zName, nArg, pArg, bNC, xFunc) \
9962 {nArg, SQLITE_UTF8, bNC*SQLITE_FUNC_NEEDCOLL, \
9964 #define LIKEFUNC(zName, nArg, arg, flags) \
9965 {nArg, SQLITE_UTF8, flags, (void *)arg, 0, likeFunc, 0, 0, #zName, 0, 0}
9966 #define AGGREGATE(zName, nArg, arg, nc, xStep, xFinal) \
9967 {nArg, SQLITE_UTF8, nc*SQLITE_FUNC_NEEDCOLL, \
12024 SQLITE_PRIVATE FuncDef *sqlite3VtabOverloadFunction(sqlite3 *,FuncDef*, int nArg, Expr*);
60407 sqlite3_snprintf(nTemp, zTemp, "%s(%d)", pDef->zName, pDef->nArg);
60981 int nArg; /* Number of arguments in subprograms */
60997 nArg = pParse->nMaxArg;
61018 resolveP2Values(p, &nArg);
61042 p->apArg = allocSpace(p->apArg, nArg*sizeof(Mem*), &zCsr, zEnd, &nByte);
65375 int nArg;
65406 int nArg;
70720 int nArg;
70745 u.cm.nArg = (int)u.cm.pArgc->u.i;
70752 for(u.cm.i = 0; u.cm.i<u.cm.nArg; u.cm.i++){
70758 rc = u.cm.pModule->xFilter(u.cm.pVtabCursor, u.cm.iQuery, pOp->p4.z, u.cm.nArg, u.cm.apArg);
70941 int nArg;
70953 u.cq.nArg = pOp->p2;
70959 for(u.cq.i=0; u.cq.i<u.cq.nArg; u.cq.i++){
70967 rc = u.cq.pModule->xUpdate(u.cq.pVtab, u.cq.nArg, u.cq.apArg, &u.cq.rowid);
70971 assert( u.cq.nArg>1 && u.cq.apArg[0] && (u.cq.apArg[0]->flags&MEM_Null) );
79532 2, /* nArg */
79625 5, /* nArg */
79667 -1, /* nArg */
80739 sqlite3VdbeAddOp3(v, OP_Function, 0, regArgs+3-pFunc->nArg, regArgs+3);
80740 assert( pFunc->nArg==-1 || (pFunc->nArg&0xff)==pFunc->nArg );
80741 sqlite3VdbeChangeP5(v, (u8)(pFunc->nArg));
80764 1, /* nArg */
80786 3, /* nArg */
85234 ** matches the request for a function with nArg arguments in a system
85240 ** 0: Not a match, or if nArg<0 and the function is has no implementation.
85253 static int matchQuality(FuncDef *p, int nArg, u8 enc){
85255 if( p->nArg==-1 || p->nArg==nArg
85256 || (nArg==-1 && (p->xFunc!=0 || p->xStep!=0))
85259 if( p->nArg==nArg || nArg==-1 ){
85326 ** and the nArg parameter is -1, then only a function that accepts
85329 ** If createFlag is false and nArg is -1, then the first valid
85341 int nArg
85358 int score = matchQuality(p, nArg, enc);
85383 int score = matchQuality(p, nArg, enc);
85396 if( createFlag && (bestScore<6 || pBest->nArg!=nArg) &&
85399 pBest->nArg = (u16)nArg;
91137 int (*overload_function)(sqlite3*, const char *zFuncName, int nArg);
98108 int nArg;
98114 nArg = pList->nExpr;
98115 regAgg = sqlite3GetTempRange(pParse, nArg);
98118 nArg = 0;
98123 assert( nArg==1 );
98131 for(j=0, pItem=pList->a; !pColl && j<nArg; j++, pItem++){
98142 sqlite3VdbeChangeP5(v, (u8)nArg);
98143 sqlite3ExprCacheAffinityChange(pParse, regAgg, nArg);
98144 sqlite3ReleaseTempRange(pParse, regAgg, nArg);
101917 int nArg = pTab->nModuleArg;
101939 rc = xConstruct(db, pMod->pAux, nArg, azArg, &pVTable->pVtab, &zErr);
102397 int nArg, /* Number of arguments to the function */
102431 rc = pMod->xFindFunction(pVtab, nArg, zLowerName, &xFunc, &pArg);
113515 int nArg,
113531 (nArg<-1 || nArg>SQLITE_MAX_FUNCTION_ARG) ||
113548 rc = sqlite3CreateFunc(db, zFunctionName, nArg, SQLITE_UTF8,
113551 rc = sqlite3CreateFunc(db, zFunctionName, nArg, SQLITE_UTF16LE,
113568 p = sqlite3FindFunction(db, zFunctionName, nName, nArg, (u8)enc, 0);
113569 if( p && p->iPrefEnc==enc && p->nArg==nArg ){
113580 p = sqlite3FindFunction(db, zFunctionName, nName, nArg, (u8)enc, 1);
113599 p->nArg = (u16)nArg;
113609 int nArg,
113616 return sqlite3_create_function_v2(db, zFunc, nArg, enc, p, xFunc, xStep,
113623 int nArg,
113643 rc = sqlite3CreateFunc(db, zFunc, nArg, enc, p, xFunc, xStep, xFinal, pArg);
113660 int nArg,
113672 rc = sqlite3CreateFunc(db, zFunc8, nArg, eTextRep, p, xFunc, xStep, xFinal,0);
113696 int nArg
113701 if( sqlite3FindFunction(db, zName, nName, nArg, SQLITE_UTF8, 0)==0 ){
113702 rc = sqlite3CreateFunc(db, zName, nArg, SQLITE_UTF8,
115718 int nArg = 0; /* Number of entries in aArg[] */
115739 if( p->xUnlockNotify!=xUnlockNotify && nArg!=0 ){
115740 xUnlockNotify(aArg, nArg);
115741 nArg = 0;
115746 assert( nArg<=(int)ArraySize(aStatic) || aArg==aDyn );
115747 if( (!aDyn && nArg==(int)ArraySize(aStatic))
115748 || (aDyn && nArg==(int)(sqlite3MallocSize(aDyn)/sizeof(void*)))
115751 void **pNew = (void **)sqlite3Malloc(nArg*sizeof(void *)*2);
115753 memcpy(pNew, aArg, nArg*sizeof(void *));
115781 xUnlockNotify(aArg, nArg);
115782 nArg = 0;
115787 aArg[nArg++] = p->pUnlockArg;
115804 if( nArg!=0 ){
115805 xUnlockNotify(aArg, nArg);
119728 int nArg, /* Size of argument array */
119732 return sqlite3Fts3UpdateMethod(pVtab, nArg, apVal, pRowid);
119963 int nArg, /* Number of SQL function arguments */
119980 UNUSED_PARAMETER(nArg);
128454 int nArg, /* Size of argument array */
128468 nArg==1 /* DELETE operations */
128469 || nArg==(2 + p->nColumn + 3) /* INSERT or UPDATE operations */
128476 if( nArg>1
128484 if( nArg>1 && sqlite3_value_int(apVal[2 + p->nColumn + 2])<0 ){
128507 if( nArg>1 && p->zContentTbl==0 ){
128555 if( nArg>1 && rc==SQLITE_OK ){
129748 int nArg; /* Bytes in zArg */
129761 nArg = (int)strlen(zArg);
129762 pCsr->aMatchinfo = (u32 *)sqlite3_malloc(sizeof(u32)*nMatchinfo + nArg + 1);
129767 memcpy(pCsr->zMatchinfo, zArg, nArg+1);
133247 static void rtreenode(sqlite3_context *ctx, int nArg, sqlite3_value **apArg){
133253 UNUSED_PARAMETER(nArg);
133286 static void rtreedepth(sqlite3_context *ctx, int nArg, sqlite3_value **apArg){
133287 UNUSED_PARAMETER(nArg);
133341 static void geomCallback(sqlite3_context *ctx, int nArg, sqlite3_value **aArg){
133346 nBlob = sizeof(RtreeMatchArg) + (nArg-1)*sizeof(double);
133355 pBlob->nParam = nArg;
133356 for(i=0; i<nArg; i++){
133643 static void icuRegexpFunc(sqlite3_context *p, int nArg, sqlite3_value **apArg){
133649 (void)nArg; /* Unused parameter */
133726 static void icuCaseFunc16(sqlite3_context *p, int nArg, sqlite3_value **apArg){
133735 assert(nArg==1 || nArg==2);
133736 if( nArg==2 ){
133813 int nArg,
133823 assert(nArg==2);
133853 int nArg; /* Number of arguments */
133882 db, p->zName, p->nArg, p->enc, p->pContext, p->xFunc, 0, 0