• Home
  • Raw
  • Download

Lines Matching refs:pDef

18190     FuncDef *pDef;      /* Used only when flags==MEM_Agg */  member
70211 assert( (pMem->flags & MEM_Null)!=0 || pFunc==pMem->u.pDef );
70242 sqlite3VdbeMemFinalize(p, p->u.pDef);
72407 static void freeEphemeralFunction(sqlite3 *db, FuncDef *pDef){
72408 if( (pDef->funcFlags & SQLITE_FUNC_EPHEM)!=0 ){
72409 sqlite3DbFreeNN(db, pDef);
72915 FuncDef *pDef = pOp->p4.pFunc;
72916 sqlite3XPrintf(&x, "%s(%d)", pDef->zName, pDef->nArg);
72921 FuncDef *pDef = pOp->p4.pCtx->pFunc;
72922 sqlite3XPrintf(&x, "%s(%d)", pDef->zName, pDef->nArg);
77063 pMem->u.pDef = p->pFunc;
90211 FuncDef *pDef; /* Information about the function */
90217 pDef = sqlite3FindFunction(pParse->db, zId, n, enc, 0);
90218 if( pDef==0 ){
90219 pDef = sqlite3FindFunction(pParse->db, zId, -2, enc, 0);
90220 if( pDef==0 ){
90226 is_agg = pDef->xFinalize!=0;
90227 if( pDef->funcFlags & SQLITE_FUNC_UNLIKELY ){
90247 pExpr->iTable = pDef->zName[0]=='u' ? 8388608 : 125829120;
90252 int auth = sqlite3AuthCheck(pParse, SQLITE_FUNCTION, 0,pDef->zName,0);
90256 pDef->zName);
90264 if( pDef->funcFlags & (SQLITE_FUNC_CONSTANT|SQLITE_FUNC_SLOCHNG) ){
90270 if( (pDef->funcFlags & SQLITE_FUNC_CONSTANT)==0 ){
90304 assert( pDef!=0 );
90307 testcase( (pDef->funcFlags & SQLITE_FUNC_MINMAX)!=0 );
90308 pNC2->ncFlags |= NC_HasAgg | (pDef->funcFlags & SQLITE_FUNC_MINMAX);
94780 FuncDef *pDef; /* The function definition object */
94802 pDef = sqlite3FindFunction(db, zId, nFarg, enc, 0);
94804 if( pDef==0 && pParse->explain ){
94805 pDef = sqlite3FindFunction(db, "unknown", nFarg, enc, 0);
94808 if( pDef==0 || pDef->xFinalize!=0 ){
94817 if( pDef->funcFlags & SQLITE_FUNC_COALESCE ){
94836 if( pDef->funcFlags & SQLITE_FUNC_UNLIKELY ){
94846 if( pDef->funcFlags & SQLITE_FUNC_AFFINITY ){
94862 if( (pDef->funcFlags & SQLITE_FUNC_NEEDCOLL)!=0 && !pColl ){
94879 if( (pDef->funcFlags & (SQLITE_FUNC_LENGTH|SQLITE_FUNC_TYPEOF))!=0 ){
94887 testcase( pDef->funcFlags & OPFLAG_LENGTHARG );
94889 pDef->funcFlags & (OPFLAG_LENGTHARG|OPFLAG_TYPEOFARG);
94914 pDef = sqlite3VtabOverloadFunction(db, pDef, nFarg, pFarg->a[1].pExpr);
94916 pDef = sqlite3VtabOverloadFunction(db, pDef, nFarg, pFarg->a[0].pExpr);
94919 if( pDef->funcFlags & SQLITE_FUNC_NEEDCOLL ){
94924 (char*)pDef, P4_FUNCDEF);
107417 FuncDef *pDef;
107418 pDef = sqlite3FindFunction(db, zName, 2, SQLITE_UTF8, 0);
107419 if( ALWAYS(pDef) ){
107420 pDef->funcFlags |= flagVal;
107458 FuncDef *pDef;
107466 pDef = sqlite3FindFunction(db, pExpr->u.zToken, 2, SQLITE_UTF8, 0);
107467 if( NEVER(pDef==0) || (pDef->funcFlags & SQLITE_FUNC_LIKE)==0 ){
107475 memcpy(aWc, pDef->pUserData, 3);
107479 *pIsNocase = (pDef->funcFlags & SQLITE_FUNC_CASE)==0;
126186 FuncDef *pDef, /* Function to possibly overload */
126202 if( NEVER(pExpr==0) ) return pDef;
126203 if( pExpr->op!=TK_COLUMN ) return pDef;
126205 if( pTab==0 ) return pDef;
126206 if( !IsVirtual(pTab) ) return pDef;
126211 if( pMod->xFindFunction==0 ) return pDef;
126216 zLowerName = sqlite3DbStrDup(db, pDef->zName);
126225 return pDef;
126231 + sqlite3Strlen30(pDef->zName) + 1);
126233 return pDef;
126235 *pNew = *pDef;
126237 memcpy((char*)&pNew[1], pDef->zName, sqlite3Strlen30(pDef->zName)+1);
161398 Fts3DeferredToken *pDef;
161399 for(pDef=pCsr->pDeferred; pDef; pDef=pDef->pNext){
161400 fts3PendingListDelete(pDef->pList);
161401 pDef->pList = 0;
161410 Fts3DeferredToken *pDef;
161412 for(pDef=pCsr->pDeferred; pDef; pDef=pNext){
161413 pNext = pDef->pNext;
161414 fts3PendingListDelete(pDef->pList);
161415 sqlite3_free(pDef);
161433 Fts3DeferredToken *pDef; /* Used to iterate through deferred tokens */
161455 for(pDef=pCsr->pDeferred; pDef && rc==SQLITE_OK; pDef=pDef->pNext){
161456 Fts3PhraseToken *pPT = pDef->pToken;
161457 if( (pDef->iCol>=p->nColumn || pDef->iCol==i)
161462 fts3PendingListAppend(&pDef->pList, iDocid, i, iPos, &rc);
161471 for(pDef=pCsr->pDeferred; pDef && rc==SQLITE_OK; pDef=pDef->pNext){
161472 if( pDef->pList ){
161473 rc = fts3PendingListAppendVarint(&pDef->pList, 0);