Lines Matching refs:FuncDef
9951 typedef struct FuncDef FuncDef;
9988 ** pointer types (i.e. FuncDef) defined above.
10325 FuncDef *pFunc; /* Used when p4type is P4_FUNCDEF */
10381 #define P4_FUNCDEF (-5) /* P4 is a pointer to a FuncDef structure */
11633 ** Hash each FuncDef structure into one of the FuncDefHash.a[] slots.
11634 ** Collisions are on the FuncDef.pHash chain.
11637 FuncDef *a[23]; /* Hash table for functions */
11894 struct FuncDef {
11898 FuncDef *pNext; /* Next function with same name */
11903 FuncDef *pHash; /* Next with a different name but the same hash */
11912 ** the number of FuncDef objects created (either 1 or 3, depending on whether
11913 ** or not the specified encoding is SQLITE_ANY). The FuncDef.pDestructor
11914 ** member of each of the new FuncDef objects is set to point to the allocated
11917 ** Thereafter, when one of the FuncDef objects is deleted, the reference
11928 ** Possible values for FuncDef.flags. Note that the _LENGTH and _TYPEOF
11949 ** used to create the initializers for the FuncDef structures.
11978 ** FuncDef.flags variable is set to the value passed as the flags
12534 FuncDef *pFunc; /* The aggregate function implementation */
14023 SQLITE_PRIVATE void sqlite3FuncDefInsert(FuncDefHash*, FuncDef*);
14024 SQLITE_PRIVATE FuncDef *sqlite3FindFunction(sqlite3*,const char*,int,int,u8,u8);
14324 SQLITE_PRIVATE FuncDef *sqlite3VtabOverloadFunction(sqlite3 *,FuncDef*, int nArg, Expr*);
15418 FuncDef *pDef; /* Used only when flags==MEM_Agg */
15530 FuncDef *pFunc; /* Pointer to function information */
15702 SQLITE_PRIVATE int sqlite3VdbeMemFinalize(Mem*, FuncDef*);
17199 static SQLITE_WSD FuncDef aDateTimeFuncs[] = {
17217 FuncDef *aFunc = (FuncDef*)&GLOBAL(FuncDef, aDateTimeFuncs);
65287 SQLITE_PRIVATE int sqlite3VdbeMemFinalize(Mem *pMem, FuncDef *pFunc){
66145 FuncDef *pFunc = 0; /* Function definition */
66420 static SQLITE_WSD FuncDef aAnalyzeTableFuncs[] = {
66425 FuncDef *aFunc = (FuncDef*)&GLOBAL(FuncDef, aAnalyzeTableFuncs);
67415 ** If the input FuncDef structure is ephemeral, then free it. If
67416 ** the FuncDef is not ephermal, then do nothing.
67418 static void freeEphemeralFunction(sqlite3 *db, FuncDef *pDef){
67453 freeEphemeralFunction(db, (FuncDef*)p4);
67818 FuncDef *pDef = pOp->p4.pFunc;
67824 FuncDef *pDef = pOp->p4.pCtx->pFunc;
74451 ** Invoke a user function (P4 is a pointer to a FuncDef object that
74481 ** to a FuncDef object. But on first evaluation, the P4 operand is
78665 ** function has P5 arguments. P4 is a pointer to the FuncDef
78684 ** the FuncDef stored in P4 is converted into an sqlite3_context and
78766 ** P4 is a pointer to the FuncDef for this function. The P2
84138 FuncDef *pDef; /* Information about the function */
87826 FuncDef *pDef; /* The function definition object */
89417 static SQLITE_WSD FuncDef aAlterTableFuncs[] = {
89428 FuncDef *aFunc = (FuncDef*)&GLOBAL(FuncDef, aAlterTableFuncs);
90496 static const FuncDef statInitFuncdef = {
90797 static const FuncDef statPushFuncdef = {
90944 static const FuncDef statGetFuncdef = {
92229 FuncDef const *pFunc,/* FuncDef wrapper for detachFunc() or attachFunc() */
92300 static const FuncDef detach_func = {
92321 static const FuncDef attach_func = {
97449 FuncDef *p, /* The function we are evaluating for match quality */
97481 ** a pointer to the matching FuncDef if found, or 0 if there is no match.
97483 static FuncDef *functionSearch(
97489 FuncDef *p;
97499 ** Insert a new FuncDef into a FuncDefHash hash table.
97503 FuncDef *pDef /* The function definition to insert */
97505 FuncDef *pOther;
97526 ** pointer to the FuncDef structure that defines that function, or return
97529 ** If the createFlag argument is true, then a new (blank) FuncDef
97542 SQLITE_PRIVATE FuncDef *sqlite3FindFunction(
97550 FuncDef *p; /* Iterator variable */
97551 FuncDef *pBest = 0; /* Best match found so far */
97578 ** install a new function. Whatever FuncDef structure is returned it will
100186 FuncDef *pDef;
100228 FuncDef *pDef;
100256 ** All of the FuncDef structures in the aBuiltinFunc[] array above
100264 ** The following array holds FuncDef structures for all of the functions
100268 ** FuncDef.pHash elements at start-time. The elements of this array
100271 static SQLITE_WSD FuncDef aBuiltinFunc[] = {
100356 FuncDef *aFunc = (FuncDef*)&GLOBAL(FuncDef, aBuiltinFunc);
117774 ** new FuncDef structure that is marked as ephemeral using the
117777 SQLITE_PRIVATE FuncDef *sqlite3VtabOverloadFunction(
117779 FuncDef *pDef, /* Function to possibly overload */
117788 FuncDef *pNew;
131724 ** Invoke the destructor function associated with FuncDef p, if any. Except,
131729 static void functionDestroy(sqlite3 *db, FuncDef *p){
131913 FuncDef *pNext, *pHash, *p;
132352 FuncDef *p;