/external/chromium_org/third_party/sqlite/src/src/ |
D | callback.c | 285 FuncDef *pDef /* The function definition to insert */ in sqlite3FuncDefInsert() argument 288 int nName = sqlite3Strlen30(pDef->zName); in sqlite3FuncDefInsert() 289 u8 c1 = (u8)pDef->zName[0]; in sqlite3FuncDefInsert() 291 pOther = functionSearch(pHash, h, pDef->zName, nName); in sqlite3FuncDefInsert() 293 assert( pOther!=pDef && pOther->pNext!=pDef ); in sqlite3FuncDefInsert() 294 pDef->pNext = pOther->pNext; in sqlite3FuncDefInsert() 295 pOther->pNext = pDef; in sqlite3FuncDefInsert() 297 pDef->pNext = 0; in sqlite3FuncDefInsert() 298 pDef->pHash = pHash->a[h]; in sqlite3FuncDefInsert() 299 pHash->a[h] = pDef; in sqlite3FuncDefInsert()
|
D | vtab.c | 857 FuncDef *pDef, /* Function to possibly overload */ in sqlite3VtabOverloadFunction() argument 873 if( NEVER(pExpr==0) ) return pDef; in sqlite3VtabOverloadFunction() 874 if( pExpr->op!=TK_COLUMN ) return pDef; in sqlite3VtabOverloadFunction() 876 if( NEVER(pTab==0) ) return pDef; in sqlite3VtabOverloadFunction() 877 if( (pTab->tabFlags & TF_Virtual)==0 ) return pDef; in sqlite3VtabOverloadFunction() 882 if( pMod->xFindFunction==0 ) return pDef; in sqlite3VtabOverloadFunction() 887 zLowerName = sqlite3DbStrDup(db, pDef->zName); in sqlite3VtabOverloadFunction() 896 return pDef; in sqlite3VtabOverloadFunction() 902 + sqlite3Strlen30(pDef->zName) + 1); in sqlite3VtabOverloadFunction() 904 return pDef; in sqlite3VtabOverloadFunction() [all …]
|
D | resolve.c | 522 FuncDef *pDef; /* Information about the function */ in resolveExprStep() local 529 pDef = sqlite3FindFunction(pParse->db, zId, nId, n, enc, 0); in resolveExprStep() 530 if( pDef==0 ){ in resolveExprStep() 531 pDef = sqlite3FindFunction(pParse->db, zId, nId, -1, enc, 0); in resolveExprStep() 532 if( pDef==0 ){ in resolveExprStep() 538 is_agg = pDef->xFunc==0; in resolveExprStep() 541 if( pDef ){ in resolveExprStep() 542 auth = sqlite3AuthCheck(pParse, SQLITE_FUNCTION, 0, pDef->zName, 0); in resolveExprStep() 546 pDef->zName); in resolveExprStep()
|
D | func.c | 1428 FuncDef *pDef; in setLikeOptFlag() local 1429 pDef = sqlite3FindFunction(db, zName, sqlite3Strlen30(zName), in setLikeOptFlag() 1431 if( ALWAYS(pDef) ){ in setLikeOptFlag() 1432 pDef->flags = flagVal; in setLikeOptFlag() 1465 FuncDef *pDef; in sqlite3IsLikeFunction() local 1473 pDef = sqlite3FindFunction(db, pExpr->u.zToken, in sqlite3IsLikeFunction() 1476 if( NEVER(pDef==0) || (pDef->flags & SQLITE_FUNC_LIKE)==0 ){ in sqlite3IsLikeFunction() 1484 memcpy(aWc, pDef->pUserData, 3); in sqlite3IsLikeFunction() 1488 *pIsNocase = (pDef->flags & SQLITE_FUNC_CASE)==0; in sqlite3IsLikeFunction()
|
D | expr.c | 2529 FuncDef *pDef; /* The function definition object */ in sqlite3ExprCodeTarget() local 2549 pDef = sqlite3FindFunction(db, zId, nId, nFarg, enc, 0); in sqlite3ExprCodeTarget() 2550 if( pDef==0 ){ in sqlite3ExprCodeTarget() 2559 if( pDef->flags & SQLITE_FUNC_COALESCE ){ in sqlite3ExprCodeTarget() 2597 pDef = sqlite3VtabOverloadFunction(db, pDef, nFarg, pFarg->a[1].pExpr); in sqlite3ExprCodeTarget() 2599 pDef = sqlite3VtabOverloadFunction(db, pDef, nFarg, pFarg->a[0].pExpr); in sqlite3ExprCodeTarget() 2606 if( (pDef->flags & SQLITE_FUNC_NEEDCOLL)!=0 && !pColl ){ in sqlite3ExprCodeTarget() 2610 if( pDef->flags & SQLITE_FUNC_NEEDCOLL ){ in sqlite3ExprCodeTarget() 2615 (char*)pDef, P4_FUNCDEF); in sqlite3ExprCodeTarget()
|
D | vdbeInt.h | 144 FuncDef *pDef; /* Used only when flags==MEM_Agg */ member
|
D | vdbeaux.c | 577 static void freeEphemeralFunction(sqlite3 *db, FuncDef *pDef){ in freeEphemeralFunction() argument 578 if( ALWAYS(pDef) && (pDef->flags & SQLITE_FUNC_EPHEM)!=0 ){ in freeEphemeralFunction() 579 sqlite3DbFree(db, pDef); in freeEphemeralFunction() 892 FuncDef *pDef = pOp->p4.pFunc; in displayP4() local 893 sqlite3_snprintf(nTemp, zTemp, "%s(%d)", pDef->zName, pDef->nArg); in displayP4()
|
D | vdbemem.c | 251 assert( (pMem->flags & MEM_Null)!=0 || pFunc==pMem->u.pDef ); in sqlite3VdbeMemFinalize() 280 sqlite3VdbeMemFinalize(p, p->u.pDef); in sqlite3VdbeMemReleaseExternal()
|
D | vdbeapi.c | 574 pMem->u.pDef = p->pFunc; in sqlite3_aggregate_context()
|
/external/chromium_org/third_party/sqlite/src/ext/fts3/ |
D | fts3_write.c | 2515 Fts3DeferredToken *pDef; in sqlite3Fts3FreeDeferredDoclists() local 2516 for(pDef=pCsr->pDeferred; pDef; pDef=pDef->pNext){ in sqlite3Fts3FreeDeferredDoclists() 2517 sqlite3_free(pDef->pList); in sqlite3Fts3FreeDeferredDoclists() 2518 pDef->pList = 0; in sqlite3Fts3FreeDeferredDoclists() 2530 Fts3DeferredToken *pDef; in sqlite3Fts3FreeDeferredTokens() local 2532 for(pDef=pCsr->pDeferred; pDef; pDef=pNext){ in sqlite3Fts3FreeDeferredTokens() 2533 pNext = pDef->pNext; in sqlite3Fts3FreeDeferredTokens() 2534 sqlite3_free(pDef->pList); in sqlite3Fts3FreeDeferredTokens() 2535 sqlite3_free(pDef); in sqlite3Fts3FreeDeferredTokens() 2553 Fts3DeferredToken *pDef; /* Used to iterate through deferred tokens */ in sqlite3Fts3CacheDeferredDoclists() local [all …]
|
/external/chromium_org/third_party/sqlite/amalgamation/ |
D | sqlite3.c | 12373 FuncDef *pDef; /* Used only when flags==MEM_Agg */ member 56395 assert( (pMem->flags & MEM_Null)!=0 || pFunc==pMem->u.pDef ); 56424 sqlite3VdbeMemFinalize(p, p->u.pDef); 57881 static void freeEphemeralFunction(sqlite3 *db, FuncDef *pDef){ 57882 if( ALWAYS(pDef) && (pDef->flags & SQLITE_FUNC_EPHEM)!=0 ){ 57883 sqlite3DbFree(db, pDef); 58196 FuncDef *pDef = pOp->p4.pFunc; 58197 sqlite3_snprintf(nTemp, zTemp, "%s(%d)", pDef->zName, pDef->nArg); 61087 pMem->u.pDef = p->pFunc; 70232 FuncDef *pDef; /* Information about the function */ [all …]
|
/external/sqlite/dist/orig/ |
D | sqlite3.c | 12981 FuncDef *pDef; /* Used only when flags==MEM_Agg */ member 58600 assert( (pMem->flags & MEM_Null)!=0 || pFunc==pMem->u.pDef ); 58624 sqlite3VdbeMemFinalize(p, p->u.pDef); 60095 static void freeEphemeralFunction(sqlite3 *db, FuncDef *pDef){ 60096 if( ALWAYS(pDef) && (pDef->flags & SQLITE_FUNC_EPHEM)!=0 ){ 60097 sqlite3DbFree(db, pDef); 60406 FuncDef *pDef = pOp->p4.pFunc; 60407 sqlite3_snprintf(nTemp, zTemp, "%s(%d)", pDef->zName, pDef->nArg); 63329 pMem->u.pDef = p->pFunc; 73693 FuncDef *pDef; /* Information about the function */ [all …]
|
/external/sqlite/dist/ |
D | sqlite3.c | 12981 FuncDef *pDef; /* Used only when flags==MEM_Agg */ member 58628 assert( (pMem->flags & MEM_Null)!=0 || pFunc==pMem->u.pDef ); 58652 sqlite3VdbeMemFinalize(p, p->u.pDef); 60123 static void freeEphemeralFunction(sqlite3 *db, FuncDef *pDef){ 60124 if( ALWAYS(pDef) && (pDef->flags & SQLITE_FUNC_EPHEM)!=0 ){ 60125 sqlite3DbFree(db, pDef); 60434 FuncDef *pDef = pOp->p4.pFunc; 60435 sqlite3_snprintf(nTemp, zTemp, "%s(%d)", pDef->zName, pDef->nArg); 63357 pMem->u.pDef = p->pFunc; 73729 FuncDef *pDef; /* Information about the function */ [all …]
|