| /sqlite-3.40.0/src/ |
| H A D | vdbemem.c | 458 assert( pFunc!=0 ); in sqlite3VdbeMemFinalize() 461 assert( pFunc->xFinalize!=0 ); in sqlite3VdbeMemFinalize() 470 ctx.pFunc = pFunc; in sqlite3VdbeMemFinalize() 490 assert( pFunc!=0 ); in sqlite3VdbeMemAggValue() 491 assert( pFunc->xValue!=0 ); in sqlite3VdbeMemAggValue() 499 ctx.pFunc = pFunc; in sqlite3VdbeMemAggValue() 501 pFunc->xValue(&ctx); in sqlite3VdbeMemAggValue() 1480 assert( pFunc ); in valueFromFunction() 1482 || (pFunc->funcFlags & SQLITE_FUNC_NEEDCOLL) in valueFromFunction() 1509 ctx.pFunc = pFunc; in valueFromFunction() [all …]
|
| H A D | window.c | 727 pWin->pWFunc = pFunc; in sqlite3WindowUpdate() 1662 FuncDef *pFunc = pWin->pWFunc; in windowAggStep() local 1924 FuncDef *pFunc = pWin->pWFunc; in windowReturnOneRow() local 1926 if( pFunc->zName==nth_valueName in windowReturnOneRow() 1949 else if( pFunc->zName==leadName || pFunc->zName==lagName ){ in windowReturnOneRow() 1996 FuncDef *pFunc = pWin->pWFunc; in windowInitAccum() local 2001 if( pFunc->zName==nth_valueName || pFunc->zName==first_valueName ){ in windowInitAccum() 2026 FuncDef *pFunc = pWin->pWFunc; in windowCacheFrame() local 2027 if( (pFunc->zName==nth_valueName) in windowCacheFrame() 2029 || (pFunc->zName==leadName) in windowCacheFrame() [all …]
|
| H A D | tclsqlite.c | 487 pNew->pNext = pDb->pFunc; in findSqlFunc() 488 pDb->pFunc = pNew; in findSqlFunc() 540 while( pDb->pFunc ){ in delDatabaseRef() 541 SqlFunc *pFunc = pDb->pFunc; in delDatabaseRef() local 542 pDb->pFunc = pFunc->pNext; in delDatabaseRef() 543 assert( pFunc->pDb==pDb ); in delDatabaseRef() 545 Tcl_Free((char*)pFunc); in delDatabaseRef() 2866 SqlFunc *pFunc; in DbObjCmd() local 2927 if( pFunc->pScript ){ in DbObjCmd() 2930 pFunc->pScript = pScript; in DbObjCmd() [all …]
|
| H A D | attach.c | 332 FuncDef const *pFunc,/* FuncDef wrapper for detachFunc() or attachFunc() */ in codeAttach() argument 381 sqlite3VdbeAddFunctionCall(pParse, 0, regArgs+3-pFunc->nArg, regArgs+3, in codeAttach() 382 pFunc->nArg, pFunc, 0); in codeAttach()
|
| H A D | select.c | 5162 assert( pFunc->op==TK_AGG_FUNCTION ); in minMaxQuery() 5163 assert( !IsWindowFunc(pFunc) ); in minMaxQuery() 5164 assert( ExprUseXList(pFunc) ); in minMaxQuery() 5165 pEList = pFunc->x.pList; in minMaxQuery() 5174 zFunc = pFunc->u.zToken; in minMaxQuery() 6218 struct AggInfo_func *pFunc; in resetAccumulator() local 6238 for(pFunc=pAggInfo->aFunc, i=0; i<pAggInfo->nFunc; i++, pFunc++){ in resetAccumulator() 6239 if( pFunc->iDistinct>=0 ){ in resetAccumulator() 6240 Expr *pE = pFunc->pFExpr; in resetAccumulator() 6245 pFunc->iDistinct = -1; in resetAccumulator() [all …]
|
| H A D | vdbeapi.c | 843 assert( p && p->pFunc ); in sqlite3_user_data() 844 return p->pFunc->pUserData; in sqlite3_user_data() 981 pMem->u.pDef = p->pFunc; in createAggContext() 995 assert( p && p->pFunc && p->pFunc->xFinalize ); in sqlite3_aggregate_context() 1097 assert( p && p->pMem && p->pFunc && p->pFunc->xFinalize ); in sqlite3_aggregate_count()
|
| H A D | vdbe.h | 54 FuncDef *pFunc; /* Used when p4type is P4_FUNCDEF */ member
|
| H A D | vdbeaux.c | 367 const FuncDef *pFunc, /* The function to be invoked */ in sqlite3VdbeAddFunctionCall() argument 379 freeEphemeralFunction(pParse->db, (FuncDef*)pFunc); in sqlite3VdbeAddFunctionCall() 383 pCtx->pFunc = (FuncDef*)pFunc; in sqlite3VdbeAddFunctionCall() 1227 freeEphemeralFunction(db, p->pFunc); in freeP4FuncCtx() 1787 FuncDef *pDef = pOp->p4.pFunc; in sqlite3VdbeDisplayP4() 1792 FuncDef *pDef = pOp->p4.pCtx->pFunc; in sqlite3VdbeDisplayP4() 5208 pCtx->pFunc->zName, zContext); in sqlite3NotPureFunc()
|
| H A D | test_vfstrace.c | 804 sqlite3_syscall_ptr pFunc in vfstraceSetSystemCall() argument 808 return pRoot->xSetSystemCall(pRoot, zName, pFunc); in vfstraceSetSystemCall()
|
| H A D | test1.c | 1807 Tcl_Obj *pFunc; /* Script for function invocation */ member 1826 if( p->pFunc ) Tcl_DecrRefCount(p->pFunc); in cf2Destroy() 1888 case 0: p->pFunc = objv[i+1]; break; in test_create_function_v2() 1894 if( p->pFunc ) p->pFunc = Tcl_DuplicateObj(p->pFunc); in test_create_function_v2() 1899 if( p->pFunc ) Tcl_IncrRefCount(p->pFunc); in test_create_function_v2() 1905 (p->pFunc ? cf2Func : 0), in test_create_function_v2()
|
| H A D | vdbeInt.h | 372 FuncDef *pFunc; /* Pointer to function information */ member
|
| H A D | vdbe.c | 7470 pCtx->pFunc = pOp->p4.pFunc; in sqlite3VdbeExec() 7529 (pCtx->pFunc->xInverse)(pCtx,pCtx->argc,pCtx->argv); in sqlite3VdbeExec() 7532 (pCtx->pFunc->xSFunc)(pCtx,pCtx->argc,pCtx->argv); /* IMP: R-24505-23230 */ in sqlite3VdbeExec() 7591 rc = sqlite3VdbeMemAggValue(pMem, &aMem[pOp->p3], pOp->p4.pFunc); in sqlite3VdbeExec() 7596 rc = sqlite3VdbeMemFinalize(pMem, pOp->p4.pFunc); in sqlite3VdbeExec() 8424 (*pCtx->pFunc->xSFunc)(pCtx, pCtx->argc, pCtx->argv);/* IMP: R-24505-23230 */ in sqlite3VdbeExec()
|
| H A D | sqliteInt.h | 2738 FuncDef *pFunc; /* The aggregate function implementation */ member
|
| H A D | expr.c | 6362 pItem->pFunc = sqlite3FindFunction(pParse->db, in analyzeAggregate()
|
| /sqlite-3.40.0/ext/wasm/api/ |
| H A D | sqlite3-api-glue.js | 199 let pFunc, rc; 201 pFunc = wasm.installFunction("ipipp", cbwrap); 202 rc = __exec(pDb, sql, pFunc, pVoid, pErrMsg); 207 if(pFunc) wasm.uninstallFunction(pFunc);
|
| H A D | sqlite3-api-opfs.js | 639 const pFunc = wasm.installFunction(fProxy, tgt.memberSignature(name, true)); 640 tgt[memKey] = pFunc; 647 tgt.ondispose.__removeFuncList.push(memKey, pFunc);
|
| /sqlite-3.40.0/ext/wasm/ |
| H A D | tester1.js | 832 const pFunc = wasm.installFunction(fProxy, tgt.memberSignature(name, true)); 833 tgt[memKey] = pFunc; 860 tgt.__ondispose.push(pFunc, wrapperKey);
|