Lines Matching refs:xInit
1847 ** The xInit method initializes the memory allocator. (For example,
1851 ** by xInit. The pAppData pointer is used as the only parameter to
1852 ** xInit and xShutdown.
1855 ** the xInit method, so the xInit method need not be threadsafe. The
1865 ** SQLite will never invoke xInit() more than once without an intervening
1875 int (*xInit)(void*); /* Initialize the memory allocator */
1877 void *pAppData; /* Argument to xInit() and xShutdown() */
6684 ** [[the xInit() page cache method]]
6685 ** ^(The xInit() method is called once for each effective
6687 ** (usually only once during the lifetime of the process). ^(The xInit()
6689 ** The intent of the xInit() method is to set up global data structures
6691 ** ^(If the xInit() method is NULL, then the
6701 ** ^SQLite automatically serializes calls to the xInit method,
6702 ** so the xInit method need not be threadsafe. ^The
6707 ** ^SQLite will never invoke xInit() more than once without an intervening
6822 int (*xInit)(void*);
6844 int (*xInit)(void*);
18778 return sqlite3GlobalConfig.m.xInit(sqlite3GlobalConfig.m.pAppData);
36366 if( sqlite3GlobalConfig.pcache2.xInit==0 ){
36367 /* IMPLEMENTATION-OF: R-26801-64137 If the xInit() method is NULL, then the
36372 return sqlite3GlobalConfig.pcache2.xInit(sqlite3GlobalConfig.pcache2.pArg);
37368 ** Implementation of the sqlite3_pcache.xInit method.
37385 ** Note that the static mutex allocated in xInit does
37793 pcache1Init, /* xInit */
91806 int (*xInit)(sqlite3*,char**,const sqlite3_api_routines*);
91842 xInit = (int(*)(sqlite3*,char**,const sqlite3_api_routines*))
91844 if( xInit==0 ){
91856 }else if( xInit(db, &zErrmsg, &sqlite3Apis) ){
91967 SQLITE_API int sqlite3_auto_extension(void (*xInit)(void)){
91983 if( wsdAutoext.aExt[i]==xInit ) break;
91993 wsdAutoext.aExt[wsdAutoext.nExt] = xInit;
92032 int (*xInit)(sqlite3*,char**,const sqlite3_api_routines*);
92046 xInit = 0;
92049 xInit = (int(*)(sqlite3*,char**,const sqlite3_api_routines*))
92054 if( xInit && (rc = xInit(db, &zErrmsg, &sqlite3Apis))!=0 ){
112614 ** to the xInit method, so the xInit method need not be threadsafe.
112616 ** The following mutex is what serializes access to the appdef pcache xInit
112617 ** methods. The sqlite3_pcache_methods.xInit() all is embedded in the
112823 if( sqlite3GlobalConfig.pcache2.xInit==0 ){