Home | History | Annotate | Download | only in amalgamation

Lines Matching defs:Fts3Expr

113083 typedef struct Fts3Expr Fts3Expr;
113147 Fts3Expr *pExpr; /* Parsed MATCH query string */
113218 ** If Fts3Expr.eType is either FTSQUERY_NEAR or FTSQUERY_PHRASE and isLoaded
113228 struct Fts3Expr {
113231 Fts3Expr *pParent; /* pParent->pLeft==this or pParent->pRight==this */
113232 Fts3Expr *pLeft; /* Left operand */
113233 Fts3Expr *pRight; /* Right operand */
113336 SQLITE_PRIVATE char *sqlite3Fts3FindPositions(Fts3Expr *, sqlite3_int64, int);
113337 SQLITE_PRIVATE int sqlite3Fts3ExprLoadDoclist(Fts3Cursor *, Fts3Expr *);
113338 SQLITE_PRIVATE int sqlite3Fts3ExprLoadFtDoclist(Fts3Cursor *, Fts3Expr *, char **, int *);
113339 SQLITE_PRIVATE int sqlite3Fts3ExprNearTrim(Fts3Expr *, Fts3Expr *, int);
113358 char **, int, int, const char *, int, Fts3Expr **
113360 SQLITE_PRIVATE void sqlite3Fts3ExprFree(Fts3Expr *);
115393 static int fts3DeferExpression(Fts3Cursor *pCsr, Fts3Expr *pExpr){
115650 ** in Fts3Expr.aDoclist/nDoclist. This function removes all entries from
115654 SQLITE_PRIVATE int sqlite3Fts3ExprNearTrim(Fts3Expr *pLeft, Fts3Expr *pRight, int nNear){
115701 Fts3Expr *pExpr, /* Expression to create seg-readers for */
115738 static void fts3ExprFreeSegReaders(Fts3Expr *pExpr){
115758 static int fts3ExprCost(Fts3Expr *pExpr){
115782 Fts3Expr *pExpr;
115786 Fts3Expr *pExpr, /* Expression to create seg-readers for */
115841 Fts3Expr *pExpr, /* Parsed fts3 expression */
115946 Fts3Expr *pLeft;
115947 Fts3Expr *pRight;
116307 SQLITE_PRIVATE int sqlite3Fts3ExprLoadDoclist(Fts3Cursor *pCsr, Fts3Expr *pExpr){
116317 Fts3Expr *pExpr,
116336 Fts3Expr *pExpr, /* Access this expressions doclist */
117359 ** and other information (column names etc.) in pParse. Create an Fts3Expr
117364 ** Fts3Expr structure (if any) by passing it to sqlite3_free().
117373 Fts3Expr **ppExpr, /* OUT: expression */
117380 Fts3Expr *pRet = 0;
117393 nByte = sizeof(Fts3Expr) + sizeof(Fts3Phrase) + nToken;
117394 pRet = (Fts3Expr *)fts3MallocZero(nByte);
117442 ** input buffer and create an Fts3Expr structure of type FTSQUERY_PHRASE
117446 ** allocated Fts3Expr structure. Otherwise, either SQLITE_NOMEM (out of memory
117453 Fts3Expr **ppExpr /* OUT: expression */
117458 Fts3Expr *p = 0;
117472 int nByte = sizeof(Fts3Expr) + sizeof(Fts3Phrase);
117504 int nByte = sizeof(Fts3Expr) + sizeof(Fts3Phrase);
117544 static int fts3ExprParse(ParseContext *, const char *, int, Fts3Expr **, int *);
117547 ** The output variable *ppExpr is populated with an allocated Fts3Expr
117557 Fts3Expr **ppExpr, /* OUT: expression */
117575 Fts3Expr *pRet = 0;
117623 pRet = (Fts3Expr *)fts3MallocZero(sizeof(Fts3Expr));
117706 ** The argument is an Fts3Expr structure for a binary operator (any type
117724 static int opPrecedence(Fts3Expr *p){
117746 Fts3Expr **ppHead, /* Pointer to the root node of a tree */
117747 Fts3Expr *pPrev, /* Node most recently inserted into the tree */
117748 Fts3Expr *pNew /* New binary node to insert into expression tree */
117750 Fts3Expr *pSplit = pPrev;
117779 Fts3Expr **ppExpr, /* OUT: Parsed query structure */
117782 Fts3Expr *pRet = 0;
117783 Fts3Expr *pPrev = 0;
117784 Fts3Expr *pNotBranch = 0; /* Only used in legacy parse mode */
117791 Fts3Expr *p = 0;
117801 Fts3Expr *pNot = fts3MallocZero(sizeof(Fts3Expr));
117832 Fts3Expr *pAnd;
117834 pAnd = fts3MallocZero(sizeof(Fts3Expr));
117894 Fts3Expr *pIter = pNotBranch;
117918 ** query expression and create a tree of Fts3Expr structures representing the
117945 Fts3Expr **ppExpr /* OUT: Parsed query structure */
117977 SQLITE_PRIVATE void sqlite3Fts3ExprFree(Fts3Expr *p){
118032 static char *exprToString(Fts3Expr *pExpr, char *zBuf){
118099 Fts3Expr *pExpr;
122409 ** references to deferred doclists from within the tree of Fts3Expr
122412 static void fts3DeferredDoclistClear(Fts3Expr *pExpr){
122683 ** Fts3Expr.aDoclist[]/nDoclist.
122783 Fts3Expr *pExpr, /* Expression to iterate phrases of */
122785 int (*x)(Fts3Expr*,int,void*), /* Callback function to invoke for phrases */
122815 Fts3Expr *pExpr, /* Expression to iterate phrases of */
122816 int (*x)(Fts3Expr*,int,void*), /* Callback function to invoke for phrases */
122825 ** (Fts3Expr.aDoclist[]) and the doclists associated with all phrase nodes
122837 static int fts3ExprNearTrim(Fts3Expr *pExpr){
122839 Fts3Expr *pParent = pExpr->pParent;
122851 Fts3Expr *pLeft = pParent->pLeft;
122870 ** for each phrase into Fts3Expr.aDoclist[]/nDoclist. See also
122873 static int fts3ExprLoadDoclistsCb(Fts3Expr *pExpr, int iPhrase, void *ctx){
122917 static int fts3ExprPhraseCountCb(Fts3Expr *pExpr, int iPhrase, void *ctx){
122923 static int fts3ExprPhraseCount(Fts3Expr *pExpr){
123055 static int fts3SnippetFindPositions(Fts3Expr *pExpr, int iPhrase, void *ctx){
123467 Fts3Expr *pExpr, /* Phrase expression node */
123522 Fts3Expr *pExpr, /* Phrase expression node */
123622 Fts3Expr *pExpr; /* Pointer to phrase expression */
123636 Fts3Expr *pExpr, /* Phrase expression node */
123848 Fts3Expr *pExpr;
124064 static int fts3ExprTermOffsetInit(Fts3Expr *pExpr, int iPhrase, void *ctx){