Lines Matching defs:FuncDef

15355 typedef struct FuncDef FuncDef;
15439 ** pointer types (i.e. FuncDef) defined above.
16499 FuncDef *pFunc; /* Used when p4type is P4_FUNCDEF */
16565 #define P4_FUNCDEF (-7) /* P4 is a pointer to a FuncDef structure */
16878 SQLITE_PRIVATE int sqlite3VdbeAddFunctionCall(Parse*,int,int,int,int,const FuncDef*,int);
17565 ** Hash each FuncDef structure into one of the FuncDefHash.a[] slots.
17566 ** Collisions are on the FuncDef.u.pHash chain. Use the SQLITE_FUNC_HASH()
17571 FuncDef *a[SQLITE_FUNC_HASH_SZ]; /* Hash table for functions */
17935 struct FuncDef {
17939 FuncDef *pNext; /* Next function with same name */
17946 FuncDef *pHash; /* Next with a different name but the same hash */
17956 ** the number of FuncDef objects created (either 1 or 3, depending on whether
17957 ** or not the specified encoding is SQLITE_ANY). The FuncDef.pDestructor
17958 ** member of each of the new FuncDef objects is set to point to the allocated
17961 ** Thereafter, when one of the FuncDef objects is deleted, the reference
17972 ** Possible values for FuncDef.flags. Note that the _LENGTH and _TYPEOF
18033 ** used to create the initializers for the FuncDef structures.
18094 ** FuncDef.flags variable is set to the value passed as the flags
18865 FuncDef *pFunc; /* The aggregate function implementation */
20465 FuncDef *pWFunc; /* The function */
20496 SQLITE_PRIVATE void sqlite3WindowUpdate(Parse*, Window*, Window*, FuncDef*);
20829 SQLITE_PRIVATE void sqlite3ExprFunctionUsable(Parse*,const Expr*,const FuncDef*);
21094 SQLITE_PRIVATE FuncDef *sqlite3FunctionSearch(int,const char*);
21095 SQLITE_PRIVATE void sqlite3InsertBuiltinFuncs(FuncDef*,int);
21096 SQLITE_PRIVATE FuncDef *sqlite3FindFunction(sqlite3*,const char*,int,u8,u8);
21518 SQLITE_PRIVATE FuncDef *sqlite3VtabOverloadFunction(sqlite3 *,FuncDef*, int nArg, Expr*);
23332 FuncDef *pDef; /* Used only when flags==MEM_Agg */
23490 FuncDef *pFunc; /* Pointer to function information */
23751 SQLITE_PRIVATE int sqlite3VdbeMemFinalize(Mem*, FuncDef*);
23753 SQLITE_PRIVATE int sqlite3VdbeMemAggValue(Mem*, Mem*, FuncDef*);
26012 static FuncDef aDateTimeFuncs[] = {
83275 SQLITE_PRIVATE int sqlite3VdbeMemFinalize(Mem *pMem, FuncDef *pFunc){
83308 SQLITE_PRIVATE int sqlite3VdbeMemAggValue(Mem *pAccum, Mem *pOut, FuncDef *pFunc){
84289 FuncDef *pFunc = 0; /* Function definition */
84856 static void freeEphemeralFunction(sqlite3 *db, FuncDef *pDef);
85281 const FuncDef *pFunc, /* The function to be invoked */
85293 freeEphemeralFunction(pParse->db, (FuncDef*)pFunc);
85297 pCtx->pFunc = (FuncDef*)pFunc;
86187 ** If the input FuncDef structure is ephemeral, then free it. If
86188 ** the FuncDef is not ephemeral, then do nothing.
86190 static void freeEphemeralFunction(sqlite3 *db, FuncDef *pDef){
86234 freeEphemeralFunction(db, (FuncDef*)p4);
86769 FuncDef *pDef = pOp->p4.pFunc;
86774 FuncDef *pDef = pOp->p4.pCtx->pFunc;
100736 ** FuncDef structure that specifies the function. Register P3 is the
100747 ** FuncDef structure that specifies the function. Register P3 is the
100758 ** FuncDef structure that specifies the function. Register P3 is the
100765 ** the FuncDef stored in P4 is converted into an sqlite3_context and
100879 ** P4 is a pointer to the FuncDef for this function. The P2
100891 ** P4 is a pointer to the FuncDef for this function. The P2
101472 FuncDef nullFunc;
107848 FuncDef *pDef; /* Information about the function */
110273 const FuncDef *pDef /* The function being invoked */
111397 FuncDef *pDef; /* The function */
113906 FuncDef *pDef; /* The function definition object */
118444 static FuncDef aAlterTableFuncs[] = {
118942 static const FuncDef statInitFuncdef = {
119236 static const FuncDef statPushFuncdef = {
119378 static const FuncDef statGetFuncdef = {
120821 FuncDef const *pFunc,/* FuncDef wrapper for detachFunc() or attachFunc() */
120893 static const FuncDef detach_func = {
120913 static const FuncDef attach_func = {
127374 FuncDef *p, /* The function we are evaluating for match quality */
127407 ** a pointer to the matching FuncDef if found, or 0 if there is no match.
127409 SQLITE_PRIVATE FuncDef *sqlite3FunctionSearch(
127413 FuncDef *p;
127424 ** Insert a new FuncDef into a FuncDefHash hash table.
127427 FuncDef *aDef, /* List of global functions to be inserted */
127432 FuncDef *pOther;
127455 ** pointer to the FuncDef structure that defines that function, or return
127458 ** If the createFlag argument is true, then a new (blank) FuncDef
127471 SQLITE_PRIVATE FuncDef *sqlite3FindFunction(
127478 FuncDef *p; /* Iterator variable */
127479 FuncDef *pBest = 0; /* Best match found so far */
127490 p = (FuncDef*)sqlite3HashFind(&db->aFunc, zName);
127507 ** install a new function. Whatever FuncDef structure is returned it will
127532 FuncDef *pOther;
127539 pOther = (FuncDef*)sqlite3HashInsert(&db->aFunc, pBest->zName, pBest);
130888 FuncDef *pDef;
130926 FuncDef *pDef;
131209 ** All of the FuncDef structures in the aBuiltinFunc[] array above
131217 ** The following array holds FuncDef structures for all of the functions
131221 ** FuncDef.pHash elements at start-time. The elements of this array
131226 static FuncDef aBuiltinFunc[] = {
131392 FuncDef *p;
139054 ** defined by FuncDef p.
139058 FuncDef *p, /* A particular function definition */
140175 FuncDef *p;
140185 p = (FuncDef*)sqliteHashData(j);
156538 ** new FuncDef structure that is marked as ephemeral using the
156541 SQLITE_PRIVATE FuncDef *sqlite3VtabOverloadFunction(
156543 FuncDef *pDef, /* Function to possibly overload */
156552 FuncDef *pNew;
168134 FuncDef *pDef;
169889 ** names are used, rather than string literals, so that FuncDef objects
169958 static FuncDef aWindowFuncs[] = {
170010 FuncDef *pFunc /* Window function definition */
170772 FuncDef *p = pWin->pWFunc;
171012 FuncDef *pFunc = pWin->pWFunc;
171274 FuncDef *pFunc = pWin->pWFunc;
171346 FuncDef *pFunc = pWin->pWFunc;
171376 FuncDef *pFunc = pWin->pWFunc;
180949 ** Invoke the destructor function associated with FuncDef p, if any. Except,
180954 static void functionDestroy(sqlite3 *db, FuncDef *p){
181181 FuncDef *pNext, *p;
181666 FuncDef *p;
210232 static FuncDef aJsonFunc[] = {