Lines Matching refs:pMod
15752 Module *pMod; /* Pointer to module implementation */ member
101995 Module *pMod = (Module*)sqlite3HashFind(&pParse->db->aModule, zName);
101996 if( pMod==0 && sqlite3_strnicmp(zName, "pragma_", 7)==0 ){
101997 pMod = sqlite3PragmaVtabRegister(pParse->db, zName);
101999 if( pMod && sqlite3VtabEponymousTableInit(pParse, pMod) ){
102000 return pMod->pEpoTab;
104195 zArg2 = sqlite3GetVTable(db, pTab)->pMod->zName;
106647 && sqlite3GetVTable(pParse->db, pTab)->pMod->pModule->xUpdate==0 )
116561 Module *pMod = (Module*)sqliteHashData(j);
116562 sqlite3VdbeMultiLoad(v, 1, "s", pMod->zName);
127418 Module *pMod;
127420 pMod = (Module *)sqlite3Malloc(sizeof(Module) + nName + 1);
127421 if( pMod==0 ){
127425 char *zCopy = (char *)(&pMod[1]);
127427 pMod->zName = zCopy;
127428 pMod->pModule = pModule;
127429 pMod->pAux = pAux;
127430 pMod->xDestroy = xDestroy;
127431 pMod->pEpoTab = 0;
127432 pDel = (Module *)sqlite3HashInsert(&db->aModule,zCopy,(void*)pMod);
127433 assert( pDel==0 || pDel==pMod );
127437 pMod = 0;
127440 return pMod;
127874 Module *pMod,
127910 pVTable->pMod = pMod;
127923 rc = xConstruct(db, pMod->pAux, nArg, azArg, &pVTable->pVtab, &zErr);
127940 pVTable->pVtab->pModule = pMod->pModule;
128004 Module *pMod;
128014 pMod = (Module*)sqlite3HashFind(&db->aModule, zMod);
128016 if( !pMod ){
128022 rc = vtabCallConstructor(db, pTab, pMod, pMod->pModule->xConnect, &zErr);
128075 Module *pMod;
128083 pMod = (Module*)sqlite3HashFind(&db->aModule, zMod);
128089 if( pMod==0 || pMod->pModule->xCreate==0 || pMod->pModule->xDestroy==0 ){
128093 rc = vtabCallConstructor(db, pTab, pMod, pMod->pModule->xCreate, pzErr);
128156 && pCtx->pVTable->pMod->pModule->xUpdate!=0
128213 xDestroy = p->pMod->pModule->xDestroy;
128377 const sqlite3_module *pMod = pVTab->pMod->pModule;
128378 if( pVTab->pVtab && pMod->iVersion>=2 ){
128382 xMethod = pMod->xSavepoint;
128386 xMethod = pMod->xRollbackTo;
128389 xMethod = pMod->xRelease;
128422 sqlite3_module *pMod;
128440 pMod = (sqlite3_module *)pVtab->pModule;
128441 if( pMod->xFindFunction==0 ) return pDef;
128451 rc = pMod->xFindFunction(pVtab, nArg, zLowerName, &xSFunc, &pArg);
128513 SQLITE_PRIVATE int sqlite3VtabEponymousTableInit(Parse *pParse, Module *pMod){
128514 const sqlite3_module *pModule = pMod->pModule;
128519 if( pMod->pEpoTab ) return 1;
128523 pTab->zName = sqlite3DbStrDup(db, pMod->zName);
128528 pMod->pEpoTab = pTab;
128536 rc = vtabCallConstructor(db, pTab, pMod, pModule->xConnect, &zErr);
128540 sqlite3VtabEponymousTableClear(db, pMod);
128550 SQLITE_PRIVATE void sqlite3VtabEponymousTableClear(sqlite3 *db, Module *pMod){
128551 Table *pTab = pMod->pEpoTab;
128558 pMod->pEpoTab = 0;
144406 Module *pMod = (Module *)sqliteHashData(p);
144407 if( pMod->pEpoTab ){
144408 sqlite3VtabDisconnect(db, pMod->pEpoTab);
144586 Module *pMod = (Module *)sqliteHashData(i);
144587 if( pMod->xDestroy ){
144588 pMod->xDestroy(pMod->pAux);
144590 sqlite3VtabEponymousTableClear(db, pMod);
144591 sqlite3DbFree(db, pMod);
158515 const sqlite3_tokenizer_module *pMod;
158627 const sqlite3_tokenizer_module *pMod = 0;
158646 rc = fts3tokQueryTokenizer((Fts3Hash*)pHash, zModule, &pMod, pzErr);
158649 assert( (rc==SQLITE_OK)==(pMod!=0) );
158652 rc = pMod->xCreate((nDequote>1 ? nDequote-1 : 0), azArg, &pTok);
158664 pTab->pMod = pMod;
158669 pMod->xDestroy(pTok);
158685 pTab->pMod->xDestroy(pTab->pTok);
158743 pTab->pMod->xClose(pCsr->pCsr);
158776 rc = pTab->pMod->xNext(pCsr->pCsr,
158815 rc = pTab->pMod->xOpen(pTab->pTok, pCsr->zInput, nByte, &pCsr->pCsr);
165287 sqlite3_tokenizer_module *pMod;
165289 pMod = (sqlite3_tokenizer_module *)pTab->pTokenizer->pModule;
165300 rc = pMod->xNext(pC, &ZDUMMY, &DUMMY1, &DUMMY2, &DUMMY3, &iCurrent);
165302 pMod->xClose(pC);
165341 sqlite3_tokenizer_module *pMod; /* Tokenizer module methods object */
165354 pMod = (sqlite3_tokenizer_module *)pTab->pTokenizer->pModule;
165378 rc = pMod->xNext(pC, &ZDUMMY, &DUMMY1, &iBegin, &iFin, &iCurrent);
165430 pMod->xClose(pC);
166160 sqlite3_tokenizer_module const *pMod = pTab->pTokenizer->pModule;
166231 rc = pMod->xNext(pC, &ZDUMMY, &NDUMMY, &iStart, &iEnd, &iCurrent);
166256 rc = pMod->xNext(pC, &ZDUMMY, &NDUMMY, &iStart, &iEnd, &iCurrent);
166273 pMod->xClose(pC);
203315 Fts5TokenizerModule *pMod = 0;
203318 pMod = pGlobal->pDfltTok;
203320 for(pMod=pGlobal->pTok; pMod; pMod=pMod->pNext){
203321 if( sqlite3_stricmp(zName, pMod->zName)==0 ) break;
203325 return pMod;
203339 Fts5TokenizerModule *pMod;
203341 pMod = fts5LocateTokenizer((Fts5Global*)pApi, zName);
203342 if( pMod ){
203343 *pTokenizer = pMod->x;
203344 *ppUserData = pMod->pUserData;
203361 Fts5TokenizerModule *pMod;
203364 pMod = fts5LocateTokenizer(pGlobal, nArg==0 ? 0 : azArg[0]);
203365 if( pMod==0 ){
203370 rc = pMod->x.xCreate(pMod->pUserData, &azArg[1], (nArg?nArg-1:0), ppTok);
203371 *ppTokApi = &pMod->x;