Lines Matching refs:FuncDef

14763 typedef struct FuncDef FuncDef;
14846 ** pointer types (i.e. FuncDef) defined above.
15895 FuncDef *pFunc; /* Used when p4type is P4_FUNCDEF */
15961 #define P4_FUNCDEF (-7) /* P4 is a pointer to a FuncDef structure */
16268 SQLITE_PRIVATE int sqlite3VdbeAddFunctionCall(Parse*,int,int,int,int,const FuncDef*,int);
16939 ** Hash each FuncDef structure into one of the FuncDefHash.a[] slots.
16940 ** Collisions are on the FuncDef.u.pHash chain. Use the SQLITE_FUNC_HASH()
16945 FuncDef *a[SQLITE_FUNC_HASH_SZ]; /* Hash table for functions */
17307 struct FuncDef {
17311 FuncDef *pNext; /* Next function with same name */
17318 FuncDef *pHash; /* Next with a different name but the same hash */
17328 ** the number of FuncDef objects created (either 1 or 3, depending on whether
17329 ** or not the specified encoding is SQLITE_ANY). The FuncDef.pDestructor
17330 ** member of each of the new FuncDef objects is set to point to the allocated
17333 ** Thereafter, when one of the FuncDef objects is deleted, the reference
17344 ** Possible values for FuncDef.flags. Note that the _LENGTH and _TYPEOF
17396 ** used to create the initializers for the FuncDef structures.
17457 ** FuncDef.flags variable is set to the value passed as the flags
18216 FuncDef *pFunc; /* The aggregate function implementation */
19731 FuncDef *pWFunc; /* The function */
19759 SQLITE_PRIVATE void sqlite3WindowUpdate(Parse*, Window*, Window*, FuncDef*);
20065 SQLITE_PRIVATE void sqlite3ExprFunctionUsable(Parse*,const Expr*,const FuncDef*);
20331 SQLITE_PRIVATE FuncDef *sqlite3FunctionSearch(int,const char*);
20332 SQLITE_PRIVATE void sqlite3InsertBuiltinFuncs(FuncDef*,int);
20333 SQLITE_PRIVATE FuncDef *sqlite3FindFunction(sqlite3*,const char*,int,u8,u8);
20740 SQLITE_PRIVATE FuncDef *sqlite3VtabOverloadFunction(sqlite3 *,FuncDef*, int nArg, Expr*);
22622 FuncDef *pDef; /* Used only when flags==MEM_Agg */
22780 FuncDef *pFunc; /* Pointer to function information */
23037 SQLITE_PRIVATE int sqlite3VdbeMemFinalize(Mem*, FuncDef*);
23039 SQLITE_PRIVATE int sqlite3VdbeMemAggValue(Mem*, Mem*, FuncDef*);
24842 static FuncDef aDateTimeFuncs[] = {
81003 SQLITE_PRIVATE int sqlite3VdbeMemFinalize(Mem *pMem, FuncDef *pFunc){
81036 SQLITE_PRIVATE int sqlite3VdbeMemAggValue(Mem *pAccum, Mem *pOut, FuncDef *pFunc){
82015 FuncDef *pFunc = 0; /* Function definition */
82553 static void freeEphemeralFunction(sqlite3 *db, FuncDef *pDef);
82901 const FuncDef *pFunc, /* The function to be invoked */
82913 freeEphemeralFunction(pParse->db, (FuncDef*)pFunc);
82917 pCtx->pFunc = (FuncDef*)pFunc;
83742 ** If the input FuncDef structure is ephemeral, then free it. If
83743 ** the FuncDef is not ephermal, then do nothing.
83745 static void freeEphemeralFunction(sqlite3 *db, FuncDef *pDef){
83789 freeEphemeralFunction(db, (FuncDef*)p4);
84321 FuncDef *pDef = pOp->p4.pFunc;
84326 FuncDef *pDef = pOp->p4.pCtx->pFunc;
97813 ** FuncDef structure that specifies the function. Register P3 is the
97824 ** FuncDef structure that specifies the function. Register P3 is the
97835 ** FuncDef structure that specifies the function. Register P3 is the
97842 ** the FuncDef stored in P4 is converted into an sqlite3_context and
97956 ** P4 is a pointer to the FuncDef for this function. The P2
97968 ** P4 is a pointer to the FuncDef for this function. The P2
104670 FuncDef *pDef; /* Information about the function */
106924 const FuncDef *pDef /* The function being invoked */
110264 FuncDef *pDef; /* The function definition object */
114594 static FuncDef aAlterTableFuncs[] = {
115092 static const FuncDef statInitFuncdef = {
115382 static const FuncDef statPushFuncdef = {
115522 static const FuncDef statGetFuncdef = {
116913 FuncDef const *pFunc,/* FuncDef wrapper for detachFunc() or attachFunc() */
116983 static const FuncDef detach_func = {
117003 static const FuncDef attach_func = {
123454 FuncDef *p, /* The function we are evaluating for match quality */
123487 ** a pointer to the matching FuncDef if found, or 0 if there is no match.
123489 SQLITE_PRIVATE FuncDef *sqlite3FunctionSearch(
123493 FuncDef *p;
123504 ** Insert a new FuncDef into a FuncDefHash hash table.
123507 FuncDef *aDef, /* List of global functions to be inserted */
123512 FuncDef *pOther;
123535 ** pointer to the FuncDef structure that defines that function, or return
123538 ** If the createFlag argument is true, then a new (blank) FuncDef
123551 SQLITE_PRIVATE FuncDef *sqlite3FindFunction(
123558 FuncDef *p; /* Iterator variable */
123559 FuncDef *pBest = 0; /* Best match found so far */
123570 p = (FuncDef*)sqlite3HashFind(&db->aFunc, zName);
123587 ** install a new function. Whatever FuncDef structure is returned it will
123612 FuncDef *pOther;
123619 pOther = (FuncDef*)sqlite3HashInsert(&db->aFunc, pBest->zName, pBest);
126697 FuncDef *pDef;
126938 ** All of the FuncDef structures in the aBuiltinFunc[] array above
126946 ** The following array holds FuncDef structures for all of the functions
126950 ** FuncDef.pHash elements at start-time. The elements of this array
126955 static FuncDef aBuiltinFunc[] = {
127108 FuncDef *p;
134540 ** defined by FuncDef p.
134544 FuncDef *p, /* A particular function definition */
135672 FuncDef *p;
135682 p = (FuncDef*)sqliteHashData(j);
151058 ** new FuncDef structure that is marked as ephemeral using the
151061 SQLITE_PRIVATE FuncDef *sqlite3VtabOverloadFunction(
151063 FuncDef *pDef, /* Function to possibly overload */
151072 FuncDef *pNew;
163668 ** names are used, rather than string literals, so that FuncDef objects
163737 static FuncDef aWindowFuncs[] = {
163789 FuncDef *pFunc /* Window function definition */
164548 FuncDef *p = pWin->pWFunc;
164788 FuncDef *pFunc = pWin->pWFunc;
165050 FuncDef *pFunc = pWin->pWFunc;
165122 FuncDef *pFunc = pWin->pWFunc;
165152 FuncDef *pFunc = pWin->pWFunc;
174565 ** Invoke the destructor function associated with FuncDef p, if any. Except,
174570 static void functionDestroy(sqlite3 *db, FuncDef *p){
174789 FuncDef *pNext, *p;
175256 FuncDef *p;
200891 static FuncDef aJsonFunc[] = {