Lines Matching defs:xInit
2058 ** The xInit method initializes the memory allocator. For example,
2062 ** by xInit. The pAppData pointer is used as the only parameter to
2063 ** xInit and xShutdown.
2066 ** the xInit method, so the xInit method need not be threadsafe. The
2076 ** SQLite will never invoke xInit() more than once without an intervening
2086 int (*xInit)(void*); /* Initialize the memory allocator */
2088 void *pAppData; /* Argument to xInit() and xShutdown() */
9271 ** [[the xInit() page cache method]]
9272 ** ^(The xInit() method is called once for each effective
9274 ** (usually only once during the lifetime of the process). ^(The xInit()
9276 ** The intent of the xInit() method is to set up global data structures
9278 ** ^(If the xInit() method is NULL, then the
9288 ** ^SQLite automatically serializes calls to the xInit method,
9289 ** so the xInit method need not be threadsafe. ^The
9294 ** ^SQLite will never invoke xInit() more than once without an intervening
9409 int (*xInit)(void*);
9431 int (*xInit)(void*);
30385 rc = sqlite3GlobalConfig.m.xInit(sqlite3GlobalConfig.m.pAppData);
54518 if( sqlite3GlobalConfig.pcache2.xInit==0 ){
54519 /* IMPLEMENTATION-OF: R-26801-64137 If the xInit() method is NULL, then the
54523 assert( sqlite3GlobalConfig.pcache2.xInit!=0 );
54525 return sqlite3GlobalConfig.pcache2.xInit(sqlite3GlobalConfig.pcache2.pArg);
55851 ** Implementation of the sqlite3_pcache.xInit method.
55903 ** Note that the static mutex allocated in xInit does
56354 pcache1Init, /* xInit */
137687 sqlite3_loadext_entry xInit;
137752 xInit = (sqlite3_loadext_entry)sqlite3OsDlSym(pVfs, handle, zEntry);
137765 if( xInit==0 && zProc==0 ){
137784 xInit = (sqlite3_loadext_entry)sqlite3OsDlSym(pVfs, handle, zEntry);
137786 if( xInit==0 ){
137802 rc = xInit(db, &zErrmsg, &sqlite3Apis);
137921 void (*xInit)(void)
137925 if( xInit==0 ) return SQLITE_MISUSE_BKPT;
137941 if( wsdAutoext.aExt[i]==xInit ) break;
137951 wsdAutoext.aExt[wsdAutoext.nExt] = xInit;
137962 ** Cancel a prior call to sqlite3_auto_extension. Remove xInit from the
137964 ** is currently on the list. If xInit is not on the list, then this
137967 ** Return 1 if xInit was found on the list and removed. Return 0 if xInit
137971 void (*xInit)(void)
137980 if( xInit==0 ) return 0;
137984 if( wsdAutoext.aExt[i]==xInit ){
138024 sqlite3_loadext_entry xInit;
138043 xInit = 0;
138046 xInit = (sqlite3_loadext_entry)wsdAutoext.aExt[i];
138050 if( xInit && (rc = xInit(db, &zErrmsg, pThunk))!=0 ){
180055 ** to the xInit method, so the xInit method need not be threadsafe.
180057 ** The following mutex is what serializes access to the appdef pcache xInit
180058 ** methods. The sqlite3_pcache_methods.xInit() all is embedded in the
180352 if( sqlite3GlobalConfig.pcache2.xInit==0 ){