Home | History | Annotate | Download | only in dist

Lines Matching defs:nArg

4116 ** ^The third parameter (nArg)
4172 ** nArg parameter is a better match than a function implementation with
4173 ** a negative nArg. ^A function where the preferred text encoding
4190 int nArg,
4200 int nArg,
4210 int nArg,
5443 int (*xFindFunction)(sqlite3_vtab *pVtab, int nArg, const char *zName,
5674 SQLITE_API int sqlite3_overload_function(sqlite3*, const char *zFuncName, int nArg);
7153 void (*xNotify)(void **apArg, int nArg), /* Callback function to invoke */
10640 i16 nArg; /* Number of arguments. -1 means unlimited */
10693 ** FUNCTION(zName, nArg, iArg, bNC, xFunc)
10695 ** implemented by C function xFunc that accepts nArg arguments. The
10700 ** VFUNCTION(zName, nArg, iArg, bNC, xFunc)
10703 ** AGGREGATE(zName, nArg, iArg, bNC, xStep, xFinal)
10709 ** LIKEFUNC(zName, nArg, pArg, flags)
10711 ** that accepts nArg arguments and is implemented by a call to C
10717 #define FUNCTION(zName, nArg, iArg, bNC, xFunc) \
10718 {nArg, SQLITE_FUNC_CONSTANT|SQLITE_UTF8|(bNC*SQLITE_FUNC_NEEDCOLL), \
10720 #define VFUNCTION(zName, nArg, iArg, bNC, xFunc) \
10721 {nArg, SQLITE_UTF8|(bNC*SQLITE_FUNC_NEEDCOLL), \
10723 #define FUNCTION2(zName, nArg, iArg, bNC, xFunc, extraFlags) \
10724 {nArg,SQLITE_FUNC_CONSTANT|SQLITE_UTF8|(bNC*SQLITE_FUNC_NEEDCOLL)|extraFlags,\
10726 #define STR_FUNCTION(zName, nArg, pArg, bNC, xFunc) \
10727 {nArg, SQLITE_FUNC_CONSTANT|SQLITE_UTF8|(bNC*SQLITE_FUNC_NEEDCOLL), \
10729 #define LIKEFUNC(zName, nArg, arg, flags) \
10730 {nArg, SQLITE_FUNC_CONSTANT|SQLITE_UTF8|flags, \
10732 #define AGGREGATE(zName, nArg, arg, nc, xStep, xFinal) \
10733 {nArg, SQLITE_UTF8|(nc*SQLITE_FUNC_NEEDCOLL), \
12443 int nArg; /* Total number of arguments */
12995 SQLITE_PRIVATE FuncDef *sqlite3VtabOverloadFunction(sqlite3 *,FuncDef*, int nArg, Expr*);
20678 if( p->nArg<=p->nUsed ) return 0;
20682 if( p->nArg<=p->nUsed ) return 0.0;
20686 if( p->nArg<=p->nUsed ) return 0;
63291 sqlite3_snprintf(nTemp, zTemp, "%s(%d)", pDef->zName, pDef->nArg);
63866 int nArg; /* Number of arguments in subprograms */
63883 nArg = pParse->nMaxArg;
63904 resolveP2Values(p, &nArg);
63928 p->apArg = allocSpace(p->apArg, nArg*sizeof(Mem*), &zCsr, zEnd, &nByte);
74083 int nArg;
74107 nArg = (int)pArgc->u.i;
74114 for(i = 0; i<nArg; i++){
74119 rc = pModule->xFilter(pVtabCursor, iQuery, pOp->p4.z, nArg, apArg);
74301 int nArg;
74313 nArg = pOp->p2;
74319 for(i=0; i<nArg; i++){
74326 rc = pModule->xUpdate(pVtab, nArg, apArg, &rowid);
74330 assert( nArg>1 && apArg[0] && (apArg[0]->flags&MEM_Null) );
83903 2+IsStat34, /* nArg */
84204 2+IsStat34, /* nArg */
84351 1+IsStat34, /* nArg */
85636 sqlite3VdbeAddOp3(v, OP_Function, 0, regArgs+3-pFunc->nArg, regArgs+3);
85637 assert( pFunc->nArg==-1 || (pFunc->nArg&0xff)==pFunc->nArg );
85638 sqlite3VdbeChangeP5(v, (u8)(pFunc->nArg));
85661 1, /* nArg */
85682 3, /* nArg */
90597 ** matches the request for a function with nArg arguments in a system
90601 ** If nArg is -1 that means to only return a match (non-zero) if p->nArg
90605 ** If nArg is -2 that means that we are searching for any function
90619 ** If nArg==(-2) then any function with a non-null xStep or xFunc is
90626 int nArg, /* Desired number of arguments. (-1)==any */
90631 /* nArg of -2 is a special case */
90632 if( nArg==(-2) ) return (p->xFunc==0 && p->xStep==0) ? 0 : FUNC_PERFECT_MATCH;
90635 if( p->nArg!=nArg && p->nArg>=0 ) return 0;
90639 if( p->nArg==nArg ){
90709 ** If nArg is -2, then the first valid function found is returned. A
90710 ** function is valid if either xFunc or xStep is non-zero. The nArg==(-2)
90712 ** of arguments. If nArg is -2, then createFlag must be 0.
90722 int nArg, /* Number of arguments. -1 means any number */
90731 assert( nArg>=(-2) );
90732 assert( nArg>=(-1) || createFlag==0 );
90739 int score = matchQuality(p, nArg, enc);
90764 int score = matchQuality(p, nArg, enc);
90780 pBest->nArg = (u16)nArg;
91922 x.nArg = argc-1;
97155 int (*overload_function)(sqlite3*, const char *zFuncName, int nArg);
105888 int nArg;
105894 nArg = pList->nExpr;
105895 regAgg = sqlite3GetTempRange(pParse, nArg);
105898 nArg = 0;
105903 assert( nArg==1 );
105911 for(j=0, pItem=pList->a; !pColl && j<nArg; j++, pItem++){
105922 sqlite3VdbeChangeP5(v, (u8)nArg);
105923 sqlite3ExprCacheAffinityChange(pParse, regAgg, nArg);
105924 sqlite3ReleaseTempRange(pParse, regAgg, nArg);
109831 int nArg = pTab->nModuleArg;
109858 rc = xConstruct(db, pMod->pAux, nArg, azArg, &pVTable->pVtab, &zErr);
110314 int nArg, /* Number of arguments to the function */
110348 rc = pMod->xFindFunction(pVtab, nArg, zLowerName, &xFunc, &pArg);
123539 int nArg,
123556 (nArg<-1 || nArg>SQLITE_MAX_FUNCTION_ARG) ||
123577 rc = sqlite3CreateFunc(db, zFunctionName, nArg, SQLITE_UTF8|extraFlags,
123580 rc = sqlite3CreateFunc(db, zFunctionName, nArg, SQLITE_UTF16LE|extraFlags,
123597 p = sqlite3FindFunction(db, zFunctionName, nName, nArg, (u8)enc, 0);
123598 if( p && (p->funcFlags & SQLITE_FUNC_ENCMASK)==enc && p->nArg==nArg ){
123609 p = sqlite3FindFunction(db, zFunctionName, nName, nArg, (u8)enc, 1);
123629 p->nArg = (u16)nArg;
123639 int nArg,
123646 return sqlite3_create_function_v2(db, zFunc, nArg, enc, p, xFunc, xStep,
123653 int nArg,
123673 rc = sqlite3CreateFunc(db, zFunc, nArg, enc, p, xFunc, xStep, xFinal, pArg);
123690 int nArg,
123702 rc = sqlite3CreateFunc(db, zFunc8, nArg, eTextRep, p, xFunc, xStep, xFinal,0);
123726 int nArg
123731 if( sqlite3FindFunction(db, zName, nName, nArg, SQLITE_UTF8, 0)==0 ){
123732 rc = sqlite3CreateFunc(db, zName, nArg, SQLITE_UTF8,
125871 int nArg = 0; /* Number of entries in aArg[] */
125892 if( p->xUnlockNotify!=xUnlockNotify && nArg!=0 ){
125893 xUnlockNotify(aArg, nArg);
125894 nArg = 0;
125899 assert( nArg<=(int)ArraySize(aStatic) || aArg==aDyn );
125900 nArg==(int)ArraySize(aStatic))
125901 || (aDyn && nArg==(int)(sqlite3MallocSize(aDyn)/sizeof(void*)))
125904 void **pNew = (void **)sqlite3Malloc(nArg*sizeof(void *)*2);
125906 memcpy(pNew, aArg, nArg*sizeof(void *));
125934 xUnlockNotify(aArg, nArg);
125935 nArg = 0;
125940 aArg[nArg++] = p->pUnlockArg;
125957 if( nArg!=0 ){
125958 xUnlockNotify(aArg, nArg);
130123 int nArg, /* Size of argument array */
130127 return sqlite3Fts3UpdateMethod(pVtab, nArg, apVal, pRowid);
130423 int nArg, /* Number of SQL function arguments */
130440 UNUSED_PARAMETER(nArg);
142230 int nArg, /* Size of argument array */
142248 nArg==1 /* DELETE operations */
142249 || nArg==(2 + p->nColumn + 3) /* INSERT or UPDATE operations */
142256 if( nArg>1
142264 if( nArg>1 && sqlite3_value_int(apVal[2 + p->nColumn + 2])<0 ){
142290 if( nArg>1 && p->zContentTbl==0 ){
142338 if( nArg>1 && rc==SQLITE_OK ){
143549 int nArg; /* Bytes in zArg */
143562 nArg = (int)strlen(zArg);
143563 pCsr->aMatchinfo = (u32 *)sqlite3_malloc(sizeof(u32)*nMatchinfo + nArg + 1);
143568 memcpy(pCsr->zMatchinfo, zArg, nArg+1);
144134 int nArg, /* Size of array argv[] */
144147 for(i=0; rc==SQLITE_OK && i<nArg; i++){
147936 static void rtreenode(sqlite3_context *ctx, int nArg, sqlite3_value **apArg){
147942 UNUSED_PARAMETER(nArg);
147990 static void rtreedepth(sqlite3_context *ctx, int nArg, sqlite3_value **apArg){
147991 UNUSED_PARAMETER(nArg);
148058 static void geomCallback(sqlite3_context *ctx, int nArg, sqlite3_value **aArg){
148063 nBlob = sizeof(RtreeMatchArg) + (nArg-1)*sizeof(RtreeDValue);
148071 pBlob->nParam = nArg;
148072 for(i=0; i<nArg; i++){
148390 static void icuRegexpFunc(sqlite3_context *p, int nArg, sqlite3_value **apArg){
148396 (void)nArg; /* Unused parameter */
148473 static void icuCaseFunc16(sqlite3_context *p, int nArg, sqlite3_value **apArg){
148482 assert(nArg==1 || nArg==2);
148483 if( nArg==2 ){
148560 int nArg,
148570 assert(nArg==2);
148600 int nArg; /* Number of arguments */
148629 db, p->zName, p->nArg, p->enc, p->pContext, p->xFunc, 0, 0