Home | History | Annotate | Download | only in orig

Lines Matching refs:xInit

1649 ** The xInit method initializes the memory allocator.  For example,
1653 ** by xInit. The pAppData pointer is used as the only parameter to
1654 ** xInit and xShutdown.
1657 ** the xInit method, so the xInit method need not be threadsafe. The
1667 ** SQLite will never invoke xInit() more than once without an intervening
1677 int (*xInit)(void*); /* Initialize the memory allocator */
1679 void *pAppData; /* Argument to xInit() and xShutdown() */
6960 ** [[the xInit() page cache method]]
6961 ** ^(The xInit() method is called once for each effective
6963 ** (usually only once during the lifetime of the process). ^(The xInit()
6965 ** The intent of the xInit() method is to set up global data structures
6967 ** ^(If the xInit() method is NULL, then the
6977 ** ^SQLite automatically serializes calls to the xInit method,
6978 ** so the xInit method need not be threadsafe. ^The
6983 ** ^SQLite will never invoke xInit() more than once without an intervening
7098 int (*xInit)(void*);
7120 int (*xInit)(void*);
20715 rc = sqlite3GlobalConfig.m.xInit(sqlite3GlobalConfig.m.pAppData);
39394 if( sqlite3GlobalConfig.pcache2.xInit==0 ){
39395 /* IMPLEMENTATION-OF: R-26801-64137 If the xInit() method is NULL, then the
39400 return sqlite3GlobalConfig.pcache2.xInit(sqlite3GlobalConfig.pcache2.pArg);
40452 ** Implementation of the sqlite3_pcache.xInit method.
40469 ** Note that the static mutex allocated in xInit does
40895 pcache1Init, /* xInit */
102783 int (*xInit)(sqlite3*,char**,const sqlite3_api_routines*);
102840 xInit = (int(*)(sqlite3*,char**,const sqlite3_api_routines*))
102854 if( xInit==0 && zProc==0 ){
102873 xInit = (int(*)(sqlite3*,char**,const sqlite3_api_routines*))
102876 if( xInit==0 ){
102891 if( xInit(db, &zErrmsg, &sqlite3Apis) ){
103002 SQLITE_API int SQLITE_STDCALL sqlite3_auto_extension(void (*xInit)(void)){
103018 if( wsdAutoext.aExt[i]==xInit ) break;
103028 wsdAutoext.aExt[wsdAutoext.nExt] = xInit;
103039 ** Cancel a prior call to sqlite3_auto_extension. Remove xInit from the
103041 ** is currently on the list. If xInit is not on the list, then this
103044 ** Return 1 if xInit was found on the list and removed. Return 0 if xInit
103047 SQLITE_API int SQLITE_STDCALL sqlite3_cancel_auto_extension(void (*xInit)(void)){
103056 if( wsdAutoext.aExt[i]==xInit ){
103096 int (*xInit)(sqlite3*,char**,const sqlite3_api_routines*);
103110 xInit = 0;
103113 xInit = (int(*)(sqlite3*,char**,const sqlite3_api_routines*))
103118 if( xInit && (rc = xInit(db, &zErrmsg, &sqlite3Apis))!=0 ){
128198 ** to the xInit method, so the xInit method need not be threadsafe.
128200 ** The following mutex is what serializes access to the appdef pcache xInit
128201 ** methods. The sqlite3_pcache_methods.xInit() all is embedded in the
128470 if( sqlite3GlobalConfig.pcache2.xInit==0 ){