Lines Matching defs:xInit
2049 ** The xInit method initializes the memory allocator. For example,
2053 ** by xInit. The pAppData pointer is used as the only parameter to
2054 ** xInit and xShutdown.
2057 ** the xInit method, so the xInit method need not be threadsafe. The
2067 ** SQLite will never invoke xInit() more than once without an intervening
2077 int (*xInit)(void*); /* Initialize the memory allocator */
2079 void *pAppData; /* Argument to xInit() and xShutdown() */
9039 ** [[the xInit() page cache method]]
9040 ** ^(The xInit() method is called once for each effective
9042 ** (usually only once during the lifetime of the process). ^(The xInit()
9044 ** The intent of the xInit() method is to set up global data structures
9046 ** ^(If the xInit() method is NULL, then the
9056 ** ^SQLite automatically serializes calls to the xInit method,
9057 ** so the xInit method need not be threadsafe. ^The
9062 ** ^SQLite will never invoke xInit() more than once without an intervening
9177 int (*xInit)(void*);
9199 int (*xInit)(void*);
29211 rc = sqlite3GlobalConfig.m.xInit(sqlite3GlobalConfig.m.pAppData);
52896 if( sqlite3GlobalConfig.pcache2.xInit==0 ){
52897 /* IMPLEMENTATION-OF: R-26801-64137 If the xInit() method is NULL, then the
52901 assert( sqlite3GlobalConfig.pcache2.xInit!=0 );
52903 return sqlite3GlobalConfig.pcache2.xInit(sqlite3GlobalConfig.pcache2.pArg);
54229 ** Implementation of the sqlite3_pcache.xInit method.
54281 ** Note that the static mutex allocated in xInit does
54732 pcache1Init, /* xInit */
133177 sqlite3_loadext_entry xInit;
133232 xInit = (sqlite3_loadext_entry)sqlite3OsDlSym(pVfs, handle, zEntry);
133245 if( xInit==0 && zProc==0 ){
133264 xInit = (sqlite3_loadext_entry)sqlite3OsDlSym(pVfs, handle, zEntry);
133266 if( xInit==0 ){
133282 rc = xInit(db, &zErrmsg, &sqlite3Apis);
133398 void (*xInit)(void)
133415 if( wsdAutoext.aExt[i]==xInit ) break;
133425 wsdAutoext.aExt[wsdAutoext.nExt] = xInit;
133436 ** Cancel a prior call to sqlite3_auto_extension. Remove xInit from the
133438 ** is currently on the list. If xInit is not on the list, then this
133441 ** Return 1 if xInit was found on the list and removed. Return 0 if xInit
133445 void (*xInit)(void)
133455 if( wsdAutoext.aExt[i]==xInit ){
133495 sqlite3_loadext_entry xInit;
133514 xInit = 0;
133517 xInit = (sqlite3_loadext_entry)wsdAutoext.aExt[i];
133521 if( xInit && (rc = xInit(db, &zErrmsg, pThunk))!=0 ){
173688 ** to the xInit method, so the xInit method need not be threadsafe.
173690 ** The following mutex is what serializes access to the appdef pcache xInit
173691 ** methods. The sqlite3_pcache_methods.xInit() all is embedded in the
173966 if( sqlite3GlobalConfig.pcache2.xInit==0 ){