Lines Matching refs:Fts5ExprPhrase

48   Fts5ExprPhrase **apExprPhrase;  /* Pointers to phrase objects */
102 struct Fts5ExprPhrase { struct
117 Fts5ExprPhrase *apPhrase[1]; /* Array of phrase pointers */ argument
129 Fts5ExprPhrase **apPhrase; /* Array of all phrases */
404 Fts5ExprPhrase **ap = (Fts5ExprPhrase**)sqlite3_realloc( in sqlite3Fts5ExprAnd()
405 p1->apExprPhrase, nPhrase * sizeof(Fts5ExprPhrase*) in sqlite3Fts5ExprAnd()
411 memmove(&ap[p2->nPhrase], ap, p1->nPhrase*sizeof(Fts5ExprPhrase*)); in sqlite3Fts5ExprAnd()
542 Fts5ExprPhrase *pPhrase, /* Phrase object to initialize */ in fts5ExprPhraseIsMatch()
681 Fts5ExprPhrase **apPhrase = pNear->apPhrase; in fts5ExprNearIsMatch()
843 Fts5ExprPhrase *pPhrase = pNear->apPhrase[0]; in fts5ExprNearTest()
861 Fts5ExprPhrase *pPhrase = pNear->apPhrase[i]; in fts5ExprNearTest()
901 Fts5ExprPhrase *pPhrase = pNear->apPhrase[i]; in fts5ExprNearInitAll()
983 Fts5ExprPhrase *pPhrase = pNear->apPhrase[i]; in fts5ExprNodeZeroPoslist()
1034 Fts5ExprPhrase *pLeft = pNear->apPhrase[0]; in fts5ExprNodeTest_STRING()
1061 Fts5ExprPhrase *pPhrase = pNear->apPhrase[i]; in fts5ExprNodeTest_STRING()
1173 Fts5ExprPhrase *pPhrase = pNode->pNear->apPhrase[0]; in fts5ExprNodeTest_TERM()
1549 static void fts5ExprPhraseFree(Fts5ExprPhrase *pPhrase){ in fts5ExprPhraseFree()
1574 void sqlite3Fts5ParseSetCaret(Fts5ExprPhrase *pPhrase){ in sqlite3Fts5ParseSetCaret()
1591 Fts5ExprPhrase *pPhrase /* Recently parsed phrase */ in sqlite3Fts5ParseNearset()
1602 nByte = sizeof(Fts5ExprNearset) + SZALLOC * sizeof(Fts5ExprPhrase*); in sqlite3Fts5ParseNearset()
1613 nByte = sizeof(Fts5ExprNearset) + nNew * sizeof(Fts5ExprPhrase*); in sqlite3Fts5ParseNearset()
1629 Fts5ExprPhrase *pLast = pRet->apPhrase[pRet->nPhrase-1]; in sqlite3Fts5ParseNearset()
1653 Fts5ExprPhrase *pPhrase;
1671 Fts5ExprPhrase *pPhrase = pCtx->pPhrase; in fts5ParseTokenize()
1695 Fts5ExprPhrase *pNew; in fts5ParseTokenize()
1698 pNew = (Fts5ExprPhrase*)sqlite3_realloc64(pPhrase, in fts5ParseTokenize()
1699 sizeof(Fts5ExprPhrase) + sizeof(Fts5ExprTerm) * nNew in fts5ParseTokenize()
1704 if( pPhrase==0 ) memset(pNew, 0, sizeof(Fts5ExprPhrase)); in fts5ParseTokenize()
1725 void sqlite3Fts5ParsePhraseFree(Fts5ExprPhrase *pPhrase){ in sqlite3Fts5ParsePhraseFree()
1750 sqlite3_int64 nByte = sizeof(Fts5ExprPhrase*) * (pParse->nPhrase + 8); in parseGrowPhraseArray()
1751 Fts5ExprPhrase **apNew; in parseGrowPhraseArray()
1752 apNew = (Fts5ExprPhrase**)sqlite3_realloc64(pParse->apPhrase, nByte); in parseGrowPhraseArray()
1767 Fts5ExprPhrase *sqlite3Fts5ParseTerm( in sqlite3Fts5ParseTerm()
1769 Fts5ExprPhrase *pAppend, /* Phrase to append to */ in sqlite3Fts5ParseTerm()
1807 sCtx.pPhrase = sqlite3Fts5MallocZero(&pParse->rc, sizeof(Fts5ExprPhrase)); in sqlite3Fts5ParseTerm()
1827 Fts5ExprPhrase *pOrig; /* The phrase extracted from pExpr */ in sqlite3Fts5ExprClonePhrase()
1834 pNew->apExprPhrase = (Fts5ExprPhrase**)sqlite3Fts5MallocZero(&rc, in sqlite3Fts5ExprClonePhrase()
1835 sizeof(Fts5ExprPhrase*)); in sqlite3Fts5ExprClonePhrase()
1843 sizeof(Fts5ExprNearset) + sizeof(Fts5ExprPhrase*)); in sqlite3Fts5ExprClonePhrase()
1878 sCtx.pPhrase = sqlite3Fts5MallocZero(&rc, sizeof(Fts5ExprPhrase)); in sqlite3Fts5ExprClonePhrase()
2236 Fts5ExprPhrase *pPhrase = (Fts5ExprPhrase*)sqlite3Fts5MallocZero( in fts5ParsePhraseToAnd()
2237 &pParse->rc, sizeof(Fts5ExprPhrase) in fts5ParsePhraseToAnd()
2322 Fts5ExprPhrase *pPhrase = pNear->apPhrase[0]; in sqlite3Fts5ParseNode()
2392 Fts5ExprPhrase **ap; in sqlite3Fts5ParseImplicitAnd()
2403 memmove(ap, &ap[1], sizeof(Fts5ExprPhrase*)*pRight->pNear->nPhrase); in sqlite3Fts5ParseImplicitAnd()
2507 Fts5ExprPhrase *pPhrase = pNear->apPhrase[i]; in fts5ExprPrintTcl()
2580 Fts5ExprPhrase *pPhrase = pNear->apPhrase[i]; in fts5ExprPrint()
2844 Fts5ExprPhrase *pPhrase = pExpr->apExprPhrase[iPhrase]; in sqlite3Fts5ExprPoslist()
3044 Fts5ExprPhrase *pPhrase = pExpr->apExprPhrase[iPhrase]; in sqlite3Fts5ExprPhraseCollist()