Home | History | Annotate | Download | only in dist

Lines Matching refs:pDef

12115     FuncDef *pDef;      /* Used only when flags==MEM_Agg */
54407 assert( (pMem->flags & MEM_Null)!=0 || pFunc==pMem->u.pDef );
54436 sqlite3VdbeMemFinalize(p, p->u.pDef);
55878 static void freeEphemeralFunction(sqlite3 *db, FuncDef *pDef){
55879 if( ALWAYS(pDef) && (pDef->flags & SQLITE_FUNC_EPHEM)!=0 ){
55880 sqlite3DbFree(db, pDef);
56193 FuncDef *pDef = pOp->p4.pFunc;
56194 sqlite3_snprintf(nTemp, zTemp, "%s(%d)", pDef->zName, pDef->nArg);
59021 pMem->u.pDef = p->pFunc;
68116 FuncDef *pDef; /* Information about the function */
68123 pDef = sqlite3FindFunction(pParse->db, zId, nId, n, enc, 0);
68124 if( pDef==0 ){
68125 pDef = sqlite3FindFunction(pParse->db, zId, nId, -1, enc, 0);
68126 if( pDef==0 ){
68132 is_agg = pDef->xFunc==0;
68135 if( pDef ){
68136 auth = sqlite3AuthCheck(pParse, SQLITE_FUNCTION, 0, pDef->zName, 0);
68140 pDef->zName);
71331 FuncDef *pDef; /* The function definition object */
71351 pDef = sqlite3FindFunction(db, zId, nId, nFarg, enc, 0);
71352 if( pDef==0 ){
71361 if( pDef->flags & SQLITE_FUNC_COALESCE ){
71399 pDef = sqlite3VtabOverloadFunction(db, pDef, nFarg, pFarg->a[1].pExpr);
71401 pDef = sqlite3VtabOverloadFunction(db, pDef, nFarg, pFarg->a[0].pExpr);
71408 if( (pDef->flags & SQLITE_FUNC_NEEDCOLL)!=0 && !pColl ){
71412 if( pDef->flags & SQLITE_FUNC_NEEDCOLL ){
71417 (char*)pDef, P4_FUNCDEF);
78827 FuncDef *pDef /* The function definition to insert */
78830 int nName = sqlite3Strlen30(pDef->zName);
78831 u8 c1 = (u8)pDef->zName[0];
78833 pOther = functionSearch(pHash, h, pDef->zName, nName);
78835 assert( pOther!=pDef && pOther->pNext!=pDef );
78836 pDef->pNext = pOther->pNext;
78837 pOther->pNext = pDef;
78839 pDef->pNext = 0;
78840 pDef->pHash = pHash->a[h];
78841 pHash->a[h] = pDef;
81064 FuncDef *pDef;
81065 pDef = sqlite3FindFunction(db, zName, sqlite3Strlen30(zName),
81067 if( ALWAYS(pDef) ){
81068 pDef->flags = flagVal;
81101 FuncDef *pDef;
81109 pDef = sqlite3FindFunction(db, pExpr->u.zToken,
81112 if( NEVER(pDef==0) || (pDef->flags & SQLITE_FUNC_LIKE)==0 ){
81120 memcpy(aWc, pDef->pUserData, 3);
81124 *pIsNocase = (pDef->flags & SQLITE_FUNC_CASE)==0;
95419 ** The first parameter (pDef) is a function implementation. The
95427 ** Return either the pDef argument (indicating no change) or a
95433 FuncDef *pDef, /* Function to possibly overload */
95449 if( NEVER(pExpr==0) ) return pDef;
95450 if( pExpr->op!=TK_COLUMN ) return pDef;
95452 if( NEVER(pTab==0) ) return pDef;
95453 if( (pTab->tabFlags & TF_Virtual)==0 ) return pDef;
95458 if( pMod->xFindFunction==0 ) return pDef;
95463 zLowerName = sqlite3DbStrDup(db, pDef->zName);
95472 return pDef;
95478 + sqlite3Strlen30(pDef->zName) + 1);
95480 return pDef;
95482 *pNew = *pDef;
95484 memcpy(pNew->zName, pDef->zName, sqlite3Strlen30(pDef->zName)+1);
117234 Fts3DeferredToken *pDef;
117235 for(pDef=pCsr->pDeferred; pDef; pDef=pDef->pNext){
117236 sqlite3_free(pDef->pList);
117237 pDef->pList = 0;
117249 Fts3DeferredToken *pDef;
117251 for(pDef=pCsr->pDeferred; pDef; pDef=pNext){
117252 pNext = pDef->pNext;
117253 sqlite3_free(pDef->pList);
117254 sqlite3_free(pDef);
117272 Fts3DeferredToken *pDef; /* Used to iterate through deferred tokens */
117294 for(pDef=pCsr->pDeferred; pDef && rc==SQLITE_OK; pDef=pDef->pNext){
117295 Fts3PhraseToken *pPT = pDef->pToken;
117296 if( (pDef->iCol>=p->nColumn || pDef->iCol==i)
117300 fts3PendingListAppend(&pDef->pList, iDocid, i, iPos, &rc);
117308 for(pDef=pCsr->pDeferred; pDef && rc==SQLITE_OK; pDef=pDef->pNext){
117309 if( pDef->pList ){
117310 rc = fts3PendingListAppendVarint(&pDef->pList, 0);