Lines Matching refs:pGlobal
169105 Fts5Global *pGlobal,
169178 rc = sqlite3Fts5GetTokenizer(pGlobal,
169235 static int fts5ConfigDefaultTokenizer(Fts5Global *pGlobal, Fts5Config *pConfig){
169238 pGlobal, 0, 0, &pConfig->pTok, &pConfig->pTokApi, 0
169357 Fts5Global *pGlobal,
169417 rc = fts5ConfigParseSpecial(pGlobal, pRet, zOne, zTwo?zTwo:"", pzErr);
169433 rc = fts5ConfigDefaultTokenizer(pGlobal, pRet);
171808 Fts5Global *pGlobal = (Fts5Global*)sqlite3_user_data(pCtx);
171851 rc = sqlite3Fts5ConfigParse(pGlobal, db, nConfig, azConfig, &pConfig, &zErr);
171943 static int sqlite3Fts5ExprInit(Fts5Global *pGlobal, sqlite3 *db){
171955 void *pCtx = (void*)pGlobal;
178300 Fts5Global *pGlobal; /* Global context for this function */
178329 Fts5Global *pGlobal; /* Global (connection wide) data */
178572 Fts5Global *pGlobal = (Fts5Global*)pAux;
178581 rc = sqlite3Fts5ConfigParse(pGlobal, db, argc, azConfig, &pConfig, pzErr);
178586 pTab->pGlobal = pGlobal;
178808 Fts5Global *pGlobal = pTab->pGlobal;
178811 pCsr->pNext = pGlobal->pCsr;
178812 pGlobal->pCsr = pCsr;
178813 pCsr->iCsrId = ++pGlobal->iNextId;
178892 for(pp=&pTab->pGlobal->pCsr; (*pp)!=pCsr; pp=&(*pp)->pNext);
178942 for(pCsr=pTab->pGlobal->pCsr; pCsr; pCsr=pCsr->pNext){
179145 for(pAux=pTab->pGlobal->pAux; pAux; pAux=pAux->pNext){
180192 static Fts5Cursor *fts5CursorFromCsrid(Fts5Global *pGlobal, i64 iCsrId){
180194 for(pCsr=pGlobal->pCsr; pCsr; pCsr=pCsr->pNext){
180214 pCsr = fts5CursorFromCsrid(pAux->pGlobal, iCsrId);
180233 Fts5Global *pGlobal,
180240 pCsr = fts5CursorFromCsrid(pGlobal, iCsrId);
180422 Fts5Global *pGlobal = (Fts5Global*)pApi;
180423 int rc = sqlite3_overload_function(pGlobal->db, zName, -1);
180436 pAux->pGlobal = pGlobal;
180440 pAux->pNext = pGlobal->pAux;
180441 pGlobal->pAux = pAux;
180461 Fts5Global *pGlobal = (Fts5Global*)pApi;
180477 pNew->pNext = pGlobal->pTok;
180478 pGlobal->pTok = pNew;
180480 pGlobal->pDfltTok = pNew;
180490 Fts5Global *pGlobal,
180496 pMod = pGlobal->pDfltTok;
180498 for(pMod=pGlobal->pTok; pMod; pMod=pMod->pNext){
180532 Fts5Global *pGlobal,
180542 pMod = fts5LocateTokenizer(pGlobal, nArg==0 ? 0 : azArg[0]);
180566 Fts5Global *pGlobal = (Fts5Global*)pCtx;
180568 for(pAux=pGlobal->pAux; pAux; pAux=pNextAux){
180574 for(pTok=pGlobal->pTok; pTok; pTok=pNextTok){
180580 sqlite3_free(pGlobal);
180588 Fts5Global *pGlobal = (Fts5Global*)sqlite3_user_data(pCtx);
180591 assert( sizeof(buf)>=sizeof(pGlobal) );
180592 memcpy(buf, (void*)&pGlobal, sizeof(pGlobal));
180593 sqlite3_result_blob(pCtx, buf, sizeof(pGlobal), SQLITE_TRANSIENT);
180636 Fts5Global *pGlobal = 0;
180638 pGlobal = (Fts5Global*)sqlite3_malloc(sizeof(Fts5Global));
180639 if( pGlobal==0 ){
180642 void *p = (void*)pGlobal;
180643 memset(pGlobal, 0, sizeof(Fts5Global));
180644 pGlobal->db = db;
180645 pGlobal->api.iVersion = 2;
180646 pGlobal->api.xCreateFunction = fts5CreateAux;
180647 pGlobal->api.xCreateTokenizer = fts5CreateTokenizer;
180648 pGlobal->api.xFindTokenizer = fts5FindTokenizer;
180651 if( rc==SQLITE_OK ) rc = sqlite3Fts5ExprInit(pGlobal, db);
180652 if( rc==SQLITE_OK ) rc = sqlite3Fts5AuxInit(&pGlobal->api);
180653 if( rc==SQLITE_OK ) rc = sqlite3Fts5TokenizerInit(&pGlobal->api);
180654 if( rc==SQLITE_OK ) rc = sqlite3Fts5VocabInit(pGlobal, db);
183803 Fts5Global *pGlobal; /* FTS5 global object for this database */
183941 pRet->pGlobal = (Fts5Global*)pAux;
184022 pIndex = sqlite3Fts5IndexFromCsrid(pTab->pGlobal, iId, &nCol);
184214 static int sqlite3Fts5VocabInit(Fts5Global *pGlobal, sqlite3 *db){
184240 void *p = (void*)pGlobal;