Lines Matching refs:pGlobal
169135 Fts5Global *pGlobal,
169208 rc = sqlite3Fts5GetTokenizer(pGlobal,
169265 static int fts5ConfigDefaultTokenizer(Fts5Global *pGlobal, Fts5Config *pConfig){
169268 pGlobal, 0, 0, &pConfig->pTok, &pConfig->pTokApi, 0
169387 Fts5Global *pGlobal,
169447 rc = fts5ConfigParseSpecial(pGlobal, pRet, zOne, zTwo?zTwo:"", pzErr);
169463 rc = fts5ConfigDefaultTokenizer(pGlobal, pRet);
171838 Fts5Global *pGlobal = (Fts5Global*)sqlite3_user_data(pCtx);
171881 rc = sqlite3Fts5ConfigParse(pGlobal, db, nConfig, azConfig, &pConfig, &zErr);
171973 static int sqlite3Fts5ExprInit(Fts5Global *pGlobal, sqlite3 *db){
171985 void *pCtx = (void*)pGlobal;
178330 Fts5Global *pGlobal; /* Global context for this function */
178359 Fts5Global *pGlobal; /* Global (connection wide) data */
178602 Fts5Global *pGlobal = (Fts5Global*)pAux;
178611 rc = sqlite3Fts5ConfigParse(pGlobal, db, argc, azConfig, &pConfig, pzErr);
178616 pTab->pGlobal = pGlobal;
178838 Fts5Global *pGlobal = pTab->pGlobal;
178841 pCsr->pNext = pGlobal->pCsr;
178842 pGlobal->pCsr = pCsr;
178843 pCsr->iCsrId = ++pGlobal->iNextId;
178922 for(pp=&pTab->pGlobal->pCsr; (*pp)!=pCsr; pp=&(*pp)->pNext);
178972 for(pCsr=pTab->pGlobal->pCsr; pCsr; pCsr=pCsr->pNext){
179175 for(pAux=pTab->pGlobal->pAux; pAux; pAux=pAux->pNext){
180222 static Fts5Cursor *fts5CursorFromCsrid(Fts5Global *pGlobal, i64 iCsrId){
180224 for(pCsr=pGlobal->pCsr; pCsr; pCsr=pCsr->pNext){
180244 pCsr = fts5CursorFromCsrid(pAux->pGlobal, iCsrId);
180263 Fts5Global *pGlobal,
180270 pCsr = fts5CursorFromCsrid(pGlobal, iCsrId);
180452 Fts5Global *pGlobal = (Fts5Global*)pApi;
180453 int rc = sqlite3_overload_function(pGlobal->db, zName, -1);
180466 pAux->pGlobal = pGlobal;
180470 pAux->pNext = pGlobal->pAux;
180471 pGlobal->pAux = pAux;
180491 Fts5Global *pGlobal = (Fts5Global*)pApi;
180507 pNew->pNext = pGlobal->pTok;
180508 pGlobal->pTok = pNew;
180510 pGlobal->pDfltTok = pNew;
180520 Fts5Global *pGlobal,
180526 pMod = pGlobal->pDfltTok;
180528 for(pMod=pGlobal->pTok; pMod; pMod=pMod->pNext){
180562 Fts5Global *pGlobal,
180572 pMod = fts5LocateTokenizer(pGlobal, nArg==0 ? 0 : azArg[0]);
180596 Fts5Global *pGlobal = (Fts5Global*)pCtx;
180598 for(pAux=pGlobal->pAux; pAux; pAux=pNextAux){
180604 for(pTok=pGlobal->pTok; pTok; pTok=pNextTok){
180610 sqlite3_free(pGlobal);
180618 Fts5Global *pGlobal = (Fts5Global*)sqlite3_user_data(pCtx);
180621 assert( sizeof(buf)>=sizeof(pGlobal) );
180622 memcpy(buf, (void*)&pGlobal, sizeof(pGlobal));
180623 sqlite3_result_blob(pCtx, buf, sizeof(pGlobal), SQLITE_TRANSIENT);
180666 Fts5Global *pGlobal = 0;
180668 pGlobal = (Fts5Global*)sqlite3_malloc(sizeof(Fts5Global));
180669 if( pGlobal==0 ){
180672 void *p = (void*)pGlobal;
180673 memset(pGlobal, 0, sizeof(Fts5Global));
180674 pGlobal->db = db;
180675 pGlobal->api.iVersion = 2;
180676 pGlobal->api.xCreateFunction = fts5CreateAux;
180677 pGlobal->api.xCreateTokenizer = fts5CreateTokenizer;
180678 pGlobal->api.xFindTokenizer = fts5FindTokenizer;
180681 if( rc==SQLITE_OK ) rc = sqlite3Fts5ExprInit(pGlobal, db);
180682 if( rc==SQLITE_OK ) rc = sqlite3Fts5AuxInit(&pGlobal->api);
180683 if( rc==SQLITE_OK ) rc = sqlite3Fts5TokenizerInit(&pGlobal->api);
180684 if( rc==SQLITE_OK ) rc = sqlite3Fts5VocabInit(pGlobal, db);
183833 Fts5Global *pGlobal; /* FTS5 global object for this database */
183971 pRet->pGlobal = (Fts5Global*)pAux;
184052 pIndex = sqlite3Fts5IndexFromCsrid(pTab->pGlobal, iId, &nCol);
184244 static int sqlite3Fts5VocabInit(Fts5Global *pGlobal, sqlite3 *db){
184270 void *p = (void*)pGlobal;